Index: Source/core/dom/ElementFullscreen.h |
diff --git a/Source/core/dom/ElementFullscreen.h b/Source/core/dom/ElementFullscreen.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..9521b44c5e84b23ede3adfab2e81e0fe7956f34d |
--- /dev/null |
+++ b/Source/core/dom/ElementFullscreen.h |
@@ -0,0 +1,29 @@ |
+// Copyright 2014 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#ifndef ElementFullscreen_h |
+#define ElementFullscreen_h |
+ |
+#include "core/events/EventTarget.h" |
+ |
+namespace blink { |
+ |
+class Element; |
+ |
+class ElementFullscreen { |
+public: |
+ // Mozilla version |
+ static const unsigned short ALLOW_KEYBOARD_INPUT = 1; |
+ static void webkitRequestFullScreen(Element&, unsigned short flags); |
+ |
+ // W3C version |
+ static void webkitRequestFullscreen(Element&); |
+ |
+ DEFINE_STATIC_ATTRIBUTE_EVENT_LISTENER(webkitfullscreenchange); |
+ DEFINE_STATIC_ATTRIBUTE_EVENT_LISTENER(webkitfullscreenerror); |
+}; |
+ |
+} // namespace blink |
+ |
+#endif // ElementFullscreen_h |