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

Unified Diff: content/browser/web_contents/web_contents_impl.cc

Issue 11090068: When starting a provisional load include the parent frame ID in the IPC and pass it down the th WCO… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 2 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: content/browser/web_contents/web_contents_impl.cc
diff --git a/content/browser/web_contents/web_contents_impl.cc b/content/browser/web_contents/web_contents_impl.cc
index 6ef49c9c3de79d833482fb65f1a409846caedb08..04bdfb5b28616d93525f6f38e98225430d7932db 100644
--- a/content/browser/web_contents/web_contents_impl.cc
+++ b/content/browser/web_contents/web_contents_impl.cc
@@ -1997,6 +1997,7 @@ void WebContentsImpl::OnWebIntentDispatch(
void WebContentsImpl::DidStartProvisionalLoadForFrame(
content::RenderViewHost* render_view_host,
int64 frame_id,
+ int64 parent_frame_id,
bool is_main_frame,
const GURL& opener_url,
const GURL& url) {
@@ -2016,8 +2017,9 @@ void WebContentsImpl::DidStartProvisionalLoadForFrame(
// Notify observers about the start of the provisional load.
FOR_EACH_OBSERVER(WebContentsObserver, observers_,
- DidStartProvisionalLoadForFrame(frame_id, is_main_frame,
- validated_url, is_error_page, render_view_host));
+ DidStartProvisionalLoadForFrame(frame_id, parent_frame_id,
+ is_main_frame, validated_url, is_error_page,
+ render_view_host));
if (is_main_frame) {
// Notify observers about the provisional change in the main frame URL.

Powered by Google App Engine
This is Rietveld 408576698