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

Unified Diff: third_party/WebKit/Source/core/html/HTMLMediaElement.h

Issue 2767823002: Media Remoting: Add interstitial elements to media element shadow dom. (Closed)
Patch Set: Created 3 years, 9 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/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;

Powered by Google App Engine
This is Rietveld 408576698