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

Unified Diff: third_party/WebKit/Source/modules/media_controls/elements/MediaControlRemainingTimeDisplayElement.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
« no previous file with comments | « third_party/WebKit/Source/modules/media_controls/elements/MediaControlRemainingTimeDisplayElement.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/modules/media_controls/elements/MediaControlRemainingTimeDisplayElement.cpp
diff --git a/third_party/WebKit/Source/modules/media_controls/elements/MediaControlRemainingTimeDisplayElement.cpp b/third_party/WebKit/Source/modules/media_controls/elements/MediaControlRemainingTimeDisplayElement.cpp
new file mode 100644
index 0000000000000000000000000000000000000000..a6e234940b7be5d7a2382ccaced35e5fced2bcdd
--- /dev/null
+++ b/third_party/WebKit/Source/modules/media_controls/elements/MediaControlRemainingTimeDisplayElement.cpp
@@ -0,0 +1,19 @@
+// Copyright 2017 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "modules/media_controls/elements/MediaControlRemainingTimeDisplayElement.h"
+
+#include "modules/media_controls/MediaControlsImpl.h"
+
+namespace blink {
+
+MediaControlRemainingTimeDisplayElement::
+ MediaControlRemainingTimeDisplayElement(MediaControlsImpl& media_controls)
+ : MediaControlTimeDisplayElement(media_controls,
+ kMediaTimeRemainingDisplay) {
+ SetShadowPseudoId(
+ AtomicString("-webkit-media-controls-time-remaining-display"));
+}
+
+} // namespace blink
« no previous file with comments | « third_party/WebKit/Source/modules/media_controls/elements/MediaControlRemainingTimeDisplayElement.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698