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

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

Issue 600553003: Enable swapping a frame back in to its parent process (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@remoteToLocal
Patch Set: Created 6 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
Index: content/browser/frame_host/render_frame_host_manager.h
diff --git a/content/browser/frame_host/render_frame_host_manager.h b/content/browser/frame_host/render_frame_host_manager.h
index 38c50ddfcbf6aacb9bd8dbf2c75b2dcb9f957622..7394628bcbf3136c133ebe367c0852818915106c 100644
--- a/content/browser/frame_host/render_frame_host_manager.h
+++ b/content/browser/frame_host/render_frame_host_manager.h
@@ -123,7 +123,8 @@ class CONTENT_EXPORT RenderFrameHostManager : public NotificationObserver {
bool for_main_frame_navigation) = 0;
virtual bool CreateRenderFrameForRenderManager(
RenderFrameHost* render_frame_host,
- int parent_routing_id) = 0;
+ int parent_routing_id,
+ int proxy_routing_id) = 0;
virtual void BeforeUnloadFiredFromRenderManager(
bool proceed, const base::TimeTicks& proceed_time,
bool* proceed_to_fire_unload) = 0;
@@ -431,6 +432,12 @@ class CONTENT_EXPORT RenderFrameHostManager : public NotificationObserver {
SiteInstance* current_instance,
bool force_browsing_instance_swap);
+ // Determines the appropriate url to use as the current url for SiteInstance
+ // selection.
+ const GURL& GetCurrentURLForSiteInstance(
+ SiteInstance* current_instance,
+ NavigationEntry* current_entry);
+
// Creates a new RenderFrameHostImpl for the |new_instance| while respecting
// the opener route if needed and stores it in pending_render_frame_host_.
void CreateRenderFrameHostForNewSiteInstance(
« no previous file with comments | « content/browser/frame_host/render_frame_host_impl.cc ('k') | content/browser/frame_host/render_frame_host_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698