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

Unified Diff: chrome/browser/ui/libgtk2ui/native_theme_gtk2.cc

Issue 2319313003: views: refactor away PlatformStyle::BackgroundColorForMdButton (Closed)
Patch Set: nits and rename Created 4 years, 3 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 | « no previous file | ui/gfx/color_utils.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 bc03083b34101e26f5daec027a74687b1e5d1aa1..7e8811976df7dc57039822d3e9d8d72b919ab3f0 100644
--- a/chrome/browser/ui/libgtk2ui/native_theme_gtk2.cc
+++ b/chrome/browser/ui/libgtk2ui/native_theme_gtk2.cc
@@ -329,6 +329,8 @@ SkColor NativeThemeGtk2::GetSystemColor(ColorId color_id) const {
return GetSystemColor(kColorId_LinkEnabled);
case kColorId_TextOnCallToActionColor:
return GetTextColor(GetLabel(), SELECTED);
+ case kColorId_ButtonPressedShade:
+ return SK_ColorTRANSPARENT;
// Textfield
case kColorId_TextfieldDefaultColor:
« no previous file with comments | « no previous file | ui/gfx/color_utils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698