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

Unified Diff: Source/WebCore/rendering/RenderTheme.cpp

Issue 14096013: Implement select element list box with shadow DOM. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@shadowselect
Patch Set: Created 7 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
Index: Source/WebCore/rendering/RenderTheme.cpp
diff --git a/Source/WebCore/rendering/RenderTheme.cpp b/Source/WebCore/rendering/RenderTheme.cpp
index c71e6b8abdb8964f07b6f8fe52e386b05451cc00..fd56df85ffb095c1e356fa236bd3057af28c2186 100644
--- a/Source/WebCore/rendering/RenderTheme.cpp
+++ b/Source/WebCore/rendering/RenderTheme.cpp
@@ -1090,6 +1090,10 @@ Color RenderTheme::systemColor(int cssValueId) const
return 0xFFFFFFFF;
case CSSValueActivecaption:
return 0xFFCCCCCC;
+ case CSSValueActivelistboxselection:
+ return activeListBoxSelectionBackgroundColor();
+ case CSSValueActivelistboxselectiontext:
+ return activeListBoxSelectionForegroundColor();
case CSSValueAppworkspace:
return 0xFFFFFFFF;
case CSSValueBackground:
@@ -1116,6 +1120,10 @@ Color RenderTheme::systemColor(int cssValueId) const
return 0xFFFFFFFF;
case CSSValueInactivecaptiontext:
return 0xFF7F7F7F;
+ case CSSValueInactivelistboxselection:
+ return inactiveListBoxSelectionBackgroundColor();
+ case CSSValueInactivelistboxselectiontext:
+ return inactiveListBoxSelectionForegroundColor();
case CSSValueInfobackground:
return 0xFFFBFCC5;
case CSSValueInfotext:

Powered by Google App Engine
This is Rietveld 408576698