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

Unified Diff: Source/core/dom/Fullscreen.h

Issue 1058783006: Remove the allowfullscreen exemption for the video-specific fullscreen API (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: consistent quotes Created 5 years, 8 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 | « LayoutTests/media/video-controls-fullscreen-iframe.html ('k') | Source/core/dom/Fullscreen.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/Fullscreen.h
diff --git a/Source/core/dom/Fullscreen.h b/Source/core/dom/Fullscreen.h
index 339ab3b2341870fc43371c5237cf4b6a40f190ec..eb2e6550adf3854a9b4f473255dbb2bac7e06e7a 100644
--- a/Source/core/dom/Fullscreen.h
+++ b/Source/core/dom/Fullscreen.h
@@ -60,9 +60,14 @@ public:
static bool isActiveFullScreenElement(const Element&);
enum RequestType {
- UnprefixedRequest, // Element.requestFullscreen()
- PrefixedRequest, // Element.webkitRequestFullscreen() and webkitRequestFullScreen()
- PrefixedVideoRequest, // HTMLVideoElement.webkitEnterFullscreen() and webkitEnterFullScreen()
+ // Element.requestFullscreen()
+ UnprefixedRequest,
+ // Element.webkitRequestFullscreen()/webkitRequestFullScreen() and
+ // HTMLVideoElement.webkitEnterFullscreen()/webkitEnterFullScreen()
+ PrefixedRequest,
+ // Fullscreen button in <video controls> and
+ // HTMLMediaElement::mediaPlayerRequestFullscreen()
+ InternalVideoRequest,
};
void requestFullscreen(Element&, RequestType);
« no previous file with comments | « LayoutTests/media/video-controls-fullscreen-iframe.html ('k') | Source/core/dom/Fullscreen.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698