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

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

Issue 743773003: OOPIF: Data URLs are now rendered in the renderer that initiated the navigation. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fixing android compile Created 6 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/navigator_impl.cc ('k') | content/browser/frame_host/render_frame_host_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/frame_host/render_frame_host_impl.h
diff --git a/content/browser/frame_host/render_frame_host_impl.h b/content/browser/frame_host/render_frame_host_impl.h
index 70ef6ffe2de0f5526d0f85b5744bf106d477ee71..313bfe47d6b775444350a0667a3ca4227ea2412a 100644
--- a/content/browser/frame_host/render_frame_host_impl.h
+++ b/content/browser/frame_host/render_frame_host_impl.h
@@ -271,10 +271,14 @@ class CONTENT_EXPORT RenderFrameHostImpl
// Load the specified URL; this is a shortcut for Navigate().
void NavigateToURL(const GURL& url);
- // Treat this prospective navigation as thought it originated from the
- // frame. Used, e.g., for a navigation request that originated from
- // a RemoteFrame.
- void OpenURL(const FrameHostMsg_OpenURL_Params& params);
+ // Treat this prospective navigation as though it originated from the frame.
+ // Used, e.g., for a navigation request that originated from a RemoteFrame.
+ // |source_site_instance| is the SiteInstance of the frame that initiated the
+ // navigation.
+ // TODO(creis): Remove this method and have RenderFrameProxyHost call
+ // RequestOpenURL with its FrameTreeNode.
+ void OpenURL(const FrameHostMsg_OpenURL_Params& params,
+ SiteInstance* source_site_instance);
// Stop the load in progress.
void Stop();
« no previous file with comments | « content/browser/frame_host/navigator_impl.cc ('k') | content/browser/frame_host/render_frame_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698