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

Side by Side Diff: components/app_modal_dialogs/javascript_dialog_manager.h

Issue 735473002: Rename app_modal_dialogs dir to app_modal (Closed) Base URL: https://chromium.googlesource.com/chromium/src@master
Patch Set: rebase 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
(Empty)
1 // Copyright (c) 2012 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_DIALOG_MANAGER_H_
6 #define COMPONENTS_APP_MODAL_DIALOGS_JAVASCRIPT_DIALOG_MANAGER_H_
7
8 #include "base/memory/scoped_ptr.h"
9
10 namespace content {
11 class JavaScriptDialogManager;
12 }
13
14 class JavaScriptDialogExtensionsClient;
15 class JavaScriptNativeDialogFactory;
16
17 // Returns a JavaScriptDialogManager that creates real dialogs.
18 // It returns a Singleton instance of JavaScriptDialogManager,
19 // which should not be deleted.
20 content::JavaScriptDialogManager* GetJavaScriptDialogManagerInstance();
21
22 // Sets the JavaScriptNativeDialogFactory used to create platform specific
23 // dialog window implementation.
24 void SetJavaScriptNativeDialogFactory(
25 scoped_ptr<JavaScriptNativeDialogFactory> factory);
26
27 // JavaScript dialog may be opened by an extensions/app, thus needs
28 // access to extensions functionality. This sets a client interface to
29 // access //extensions.
30 void SetJavaScriptDialogExtensionsClient(
31 scoped_ptr<JavaScriptDialogExtensionsClient> client);
32
33 #endif // COMPONENTS_APP_MODAL_DIALOGS_JAVASCRIPT_DIALOG_MANAGER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698