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/browser_window_layout.h" | 9 #import "chrome/browser/ui/cocoa/browser_window_layout.h" |
10 #import "chrome/browser/ui/cocoa/presentation_mode_controller.h" | 10 #import "chrome/browser/ui/cocoa/presentation_mode_controller.h" |
(...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
173 - (PermissionBubbleManager*)permissionBubbleManager; | 173 - (PermissionBubbleManager*)permissionBubbleManager; |
174 | 174 |
175 #if defined(MAC_OS_X_VERSION_10_7) && \ | 175 #if defined(MAC_OS_X_VERSION_10_7) && \ |
176 MAC_OS_X_VERSION_MIN_REQUIRED < MAC_OS_X_VERSION_10_7 | 176 MAC_OS_X_VERSION_MIN_REQUIRED < MAC_OS_X_VERSION_10_7 |
177 // Redeclare some methods from NSWindowDelegate to suppress | 177 // Redeclare some methods from NSWindowDelegate to suppress |
178 // -Wpartial-availability warnings. | 178 // -Wpartial-availability warnings. |
179 - (void)windowDidEnterFullScreen:(NSNotification*)notification; | 179 - (void)windowDidEnterFullScreen:(NSNotification*)notification; |
180 - (void)windowDidExitFullScreen:(NSNotification*)notification; | 180 - (void)windowDidExitFullScreen:(NSNotification*)notification; |
181 - (void)windowWillExitFullScreen:(NSNotification*)notification; | 181 - (void)windowWillExitFullScreen:(NSNotification*)notification; |
182 | 182 |
| 183 // Hides or unhides any displayed modal sheet for fullscreen transition. |
| 184 // Modal sheets should be hidden at the beginning and then shown at the end. |
| 185 - (void)setSheetHiddenForFullscreenTransition:(BOOL)shoudHide; |
| 186 |
183 // Adjusts the UI and destroys the exit bubble when we are exiting fullscreen. | 187 // Adjusts the UI and destroys the exit bubble when we are exiting fullscreen. |
184 - (void)adjustUIForExitingFullscreen; | 188 - (void)adjustUIForExitingFullscreen; |
185 | 189 |
186 // Determines the appropriate sliding fullscreen style and adjusts the UI to | 190 // Determines the appropriate sliding fullscreen style and adjusts the UI to |
187 // it when we are entering fullscreen. | 191 // it when we are entering fullscreen. |
188 - (void)adjustUIForEnteringFullscreen; | 192 - (void)adjustUIForEnteringFullscreen; |
189 | 193 |
190 #endif | 194 #endif |
191 | 195 |
192 @end // @interface BrowserWindowController(Private) | 196 @end // @interface BrowserWindowController(Private) |
193 | 197 |
194 #endif // CHROME_BROWSER_UI_COCOA_BROWSER_WINDOW_CONTROLLER_PRIVATE_H_ | 198 #endif // CHROME_BROWSER_UI_COCOA_BROWSER_WINDOW_CONTROLLER_PRIVATE_H_ |
OLD | NEW |