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

Side by Side Diff: ios/clean/chrome/browser/ui/toolbar/toolbar_constants.h

Issue 2908623004: [ios clean] Toolbar displays total number of tabs. (Closed)
Patch Set: Add comment. Created 3 years, 6 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 2017 The Chromium Authors. All rights reserved. 1 // Copyright 2017 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 IOS_CLEAN_CHROME_BROWSER_UI_TOOLBAR_TOOLBAR_CONSTANTS_H_ 5 #ifndef IOS_CLEAN_CHROME_BROWSER_UI_TOOLBAR_TOOLBAR_CONSTANTS_H_
6 #define IOS_CLEAN_CHROME_BROWSER_UI_TOOLBAR_TOOLBAR_CONSTANTS_H_ 6 #define IOS_CLEAN_CHROME_BROWSER_UI_TOOLBAR_TOOLBAR_CONSTANTS_H_
7 7
8 #import <CoreGraphics/CoreGraphics.h> 8 #import <CoreGraphics/CoreGraphics.h>
9 #import <Foundation/Foundation.h>
10
11 // All kxxxColor constants are RGB values stored in a Hex integer. These will be
12 // converted into UIColors using the UIColorFromRGB() function, from
13 // uikit_ui_util.h
9 14
10 // Toolbar styling. 15 // Toolbar styling.
11 extern const CGFloat kToolbarBackgroundBrightness; 16 extern const CGFloat kToolbarBackgroundColor;
12 17
13 // Stackview constraints. 18 // Stackview constraints.
14 extern const CGFloat kVerticalMargin; 19 extern const CGFloat kVerticalMargin;
15 extern const CGFloat kHorizontalMargin; 20 extern const CGFloat kHorizontalMargin;
16 extern const CGFloat kStackViewSpacing; 21 extern const CGFloat kStackViewSpacing;
17 22
18 // Location bar styling. 23 // Location bar styling.
19 extern const CGFloat kLocationBarBorderWidth; 24 extern const CGFloat kLocationBarBorderWidth;
20 extern const CGFloat kLocationBarBorderColorBrightness; 25 extern const CGFloat kLocationBarBorderColor;
21 extern const CGFloat kLocationBarShadowRadius; 26 extern const CGFloat kLocationBarShadowRadius;
22 extern const CGFloat kLocationBarShadowOpacity; 27 extern const CGFloat kLocationBarShadowOpacity;
23 28
24 // Progress Bar Height. 29 // Progress Bar Height.
25 extern const CGFloat kProgressBarHeight; 30 extern const CGFloat kProgressBarHeight;
26 31
27 // Toolbar Buttons. 32 // Toolbar Buttons.
28 extern const CGFloat kToolbarButtonWidth; 33 extern const CGFloat kToolbarButtonWidth;
34 extern const CGFloat kToolbarButtonTitleNormalColor;
35 extern const CGFloat kToolbarButtonTitleHighlightedColor;
36
37 // Maximum number of tabs displayed by the button containing the tab count.
38 extern const NSInteger kShowTabStripButtonMaxTabCount;
39
40 // Font sizes for the button containing the tab count.
41 extern const NSInteger kFontSizeFewerThanTenTabs;
42 extern const NSInteger kFontSizeTenTabsOrMore;
29 43
30 #endif // IOS_CLEAN_CHROME_BROWSER_UI_TOOLBAR_TOOLBAR_CONSTANTS_H_ 44 #endif // IOS_CLEAN_CHROME_BROWSER_UI_TOOLBAR_TOOLBAR_CONSTANTS_H_
OLDNEW
« no previous file with comments | « ios/clean/chrome/browser/ui/toolbar/toolbar_button.mm ('k') | ios/clean/chrome/browser/ui/toolbar/toolbar_constants.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698