| 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_BROWSER_DIALOGS_H_ | 5 #ifndef CHROME_BROWSER_UI_BROWSER_DIALOGS_H_ |
| 6 #define CHROME_BROWSER_UI_BROWSER_DIALOGS_H_ | 6 #define CHROME_BROWSER_UI_BROWSER_DIALOGS_H_ |
| 7 | 7 |
| 8 #include "base/callback.h" |
| 8 #include "ipc/ipc_message.h" // For IPC_MESSAGE_LOG_ENABLED. | 9 #include "ipc/ipc_message.h" // For IPC_MESSAGE_LOG_ENABLED. |
| 9 #include "ui/gfx/native_widget_types.h" | 10 #include "ui/gfx/native_widget_types.h" |
| 10 | 11 |
| 11 class Browser; | 12 class Browser; |
| 13 class Profile; |
| 12 class SkBitmap; | 14 class SkBitmap; |
| 13 class TabModalConfirmDialogDelegate; | 15 class TabModalConfirmDialogDelegate; |
| 14 | 16 |
| 15 namespace content { | 17 namespace content { |
| 16 class BrowserContext; | 18 class BrowserContext; |
| 17 class WebContents; | 19 class WebContents; |
| 18 } | 20 } |
| 19 | 21 |
| 20 namespace extensions { | 22 namespace extensions { |
| 21 class Extension; | 23 class Extension; |
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 66 // Shows the Task Manager. If |highlight_background_resources| is set, the | 68 // Shows the Task Manager. If |highlight_background_resources| is set, the |
| 67 // backgroundpages will be shown. |browser| can be NULL when called from ASH. | 69 // backgroundpages will be shown. |browser| can be NULL when called from ASH. |
| 68 void ShowTaskManager(Browser* browser, bool highlight_background_resources); | 70 void ShowTaskManager(Browser* browser, bool highlight_background_resources); |
| 69 | 71 |
| 70 #if !defined(OS_MACOSX) | 72 #if !defined(OS_MACOSX) |
| 71 // Shows the create web app shortcut dialog box. | 73 // Shows the create web app shortcut dialog box. |
| 72 void ShowCreateWebAppShortcutsDialog(gfx::NativeWindow parent_window, | 74 void ShowCreateWebAppShortcutsDialog(gfx::NativeWindow parent_window, |
| 73 content::WebContents* web_contents); | 75 content::WebContents* web_contents); |
| 74 #endif | 76 #endif |
| 75 | 77 |
| 78 void ShowProfileSigninConfirmationDialog( |
| 79 Browser* browser, |
| 80 content::WebContents* web_contents, |
| 81 Profile* profile, |
| 82 const std::string& username, |
| 83 const base::Closure& cancel_signin, |
| 84 const base::Closure& signin_with_new_profile, |
| 85 const base::Closure& continue_signin); |
| 86 |
| 76 } // namespace chrome | 87 } // namespace chrome |
| 77 | 88 |
| 78 #endif // CHROME_BROWSER_UI_BROWSER_DIALOGS_H_ | 89 #endif // CHROME_BROWSER_UI_BROWSER_DIALOGS_H_ |
| OLD | NEW |