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

Unified Diff: third_party/WebKit/public/web/WebFrameClient.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/public/web/WebFrameClient.h
diff --git a/third_party/WebKit/public/web/WebFrameClient.h b/third_party/WebKit/public/web/WebFrameClient.h
index 47aaa5e2b0fdd89d0561924f2a61f84cdefa2945..730c16f91afe9c7d7b08e5197a1533f7ac59cd83 100644
--- a/third_party/WebKit/public/web/WebFrameClient.h
+++ b/third_party/WebKit/public/web/WebFrameClient.h
@@ -285,6 +285,7 @@ class BLINK_EXPORT WebFrameClient {
struct NavigationPolicyInfo {
WebDataSource::ExtraData* extraData;
+ WebLocalFrame* initiatorFrame;
// Note: if browser side navigations are enabled, the client may modify
// the urlRequest. However, should this happen, the client should change
// the WebNavigationPolicy to WebNavigationPolicyIgnore, and the load
@@ -349,7 +350,8 @@ class BLINK_EXPORT WebFrameClient {
virtual void didCreateDataSource(WebLocalFrame*, WebDataSource*) {}
// A new provisional load has been started.
- virtual void didStartProvisionalLoad(WebDataSource* dataSource,
+ virtual void didStartProvisionalLoad(WebLocalFrame* initiatorFrame,
+ WebDataSource* dataSource,
WebURLRequest& request) {}
// The provisional load was redirected via a HTTP 3xx response.
« no previous file with comments | « third_party/WebKit/Source/web/tests/WebFrameTest.cpp ('k') | third_party/WebKit/public/web/WebRemoteFrameClient.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698