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

Unified Diff: ui/native_theme/common_theme.cc

Issue 1262513002: Use vectorized icon for default extensions icons (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 5 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
« no previous file with comments | « ui/gfx/vector_icons/extension.icon ('k') | ui/native_theme/native_theme.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/native_theme/common_theme.cc
diff --git a/ui/native_theme/common_theme.cc b/ui/native_theme/common_theme.cc
index f41750c54fbc19943954fed1e57003b97ee94f41..5c0da01e9f2d3b29e1fe3eca5b1e5f244b89d8e4 100644
--- a/ui/native_theme/common_theme.cc
+++ b/ui/native_theme/common_theme.cc
@@ -39,8 +39,10 @@ const SkColor kBlueButtonDisabledColor = SK_ColorWHITE;
const SkColor kBlueButtonPressedColor = SK_ColorWHITE;
const SkColor kBlueButtonHoverColor = SK_ColorWHITE;
const SkColor kBlueButtonShadowColor = SkColorSetRGB(0x53, 0x8C, 0xEA);
+// Material colors:
+const SkColor kGoogleBlue = SkColorSetRGB(0x42, 0x85, 0xF4);
+const SkColor kChromeIconGrey = SkColorSetRGB(0x5A, 0x5A, 0x5A);
// Material spinner/throbber:
-const SkColor kThrobberSpinningColor = SkColorSetRGB(0x42, 0x85, 0xF4);
const SkColor kThrobberWaitingColor = SkColorSetRGB(0xA6, 0xA6, 0xA6);
const SkColor kThrobberLightColor = SkColorSetRGB(0xF4, 0xF8, 0xFD);
@@ -109,9 +111,13 @@ bool CommonThemeGetSystemColor(NativeTheme::ColorId color_id, SkColor* color) {
case NativeTheme::kColorId_BlueButtonShadowColor:
*color = kBlueButtonShadowColor;
break;
+ // Material icons
+ case NativeTheme::kColorId_ChromeIconGrey:
+ *color = kChromeIconGrey;
+ break;
// Material spinner/throbber
case NativeTheme::kColorId_ThrobberSpinningColor:
- *color = kThrobberSpinningColor;
+ *color = kGoogleBlue;
break;
case NativeTheme::kColorId_ThrobberWaitingColor:
*color = kThrobberWaitingColor;
« no previous file with comments | « ui/gfx/vector_icons/extension.icon ('k') | ui/native_theme/native_theme.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698