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

Unified Diff: content/renderer/render_view_impl.h

Issue 692973005: Pass origin information for remote frame creation. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address review feedback; send origins with DidCommitProvisionalLoad Created 6 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/renderer/render_view_impl.h
diff --git a/content/renderer/render_view_impl.h b/content/renderer/render_view_impl.h
index 67adc19750321faa4bbb449b288f39b22fdf7cf5..fd519b5a277987be32c41d8641dd55c1bb6d0007 100644
--- a/content/renderer/render_view_impl.h
+++ b/content/renderer/render_view_impl.h
@@ -27,6 +27,7 @@
#include "content/common/drag_event_source_info.h"
#include "content/common/edit_command.h"
#include "content/common/frame_message_enums.h"
+#include "content/common/frame_replication_state.h"
#include "content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h"
#include "content/common/navigation_gesture.h"
#include "content/common/navigation_params.h"
@@ -163,22 +164,24 @@ class CONTENT_EXPORT RenderViewImpl
// |opener_id| will be MSG_ROUTING_NONE. When |swapped_out| is true, the
// |proxy_routing_id| is specified, so a RenderFrameProxy can be created for
// this RenderView's main RenderFrame.
- static RenderViewImpl* Create(int32 opener_id,
- bool window_was_created_with_opener,
- const RendererPreferences& renderer_prefs,
- const WebPreferences& webkit_prefs,
- int32 routing_id,
- int32 main_frame_routing_id,
- int32 surface_id,
- int64 session_storage_namespace_id,
- const base::string16& frame_name,
- bool is_renderer_created,
- bool swapped_out,
- int32 proxy_routing_id,
- bool hidden,
- bool never_visible,
- int32 next_page_id,
- const blink::WebScreenInfo& screen_info);
+ static RenderViewImpl* Create(
+ int32 opener_id,
+ bool window_was_created_with_opener,
+ const RendererPreferences& renderer_prefs,
+ const WebPreferences& webkit_prefs,
+ int32 routing_id,
+ int32 main_frame_routing_id,
+ int32 surface_id,
+ int64 session_storage_namespace_id,
+ const base::string16& frame_name,
+ bool is_renderer_created,
+ bool swapped_out,
+ const FrameReplicationState& remote_frame_state,
+ int32 proxy_routing_id,
+ bool hidden,
+ bool never_visible,
+ int32 next_page_id,
+ const blink::WebScreenInfo& screen_info);
// Used by content_layouttest_support to hook into the creation of
// RenderViewImpls.

Powered by Google App Engine
This is Rietveld 408576698