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

Unified Diff: third_party/WebKit/Source/core/html/shadow/MediaControlElements.cpp

Issue 2814703002: Media Controls: move time display elements to media_controls module. (Closed)
Patch Set: review comments Created 3 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: third_party/WebKit/Source/core/html/shadow/MediaControlElements.cpp
diff --git a/third_party/WebKit/Source/core/html/shadow/MediaControlElements.cpp b/third_party/WebKit/Source/core/html/shadow/MediaControlElements.cpp
index 117b283e1a9a8438949eb77ddc2db449f4502af1..cfbc7847a4d98c269dba11867a0b9d35fdbac8dc 100644
--- a/third_party/WebKit/Source/core/html/shadow/MediaControlElements.cpp
+++ b/third_party/WebKit/Source/core/html/shadow/MediaControlElements.cpp
@@ -1033,36 +1033,4 @@ void MediaControlCastButtonElement::RecordMetrics(CastOverlayMetrics metric) {
overlay_histogram.Count(static_cast<int>(metric));
}
-// ----------------------------
-
-MediaControlTimeRemainingDisplayElement::
- MediaControlTimeRemainingDisplayElement(MediaControls& media_controls)
- : MediaControlTimeDisplayElement(media_controls,
- kMediaTimeRemainingDisplay) {}
-
-MediaControlTimeRemainingDisplayElement*
-MediaControlTimeRemainingDisplayElement::Create(MediaControls& media_controls) {
- MediaControlTimeRemainingDisplayElement* element =
- new MediaControlTimeRemainingDisplayElement(media_controls);
- element->SetShadowPseudoId(
- AtomicString("-webkit-media-controls-time-remaining-display"));
- return element;
-}
-
-// ----------------------------
-
-MediaControlCurrentTimeDisplayElement::MediaControlCurrentTimeDisplayElement(
- MediaControls& media_controls)
- : MediaControlTimeDisplayElement(media_controls, kMediaCurrentTimeDisplay) {
-}
-
-MediaControlCurrentTimeDisplayElement*
-MediaControlCurrentTimeDisplayElement::Create(MediaControls& media_controls) {
- MediaControlCurrentTimeDisplayElement* element =
- new MediaControlCurrentTimeDisplayElement(media_controls);
- element->SetShadowPseudoId(
- AtomicString("-webkit-media-controls-current-time-display"));
- return element;
-}
-
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698