1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 4 5 #ifndef CHROME_BROWSER_UI_COCOA_CHROME_BROWSER_WINDOW_H_ 6 #define CHROME_BROWSER_UI_COCOA_CHROME_BROWSER_WINDOW_H_ 7 #pragma once 8 9 #import <Cocoa/Cocoa.h> 10 11 #include "chrome/browser/ui/cocoa/chrome_event_processing_window.h" 12 13 // Common base class for chrome browser windows. Contains methods relating to 14 // theming and hole punching that are shared between framed and fullscreen 15 // windows. 16 @interface ChromeBrowserWindow : ChromeEventProcessingWindow { 17 @private 18 int underlaySurfaceCount_; 19 } 20 21 // Informs the window that an underlay surface has been added/removed. The 22 // window is non-opaque while underlay surfaces are present. 23 - (void)underlaySurfaceAdded; 24 - (void)underlaySurfaceRemoved; 25 26 @end 27 28 #endif // CHROME_BROWSER_UI_COCOA_CHROME_BROWSER_WINDOW_H_ 29