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

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

Issue 1254613003: Let the WebMediaPlayer decide whether to use overlay video. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Address Xianzhu's Comments Created 5 years, 4 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 | « no previous file | Source/core/html/HTMLMediaElement.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/HTMLMediaElement.h
diff --git a/Source/core/html/HTMLMediaElement.h b/Source/core/html/HTMLMediaElement.h
index 2f1bea3fc8f96c6333f9c3c7361d47bcf86982df..896394ed6106c02c474edc944f7867d90f98eb61 100644
--- a/Source/core/html/HTMLMediaElement.h
+++ b/Source/core/html/HTMLMediaElement.h
@@ -214,6 +214,7 @@ public:
bool isFullscreen() const;
void enterFullscreen();
void exitFullscreen();
+ virtual bool usesOverlayFullscreenVideo() const { return false; }
bool hasClosedCaptions() const;
bool closedCaptionsVisible() const;
@@ -548,6 +549,8 @@ private:
bool m_isFinalizing : 1;
bool m_initialPlayWithoutUserGestures : 1;
bool m_autoplayMediaCounted : 1;
+ // Whether this element is in overlay fullscreen mode.
+ bool m_inOverlayFullscreenVideo : 1;
PersistentWillBeMember<AudioTrackList> m_audioTracks;
PersistentWillBeMember<VideoTrackList> m_videoTracks;
« no previous file with comments | « no previous file | Source/core/html/HTMLMediaElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698