Use content::FrameOwnerProperties instead of blink::WebFrameOwnerProperties in content/
In https://codereview.chromium.org/2146803004 we introduced
content::FrameOwnerProperties which was used to transport
blink::WebFrameOwnerProperties over IPC. This CL changes content/ to use this
new struct wherever possible to avoid converting back and forth between the
two structs as much.
BUG=614608
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_site_isolation
Review-Url: https://codereview.chromium.org/2156883002
Cr-Commit-Position: refs/heads/master@{#406504}
diff --git a/content/renderer/render_frame_impl.h b/content/renderer/render_frame_impl.h
index 29567d8c..5e20f469 100644
--- a/content/renderer/render_frame_impl.h
+++ b/content/renderer/render_frame_impl.h
@@ -90,7 +90,6 @@
struct WebContextMenuData;
struct WebCursorInfo;
struct WebFindOptions;
-struct WebFrameOwnerProperties;
struct WebScreenInfo;
}
@@ -194,16 +193,15 @@
// the latter is MSG_ROUTING_NONE. Note: This is called only when
// RenderFrame is being created in response to IPC message from the browser
// process. All other frame creation is driven through Blink and Create.
- static void CreateFrame(
- int routing_id,
- int proxy_routing_id,
- int opener_routing_id,
- int parent_routing_id,
- int previous_sibling_routing_id,
- const FrameReplicationState& replicated_state,
- CompositorDependencies* compositor_deps,
- const FrameMsg_NewFrame_WidgetParams& params,
- const blink::WebFrameOwnerProperties& frameOwner_properties);
+ static void CreateFrame(int routing_id,
+ int proxy_routing_id,
+ int opener_routing_id,
+ int parent_routing_id,
+ int previous_sibling_routing_id,
+ const FrameReplicationState& replicated_state,
+ CompositorDependencies* compositor_deps,
+ const FrameMsg_NewFrame_WidgetParams& params,
+ const FrameOwnerProperties& frame_owner_properties);
// Returns the RenderFrameImpl for the given routing ID.
static RenderFrameImpl* FromRoutingID(int routing_id);