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

Unified Diff: chrome/browser/ui/webui/tab_modal_confirm_dialog_webui.h

Issue 11361046: Remove TabContents from TabModalConfirmDialog. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: missing include Created 8 years, 1 month 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/webui/tab_modal_confirm_dialog_webui.h
diff --git a/chrome/browser/ui/webui/tab_modal_confirm_dialog_webui.h b/chrome/browser/ui/webui/tab_modal_confirm_dialog_webui.h
index 2f4a5126811d5e50eedbee72bf447804b706d049..06266403d4e691b967c43a3b5955b495e868e8e8 100644
--- a/chrome/browser/ui/webui/tab_modal_confirm_dialog_webui.h
+++ b/chrome/browser/ui/webui/tab_modal_confirm_dialog_webui.h
@@ -17,6 +17,10 @@
class ConstrainedWebDialogDelegate;
+namespace content {
+class WebContents;
+}
+
// Displays a tab-modal dialog, i.e. a dialog that will block the current page
// but still allow the user to switch to a different page.
// To display the dialog, allocate this object on the heap. It will open the
@@ -27,7 +31,7 @@ class TabModalConfirmDialogWebUI : public TabModalConfirmDialog,
public:
TabModalConfirmDialogWebUI(
TabModalConfirmDialogDelegate* dialog_delegate,
- TabContents* tab_contents);
+ content::WebContents* web_contents);
// ui::WebDialogDelegate implementation.
virtual ui::ModalType GetDialogModalType() const OVERRIDE;
« no previous file with comments | « chrome/browser/ui/views/tab_modal_confirm_dialog_views.cc ('k') | chrome/browser/ui/webui/tab_modal_confirm_dialog_webui.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698