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

Side by Side Diff: components/app_modal/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
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 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 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_DIALOG_MANAGER_H_ 5 #ifndef COMPONENTS_APP_MODAL_JAVASCRIPT_DIALOG_MANAGER_H_
6 #define COMPONENTS_APP_MODAL_DIALOGS_JAVASCRIPT_DIALOG_MANAGER_H_ 6 #define COMPONENTS_APP_MODAL_JAVASCRIPT_DIALOG_MANAGER_H_
7 7
8 #include "base/memory/scoped_ptr.h" 8 #include "base/memory/scoped_ptr.h"
9 9
10 namespace content { 10 namespace content {
11 class JavaScriptDialogManager; 11 class JavaScriptDialogManager;
12 } 12 }
13 13
14 class JavaScriptDialogExtensionsClient; 14 class JavaScriptDialogExtensionsClient;
15 class JavaScriptNativeDialogFactory; 15 class JavaScriptNativeDialogFactory;
16 16
17 // Returns a JavaScriptDialogManager that creates real dialogs. 17 // Returns a JavaScriptDialogManager that creates real dialogs.
18 // It returns a Singleton instance of JavaScriptDialogManager, 18 // It returns a Singleton instance of JavaScriptDialogManager,
19 // which should not be deleted. 19 // which should not be deleted.
20 content::JavaScriptDialogManager* GetJavaScriptDialogManagerInstance(); 20 content::JavaScriptDialogManager* GetJavaScriptDialogManagerInstance();
21 21
22 // Sets the JavaScriptNativeDialogFactory used to create platform specific 22 // Sets the JavaScriptNativeDialogFactory used to create platform specific
23 // dialog window implementation. 23 // dialog window implementation.
24 void SetJavaScriptNativeDialogFactory( 24 void SetJavaScriptNativeDialogFactory(
25 scoped_ptr<JavaScriptNativeDialogFactory> factory); 25 scoped_ptr<JavaScriptNativeDialogFactory> factory);
26 26
27 // JavaScript dialog may be opened by an extensions/app, thus needs 27 // JavaScript dialog may be opened by an extensions/app, thus needs
28 // access to extensions functionality. This sets a client interface to 28 // access to extensions functionality. This sets a client interface to
29 // access //extensions. 29 // access //extensions.
30 void SetJavaScriptDialogExtensionsClient( 30 void SetJavaScriptDialogExtensionsClient(
31 scoped_ptr<JavaScriptDialogExtensionsClient> client); 31 scoped_ptr<JavaScriptDialogExtensionsClient> client);
32 32
33 #endif // COMPONENTS_APP_MODAL_DIALOGS_JAVASCRIPT_DIALOG_MANAGER_H_ 33 #endif // COMPONENTS_APP_MODAL_JAVASCRIPT_DIALOG_MANAGER_H_
OLDNEW
« no previous file with comments | « components/app_modal/javascript_dialog_extensions_client.h ('k') | components/app_modal/javascript_dialog_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698