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(nullptr), | 13 site_instance(nullptr), |
14 opener(nullptr), | 14 opener(nullptr), |
15 opener_suppressed(false), | 15 opener_suppressed(false), |
16 routing_id(MSG_ROUTING_NONE), | 16 routing_id(MSG_ROUTING_NONE), |
17 main_frame_routing_id(MSG_ROUTING_NONE), | 17 main_frame_routing_id(MSG_ROUTING_NONE), |
18 initially_hidden(false), | 18 initially_hidden(false), |
19 guest_delegate(nullptr), | 19 guest_delegate(nullptr), |
20 context(nullptr) {} | 20 context(nullptr), |
| 21 renderer_created(false) {} |
21 | 22 |
22 WebContents::CreateParams::CreateParams( | 23 WebContents::CreateParams::CreateParams( |
23 BrowserContext* context, SiteInstance* site) | 24 BrowserContext* context, SiteInstance* site) |
24 : browser_context(context), | 25 : browser_context(context), |
25 site_instance(site), | 26 site_instance(site), |
26 opener(nullptr), | 27 opener(nullptr), |
27 opener_suppressed(false), | 28 opener_suppressed(false), |
28 routing_id(MSG_ROUTING_NONE), | 29 routing_id(MSG_ROUTING_NONE), |
29 main_frame_routing_id(MSG_ROUTING_NONE), | 30 main_frame_routing_id(MSG_ROUTING_NONE), |
30 initially_hidden(false), | 31 initially_hidden(false), |
31 guest_delegate(nullptr), | 32 guest_delegate(nullptr), |
32 context(nullptr) {} | 33 context(nullptr), |
| 34 renderer_created(false) {} |
33 | 35 |
34 WebContents::CreateParams::~CreateParams() { | 36 WebContents::CreateParams::~CreateParams() { |
35 } | 37 } |
36 | 38 |
37 } // namespace content | 39 } // namespace content |
OLD | NEW |