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

Unified Diff: content/public/browser/web_contents_observer.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/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 dde8881527d06dee34f56e61d57742020e88d1aa..d98127808eb0bf5273ae40ab052105fa8a249b9b 100644
--- a/content/public/browser/web_contents_observer.h
+++ b/content/public/browser/web_contents_observer.h
@@ -118,7 +118,8 @@ class CONTENT_EXPORT WebContentsObserver : public IPC::Listener,
//
// DEPRECATED. This method is difficult to use correctly and should be
// removed. TODO(creis): Remove in http://crbug.com/424641.
- virtual void AboutToNavigateRenderFrame(RenderFrameHost* render_frame_host) {}
+ virtual void AboutToNavigateRenderFrame(RenderFrameHost* old_host,
+ RenderFrameHost* new_host) {}
// This method is invoked after the browser process starts a navigation to a
// pending NavigationEntry. It is not called for renderer-initiated

Powered by Google App Engine
This is Rietveld 408576698