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..069b7a018ecf3e6b05daacdb2314791f11470411 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 |
@@ -145,6 +137,8 @@ class ConstrainedWindowMac : public ConstrainedWindow { |
private: |
friend class ConstrainedWindow; |
+ bool GetCanShow() const; |
+ |
// The TabContents that owns and constrains this ConstrainedWindow. |
TabContents* tab_contents_; |