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

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

Issue 2373943002: Mac: Don't call -[BWC layoutSubviews] before updating the fullscreen bubble. (Closed)
Patch Set: Layout() unused Created 4 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_LAYOUT_H_ 5 #ifndef CHROME_BROWSER_UI_COCOA_BROWSER_WINDOW_CONTROLLER_LAYOUT_H_
6 #define CHROME_BROWSER_UI_COCOA_BROWSER_WINDOW_CONTROLLER_LAYOUT_H_ 6 #define CHROME_BROWSER_UI_COCOA_BROWSER_WINDOW_CONTROLLER_LAYOUT_H_
7 7
8 #import <Cocoa/Cocoa.h> 8 #import <Cocoa/Cocoa.h>
9 9
10 #import "chrome/browser/ui/cocoa/fullscreen_toolbar_controller.h" 10 #import "chrome/browser/ui/cocoa/fullscreen_toolbar_controller.h"
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
94 // The output frames of the views managed by the BrowserWindowController. All 94 // The output frames of the views managed by the BrowserWindowController. All
95 // frames are in the coordinate system of the window. The lower-left corner of 95 // frames are in the coordinate system of the window. The lower-left corner of
96 // the contentView coincides with the lower-left corner of the window, so these 96 // the contentView coincides with the lower-left corner of the window, so these
97 // frames are also in the coordinate system of the contentView. 97 // frames are also in the coordinate system of the contentView.
98 struct LayoutOutput { 98 struct LayoutOutput {
99 TabStripLayout tabStripLayout; 99 TabStripLayout tabStripLayout;
100 NSRect toolbarFrame; 100 NSRect toolbarFrame;
101 NSRect bookmarkFrame; 101 NSRect bookmarkFrame;
102 NSRect fullscreenBackingBarFrame; 102 NSRect fullscreenBackingBarFrame;
103 CGFloat findBarMaxY; 103 CGFloat findBarMaxY;
104 CGFloat fullscreenExitButtonMaxY;
105 NSRect infoBarFrame; 104 NSRect infoBarFrame;
106 CGFloat infoBarMaxTopArrowHeight; 105 CGFloat infoBarMaxTopArrowHeight;
107 NSRect downloadShelfFrame; 106 NSRect downloadShelfFrame;
108 NSRect contentAreaFrame; 107 NSRect contentAreaFrame;
109 }; 108 };
110 109
111 } // namespace chrome 110 } // namespace chrome
112 111
113 // This class is the sole entity responsible for calculating the layout of the 112 // This class is the sole entity responsible for calculating the layout of the
114 // views managed by the BrowserWindowController. The parameters used to 113 // views managed by the BrowserWindowController. The parameters used to
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
174 173
175 - (void)setHasDownloadShelf:(BOOL)hasDownloadShelf; 174 - (void)setHasDownloadShelf:(BOOL)hasDownloadShelf;
176 - (void)setDownloadShelfHeight:(CGFloat)downloadShelfHeight; 175 - (void)setDownloadShelfHeight:(CGFloat)downloadShelfHeight;
177 @end 176 @end
178 177
179 @interface BrowserWindowLayout (ExposedForTesting) 178 @interface BrowserWindowLayout (ExposedForTesting)
180 - (void)setOSYosemiteOrLater:(BOOL)osYosemiteOrLater; 179 - (void)setOSYosemiteOrLater:(BOOL)osYosemiteOrLater;
181 @end 180 @end
182 181
183 #endif // CHROME_BROWSER_UI_COCOA_BROWSER_WINDOW_CONTROLLER_LAYOUT_H_ 182 #endif // CHROME_BROWSER_UI_COCOA_BROWSER_WINDOW_CONTROLLER_LAYOUT_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/cocoa/browser_window_controller_private.mm ('k') | chrome/browser/ui/cocoa/browser_window_layout.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698