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

Unified Diff: third_party/WebKit/Source/modules/media_controls/elements/MediaControlTimeRemainingDisplayElement.h

Issue 2814703002: Media Controls: move time display elements to media_controls module. (Closed)
Patch Set: 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/modules/media_controls/elements/MediaControlTimeRemainingDisplayElement.h
diff --git a/third_party/WebKit/Source/modules/media_controls/elements/MediaControlTimeRemainingDisplayElement.h b/third_party/WebKit/Source/modules/media_controls/elements/MediaControlTimeRemainingDisplayElement.h
new file mode 100644
index 0000000000000000000000000000000000000000..22e31aa41f99bce27fe2e7ae1b351dbc1c781f4d
--- /dev/null
+++ b/third_party/WebKit/Source/modules/media_controls/elements/MediaControlTimeRemainingDisplayElement.h
@@ -0,0 +1,22 @@
+// 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.
+
+#ifndef MediaControlTimeRemainingDisplayElement_h
Srirama 2017/04/11 13:13:28 Just a thought, if it makes sense to rename these
whywhat 2017/04/11 15:09:33 TBH, using inheritance for these two classes sound
mlamouri (slow - plz ping) 2017/04/11 22:25:57 Done.
whywhat 2017/04/11 22:31:08 I should've clarified I didn't mean to change that
+#define MediaControlTimeRemainingDisplayElement_h
+
+#include "core/html/shadow/MediaControlElementTypes.h"
+
+namespace blink {
+
+class MediaControlsImpl;
+
+class MediaControlTimeRemainingDisplayElement final
+ : public MediaControlTimeDisplayElement {
+ public:
+ explicit MediaControlTimeRemainingDisplayElement(MediaControlsImpl&);
+};
+
+} // namespace blink
+
+#endif // MediaControlTimeRemainingDisplayElement_h

Powered by Google App Engine
This is Rietveld 408576698