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

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

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 #import "ios/clean/chrome/browser/ui/toolbar/toolbar_constants.h" 5 #import "ios/clean/chrome/browser/ui/toolbar/toolbar_constants.h"
6 6
7 const CGFloat kToolbarBackgroundBrightness = 242.0 / 255.0; 7 const CGFloat kToolbarBackgroundColor = 0xF2F2F2;
8 8
9 const CGFloat kVerticalMargin = 7.0f; 9 const CGFloat kVerticalMargin = 7.0f;
10 const CGFloat kHorizontalMargin = 1.0f; 10 const CGFloat kHorizontalMargin = 1.0f;
11 const CGFloat kStackViewSpacing = 2.0f; 11 const CGFloat kStackViewSpacing = 2.0f;
12 12
13 const CGFloat kLocationBarBorderWidth = 1.0f; 13 const CGFloat kLocationBarBorderWidth = 1.0f;
14 const CGFloat kLocationBarBorderColorBrightness = 208.0 / 255.0; 14 const CGFloat kLocationBarBorderColor = 0xD0D0D0;
15 const CGFloat kLocationBarShadowRadius = 0.0f; 15 const CGFloat kLocationBarShadowRadius = 0.0f;
16 const CGFloat kLocationBarShadowOpacity = 0.2f; 16 const CGFloat kLocationBarShadowOpacity = 0.2f;
17 17
18 const CGFloat kProgressBarHeight = 2.0f; 18 const CGFloat kProgressBarHeight = 2.0f;
19 19
20 const CGFloat kToolbarButtonWidth = 42.0f; 20 const CGFloat kToolbarButtonWidth = 42.0f;
21 const CGFloat kToolbarButtonTitleNormalColor = 0x555555;
22 const CGFloat kToolbarButtonTitleHighlightedColor = 0x4285F4;
23
24 const NSInteger kShowTabStripButtonMaxTabCount = 99;
25
26 const NSInteger kFontSizeFewerThanTenTabs = 11;
27 const NSInteger kFontSizeTenTabsOrMore = 9;
OLDNEW
« no previous file with comments | « ios/clean/chrome/browser/ui/toolbar/toolbar_constants.h ('k') | ios/clean/chrome/browser/ui/toolbar/toolbar_consumer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698