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

Unified Diff: ui/native_theme/native_theme_dark_aura.cc

Issue 2245143005: Move upgrade severity colors into NativeTheme. (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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/native_theme/native_theme.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/native_theme/native_theme_dark_aura.cc
diff --git a/ui/native_theme/native_theme_dark_aura.cc b/ui/native_theme/native_theme_dark_aura.cc
index 1fb481465a6c9480b0f61a81c0116d4fe759dd24..635f9eca899caf6bbc9298e0c1d591295ce11599 100644
--- a/ui/native_theme/native_theme_dark_aura.cc
+++ b/ui/native_theme/native_theme_dark_aura.cc
@@ -70,6 +70,14 @@ SkColor NativeThemeDarkAura::GetSystemColor(ColorId color_id) const {
case kColorId_FocusedBorderColor:
return gfx::kGoogleBlue300;
+ // Alert icons
tdanderson 2016/08/17 19:44:58 nit: .
Evan Stade 2016/08/17 20:18:38 the others (above) don't do this. The comments bel
+ case kColorId_AlertSeverityLow:
+ return gfx::kGoogleGreen300;
+ case kColorId_AlertSeverityMedium:
+ return gfx::kGoogleYellow300;
+ case kColorId_AlertSeverityHigh:
+ return gfx::kGoogleRed300;
+
// Intentional pass-throughs to NativeThemeAura.
case kColorId_TextOnCallToActionColor:
case kColorId_ResultsTableHoveredBackground:
« no previous file with comments | « ui/native_theme/native_theme.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698