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

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

Issue 1422333009: OOPIF: History navigations for new child frames. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Better DidStartLoading fix, disable restore test Created 5 years, 1 month 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.h
diff --git a/content/browser/frame_host/navigator.h b/content/browser/frame_host/navigator.h
index 1768310d0cbc835dcb9cebb0935359715477240d..75cf2b0df84c0b857d52046442009c196a35c649 100644
--- a/content/browser/frame_host/navigator.h
+++ b/content/browser/frame_host/navigator.h
@@ -96,6 +96,14 @@ class CONTENT_EXPORT Navigator : public base::RefCounted<Navigator> {
NavigationController::ReloadType reload_type,
bool is_same_document_history_load);
+ // Called on a newly created subframe during a history navigation. The browser
+ // process looks up the corresponding FrameNavigationEntry for the new frame
+ // based on |unique_name| and navigates it in the correct process. This is
+ // only used in OOPIF-enabled modes.
+ virtual void NavigateNewChildFrame(
+ RenderFrameHostImpl* render_frame_host,
+ const std::string& unique_name) {}
+
// Navigation requests -------------------------------------------------------
virtual base::TimeTicks GetCurrentLoadStart();

Powered by Google App Engine
This is Rietveld 408576698