summaryrefslogtreecommitdiffstats
path: root/chrome/browser/ui/cocoa/chrome_browser_window.h
blob: 64c0123fb510226c8fb81f36503fd1d04ecfef23 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
// Copyright (c) 2010 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef CHROME_BROWSER_UI_COCOA_CHROME_BROWSER_WINDOW_H_
#define CHROME_BROWSER_UI_COCOA_CHROME_BROWSER_WINDOW_H_
#pragma once

#import <Cocoa/Cocoa.h>

#include "chrome/browser/ui/cocoa/chrome_event_processing_window.h"

// Common base class for chrome browser windows.  Contains methods relating to
// theming and hole punching that are shared between framed and fullscreen
// windows.
@interface ChromeBrowserWindow : ChromeEventProcessingWindow {
 @private
  int underlaySurfaceCount_;
}

// 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

#endif  // CHROME_BROWSER_UI_COCOA_CHROME_BROWSER_WINDOW_H_