| 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 "ipc/ipc_message.h" // For IPC_MESSAGE_LOG_ENABLED. | 8 #include "ipc/ipc_message.h" // For IPC_MESSAGE_LOG_ENABLED. |
| 9 #include "ui/gfx/native_widget_types.h" | 9 #include "ui/gfx/native_widget_types.h" |
| 10 | 10 |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 56 void ShowExtensionInstalledBubble(const extensions::Extension* extension, | 56 void ShowExtensionInstalledBubble(const extensions::Extension* extension, |
| 57 Browser* browser, | 57 Browser* browser, |
| 58 const SkBitmap& icon); | 58 const SkBitmap& icon); |
| 59 | 59 |
| 60 // Shows or hide the hung renderer dialog for the given WebContents. | 60 // Shows or hide the hung renderer dialog for the given WebContents. |
| 61 // We need to pass the WebContents to the dialog, because multiple tabs can hang | 61 // We need to pass the WebContents to the dialog, because multiple tabs can hang |
| 62 // and it needs to keep track of which tabs are currently hung. | 62 // and it needs to keep track of which tabs are currently hung. |
| 63 void ShowHungRendererDialog(content::WebContents* contents); | 63 void ShowHungRendererDialog(content::WebContents* contents); |
| 64 void HideHungRendererDialog(content::WebContents* contents); | 64 void HideHungRendererDialog(content::WebContents* contents); |
| 65 | 65 |
| 66 // Shows the Task Manager. If |highlight_background_resources| is set, the |
| 67 // backgroundpages will be shown. |browser| can be NULL when called from ASH. |
| 68 void ShowTaskManager(Browser* browser, bool highlight_background_resources); |
| 69 |
| 66 #if !defined(OS_MACOSX) | 70 #if !defined(OS_MACOSX) |
| 67 // Shows the create web app shortcut dialog box. | 71 // Shows the create web app shortcut dialog box. |
| 68 void ShowCreateWebAppShortcutsDialog(gfx::NativeWindow parent_window, | 72 void ShowCreateWebAppShortcutsDialog(gfx::NativeWindow parent_window, |
| 69 content::WebContents* web_contents); | 73 content::WebContents* web_contents); |
| 70 #endif | 74 #endif |
| 71 | 75 |
| 72 } // namespace chrome | 76 } // namespace chrome |
| 73 | 77 |
| 74 #endif // CHROME_BROWSER_UI_BROWSER_DIALOGS_H_ | 78 #endif // CHROME_BROWSER_UI_BROWSER_DIALOGS_H_ |
| OLD | NEW |