| 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 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 57 void ShowExtensionInstalledBubble(const extensions::Extension* extension, | 57 void ShowExtensionInstalledBubble(const extensions::Extension* extension, |
| 58 Browser* browser, | 58 Browser* browser, |
| 59 const SkBitmap& icon); | 59 const SkBitmap& icon); |
| 60 | 60 |
| 61 // Shows or hide the hung renderer dialog for the given WebContents. | 61 // Shows or hide the hung renderer dialog for the given WebContents. |
| 62 // We need to pass the WebContents to the dialog, because multiple tabs can hang | 62 // We need to pass the WebContents to the dialog, because multiple tabs can hang |
| 63 // and it needs to keep track of which tabs are currently hung. | 63 // and it needs to keep track of which tabs are currently hung. |
| 64 void ShowHungRendererDialog(content::WebContents* contents); | 64 void ShowHungRendererDialog(content::WebContents* contents); |
| 65 void HideHungRendererDialog(content::WebContents* contents); | 65 void HideHungRendererDialog(content::WebContents* contents); |
| 66 | 66 |
| 67 // Shows a tab-modal dialog box. | |
| 68 void ShowTabModalConfirmDialog(TabModalConfirmDialogDelegate* delegate, | |
| 69 TabContents* tab_contents); | |
| 70 | |
| 71 #if !defined(OS_MACOSX) | 67 #if !defined(OS_MACOSX) |
| 72 // Shows the create web app shortcut dialog box. | 68 // Shows the create web app shortcut dialog box. |
| 73 void ShowCreateWebAppShortcutsDialog(gfx::NativeWindow parent_window, | 69 void ShowCreateWebAppShortcutsDialog(gfx::NativeWindow parent_window, |
| 74 TabContents* tab_contents); | 70 TabContents* tab_contents); |
| 75 #endif | 71 #endif |
| 76 | 72 |
| 77 } // namespace chrome | 73 } // namespace chrome |
| 78 | 74 |
| 79 #endif // CHROME_BROWSER_UI_BROWSER_DIALOGS_H_ | 75 #endif // CHROME_BROWSER_UI_BROWSER_DIALOGS_H_ |
| OLD | NEW |