Delete chrome.mediaGalleriesPrivate because the functionality unique to it has since...
[chromium-blink-merge.git] / components / app_modal / javascript_native_dialog_factory.h
blobd8f901c07c7e18837ce971c5ea85c234f59653c1
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.
5 #ifndef COMPONENTS_APP_MODAL_JAVASCRIPT_NATIVE_DIALOG_FACTORY_H_
6 #define COMPONENTS_APP_MODAL_JAVASCRIPT_NATIVE_DIALOG_FACTORY_H_
8 #include "ui/gfx/native_widget_types.h"
10 namespace app_modal {
12 class JavaScriptAppModalDialog;
13 class NativeAppModalDialog;
15 class JavaScriptNativeDialogFactory {
16 public:
17 virtual ~JavaScriptNativeDialogFactory() {}
19 // Creates an native modal dialog for a JavaScript dialog;
20 virtual NativeAppModalDialog* CreateNativeJavaScriptDialog(
21 JavaScriptAppModalDialog* dialog,
22 gfx::NativeWindow parent_window) = 0;
25 } // namespace app_modal
27 #endif // COMPONENTS_APP_MODAL_JAVASCRIPT_NATIVE_DIALOG_FACTORY_H_