Index: chrome/browser/ui/gtk/constrained_window_gtk.h |
diff --git a/chrome/browser/ui/gtk/constrained_window_gtk.h b/chrome/browser/ui/gtk/constrained_window_gtk.h |
index 2b7b4c16add520558025a1681e44dc4051905965..7180112f28196849fc3f3a86d6b06f826bf629d4 100644 |
--- a/chrome/browser/ui/gtk/constrained_window_gtk.h |
+++ b/chrome/browser/ui/gtk/constrained_window_gtk.h |
@@ -14,7 +14,7 @@ |
#include "ui/base/gtk/gtk_signal.h" |
#include "ui/base/gtk/owned_widget_gtk.h" |
-class TabContents; |
+class TabContentsWrapper; |
typedef struct _GdkColor GdkColor; |
#if defined(TOUCH_UI) |
class TabContentsViewViews; |
@@ -58,7 +58,7 @@ class ConstrainedWindowGtk : public ConstrainedWindow { |
typedef TabContentsViewGtk TabContentsViewType; |
#endif |
- ConstrainedWindowGtk(TabContents* owner, |
+ ConstrainedWindowGtk(TabContentsWrapper* wrapper, |
ConstrainedWindowGtkDelegate* delegate); |
virtual ~ConstrainedWindowGtk(); |
@@ -68,7 +68,7 @@ class ConstrainedWindowGtk : public ConstrainedWindow { |
virtual void FocusConstrainedWindow(); |
// Returns the TabContents that constrains this Constrained Window. |
Avi (use Gerrit)
2011/09/29 18:30:36
comment?
|
- TabContents* owner() const { return owner_; } |
+ TabContentsWrapper* owner() const { return wrapper_; } |
// Returns the toplevel widget that displays this "window". |
GtkWidget* widget() { return border_.get(); } |
@@ -86,7 +86,7 @@ class ConstrainedWindowGtk : public ConstrainedWindow { |
GtkWidget*); |
// The TabContents that owns and constrains this ConstrainedWindow. |
Avi (use Gerrit)
2011/09/29 18:30:36
comment?
|
- TabContents* owner_; |
+ TabContentsWrapper* wrapper_; |
// The top level widget container that exports to our TabContentsView. |
ui::OwnedWidgetGtk border_; |