| 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 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include "ipc/ipc_message.h" // For IPC_MESSAGE_LOG_ENABLED. | 9 #include "ipc/ipc_message.h" // For IPC_MESSAGE_LOG_ENABLED. |
| 10 #include "ui/gfx/native_widget_types.h" | 10 #include "ui/gfx/native_widget_types.h" |
| (...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 62 // Shows or hide the hung renderer dialog for the given WebContents. | 62 // Shows or hide the hung renderer dialog for the given WebContents. |
| 63 // We need to pass the WebContents to the dialog, because multiple tabs can hang | 63 // We need to pass the WebContents to the dialog, because multiple tabs can hang |
| 64 // and it needs to keep track of which tabs are currently hung. | 64 // and it needs to keep track of which tabs are currently hung. |
| 65 void ShowHungRendererDialog(content::WebContents* contents); | 65 void ShowHungRendererDialog(content::WebContents* contents); |
| 66 void HideHungRendererDialog(content::WebContents* contents); | 66 void HideHungRendererDialog(content::WebContents* contents); |
| 67 | 67 |
| 68 // Shows a tab-modal dialog box. | 68 // Shows a tab-modal dialog box. |
| 69 void ShowTabModalConfirmDialog(TabModalConfirmDialogDelegate* delegate, | 69 void ShowTabModalConfirmDialog(TabModalConfirmDialogDelegate* delegate, |
| 70 TabContents* tab_contents); | 70 TabContents* tab_contents); |
| 71 | 71 |
| 72 #if !defined(OS_MACOSX) |
| 73 // Shows the create web app shortcut dialog box. |
| 74 void ShowCreateWebAppShortcutsDialog(gfx::NativeWindow parent_window, |
| 75 TabContents* tab_contents); |
| 76 #endif |
| 77 |
| 72 } // namespace chrome | 78 } // namespace chrome |
| 73 | 79 |
| 74 #endif // CHROME_BROWSER_UI_BROWSER_DIALOGS_H_ | 80 #endif // CHROME_BROWSER_UI_BROWSER_DIALOGS_H_ |
| OLD | NEW |