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

Unified Diff: ui/native_theme/native_theme_dark_aura.cc

Issue 1553583002: Remove placeholder cases for incognito results table colors. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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 | 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_dark_aura.cc
diff --git a/ui/native_theme/native_theme_dark_aura.cc b/ui/native_theme/native_theme_dark_aura.cc
index 6b50d262cd510d9b5917257c5ffbe7667be2a400..33392455691f8e48f43ef235172f03622a18feac 100644
--- a/ui/native_theme/native_theme_dark_aura.cc
+++ b/ui/native_theme/native_theme_dark_aura.cc
@@ -74,17 +74,6 @@ SkColor NativeThemeDarkAura::GetSystemColor(ColorId color_id) const {
case kColorId_ResultsTableSelectedUrl:
return NativeThemeAura::GetSystemColor(color_id);
- // Temporary pass-throughs to NativeThemeAura, for colors not yet defined
- // for dark themes. TODO(estade): define colors for these and remove this
- // block.
- case kColorId_ResultsTablePositiveText:
- case kColorId_ResultsTablePositiveHoveredText:
- case kColorId_ResultsTablePositiveSelectedText:
- case kColorId_ResultsTableNegativeText:
- case kColorId_ResultsTableNegativeHoveredText:
- case kColorId_ResultsTableNegativeSelectedText:
- return NativeThemeAura::GetSystemColor(color_id);
-
// Any other color is not defined and shouldn't be used in a dark theme.
default:
return gfx::kPlaceholderColor;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698