| 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 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 141 // Performs updateSubviewZOrder when this controller is in fullscreen. | 141 // Performs updateSubviewZOrder when this controller is in fullscreen. |
| 142 - (void)updateSubviewZOrderFullscreen; | 142 - (void)updateSubviewZOrderFullscreen; |
| 143 | 143 |
| 144 // Sets the content view's subviews. Attempts to not touch the tabContentArea | 144 // Sets the content view's subviews. Attempts to not touch the tabContentArea |
| 145 // to prevent redraws. | 145 // to prevent redraws. |
| 146 - (void)setContentViewSubviews:(NSArray*)subviews; | 146 - (void)setContentViewSubviews:(NSArray*)subviews; |
| 147 | 147 |
| 148 // There is a bug in Mavericks for applications linked against OSX 10.8 and | 148 // There is a bug in Mavericks for applications linked against OSX 10.8 and |
| 149 // earlier. The bug requires Screens Have Separate Spaces to be enabled, and | 149 // earlier. The bug requires Screens Have Separate Spaces to be enabled, and |
| 150 // for the window to be on a secondary screen. When AppKit Fullscreen is | 150 // for the window to be on a secondary screen. When AppKit Fullscreen is |
| 151 // invoked on the window, its final frame is 22pt too short. These methods | 151 // invoked on the window, its final frame is 22pt too short. This method |
| 152 // detect when the relevant conditions have been met so that a hack can be | 152 // detects when the relevant conditions have been met so that a hack can be |
| 153 // applied to fix the size of the window. | 153 // applied to fix the size of the window. |
| 154 // http://crbug.com/396980 | 154 // http://crbug.com/396980 |
| 155 + (BOOL)systemSettingsRequireMavericksAppKitFullscreenHack; | |
| 156 - (BOOL)shouldUseMavericksAppKitFullscreenHack; | 155 - (BOOL)shouldUseMavericksAppKitFullscreenHack; |
| 157 | 156 |
| 158 // Whether the instance should use a custom transition when animating into and | |
| 159 // out of AppKit Fullscreen. | |
| 160 - (BOOL)shouldUseCustomAppKitFullscreenTransition; | |
| 161 | |
| 162 @end // @interface BrowserWindowController(Private) | 157 @end // @interface BrowserWindowController(Private) |
| 163 | 158 |
| 164 #endif // CHROME_BROWSER_UI_COCOA_BROWSER_WINDOW_CONTROLLER_PRIVATE_H_ | 159 #endif // CHROME_BROWSER_UI_COCOA_BROWSER_WINDOW_CONTROLLER_PRIVATE_H_ |
| OLD | NEW |