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