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*); |