| Index: third_party/WebKit/Source/core/html/HTMLVideoElement.h
|
| diff --git a/third_party/WebKit/Source/core/html/HTMLVideoElement.h b/third_party/WebKit/Source/core/html/HTMLVideoElement.h
|
| index 385cc3a62fc01554d991c0381d50fc32f3ae21d9..c1059913343190f033377972c3aea76760029b13 100644
|
| --- a/third_party/WebKit/Source/core/html/HTMLVideoElement.h
|
| +++ b/third_party/WebKit/Source/core/html/HTMLVideoElement.h
|
| @@ -43,6 +43,7 @@ namespace blink {
|
| class ExceptionState;
|
| class ImageBitmapOptions;
|
| class MediaCustomControlsFullscreenDetector;
|
| +class MediaRemotingInterstitial;
|
|
|
| class CORE_EXPORT HTMLVideoElement final : public HTMLMediaElement,
|
| public CanvasImageSource,
|
| @@ -53,6 +54,8 @@ class CORE_EXPORT HTMLVideoElement final : public HTMLMediaElement,
|
| static HTMLVideoElement* create(Document&);
|
| DECLARE_VIRTUAL_TRACE();
|
|
|
| + enum MediaRemotingStatus { NotStarted, Started, Disabled };
|
| +
|
| // Node override.
|
| Node::InsertionNotificationRequest insertedInto(ContainerNode*) override;
|
| void removedFrom(ContainerNode*) override;
|
| @@ -130,6 +133,11 @@ class CORE_EXPORT HTMLVideoElement final : public HTMLMediaElement,
|
|
|
| bool isPersistent() const;
|
|
|
| + MediaRemotingStatus mediaRemotingStatus() const {
|
| + return m_mediaRemotingStatus;
|
| + }
|
| + void disableMediaRemoting();
|
| +
|
| private:
|
| friend class MediaCustomControlsFullscreenDetectorTest;
|
| friend class HTMLMediaElementEventListenersTest;
|
| @@ -155,9 +163,15 @@ class CORE_EXPORT HTMLVideoElement final : public HTMLMediaElement,
|
| void didMoveToNewDocument(Document& oldDocument) override;
|
| void setDisplayMode(DisplayMode) override;
|
|
|
| + void mediaRemotingStarted() final;
|
| + void mediaRemotingStopped() final;
|
| +
|
| + MediaRemotingStatus m_mediaRemotingStatus;
|
| +
|
| Member<HTMLImageLoader> m_imageLoader;
|
| Member<MediaCustomControlsFullscreenDetector>
|
| m_customControlsFullscreenDetector;
|
| + Member<MediaRemotingInterstitial> m_remotingInterstitial;
|
|
|
| AtomicString m_defaultPosterURL;
|
|
|
|
|