Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(54)

Side by Side Diff: chrome/browser/ui/cocoa/browser_window_controller_private.h

Issue 655393002: mac: Fix a bug where a fullscreened window on Mavericks would be too short. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Comments from rsesek. Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 139 matching lines...) Expand 10 before | Expand all | Expand 10 after
150 - (void)updateSubviewZOrderFullscreen; 150 - (void)updateSubviewZOrderFullscreen;
151 151
152 // Sets the content view's subviews. Attempts to not touch the tabContentArea 152 // Sets the content view's subviews. Attempts to not touch the tabContentArea
153 // to prevent redraws. 153 // to prevent redraws.
154 - (void)setContentViewSubviews:(NSArray*)subviews; 154 - (void)setContentViewSubviews:(NSArray*)subviews;
155 155
156 // A hack required to get NSThemeFrame sub layers to order correctly. See 156 // A hack required to get NSThemeFrame sub layers to order correctly. See
157 // implementation for more details. 157 // implementation for more details.
158 - (void)updateSubviewZOrderHack; 158 - (void)updateSubviewZOrderHack;
159 159
160 // There is a bug in Mavericks for applications linked against OSX 10.8 and
161 // earlier. The bug requires Screens Have Separate Spaces to be enabled, and
162 // for the window to be on a secondary screen. When AppKit Fullscreen is
163 // invoked on the window, its final frame is 22pt too short. This method
164 // detects when the relevant conditions have been met so that a hack can be
165 // applied to fix the size of the window.
166 // http://crbug.com/396980
167 - (BOOL)shouldUseMavericksAppKitFullscreenHack;
168
160 @end // @interface BrowserWindowController(Private) 169 @end // @interface BrowserWindowController(Private)
161 170
162 #endif // CHROME_BROWSER_UI_COCOA_BROWSER_WINDOW_CONTROLLER_PRIVATE_H_ 171 #endif // CHROME_BROWSER_UI_COCOA_BROWSER_WINDOW_CONTROLLER_PRIVATE_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/cocoa/browser_window_controller.h ('k') | chrome/browser/ui/cocoa/browser_window_controller_private.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698