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

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

Issue 1989633002: Revert "[Material][Mac] Reduced the area above tabs by 2 pts" (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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
« no previous file with comments | « no previous file | chrome/browser/ui/cocoa/browser_window_layout.mm » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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/presentation_mode_controller.h" 10 #import "chrome/browser/ui/cocoa/presentation_mode_controller.h"
11 11
12 namespace chrome { 12 namespace chrome {
13 13
14 // Returns the height of the tab strip. 14 // The height of the tab strip.
15 CGFloat TabStripHeight(); 15 extern const CGFloat kTabStripHeight;
16 16
17 // The parameters used to calculate the layout of the views managed by the 17 // The parameters used to calculate the layout of the views managed by the
18 // BrowserWindowController. 18 // BrowserWindowController.
19 struct LayoutParameters { 19 struct LayoutParameters {
20 // The size of the content view of the window. 20 // The size of the content view of the window.
21 NSSize contentViewSize; 21 NSSize contentViewSize;
22 // The size of the window. 22 // The size of the window.
23 NSSize windowSize; 23 NSSize windowSize;
24 24
25 // Whether the controller is in any fullscreen mode. This parameter should be 25 // Whether the controller is in any fullscreen mode. This parameter should be
(...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after
174 174
175 - (void)setHasDownloadShelf:(BOOL)hasDownloadShelf; 175 - (void)setHasDownloadShelf:(BOOL)hasDownloadShelf;
176 - (void)setDownloadShelfHeight:(CGFloat)downloadShelfHeight; 176 - (void)setDownloadShelfHeight:(CGFloat)downloadShelfHeight;
177 @end 177 @end
178 178
179 @interface BrowserWindowLayout (ExposedForTesting) 179 @interface BrowserWindowLayout (ExposedForTesting)
180 - (void)setOSYosemiteOrLater:(BOOL)osYosemiteOrLater; 180 - (void)setOSYosemiteOrLater:(BOOL)osYosemiteOrLater;
181 @end 181 @end
182 182
183 #endif // CHROME_BROWSER_UI_COCOA_BROWSER_WINDOW_CONTROLLER_LAYOUT_H_ 183 #endif // CHROME_BROWSER_UI_COCOA_BROWSER_WINDOW_CONTROLLER_LAYOUT_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/ui/cocoa/browser_window_layout.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698