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

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

Issue 395633011: Implement the unprefixed the Fullscreen API (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: nits 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 | « LayoutTests/fullscreen/trusted-event.js ('k') | Source/core/dom/DocumentFullscreen.cpp » ('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 2096c2f379950236e720f7eb13803894b6a5c3a3..341cfac23ea41ac08cf629df40ded0a70dbdfbd7 100644
--- a/Source/core/dom/DocumentFullscreen.h
+++ b/Source/core/dom/DocumentFullscreen.h
@@ -35,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 bool webkitFullscreenEnabled(Document&);
- static Element* webkitFullscreenElement(Document&);
- static void webkitExitFullscreen(Document&);
-
DEFINE_STATIC_ATTRIBUTE_EVENT_LISTENER(webkitfullscreenchange);
DEFINE_STATIC_ATTRIBUTE_EVENT_LISTENER(webkitfullscreenerror);
};
« no previous file with comments | « LayoutTests/fullscreen/trusted-event.js ('k') | Source/core/dom/DocumentFullscreen.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698