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

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

Issue 476763004: Rename FullscreenElementStack to just Fullscreen (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.cpp ('k') | Source/core/dom/Element.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/DocumentFullscreen.cpp
diff --git a/Source/core/dom/DocumentFullscreen.cpp b/Source/core/dom/DocumentFullscreen.cpp
index 110b5fe6b9dfc277a71530ba99f31f0349039a9d..e628a4a26995a64d50b09483953c8f48901b627a 100644
--- a/Source/core/dom/DocumentFullscreen.cpp
+++ b/Source/core/dom/DocumentFullscreen.cpp
@@ -26,44 +26,44 @@
#include "config.h"
#include "core/dom/DocumentFullscreen.h"
-#include "core/dom/FullscreenElementStack.h"
+#include "core/dom/Fullscreen.h"
namespace blink {
bool DocumentFullscreen::fullscreenEnabled(Document& document)
{
- return FullscreenElementStack::fullscreenEnabled(document);
+ return Fullscreen::fullscreenEnabled(document);
}
Element* DocumentFullscreen::fullscreenElement(Document& document)
{
- if (FullscreenElementStack* fullscreen = FullscreenElementStack::fromIfExists(document))
+ if (Fullscreen* fullscreen = Fullscreen::fromIfExists(document))
return fullscreen->fullscreenElement();
return 0;
}
void DocumentFullscreen::exitFullscreen(Document& document)
{
- FullscreenElementStack::from(document).exitFullscreen();
+ Fullscreen::from(document).exitFullscreen();
}
bool DocumentFullscreen::webkitIsFullScreen(Document& document)
{
- if (FullscreenElementStack* fullscreen = FullscreenElementStack::fromIfExists(document))
+ if (Fullscreen* fullscreen = Fullscreen::fromIfExists(document))
return fullscreen->webkitIsFullScreen();
return false;
}
bool DocumentFullscreen::webkitFullScreenKeyboardInputAllowed(Document& document)
{
- if (FullscreenElementStack* fullscreen = FullscreenElementStack::fromIfExists(document))
+ if (Fullscreen* fullscreen = Fullscreen::fromIfExists(document))
return fullscreen->webkitFullScreenKeyboardInputAllowed();
return false;
}
Element* DocumentFullscreen::webkitCurrentFullScreenElement(Document& document)
{
- if (FullscreenElementStack* fullscreen = FullscreenElementStack::fromIfExists(document))
+ if (Fullscreen* fullscreen = Fullscreen::fromIfExists(document))
return fullscreen->webkitCurrentFullScreenElement();
return 0;
}
« no previous file with comments | « Source/core/dom/Document.cpp ('k') | Source/core/dom/Element.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698