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

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

Issue 2756553002: Force the video to go fullscreen when setting persistent video (Closed)
Patch Set: addressed nits 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
« no previous file with comments | « third_party/WebKit/Source/core/BUILD.gn ('k') | third_party/WebKit/Source/core/html/HTMLMediaElement.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 3d4b4c86ee81d18bde363883fbdb2364ab1a3b23..6f86d8aab039263f8af8aa14969fbea0dea10906 100644
--- a/third_party/WebKit/Source/core/html/HTMLMediaElement.h
+++ b/third_party/WebKit/Source/core/html/HTMLMediaElement.h
@@ -401,6 +401,7 @@ class CORE_EXPORT HTMLMediaElement
void disconnectedFromRemoteDevice() final;
void cancelledRemotePlaybackRequest() final;
void remotePlaybackStarted() final;
+ void onBecamePersistentVideo(bool) final;
bool hasSelectedVideoTrack() final;
WebMediaPlayer::TrackId getSelectedVideoTrackId() final;
bool isAutoplayingMuted() final;
@@ -740,6 +741,7 @@ class CORE_EXPORT HTMLMediaElement
friend class MediaControlsTest;
friend class HTMLMediaElementTest;
friend class HTMLMediaElementEventListenersTest;
+ friend class HTMLMediaElementPersistentVideoTest;
friend class HTMLVideoElement;
friend class HTMLVideoElementTest;
friend class MediaControlsOrientationLockDelegateTest;
@@ -756,6 +758,8 @@ class CORE_EXPORT HTMLMediaElement
Member<MediaControls> m_mediaControls;
Member<HTMLMediaElementControlsList> m_controlsList;
+ bool m_isPersistentVideo;
+
static URLRegistry* s_mediaStreamRegistry;
};
« no previous file with comments | « third_party/WebKit/Source/core/BUILD.gn ('k') | third_party/WebKit/Source/core/html/HTMLMediaElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698