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

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

Issue 2293273002: Add a download button to the media player (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@media-controls
Patch Set: Created 4 years, 3 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 91b32b7956905315750a70ac14368f188bfa9a1a..111935fcbe93bc148d3525c12d18d7d3e1130a74 100644
--- a/third_party/WebKit/Source/core/paint/ThemePainter.cpp
+++ b/third_party/WebKit/Source/core/paint/ThemePainter.cpp
@@ -143,6 +143,8 @@ bool ThemePainter::paint(const LayoutObject& o, const PaintInfo& paintInfo, cons
return MediaControlsPainter::paintMediaSubtitlesIcon(o, paintInfo, r);
case MediaOverflowMenuButtonPart:
return MediaControlsPainter::paintMediaOverflowMenu(o, paintInfo, r);
+ case MediaDownloadIconPart:
+ return MediaControlsPainter::paintMediaDownloadIcon(o, paintInfo, r);
case MenulistButtonPart:
case TextFieldPart:
case TextAreaPart:

Powered by Google App Engine
This is Rietveld 408576698