| 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 #include <Cocoa/Cocoa.h> | 5 #include <Cocoa/Cocoa.h> |
| 6 #import "chrome/browser/cocoa/chrome_event_processing_window.h" | 6 #import "chrome/browser/cocoa/chrome_event_processing_window.h" |
| 7 | 7 |
| 8 // A FullscreenWindow is a borderless window suitable for going | 8 // A FullscreenWindow is a borderless window suitable for going |
| 9 // fullscreen. The returned window is NOT release when closed and is | 9 // fullscreen. The returned window is NOT release when closed and is |
| 10 // not initially visible. | 10 // not initially visible. |
| 11 // FullscreenWindow derives from ChromeEventProcessingWindow to inherit | 11 // FullscreenWindow derives from ChromeEventProcessingWindow to inherit |
| 12 // special event handling (e.g. handleExtraKeyboardShortcut). | 12 // special event handling (e.g. handleExtraKeyboardShortcut). |
| 13 @interface FullscreenWindow : ChromeEventProcessingWindow | 13 @interface FullscreenWindow : ChromeEventProcessingWindow { |
| 14 int underlaySurfaceCount_; |
| 15 } |
| 14 | 16 |
| 15 // Initialize a FullscreenWindow for the given screen. | 17 // Initialize a FullscreenWindow for the given screen. |
| 16 // Designated initializer. | 18 // Designated initializer. |
| 17 - (id)initForScreen:(NSScreen*)screen; | 19 - (id)initForScreen:(NSScreen*)screen; |
| 18 | 20 |
| 19 @end | 21 @end |
| OLD | NEW |