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..3ae92b43f0066ec0bc3de87c1706e680ff403984 100644 |
--- a/chrome/browser/ui/views/constrained_window_views.h |
+++ b/chrome/browser/ui/views/constrained_window_views.h |
@@ -13,6 +13,7 @@ |
#include "views/widget/widget.h" |
class TabContents; |
Avi (use Gerrit)
2011/09/29 18:30:36
forward decl still needed?
|
+class TabContentsWrapper; |
namespace views { |
namespace internal { |
@@ -58,12 +59,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. |
Avi (use Gerrit)
2011/09/29 18:30:36
comment?
|
- TabContents* owner() const { return owner_; } |
+ TabContentsWrapper* owner() const { return wrapper_; } |
// Overridden from ConstrainedWindow: |
virtual void ShowConstrainedWindow() OVERRIDE; |
@@ -80,8 +81,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_; |