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

Unified Diff: Source/web/RemoteFrameClient.cpp

Issue 573353002: Plumbing toward transitioning remote frame back to a local frame. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 3 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
Index: Source/web/RemoteFrameClient.cpp
diff --git a/Source/web/RemoteFrameClient.cpp b/Source/web/RemoteFrameClient.cpp
index ff9d6a1fee986d103d4348c9e8cc5878709b5384..fdc10d62e255b70527522e4ebfdec23d074b9e27 100644
--- a/Source/web/RemoteFrameClient.cpp
+++ b/Source/web/RemoteFrameClient.cpp
@@ -5,7 +5,9 @@
#include "config.h"
#include "web/RemoteFrameClient.h"
+#include "platform/exported/WrappedResourceRequest.h"
#include "platform/weborigin/SecurityOrigin.h"
+#include "platform/weborigin/SecurityPolicy.h"
#include "web/WebLocalFrameImpl.h"
#include "web/WebRemoteFrameImpl.h"
@@ -64,4 +66,10 @@ bool RemoteFrameClient::willCheckAndDispatchMessageEvent(
return true;
}
+void RemoteFrameClient::navigate(const ResourceRequest& request, bool shouldReplaceCurrentEntry)
+{
+ if (m_webFrame->client())
+ m_webFrame->client()->navigate(m_webFrame, WrappedResourceRequest(request), shouldReplaceCurrentEntry);
+}
+
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698