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

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

Issue 1454983003: Remove unused color from NativeTheme. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 5 years, 1 month 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/views/omnibox/omnibox_result_view.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 109930bbc89cf017b28011fa95d1b38f63d0a1ee..5cf2fa75993bbc18748e2921981b020623e7e462 100644
--- a/chrome/browser/ui/libgtk2ui/native_theme_gtk2.cc
+++ b/chrome/browser/ui/libgtk2ui/native_theme_gtk2.cc
@@ -412,18 +412,6 @@ SkColor NativeThemeGtk2::GetSystemColor(ColorId color_id) const {
return SelectedURLColor(
GetSystemColor(kColorId_TextfieldSelectionColor),
GetSystemColor(kColorId_TextfieldSelectionBackgroundFocused));
- case kColorId_ResultsTableNormalDivider:
- return color_utils::AlphaBlend(GetTextColor(GetWindow(), NORMAL),
- GetBGColor(GetWindow(), NORMAL),
- 0x34);
- case kColorId_ResultsTableHoveredDivider:
- return color_utils::AlphaBlend(GetTextColor(GetWindow(), PRELIGHT),
- GetBGColor(GetWindow(), PRELIGHT),
- 0x34);
- case kColorId_ResultsTableSelectedDivider:
- return color_utils::AlphaBlend(GetTextColor(GetWindow(), SELECTED),
- GetBGColor(GetWindow(), SELECTED),
- 0x34);
case kColorId_ResultsTablePositiveText: {
return color_utils::GetReadableColor(kPositiveTextColor,
« no previous file with comments | « no previous file | chrome/browser/ui/views/omnibox/omnibox_result_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698