| OLD | NEW |
| 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; |
| OLD | NEW |