Add abhijeet.k@samsung.com to AUTHORS list.
[chromium-blink-merge.git] / components / app_modal / javascript_native_dialog_factory.h
blob9a882271e50f0f4c73fb64fdb824f9da12960590
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) = 0;
24 } // namespace app_modal
26 #endif // COMPONENTS_APP_MODAL_JAVASCRIPT_NATIVE_DIALOG_FACTORY_H_