Index: third_party/WebKit/Source/core/html/HTMLMediaElement.h |
diff --git a/third_party/WebKit/Source/core/html/HTMLMediaElement.h b/third_party/WebKit/Source/core/html/HTMLMediaElement.h |
index 5d42da7ec3c7d9b275cca434ea7caae3068da761..f5ab75c04829def217ef4ed5f61fcb316b663443 100644 |
--- a/third_party/WebKit/Source/core/html/HTMLMediaElement.h |
+++ b/third_party/WebKit/Source/core/html/HTMLMediaElement.h |
@@ -63,6 +63,7 @@ class HTMLTrackElement; |
class KURL; |
class MediaControls; |
class MediaError; |
+class MediaRemotingInterstitial; |
class MediaStreamDescriptor; |
class HTMLMediaSource; |
class ScriptState; |
@@ -323,6 +324,8 @@ class CORE_EXPORT HTMLMediaElement |
return m_remotePlaybackClient; |
} |
+ void disableMediaRemoting(); |
+ |
protected: |
HTMLMediaElement(const QualifiedName&, Document&); |
~HTMLMediaElement() override; |
@@ -408,6 +411,8 @@ class CORE_EXPORT HTMLMediaElement |
bool isAutoplayingMuted() final; |
void requestReload(const WebURL&) final; |
void activateViewportIntersectionMonitoring(bool) final; |
+ void mediaRemotingStarted() final; |
+ void mediaRemotingStopped() final; |
void loadTimerFired(TimerBase*); |
void progressEventTimerFired(TimerBase*); |
@@ -668,6 +673,8 @@ class CORE_EXPORT HTMLMediaElement |
bool m_mostlyFillingViewport : 1; |
+ bool m_mediaRemotingDisabled : 1; |
+ |
TraceWrapperMember<AudioTrackList> m_audioTracks; |
TraceWrapperMember<VideoTrackList> m_videoTracks; |
TraceWrapperMember<TextTrackList> m_textTracks; |
@@ -758,6 +765,7 @@ class CORE_EXPORT HTMLMediaElement |
Member<MediaControls> m_mediaControls; |
Member<HTMLMediaElementControlsList> m_controlsList; |
+ Member<MediaRemotingInterstitial> m_remotingInterstitial; |
bool m_isPersistentVideo; |