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.
4
5 #include "content/renderer/render_view_impl_params.h"
6
7 namespace content {
8
RenderViewImplParams(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 ViewMsg_Resize_Params & initial_size,bool enable_auto_resize,const gfx::Size & min_size,const gfx::Size & max_size)9 RenderViewImplParams::RenderViewImplParams(
10 int32 opener_id,
11 bool window_was_created_with_opener,
12 const RendererPreferences& renderer_prefs,
13 const WebPreferences& webkit_prefs,
14 int32 routing_id,
15 int32 main_frame_routing_id,
16 int32 surface_id,
17 int64 session_storage_namespace_id,
18 const base::string16& frame_name,
19 bool is_renderer_created,
20 bool swapped_out,
21 int32 proxy_routing_id,
22 bool hidden,
23 bool never_visible,
24 int32 next_page_id,
25 const ViewMsg_Resize_Params& initial_size,
26 bool enable_auto_resize,
27 const gfx::Size& min_size,
28 const gfx::Size& max_size)
29 : opener_id(opener_id),
30 window_was_created_with_opener(window_was_created_with_opener),
31 renderer_prefs(renderer_prefs),
32 webkit_prefs(webkit_prefs),
33 routing_id(routing_id),
34 main_frame_routing_id(main_frame_routing_id),
35 surface_id(surface_id),
36 session_storage_namespace_id(session_storage_namespace_id),
37 frame_name(frame_name),
38 is_renderer_created(is_renderer_created),
39 swapped_out(swapped_out),
40 proxy_routing_id(proxy_routing_id),
41 hidden(hidden),
42 never_visible(never_visible),
43 next_page_id(next_page_id),
44 initial_size(initial_size),
45 enable_auto_resize(enable_auto_resize),
46 min_size(min_size),
47 max_size(max_size) {}
48
~RenderViewImplParams()49 RenderViewImplParams::~RenderViewImplParams() {}
50
51 } // namespace content
52