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

Unified Diff: chrome/browser/ui/autofill/popup_constants.h

Issue 2152243002: [Autofill] Tweak credit card signin promo visually. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: no curlies Created 4 years, 5 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: chrome/browser/ui/autofill/popup_constants.h
diff --git a/chrome/browser/ui/autofill/popup_constants.h b/chrome/browser/ui/autofill/popup_constants.h
index f60f14bbaef16b1df0fc9881f88769fcf877135d..bf3ad95fe45d5c5755833843ab038cedb4ebf10b 100644
--- a/chrome/browser/ui/autofill/popup_constants.h
+++ b/chrome/browser/ui/autofill/popup_constants.h
@@ -5,11 +5,22 @@
#ifndef CHROME_BROWSER_UI_AUTOFILL_POPUP_CONSTANTS_H_
#define CHROME_BROWSER_UI_AUTOFILL_POPUP_CONSTANTS_H_
+#include "third_party/skia/include/core/SkColor.h"
+
namespace autofill {
// The size of the border around the entire results popup, in pixels.
const int kPopupBorderThickness = 1;
+// Various colors used in the Autofill popup.
+const SkColor kBorderColor = SkColorSetRGB(0xC7, 0xCA, 0xCE);
+const SkColor kHoveredBackgroundColor = SkColorSetRGB(0xCD, 0xCD, 0xCD);
+const SkColor kLabelTextColor = SkColorSetRGB(0x64, 0x64, 0x64);
+const SkColor kPromoPopupBackground = SkColorSetRGB(0xFA, 0xFA, 0xFA);
+const SkColor kWarningTextColor = SkColorSetRGB(0x64, 0x64, 0x64);
+constexpr SkColor kPopupBackground = SK_ColorWHITE;
+constexpr SkColor kValueTextColor = SK_ColorBLACK;
+
} // namespace autofill
#endif // CHROME_BROWSER_UI_AUTOFILL_POPUP_CONSTANTS_H_

Powered by Google App Engine
This is Rietveld 408576698