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

Unified Diff: Source/web/FrameLoaderClientImpl.cpp

Issue 434903002: Make webkitCancelFullScreen() an alias of webkitExitFullscreen() (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: polish test 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/web/ChromeClientImpl.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/FrameLoaderClientImpl.cpp
diff --git a/Source/web/FrameLoaderClientImpl.cpp b/Source/web/FrameLoaderClientImpl.cpp
index 3e1a0990ea52a35c9202fff5c6cdfb451f66867a..65f024ada66d3deb26d6e91b0c0d4f35d633a8f0 100644
--- a/Source/web/FrameLoaderClientImpl.cpp
+++ b/Source/web/FrameLoaderClientImpl.cpp
@@ -35,7 +35,7 @@
#include "bindings/core/v8/ScriptController.h"
#include "core/HTMLNames.h"
#include "core/dom/Document.h"
-#include "core/dom/DocumentFullscreen.h"
+#include "core/dom/FullscreenElementStack.h"
#include "core/events/MessageEvent.h"
#include "core/events/MouseEvent.h"
#include "core/frame/FrameView.h"
@@ -523,7 +523,7 @@ void FrameLoaderClientImpl::loadURLExternally(const ResourceRequest& request, Na
{
if (m_webFrame->client()) {
ASSERT(m_webFrame->frame()->document());
- DocumentFullscreen::webkitCancelFullScreen(*m_webFrame->frame()->document());
+ FullscreenElementStack::from(*m_webFrame->frame()->document()).fullyExitFullscreen();
WrappedResourceRequest webreq(request);
m_webFrame->client()->loadURLExternally(
m_webFrame, webreq, static_cast<WebNavigationPolicy>(policy), suggestedName);
« no previous file with comments | « Source/web/ChromeClientImpl.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698