Index: Source/core/dom/DocumentFullscreen.cpp |
diff --git a/Source/core/dom/DocumentFullscreen.cpp b/Source/core/dom/DocumentFullscreen.cpp |
index c437a61b50dac171263b8e9e3df3473adf2d7cc2..110b5fe6b9dfc277a71530ba99f31f0349039a9d 100644 |
--- a/Source/core/dom/DocumentFullscreen.cpp |
+++ b/Source/core/dom/DocumentFullscreen.cpp |
@@ -30,6 +30,23 @@ |
namespace blink { |
+bool DocumentFullscreen::fullscreenEnabled(Document& document) |
+{ |
+ return FullscreenElementStack::fullscreenEnabled(document); |
+} |
+ |
+Element* DocumentFullscreen::fullscreenElement(Document& document) |
+{ |
+ if (FullscreenElementStack* fullscreen = FullscreenElementStack::fromIfExists(document)) |
+ return fullscreen->fullscreenElement(); |
+ return 0; |
+} |
+ |
+void DocumentFullscreen::exitFullscreen(Document& document) |
+{ |
+ FullscreenElementStack::from(document).exitFullscreen(); |
+} |
+ |
bool DocumentFullscreen::webkitIsFullScreen(Document& document) |
{ |
if (FullscreenElementStack* fullscreen = FullscreenElementStack::fromIfExists(document)) |
@@ -51,21 +68,4 @@ Element* DocumentFullscreen::webkitCurrentFullScreenElement(Document& document) |
return 0; |
} |
-bool DocumentFullscreen::webkitFullscreenEnabled(Document& document) |
-{ |
- return FullscreenElementStack::fullscreenEnabled(document); |
-} |
- |
-Element* DocumentFullscreen::webkitFullscreenElement(Document& document) |
-{ |
- if (FullscreenElementStack* fullscreen = FullscreenElementStack::fromIfExists(document)) |
- return fullscreen->fullscreenElement(); |
- return 0; |
-} |
- |
-void DocumentFullscreen::webkitExitFullscreen(Document& document) |
-{ |
- FullscreenElementStack::from(document).exitFullscreen(); |
-} |
- |
} // namespace blink |