Index: chrome/browser/ui/views/constrained_window_views.h |
diff --git a/chrome/browser/ui/views/constrained_window_views.h b/chrome/browser/ui/views/constrained_window_views.h |
index ef29024fdf97bce3006bc2342e706648b067e7ec..8f8446116f2d0a2392f263c9d5f8b49117a7c624 100644 |
--- a/chrome/browser/ui/views/constrained_window_views.h |
+++ b/chrome/browser/ui/views/constrained_window_views.h |
@@ -12,7 +12,7 @@ |
#include "ui/gfx/rect.h" |
#include "views/widget/widget.h" |
-class TabContents; |
+class TabContentsWrapper; |
namespace views { |
namespace internal { |
@@ -58,12 +58,12 @@ class ConstrainedWindowViews : public views::Widget, |
public ConstrainedWindow, |
public NativeConstrainedWindowDelegate { |
public: |
- ConstrainedWindowViews(TabContents* owner, |
+ ConstrainedWindowViews(TabContentsWrapper* wrapper, |
views::WidgetDelegate* widget_delegate); |
virtual ~ConstrainedWindowViews(); |
- // Returns the TabContents that constrains this Constrained Window. |
- TabContents* owner() const { return owner_; } |
+ // Returns the TabContentsWrapper that constrains this Constrained Window. |
+ TabContentsWrapper* owner() const { return wrapper_; } |
// Overridden from ConstrainedWindow: |
virtual void ShowConstrainedWindow() OVERRIDE; |
@@ -80,8 +80,7 @@ class ConstrainedWindowViews : public views::Widget, |
virtual views::internal::NativeWidgetDelegate* |
AsNativeWidgetDelegate() OVERRIDE; |
- // The TabContents that owns and constrains this ConstrainedWindow. |
- TabContents* owner_; |
+ TabContentsWrapper* wrapper_; |
NativeConstrainedWindow* native_constrained_window_; |