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

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: 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
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 052da3b4366107390320f166275346c975e2fb4d..fc923347275e6e193ca267344225d1ef826d427d 100644
--- a/content/browser/frame_host/render_frame_host_impl.h
+++ b/content/browser/frame_host/render_frame_host_impl.h
@@ -272,8 +272,11 @@ class CONTENT_EXPORT RenderFrameHostImpl
// 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);
+ // a RemoteFrame. |site_instance| is the site instance that initiated the
+ // navigation request, and should only be used when a cross-site navigation is
+ // initiated by a remote frame.
Charlie Reis 2014/12/06 00:18:50 Let's call it source_site_instance and update the
lfg 2014/12/08 20:45:33 Done.
+ void OpenURL(const FrameHostMsg_OpenURL_Params& params,
+ SiteInstance* site_instance);
// Stop the load in progress.
void Stop();

Powered by Google App Engine
This is Rietveld 408576698