Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(627)

Unified Diff: Source/core/dom/DocumentFullscreen.h

Issue 449133003: Move Web-facing fullscreen APIs to DocumentFullscreen and ElementFullscreen (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase Created 6 years, 4 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/Document.idl ('k') | Source/core/dom/DocumentFullscreen.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/DocumentFullscreen.h
diff --git a/Source/core/dom/DocumentFullscreen.h b/Source/core/dom/DocumentFullscreen.h
index f4bd351449e38a15d940358b3f99f32ea1156c77..2096c2f379950236e720f7eb13803894b6a5c3a3 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 blink {
class Document;
@@ -40,6 +42,9 @@ public:
static bool webkitFullscreenEnabled(Document&);
static Element* webkitFullscreenElement(Document&);
static void webkitExitFullscreen(Document&);
+
+ DEFINE_STATIC_ATTRIBUTE_EVENT_LISTENER(webkitfullscreenchange);
+ DEFINE_STATIC_ATTRIBUTE_EVENT_LISTENER(webkitfullscreenerror);
};
} // namespace blink
« no previous file with comments | « Source/core/dom/Document.idl ('k') | Source/core/dom/DocumentFullscreen.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698