OLD | NEW |
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 CHROME_BROWSER_UI_APP_MODAL_DIALOGS_JAVASCRIPT_DIALOG_MANAGER_H_ | 5 #ifndef COMPONENTS_APP_MODAL_DIALOGS_JAVASCRIPT_DIALOG_MANAGER_H_ |
6 #define CHROME_BROWSER_UI_APP_MODAL_DIALOGS_JAVASCRIPT_DIALOG_MANAGER_H_ | 6 #define COMPONENTS_APP_MODAL_DIALOGS_JAVASCRIPT_DIALOG_MANAGER_H_ |
7 | 7 |
8 namespace content { | 8 namespace content { |
9 class JavaScriptDialogManager; | 9 class JavaScriptDialogManager; |
10 } | 10 } |
11 | 11 |
12 // Returns a JavaScriptDialogManager that creates real dialogs. | 12 // Returns a JavaScriptDialogManager that creates real dialogs. |
13 // It returns a Singleton instance of JavaScriptDialogManager, | 13 // It returns a Singleton instance of JavaScriptDialogManager, |
14 // which should not be deleted. | 14 // which should not be deleted. |
15 content::JavaScriptDialogManager* GetJavaScriptDialogManagerInstance(); | 15 content::JavaScriptDialogManager* GetJavaScriptDialogManagerInstance(); |
16 | 16 |
17 #endif // CHROME_BROWSER_UI_APP_MODAL_DIALOGS_JAVASCRIPT_DIALOG_MANAGER_H_ | 17 #endif // COMPONENTS_APP_MODAL_DIALOGS_JAVASCRIPT_DIALOG_MANAGER_H_ |
OLD | NEW |