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

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

Issue 387233002: Introduce FullscreenElementStack::fullyExitFullscreen() (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 5 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 | « no previous file | Source/core/dom/FullscreenElementStack.h » ('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 b1f88cdb3cec4cd20d565c941403a27632007c4f..1d3887eeb6a50870d1e07cd185de787f5a5b7aaf 100644
--- a/Source/core/dom/DocumentFullscreen.cpp
+++ b/Source/core/dom/DocumentFullscreen.cpp
@@ -53,7 +53,7 @@ Element* DocumentFullscreen::webkitCurrentFullScreenElement(Document& document)
void DocumentFullscreen::webkitCancelFullScreen(Document& document)
{
- FullscreenElementStack::from(document).webkitCancelFullScreen();
+ FullscreenElementStack::from(document).fullyExitFullscreen();
}
bool DocumentFullscreen::webkitFullscreenEnabled(Document& document)
@@ -70,7 +70,7 @@ Element* DocumentFullscreen::webkitFullscreenElement(Document& document)
void DocumentFullscreen::webkitExitFullscreen(Document& document)
{
- FullscreenElementStack::from(document).webkitExitFullscreen();
+ FullscreenElementStack::from(document).exitFullscreen();
}
} // namespace WebCore
« no previous file with comments | « no previous file | Source/core/dom/FullscreenElementStack.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698