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

Unified Diff: third_party/WebKit/Source/core/loader/EmptyClients.h

Issue 2781723007: Plumb initiator out of Blink. (Closed)
Patch Set: Created 3 years, 9 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: third_party/WebKit/Source/core/loader/EmptyClients.h
diff --git a/third_party/WebKit/Source/core/loader/EmptyClients.h b/third_party/WebKit/Source/core/loader/EmptyClients.h
index 81fa4ed2bf6923acd2888aef65da3f9efcc70e66..2280efee1ceb594a983dd65639981940d89c1d9b 100644
--- a/third_party/WebKit/Source/core/loader/EmptyClients.h
+++ b/third_party/WebKit/Source/core/loader/EmptyClients.h
@@ -281,6 +281,7 @@ class CORE_EXPORT EmptyLocalFrameClient : public LocalFrameClient {
void dispatchDidChangeThemeColor() override {}
NavigationPolicy decidePolicyForNavigation(
+ Document* originDocument,
const ResourceRequest&,
DocumentLoader*,
NavigationType,
@@ -306,7 +307,8 @@ class CORE_EXPORT EmptyLocalFrameClient : public LocalFrameClient {
DocumentLoader* createDocumentLoader(LocalFrame*,
const ResourceRequest&,
const SubstituteData&,
- ClientRedirectPolicy) override;
+ ClientRedirectPolicy,
+ Document* originDocument) override;
String userAgent() override { return ""; }
@@ -445,7 +447,8 @@ class CORE_EXPORT EmptyRemoteFrameClient
EmptyRemoteFrameClient();
// RemoteFrameClient implementation.
- void navigate(const ResourceRequest&,
+ void navigate(Document* originDocument,
+ const ResourceRequest&,
bool shouldReplaceCurrentEntry) override {}
void reload(FrameLoadType, ClientRedirectPolicy) override {}
unsigned backForwardLength() override { return 0; }
« no previous file with comments | « third_party/WebKit/Source/core/loader/DocumentLoader.cpp ('k') | third_party/WebKit/Source/core/loader/EmptyClients.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698