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

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: trchen@'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') | Source/core/html/HTMLMediaElement.cpp » ('J')
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 0c5ef93861daab8264ca155ab8504945dbfddfcd..d59a3ffa964220d94c1dc55094072e1670ce0977 100644
--- a/Source/core/html/HTMLMediaElement.h
+++ b/Source/core/html/HTMLMediaElement.h
@@ -211,6 +211,7 @@ public:
bool isFullscreen() const;
void enterFullscreen();
void exitFullscreen();
+ virtual bool useOverlayFullscreenVideo() const { return false; }
Xianzhu 2015/08/03 22:39:02 s/use/uses/.
watk 2015/08/03 23:36:48 Done.
bool hasClosedCaptions() const;
bool closedCaptionsVisible() const;
@@ -545,6 +546,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') | Source/core/html/HTMLMediaElement.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698