| Index: chrome/browser/ui/cocoa/constrained_window_mac.h
|
| diff --git a/chrome/browser/ui/cocoa/constrained_window_mac.h b/chrome/browser/ui/cocoa/constrained_window_mac.h
|
| index 4f8fc55334b3d99c1b570d4a93e7cbb8b6a0cf02..8550a8938d214bf386e362dbd09495704f0fd9dd 100644
|
| --- a/chrome/browser/ui/cocoa/constrained_window_mac.h
|
| +++ b/chrome/browser/ui/cocoa/constrained_window_mac.h
|
| @@ -19,6 +19,7 @@
|
| @class NSView;
|
| @class NSWindow;
|
| class TabContents;
|
| +class TabContentsWrapper;
|
|
|
| // Base class for constrained dialog delegates. Never inherit from this
|
| // directly.
|
| @@ -109,7 +110,7 @@ class ConstrainedWindowMacDelegateCustomSheet
|
| // deleted.
|
| class ConstrainedWindowMac : public ConstrainedWindow {
|
| public:
|
| - ConstrainedWindowMac(TabContents* owner,
|
| + ConstrainedWindowMac(TabContentsWrapper* wrapper,
|
| ConstrainedWindowMacDelegate* delegate);
|
| virtual ~ConstrainedWindowMac();
|
|
|
| @@ -118,7 +119,7 @@ class ConstrainedWindowMac : public ConstrainedWindow {
|
| virtual void CloseConstrainedWindow();
|
|
|
| // Returns the TabContents that constrains this Constrained Window.
|
| - TabContents* owner() const { return owner_; }
|
| + TabContentsWrapper* owner() const { return wrapper_; }
|
|
|
| // Returns the window's delegate.
|
| ConstrainedWindowMacDelegate* delegate() { return delegate_; }
|
| @@ -130,7 +131,7 @@ class ConstrainedWindowMac : public ConstrainedWindow {
|
| friend class ConstrainedWindow;
|
|
|
| // The TabContents that owns and constrains this ConstrainedWindow.
|
| - TabContents* owner_;
|
| + TabContentsWrapper* wrapper_;
|
|
|
| // Delegate that provides the contents of this constrained window.
|
| ConstrainedWindowMacDelegate* delegate_;
|
|
|