summaryrefslogtreecommitdiffstats
path: root/chrome/browser/cocoa/fullscreen_window.h
blob: ba01abf2e99e9f246c9dcd7cc4d4fbb3f664461a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// 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.

#include <Cocoa/Cocoa.h>
#import "chrome/browser/cocoa/chrome_browser_window.h"

// A FullscreenWindow is a borderless window suitable for going fullscreen.  The
// returned window is NOT release when closed and is not initially visible.
// FullscreenWindow derives from ChromeBrowserWindow to inherit hole punching,
// theming methods, and special event handling
// (e.g. handleExtraKeyboardShortcut).
@interface FullscreenWindow : ChromeBrowserWindow

// Initialize a FullscreenWindow for the given screen.
// Designated initializer.
- (id)initForScreen:(NSScreen*)screen;

@end