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

Unified Diff: ui/native_theme/native_theme_win.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 | « ui/native_theme/native_theme_dark_aura.cc ('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_win.cc
diff --git a/ui/native_theme/native_theme_win.cc b/ui/native_theme/native_theme_win.cc
index c9b604fd2947a861be02ffe124ebaec4c6ab644e..bb2460e4198019eabf5cdc4f4fe605e16e335421 100644
--- a/ui/native_theme/native_theme_win.cc
+++ b/ui/native_theme/native_theme_win.cc
@@ -611,16 +611,6 @@ SkColor NativeThemeWin::GetSystemColor(ColorId color_id) const {
case kColorId_ResultsTableSelectedUrl:
return color_utils::GetReadableColor(kUrlTextColor,
system_colors_[COLOR_HIGHLIGHT]);
- case kColorId_ResultsTableNormalDivider:
- return color_utils::AlphaBlend(system_colors_[COLOR_WINDOWTEXT],
- system_colors_[COLOR_WINDOW], 0x34);
- case kColorId_ResultsTableHoveredDivider:
- return color_utils::AlphaBlend(
- system_colors_[COLOR_WINDOWTEXT],
- GetSystemColor(kColorId_ResultsTableHoveredBackground), 0x34);
- case kColorId_ResultsTableSelectedDivider:
- return color_utils::AlphaBlend(system_colors_[COLOR_HIGHLIGHTTEXT],
- system_colors_[COLOR_HIGHLIGHT], 0x34);
case kColorId_ResultsTablePositiveText:
return color_utils::GetReadableColor(kPositiveTextColor,
system_colors_[COLOR_WINDOW]);
« no previous file with comments | « ui/native_theme/native_theme_dark_aura.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698