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

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

Issue 2892113002: [ios clean] Fixes Toolbar constraints. (Closed)
Patch Set: 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 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 kToolbarBackgroundBrightness = 242.0 / 255.0;
8 const CGFloat kToolbarTintColorBrightness = 90.0 / 255.0; 8 const CGFloat kToolbarTintColorBrightness = 90.0 / 255.0;
9 9
10 const CGFloat kVerticalMargin = 7.0f; 10 const CGFloat kVerticalMargin = 7.0f;
11 const CGFloat kHorizontalMargin = 1.0f; 11 const CGFloat kHorizontalMargin = 1.0f;
12 const CGFloat kStackViewSpacing = 2.0f; 12 const CGFloat kStackViewSpacing = 2.0f;
13 13
14 const CGFloat kLocationBarBorderWidth = 1.0f; 14 const CGFloat kLocationBarBorderWidth = 1.0f;
15 const CGFloat kLocationBarBorderColorBrightness = 208.0 / 255.0; 15 const CGFloat kLocationBarBorderColorBrightness = 208.0 / 255.0;
16 const CGFloat kLocationBarShadowRadius = 0.0f; 16 const CGFloat kLocationBarShadowRadius = 0.0f;
17 const CGFloat kLocationBarShadowOpacity = 0.2f; 17 const CGFloat kLocationBarShadowOpacity = 0.2f;
18 18
19 const CGFloat kProgressBarHeight = 2.0f; 19 const CGFloat kProgressBarHeight = 2.0f;
20
21 const CGFloat kToolbarButtonWidth = 42.0f;
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698