Index: chrome/browser/cocoa/constrained_window_mac.h |
=================================================================== |
--- chrome/browser/cocoa/constrained_window_mac.h (revision 36364) |
+++ chrome/browser/cocoa/constrained_window_mac.h (working copy) |
@@ -117,6 +117,7 @@ |
virtual ~ConstrainedWindowMac(); |
// Overridden from ConstrainedWindow: |
+ virtual void ShowConstrainedWindow(); |
virtual void CloseConstrainedWindow(); |
// Returns the TabContents that constrains this Constrained Window. |
@@ -125,12 +126,9 @@ |
// Returns the window's delegate. |
ConstrainedWindowMacDelegate* delegate() { return delegate_; } |
- // Tells |controller_| that the sheet would like to be displayed. |
+ // Makes the constrained window visible, if it is not yet visible. |
void Realize(BrowserWindowController* controller); |
- // Called by |controller_| to inform the sheet that it now is visible. |
- void SetVisible(); |
- |
private: |
friend class ConstrainedWindow; |
@@ -146,6 +144,9 @@ |
// Controller of the window that contains this sheet. |
BrowserWindowController* controller_; |
+ // Stores if |ShowConstrainedWindow()| was called. |
+ bool should_be_visible_; |
+ |
DISALLOW_COPY_AND_ASSIGN(ConstrainedWindowMac); |
}; |
Property changes on: chrome\browser\cocoa\constrained_window_mac.h |
___________________________________________________________________ |
Added: svn:eol-style |
+ LF |