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

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: updatess 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
« no previous file with comments | « content/browser/web_contents/web_contents_impl.h ('k') | content/common/view_messages.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 a6415f2b085e2e685187c2dc27acbca71d7c8245..1f0df0e0f11ba4d055dd7c2333145f1b3da05ed3 100644
--- a/content/browser/web_contents/web_contents_impl.cc
+++ b/content/browser/web_contents/web_contents_impl.cc
@@ -1999,6 +1999,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) {
@@ -2018,8 +2019,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.
« no previous file with comments | « content/browser/web_contents/web_contents_impl.h ('k') | content/common/view_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698