| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CHROME_BROWSER_UI_COCOA_FULLSCREEN_WINDOW_H_ |
| 6 #define CHROME_BROWSER_UI_COCOA_FULLSCREEN_WINDOW_H_ |
| 7 |
| 5 #include <Cocoa/Cocoa.h> | 8 #include <Cocoa/Cocoa.h> |
| 6 #import "chrome/browser/ui/cocoa/chrome_browser_window.h" | 9 #import "chrome/browser/ui/cocoa/chrome_browser_window.h" |
| 7 | 10 |
| 8 // A FullscreenWindow is a borderless window suitable for going fullscreen. The | 11 // A FullscreenWindow is a borderless window suitable for going fullscreen. The |
| 9 // returned window is NOT release when closed and is not initially visible. | 12 // returned window is NOT release when closed and is not initially visible. |
| 10 // FullscreenWindow derives from ChromeBrowserWindow to inherit hole punching, | 13 // FullscreenWindow derives from ChromeBrowserWindow to inherit hole punching, |
| 11 // theming methods, and special event handling | 14 // theming methods, and special event handling |
| 12 // (e.g. handleExtraKeyboardShortcut). | 15 // (e.g. handleExtraKeyboardShortcut). |
| 13 @interface FullscreenWindow : ChromeBrowserWindow | 16 @interface FullscreenWindow : ChromeBrowserWindow |
| 14 | 17 |
| 15 // Initialize a FullscreenWindow for the given screen. | 18 // Initialize a FullscreenWindow for the given screen. |
| 16 // Designated initializer. | 19 // Designated initializer. |
| 17 - (id)initForScreen:(NSScreen*)screen; | 20 - (id)initForScreen:(NSScreen*)screen; |
| 18 | 21 |
| 19 @end | 22 @end |
| 23 |
| 24 #endif // CHROME_BROWSER_UI_COCOA_FULLSCREEN_WINDOW_H_ |
| OLD | NEW |