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

Unified Diff: chrome/browser/ui/libgtk2ui/native_theme_gtk2.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
Index: chrome/browser/ui/libgtk2ui/native_theme_gtk2.cc
diff --git a/chrome/browser/ui/libgtk2ui/native_theme_gtk2.cc b/chrome/browser/ui/libgtk2ui/native_theme_gtk2.cc
index eb7e53ee5b58ef1dc5d8ffb14409721728d335ef..5d823efbc0c4d6624356d1a4fbf416f878c13c4a 100644
--- a/chrome/browser/ui/libgtk2ui/native_theme_gtk2.cc
+++ b/chrome/browser/ui/libgtk2ui/native_theme_gtk2.cc
@@ -454,6 +454,12 @@ SkColor NativeThemeGtk2::GetSystemColor(ColorId color_id) const {
GetBGColor(GetWindow(), NORMAL),
0x80);
+ // Alert icons
+ // These aren't yet used in any GTK NativeTheme context, so they don't have
+ // definitions.
+ case kColorId_AlertSeverityLow:
+ case kColorId_AlertSeverityMedium:
+ case kColorId_AlertSeverityHigh:
case kColorId_NumColors:
NOTREACHED();
break;
« no previous file with comments | « no previous file | chrome/browser/ui/views/toolbar/app_menu_button.cc » ('j') | ui/native_theme/native_theme_dark_aura.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698