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

Unified Diff: content/browser/frame_host/navigator_delegate.h

Issue 868673002: OOPIF: report both original and destination rfh in AboutToNavigateRenderFrame. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 11 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/frame_host/navigator_delegate.h
diff --git a/content/browser/frame_host/navigator_delegate.h b/content/browser/frame_host/navigator_delegate.h
index 1de561ba54f959f23e202e4ec0586092dd90200c..94b7b39fe9355a888fed204fdf06a0ae3a223548 100644
--- a/content/browser/frame_host/navigator_delegate.h
+++ b/content/browser/frame_host/navigator_delegate.h
@@ -82,7 +82,8 @@ class CONTENT_EXPORT NavigatorDelegate {
// Notifies the Navigator embedder that it is beginning to navigate a frame.
virtual void AboutToNavigateRenderFrame(
- RenderFrameHostImpl* render_frame_host) {}
+ RenderFrameHostImpl* old_host,
+ RenderFrameHostImpl* new_host) {}
// Notifies the Navigator embedder that a navigation to pending
// NavigationEntry has started in the browser process.

Powered by Google App Engine
This is Rietveld 408576698