Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 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 | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef COMPONENTS_APP_MODAL_DIALOGS_JAVASCRIPT_NATIVE_DIALOG_FACTORY_H_ | |
| 6 #define COMPONENTS_APP_MODAL_DIALOGS_JAVASCRIPT_NATIVE_DIALOG_FACTORY_H_ | |
| 7 | |
| 8 #include <string> | |
|
msw
2014/11/05 03:53:56
Remove this, it's not used.
oshima
2014/11/05 21:42:19
Done.
| |
| 9 | |
| 10 #include "base/memory/scoped_ptr.h" | |
|
msw
2014/11/05 03:53:56
Remove this, it's not used.
oshima
2014/11/05 21:42:19
Done.
| |
| 11 #include "ui/gfx/native_widget_types.h" | |
| 12 | |
| 13 class GURL; | |
|
msw
2014/11/05 03:53:56
Remove this, it's not used.
oshima
2014/11/05 21:42:19
Done.
| |
| 14 class JavaScriptAppModalDialog; | |
| 15 class NativeAppModalDialog; | |
| 16 | |
| 17 class JavaScriptNativeDialogFactory { | |
| 18 public: | |
| 19 virtual ~JavaScriptNativeDialogFactory() {} | |
| 20 | |
| 21 // Creates an native modal dialog for a JavaScript dialog; | |
| 22 virtual NativeAppModalDialog* CreateNativeJavaScriptDialog( | |
| 23 JavaScriptAppModalDialog* dialog, | |
| 24 gfx::NativeWindow parent_window) = 0; | |
| 25 }; | |
| 26 | |
| 27 #endif // COMPONENTS_APP_MODAL_DIALOGS_JAVASCRIPT_NATIVE_DIALOG_FACTORY_H_ | |
| OLD | NEW |