Index: chrome/browser/cocoa/chrome_browser_window.h |
diff --git a/chrome/browser/cocoa/chrome_browser_window.h b/chrome/browser/cocoa/chrome_browser_window.h |
index e6366fd77a1154c6a2ce96cf093ad531be5c9903..810c87fbe8201e14d2c50e0dae0e4bd30edffc9b 100644 |
--- a/chrome/browser/cocoa/chrome_browser_window.h |
+++ b/chrome/browser/cocoa/chrome_browser_window.h |
@@ -38,6 +38,7 @@ const NSInteger kChromeWindowButtonsInterButtonSpacing = 7; |
NSButton* zoomButton_; |
BOOL entered_; |
scoped_nsobject<NSTrackingArea> widgetTrackingArea_; |
+ int underlaySurfaceCount_; |
} |
// Tells the window to suppress title drawing. |
@@ -50,6 +51,11 @@ const NSInteger kChromeWindowButtonsInterButtonSpacing = 7; |
// Update the tracking areas for our window widgets as appropriate. |
- (void)updateTrackingAreas; |
+// Informs the window that an underlay surface has been added/removed. The |
+// window is non-opaque while underlay surfaces are present. |
+- (void)underlaySurfaceAdded; |
+- (void)underlaySurfaceRemoved; |
+ |
@end |
@interface NSWindow (UndocumentedAPI) |