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/FullscreenElementStack.h

Issue 356933002: Introduce FullscreenElementStack::RequestType (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 6 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 | « Source/core/dom/Element.cpp ('k') | Source/core/dom/FullscreenElementStack.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/FullscreenElementStack.h
diff --git a/Source/core/dom/FullscreenElementStack.h b/Source/core/dom/FullscreenElementStack.h
index 46c9d052e066c1a308cd2495606ffa6a1fd068e0..bfa4fa9b2207fc534514b6c57449efc503213749 100644
--- a/Source/core/dom/FullscreenElementStack.h
+++ b/Source/core/dom/FullscreenElementStack.h
@@ -58,12 +58,14 @@ public:
static bool isFullScreen(Document&);
static bool isActiveFullScreenElement(const Element&);
- enum FullScreenCheckType {
- EnforceIFrameAllowFullScreenRequirement,
- ExemptIFrameAllowFullScreenRequirement,
+ enum RequestType {
+ PrefixedRequest, // Element.webkitRequestFullscreen()
+ PrefixedMozillaRequest, // Element.webkitRequestFullScreen()
+ PrefixedMozillaAllowKeyboardInputRequest, // Element.webkitRequestFullScreen(Element.ALLOW_KEYBOARD_INPUT)
+ PrefixedVideoRequest, // HTMLVideoElement.webkitEnterFullscreen() and webkitEnterFullScreen()
};
- void requestFullScreenForElement(Element&, unsigned short flags, FullScreenCheckType);
+ void requestFullScreenForElement(Element&, RequestType);
void webkitCancelFullScreen();
void webkitWillEnterFullScreenForElement(Element*);
« no previous file with comments | « Source/core/dom/Element.cpp ('k') | Source/core/dom/FullscreenElementStack.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698