Chromium Code Reviews| Index: third_party/WebKit/Source/core/html/shadow/MediaControlElements.h |
| diff --git a/third_party/WebKit/Source/core/html/shadow/MediaControlElements.h b/third_party/WebKit/Source/core/html/shadow/MediaControlElements.h |
| index df272a9493bee9dd77330ad7c5154beb82b50715..9a4cef19502f701ae67ccfe9df688413dc0e290d 100644 |
| --- a/third_party/WebKit/Source/core/html/shadow/MediaControlElements.h |
| +++ b/third_party/WebKit/Source/core/html/shadow/MediaControlElements.h |
| @@ -31,6 +31,7 @@ |
| #define MediaControlElements_h |
| #include "core/html/shadow/MediaControlElementTypes.h" |
| +#include "core/html/shadow/MediaRemotingInterstitial.h" |
| #include "public/platform/WebLocalizedString.h" |
| namespace blink { |
| @@ -383,6 +384,63 @@ class MediaControlCurrentTimeDisplayElement final |
| explicit MediaControlCurrentTimeDisplayElement(MediaControls&); |
| }; |
| +// ---------------------------- |
| + |
| +class MediaRemotingDisableButtonElement final : public HTMLInputElement { |
|
mlamouri (slow - plz ping)
2017/04/04 13:19:44
Can you create a MediaRemotingElements file instea
xjz
2017/04/04 20:56:26
Done.
|
| + public: |
| + explicit MediaRemotingDisableButtonElement( |
| + MediaRemotingInterstitialElements&); |
| + |
| + void show(); |
| + void hide(); |
| + HTMLMediaElement& mediaElement() const { |
| + return m_interstitialElements->mediaElement(); |
| + } |
| + |
| + DECLARE_VIRTUAL_TRACE(); |
| + |
| + private: |
| + class MouseEventsListener; |
| + |
| + Member<MediaRemotingInterstitialElements> m_interstitialElements; |
| + Member<MouseEventsListener> m_listener; |
| +}; |
| + |
| +// ---------------------------- |
| + |
| +class MediaRemotingCastIconElement final : public HTMLInputElement { |
| + public: |
| + explicit MediaRemotingCastIconElement(MediaRemotingInterstitialElements&); |
| + |
| + void show(); |
| + void hide(); |
| +}; |
| + |
| +// ---------------------------- |
| + |
| +class MediaRemotingCastMessageElement final : public HTMLInputElement { |
| + public: |
| + explicit MediaRemotingCastMessageElement(MediaRemotingInterstitialElements&); |
| + |
| + void show(); |
| + void hide(); |
| +}; |
| + |
| +// ---------------------------- |
| + |
| +class MediaRemotingBackgroundImageElement final : public HTMLInputElement { |
| + public: |
| + explicit MediaRemotingBackgroundImageElement(MediaRemotingInterstitial&); |
| + |
| + void show(); |
| + void hide(); |
| + |
| + DECLARE_VIRTUAL_TRACE(); |
| + |
| + private: |
| + Member<MediaRemotingInterstitial> m_interstitial; |
| +}; |
| + |
| } // namespace blink |
| #endif // MediaControlElements_h |