OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "content/public/browser/web_contents.h" | 5 #include "content/public/browser/web_contents.h" |
6 | 6 |
7 #include "ipc/ipc_message.h" | 7 #include "ipc/ipc_message.h" |
8 | 8 |
9 namespace content { | 9 namespace content { |
10 | 10 |
11 WebContents::CreateParams::CreateParams(BrowserContext* context) | 11 WebContents::CreateParams::CreateParams(BrowserContext* context) |
12 : browser_context(context), | 12 : browser_context(context), |
13 site_instance(NULL), | 13 site_instance(NULL), |
14 opener(NULL), | 14 opener(NULL), |
15 routing_id(MSG_ROUTING_NONE), | 15 routing_id(MSG_ROUTING_NONE), |
16 main_frame_routing_id(MSG_ROUTING_NONE), | 16 main_frame_routing_id(MSG_ROUTING_NONE), |
17 initially_hidden(false), | 17 initially_hidden(false), |
| 18 guest_instance_id(0), |
18 context(NULL) {} | 19 context(NULL) {} |
19 | 20 |
20 WebContents::CreateParams::CreateParams( | 21 WebContents::CreateParams::CreateParams( |
21 BrowserContext* context, SiteInstance* site) | 22 BrowserContext* context, SiteInstance* site) |
22 : browser_context(context), | 23 : browser_context(context), |
23 site_instance(site), | 24 site_instance(site), |
24 opener(NULL), | 25 opener(NULL), |
25 routing_id(MSG_ROUTING_NONE), | 26 routing_id(MSG_ROUTING_NONE), |
26 main_frame_routing_id(MSG_ROUTING_NONE), | 27 main_frame_routing_id(MSG_ROUTING_NONE), |
27 initially_hidden(false), | 28 initially_hidden(false), |
| 29 guest_instance_id(0), |
28 context(NULL) {} | 30 context(NULL) {} |
29 | 31 |
| 32 WebContents::CreateParams::~CreateParams() { |
| 33 } |
| 34 |
30 } // namespace content | 35 } // namespace content |
OLD | NEW |