Index: Source/core/dom/DocumentFullscreen.h |
diff --git a/Source/core/dom/DocumentFullscreen.h b/Source/core/dom/DocumentFullscreen.h |
index 01a5ac96cf68b2be884aac7d65f691e6d655e7b6..0ddd97ad995fff34982e9d56b2feaee978b2eb6e 100644 |
--- a/Source/core/dom/DocumentFullscreen.h |
+++ b/Source/core/dom/DocumentFullscreen.h |
@@ -26,6 +26,8 @@ |
#ifndef DocumentFullscreen_h |
#define DocumentFullscreen_h |
+#include "core/events/EventTarget.h" |
+ |
namespace WebCore { |
class Document; |
@@ -33,14 +35,18 @@ class Element; |
class DocumentFullscreen { |
public: |
+ static bool fullscreenEnabled(Document&); |
+ static Element* fullscreenElement(Document&); |
+ static void exitFullscreen(Document&); |
+ |
+ DEFINE_STATIC_ATTRIBUTE_EVENT_LISTENER(fullscreenchange); |
+ DEFINE_STATIC_ATTRIBUTE_EVENT_LISTENER(fullscreenerror); |
+ |
+ // Mozilla version |
static bool webkitIsFullScreen(Document&); |
static bool webkitFullScreenKeyboardInputAllowed(Document&); |
static Element* webkitCurrentFullScreenElement(Document&); |
static void webkitCancelFullScreen(Document&); |
- |
- static bool webkitFullscreenEnabled(Document&); |
- static Element* webkitFullscreenElement(Document&); |
- static void webkitExitFullscreen(Document&); |
}; |
} // namespace WebCore |