| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_BROWSER_WINDOW_CONTROLLER_PRIVATE_H_ | 5 #ifndef CHROME_BROWSER_UI_COCOA_BROWSER_WINDOW_CONTROLLER_PRIVATE_H_ |
| 6 #define CHROME_BROWSER_UI_COCOA_BROWSER_WINDOW_CONTROLLER_PRIVATE_H_ | 6 #define CHROME_BROWSER_UI_COCOA_BROWSER_WINDOW_CONTROLLER_PRIVATE_H_ |
| 7 | 7 |
| 8 #import "chrome/browser/ui/cocoa/browser_window_controller.h" | 8 #import "chrome/browser/ui/cocoa/browser_window_controller.h" |
| 9 #import "chrome/browser/ui/cocoa/presentation_mode_controller.h" | 9 #import "chrome/browser/ui/cocoa/presentation_mode_controller.h" |
| 10 | 10 |
| (...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 152 // Allows the omnibox to slide. Also prepares UI for several fullscreen modes. | 152 // Allows the omnibox to slide. Also prepares UI for several fullscreen modes. |
| 153 // This method gets called when entering AppKit fullscren, or when entering | 153 // This method gets called when entering AppKit fullscren, or when entering |
| 154 // Immersive fullscreen. Expects fullscreenStyle_ to be set. | 154 // Immersive fullscreen. Expects fullscreenStyle_ to be set. |
| 155 - (void)adjustUIForSlidingFullscreenStyle:(fullscreen_mac::SlidingStyle)style; | 155 - (void)adjustUIForSlidingFullscreenStyle:(fullscreen_mac::SlidingStyle)style; |
| 156 | 156 |
| 157 // This method gets called when exiting AppKit fullscreen, or when exiting | 157 // This method gets called when exiting AppKit fullscreen, or when exiting |
| 158 // Immersive fullscreen. It performs some common UI changes, and stops the | 158 // Immersive fullscreen. It performs some common UI changes, and stops the |
| 159 // omnibox from sliding. | 159 // omnibox from sliding. |
| 160 - (void)adjustUIForExitingFullscreenAndStopOmniboxSliding; | 160 - (void)adjustUIForExitingFullscreenAndStopOmniboxSliding; |
| 161 | 161 |
| 162 // Exposed for testing. |
| 163 - (PresentationModeController*)newPresentationModeControllerWithStyle: |
| 164 (fullscreen_mac::SlidingStyle)style; |
| 165 |
| 162 // Toggles the AppKit Fullscreen API. By default, doing so enters Canonical | 166 // Toggles the AppKit Fullscreen API. By default, doing so enters Canonical |
| 163 // Fullscreen. | 167 // Fullscreen. |
| 164 - (void)enterAppKitFullscreen; | 168 - (void)enterAppKitFullscreen; |
| 165 - (void)exitAppKitFullscreen; | 169 - (void)exitAppKitFullscreen; |
| 166 | 170 |
| 167 @end // @interface BrowserWindowController(Private) | 171 @end // @interface BrowserWindowController(Private) |
| 168 | 172 |
| 169 #endif // CHROME_BROWSER_UI_COCOA_BROWSER_WINDOW_CONTROLLER_PRIVATE_H_ | 173 #endif // CHROME_BROWSER_UI_COCOA_BROWSER_WINDOW_CONTROLLER_PRIVATE_H_ |
| OLD | NEW |