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

Unified 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, 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 side-by-side diff with in-line comments
Download patch
Index: ios/clean/chrome/browser/ui/toolbar/toolbar_constants.h
diff --git a/ios/clean/chrome/browser/ui/toolbar/toolbar_constants.h b/ios/clean/chrome/browser/ui/toolbar/toolbar_constants.h
index 8547440e0705643d16e94e9ad18ddc20deb9b0be..fc4c159ed68b2513e465ee86b6e227d094691441 100644
--- a/ios/clean/chrome/browser/ui/toolbar/toolbar_constants.h
+++ b/ios/clean/chrome/browser/ui/toolbar/toolbar_constants.h
@@ -6,9 +6,14 @@
#define IOS_CLEAN_CHROME_BROWSER_UI_TOOLBAR_TOOLBAR_CONSTANTS_H_
#import <CoreGraphics/CoreGraphics.h>
+#import <Foundation/Foundation.h>
+
+// All kxxxColor constants are RGB values stored in a Hex integer. These will be
+// converted into UIColors using the UIColorFromRGB() function, from
+// uikit_ui_util.h
// Toolbar styling.
-extern const CGFloat kToolbarBackgroundBrightness;
+extern const CGFloat kToolbarBackgroundColor;
// Stackview constraints.
extern const CGFloat kVerticalMargin;
@@ -17,7 +22,7 @@ extern const CGFloat kStackViewSpacing;
// Location bar styling.
extern const CGFloat kLocationBarBorderWidth;
-extern const CGFloat kLocationBarBorderColorBrightness;
+extern const CGFloat kLocationBarBorderColor;
extern const CGFloat kLocationBarShadowRadius;
extern const CGFloat kLocationBarShadowOpacity;
@@ -26,5 +31,14 @@ extern const CGFloat kProgressBarHeight;
// Toolbar Buttons.
extern const CGFloat kToolbarButtonWidth;
+extern const CGFloat kToolbarButtonTitleNormalColor;
+extern const CGFloat kToolbarButtonTitleHighlightedColor;
+
+// Maximum number of tabs displayed by the button containing the tab count.
+extern const NSInteger kShowTabStripButtonMaxTabCount;
+
+// Font sizes for the button containing the tab count.
+extern const NSInteger kFontSizeFewerThanTenTabs;
+extern const NSInteger kFontSizeTenTabsOrMore;
#endif // IOS_CLEAN_CHROME_BROWSER_UI_TOOLBAR_TOOLBAR_CONSTANTS_H_
« 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