| 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 c2b37967940afcdc837eed1fe2f3478bf1c19513..6e4a15188670161ffed0f237d1d1e09d0f8d330f 100644
|
| --- a/chrome/browser/ui/cocoa/constrained_window_mac.h
|
| +++ b/chrome/browser/ui/cocoa/constrained_window_mac.h
|
| @@ -22,15 +22,7 @@ class TabContents;
|
| // implement this protocol.
|
| @protocol ConstrainedWindowSupport
|
|
|
| -// Requests that |window| is opened as a per-tab sheet to the current tab.
|
| -- (void)attachConstrainedWindow:(ConstrainedWindowMac*)window;
|
| -
|
| -// Closes the tab sheet |window| and potentially shows the next sheet in the
|
| -// tab's sheet queue.
|
| -- (void)removeConstrainedWindow:(ConstrainedWindowMac*)window;
|
| -
|
| -// Returns NO if constrained windows cannot be attached to this window.
|
| -- (BOOL)canAttachConstrainedWindow;
|
| +- (GTMWindowSheetController*)sheetController;
|
|
|
| @end
|
|
|
| @@ -132,6 +124,7 @@ class ConstrainedWindowMac : public ConstrainedWindow {
|
| // Overridden from ConstrainedWindow:
|
| virtual void ShowConstrainedWindow() OVERRIDE;
|
| virtual void CloseConstrainedWindow() OVERRIDE;
|
| + virtual bool CanShowConstrainedWindow() OVERRIDE;
|
|
|
| // Returns the TabContents that constrains this Constrained Window.
|
| TabContents* owner() const { return tab_contents_; }
|
|
|