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

Unified Diff: content/public/browser/web_contents_observer.h

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/common/view_messages.h ('k') | content/renderer/render_view_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/browser/web_contents_observer.h
diff --git a/content/public/browser/web_contents_observer.h b/content/public/browser/web_contents_observer.h
index 2ea4cd6ab64d13ab867d5a210fcf4ff5e306d2a7..5a3880692f3f7f8f1b9f03b9038d7586e8a3139d 100644
--- a/content/public/browser/web_contents_observer.h
+++ b/content/public/browser/web_contents_observer.h
@@ -49,9 +49,13 @@ class CONTENT_EXPORT WebContentsObserver : public IPC::Listener,
const LoadCommittedDetails& details,
const FrameNavigateParams& params) {}
// |render_view_host| is the RenderViewHost for which the provisional load is
- // happening.
+ // happening. |frame_id| is a positive, non-zero integer identifying the
+ // navigating frame in the given |render_view_host|. |parent_frame_id| is the
+ // frame identifier of the frame containing the navigating frame, or -1 if the
+ // frame is not contained in another frame.
virtual void DidStartProvisionalLoadForFrame(
int64 frame_id,
+ int64 parent_frame_id,
bool is_main_frame,
const GURL& validated_url,
bool is_error_page,
« no previous file with comments | « content/common/view_messages.h ('k') | content/renderer/render_view_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698