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

Unified Diff: third_party/WebKit/Source/core/paint/ThemePainter.cpp

Issue 1079323002: Support text track selection in video controls (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase and addressed fs' comments Created 4 years, 10 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: third_party/WebKit/Source/core/paint/ThemePainter.cpp
diff --git a/third_party/WebKit/Source/core/paint/ThemePainter.cpp b/third_party/WebKit/Source/core/paint/ThemePainter.cpp
index b9658837aaecb06d476887d1a4b191b592685f98..fdc1627022f4317100d7b9b3452e450c53a85e71 100644
--- a/third_party/WebKit/Source/core/paint/ThemePainter.cpp
+++ b/third_party/WebKit/Source/core/paint/ThemePainter.cpp
@@ -142,6 +142,12 @@ bool ThemePainter::paint(const LayoutObject& o, const PaintInfo& paintInfo, cons
case MediaCastOffButtonPart:
case MediaOverlayCastOffButtonPart:
return MediaControlsPainter::paintMediaCastButton(o, paintInfo, r);
+ case MediaTrackSelectionCheckmarkPart:
+ return MediaControlsPainter::paintMediaTrackSelectionCheckmark(o, paintInfo, r);
+ case MediaClosedCaptionsIconPart:
+ return MediaControlsPainter::paintMediaClosedCaptionsIcon(o, paintInfo, r);
+ case MediaSubtitlesIconPart:
+ return MediaControlsPainter::paintMediaSubtitlesIcon(o, paintInfo, r);
case MenulistButtonPart:
case TextFieldPart:
case TextAreaPart:

Powered by Google App Engine
This is Rietveld 408576698