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

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: Improve comment. Created 5 years 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/frame_host/navigation_entry_impl.cc ('k') | content/browser/frame_host/navigator.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..6f9e52de55f290002422cabb240a53baf02c5a78 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. Returns
+ // false if the FrameNavigationEntry can't be found or the navigation fails.
+ // This is only used in OOPIF-enabled modes.
+ virtual bool NavigateNewChildFrame(RenderFrameHostImpl* render_frame_host,
+ const std::string& unique_name);
+
// Navigation requests -------------------------------------------------------
virtual base::TimeTicks GetCurrentLoadStart();
« no previous file with comments | « content/browser/frame_host/navigation_entry_impl.cc ('k') | content/browser/frame_host/navigator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698