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

Side by Side Diff: chrome/browser/ui/autofill/popup_constants.h

Issue 2203963002: [Autofill] Credit Card Signin promo: no bg color, no smaller font. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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
« no previous file with comments | « chrome/browser/ui/autofill/autofill_popup_layout_model.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 CHROME_BROWSER_UI_AUTOFILL_POPUP_CONSTANTS_H_ 5 #ifndef CHROME_BROWSER_UI_AUTOFILL_POPUP_CONSTANTS_H_
6 #define CHROME_BROWSER_UI_AUTOFILL_POPUP_CONSTANTS_H_ 6 #define CHROME_BROWSER_UI_AUTOFILL_POPUP_CONSTANTS_H_
7 7
8 #include "third_party/skia/include/core/SkColor.h" 8 #include "third_party/skia/include/core/SkColor.h"
9 9
10 namespace autofill { 10 namespace autofill {
11 11
12 // The size of the border around the entire results popup, in pixels. 12 // The size of the border around the entire results popup, in pixels.
13 const int kPopupBorderThickness = 1; 13 const int kPopupBorderThickness = 1;
14 14
15 // Various colors used in the Autofill popup. 15 // Various colors used in the Autofill popup.
16 const SkColor kBorderColor = SkColorSetRGB(0xC7, 0xCA, 0xCE); 16 const SkColor kBorderColor = SkColorSetRGB(0xC7, 0xCA, 0xCE);
17 const SkColor kHoveredBackgroundColor = SkColorSetRGB(0xCD, 0xCD, 0xCD); 17 const SkColor kHoveredBackgroundColor = SkColorSetRGB(0xCD, 0xCD, 0xCD);
18 const SkColor kLabelTextColor = SkColorSetRGB(0x64, 0x64, 0x64); 18 const SkColor kLabelTextColor = SkColorSetRGB(0x64, 0x64, 0x64);
19 const SkColor kPromoPopupBackground = SkColorSetRGB(0xFA, 0xFA, 0xFA);
20 const SkColor kWarningTextColor = SkColorSetRGB(0x64, 0x64, 0x64); 19 const SkColor kWarningTextColor = SkColorSetRGB(0x64, 0x64, 0x64);
Evan Stade 2016/08/03 12:53:45 nit: can we combine label and warning colors
21 constexpr SkColor kPopupBackground = SK_ColorWHITE; 20 constexpr SkColor kPopupBackground = SK_ColorWHITE;
22 constexpr SkColor kValueTextColor = SK_ColorBLACK; 21 constexpr SkColor kValueTextColor = SK_ColorBLACK;
23 22
24 } // namespace autofill 23 } // namespace autofill
25 24
26 #endif // CHROME_BROWSER_UI_AUTOFILL_POPUP_CONSTANTS_H_ 25 #endif // CHROME_BROWSER_UI_AUTOFILL_POPUP_CONSTANTS_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/autofill/autofill_popup_layout_model.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698