Chromium Code Reviews| 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 |