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

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

Issue 2813703003: Use NativeTheme to draw vertical menu separators. (Closed)
Patch Set: use rectf Created 3 years, 8 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 | chrome/browser/ui/libgtkui/native_theme_gtk3.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/libgtkui/native_theme_gtk2.cc
diff --git a/chrome/browser/ui/libgtkui/native_theme_gtk2.cc b/chrome/browser/ui/libgtkui/native_theme_gtk2.cc
index c1a16219c9c59e791f5e2faee99f64851d59bb5a..af67e8343f5af8cb1e01c93989650107309efb89 100644
--- a/chrome/browser/ui/libgtkui/native_theme_gtk2.cc
+++ b/chrome/browser/ui/libgtkui/native_theme_gtk2.cc
@@ -156,15 +156,9 @@ SkColor NativeThemeGtk2::GetSystemColor(ColorId color_id) const {
case kColorId_MenuItemSubtitleColor:
case kColorId_DisabledMenuItemForegroundColor:
return GetTextColor(GetMenuItem(), INSENSITIVE);
- case kColorId_FocusedMenuButtonBorderColor:
- return GetBgColor(GetEntry(), NORMAL);
- case kColorId_HoverMenuButtonBorderColor:
- return GetTextAAColor(GetEntry(), PRELIGHT);
case kColorId_MenuBorderColor:
- case kColorId_EnabledMenuButtonBorderColor:
- case kColorId_MenuSeparatorColor: {
+ case kColorId_MenuSeparatorColor:
return GetTextColor(GetMenuItem(), INSENSITIVE);
- }
case kColorId_MenuBackgroundColor:
return GetBgColor(GetMenu(), NORMAL);
« no previous file with comments | « no previous file | chrome/browser/ui/libgtkui/native_theme_gtk3.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698