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

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

Issue 1159593006: Revert of Remove the allowfullscreen exemption for the video-specific fullscreen API (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase Created 5 years, 7 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 bb23ec50d6aef1c4f99f3a1d26b39a9c148788dc..55ac5d4ae3bc0bcbae5adc948c949a7172902017 100644
--- a/Source/core/dom/Fullscreen.h
+++ b/Source/core/dom/Fullscreen.h
@@ -60,14 +60,9 @@ public:
static bool isActiveFullScreenElement(const Element&);
enum RequestType {
- // Element.requestFullscreen()
- UnprefixedRequest,
- // Element.webkitRequestFullscreen()/webkitRequestFullScreen() and
- // HTMLVideoElement.webkitEnterFullscreen()/webkitEnterFullScreen()
- PrefixedRequest,
- // Fullscreen button in <video controls> and
- // HTMLMediaElement::mediaPlayerRequestFullscreen()
- InternalVideoRequest,
+ UnprefixedRequest, // Element.requestFullscreen()
+ PrefixedRequest, // Element.webkitRequestFullscreen() and webkitRequestFullScreen()
+ PrefixedVideoRequest, // HTMLVideoElement.webkitEnterFullscreen() and webkitEnterFullScreen()
};
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