Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(150)

Side by Side Diff: chrome/browser/ui/browser_dialogs.h

Issue 10972002: chrome: Add TabModalConfirmDialog interface. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: no else after return Created 8 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/browser/ui/browser.cc ('k') | chrome/browser/ui/cocoa/tab_modal_confirm_dialog_mac.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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_
OLDNEW
« no previous file with comments | « chrome/browser/ui/browser.cc ('k') | chrome/browser/ui/cocoa/tab_modal_confirm_dialog_mac.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698