summaryrefslogtreecommitdiffstats
path: root/chrome/browser/ui/cocoa/chrome_browser_window.h
blob: 1d247e6b379edd47a17a1cec1c1bfe0407d5fb86 (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
// Copyright (c) 2011 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/themed_browser_window.h"

// Common base class for chrome browser windows.  Contains methods relating to
// hole punching that are shared between framed and fullscreen windows.
@interface ChromeBrowserWindow : ThemedBrowserWindow {
 @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_