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

Unified Diff: chrome/browser/ui/gtk/tab_modal_confirm_dialog_gtk.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/gtk/tab_modal_confirm_dialog_gtk.h
diff --git a/chrome/browser/ui/gtk/tab_modal_confirm_dialog_gtk.h b/chrome/browser/ui/gtk/tab_modal_confirm_dialog_gtk.h
index 152fa6746bb987712440c36466c60deb45bd3e04..587fd960aaa714447de01ce570556518fb1a0257 100644
--- a/chrome/browser/ui/gtk/tab_modal_confirm_dialog_gtk.h
+++ b/chrome/browser/ui/gtk/tab_modal_confirm_dialog_gtk.h
@@ -13,9 +13,12 @@
#include "chrome/browser/ui/gtk/constrained_window_gtk.h"
#include "ui/base/gtk/gtk_signal.h"
-class TabContents;
class TabModalConfirmDialogDelegate;
+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
@@ -25,7 +28,7 @@ class TabModalConfirmDialogGtk : public TabModalConfirmDialog,
public ConstrainedWindowGtkDelegate {
public:
TabModalConfirmDialogGtk(TabModalConfirmDialogDelegate* delegate,
- TabContents* tab_contents);
+ content::WebContents* web_contents);
// ConstrainedWindowGtkDelegate:
virtual GtkWidget* GetWidgetRoot() OVERRIDE;
« no previous file with comments | « chrome/browser/ui/cocoa/tab_modal_confirm_dialog_mac.mm ('k') | chrome/browser/ui/gtk/tab_modal_confirm_dialog_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698