1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #include "content/renderer/render_view_impl_params.h"
9 RenderViewImplParams::RenderViewImplParams(
11 bool window_was_created_with_opener
,
12 const RendererPreferences
& renderer_prefs
,
13 const WebPreferences
& webkit_prefs
,
15 int32 main_frame_routing_id
,
17 int64 session_storage_namespace_id
,
18 const base::string16
& frame_name
,
19 bool is_renderer_created
,
21 int32 proxy_routing_id
,
25 const blink::WebScreenInfo
& screen_info
)
26 : opener_id(opener_id
),
27 window_was_created_with_opener(window_was_created_with_opener
),
28 renderer_prefs(renderer_prefs
),
29 webkit_prefs(webkit_prefs
),
30 routing_id(routing_id
),
31 main_frame_routing_id(main_frame_routing_id
),
32 surface_id(surface_id
),
33 session_storage_namespace_id(session_storage_namespace_id
),
34 frame_name(frame_name
),
35 is_renderer_created(is_renderer_created
),
36 swapped_out(swapped_out
),
37 proxy_routing_id(proxy_routing_id
),
39 never_visible(never_visible
),
40 next_page_id(next_page_id
),
41 screen_info(screen_info
) {}
43 RenderViewImplParams::~RenderViewImplParams() {}
45 } // namespace content