Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(144)

Side by Side Diff: components/app_modal/javascript_native_dialog_factory.h

Issue 735473002: Rename app_modal_dialogs dir to app_modal (Closed) Base URL: https://chromium.googlesource.com/chromium/src@master
Patch Set: Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef COMPONENTS_APP_MODAL_DIALOGS_JAVASCRIPT_NATIVE_DIALOG_FACTORY_H_ 5 #ifndef COMPONENTS_APP_MODAL_JAVASCRIPT_NATIVE_DIALOG_FACTORY_H_
6 #define COMPONENTS_APP_MODAL_DIALOGS_JAVASCRIPT_NATIVE_DIALOG_FACTORY_H_ 6 #define COMPONENTS_APP_MODAL_JAVASCRIPT_NATIVE_DIALOG_FACTORY_H_
7 7
8 8
msw 2014/11/17 19:14:41 nit: remove one of these blank lines
oshima 2014/11/17 21:40:23 Done.
9 #include "ui/gfx/native_widget_types.h" 9 #include "ui/gfx/native_widget_types.h"
10 10
11 class JavaScriptAppModalDialog; 11 class JavaScriptAppModalDialog;
12 class NativeAppModalDialog; 12 class NativeAppModalDialog;
13 13
14 class JavaScriptNativeDialogFactory { 14 class JavaScriptNativeDialogFactory {
15 public: 15 public:
16 virtual ~JavaScriptNativeDialogFactory() {} 16 virtual ~JavaScriptNativeDialogFactory() {}
17 17
18 // Creates an native modal dialog for a JavaScript dialog; 18 // Creates an native modal dialog for a JavaScript dialog;
19 virtual NativeAppModalDialog* CreateNativeJavaScriptDialog( 19 virtual NativeAppModalDialog* CreateNativeJavaScriptDialog(
20 JavaScriptAppModalDialog* dialog, 20 JavaScriptAppModalDialog* dialog,
21 gfx::NativeWindow parent_window) = 0; 21 gfx::NativeWindow parent_window) = 0;
22 }; 22 };
23 23
24 #endif // COMPONENTS_APP_MODAL_DIALOGS_JAVASCRIPT_NATIVE_DIALOG_FACTORY_H_ 24 #endif // COMPONENTS_APP_MODAL_JAVASCRIPT_NATIVE_DIALOG_FACTORY_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698