Index: Source/core/dom/Element.h |
diff --git a/Source/core/dom/Element.h b/Source/core/dom/Element.h |
index b3972e8a490f1d78092558e52a88c13fa933de08..cf9a401b9668372fb53eb592091e046c3d6c7515 100644 |
--- a/Source/core/dom/Element.h |
+++ b/Source/core/dom/Element.h |
@@ -466,19 +466,17 @@ public: |
void setCustomElementDefinition(PassRefPtr<CustomElementDefinition>); |
CustomElementDefinition* customElementDefinition() const; |
- enum { |
- ALLOW_KEYBOARD_INPUT = 1 << 0, |
- LEGACY_MOZILLA_REQUEST = 1 << 1, |
- }; |
- |
+ // Mozilla version |
+ static const unsigned short ALLOW_KEYBOARD_INPUT = 1; |
void webkitRequestFullScreen(unsigned short flags); |
+ |
+ // W3C version |
+ void webkitRequestFullscreen(); |
+ |
bool containsFullScreenElement() const { return hasElementFlag(ContainsFullScreenElement); } |
void setContainsFullScreenElement(bool); |
void setContainsFullScreenElementOnAncestorsCrossingFrameBoundaries(bool); |
- // W3C API |
- void webkitRequestFullscreen(); |
- |
bool isInTopLayer() const { return hasElementFlag(IsInTopLayer); } |
void setIsInTopLayer(bool); |