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/public/browser/web_contents.h"
7 #include "ipc/ipc_message.h"
11 WebContents::CreateParams::CreateParams(BrowserContext
* context
)
12 : browser_context(context
),
13 site_instance(nullptr),
15 opener_suppressed(false),
16 routing_id(MSG_ROUTING_NONE
),
17 main_frame_routing_id(MSG_ROUTING_NONE
),
18 initially_hidden(false),
19 guest_delegate(nullptr),
21 renderer_initiated_creation(false) {}
23 WebContents::CreateParams::CreateParams(
24 BrowserContext
* context
, SiteInstance
* site
)
25 : browser_context(context
),
28 opener_suppressed(false),
29 routing_id(MSG_ROUTING_NONE
),
30 main_frame_routing_id(MSG_ROUTING_NONE
),
31 initially_hidden(false),
32 guest_delegate(nullptr),
34 renderer_initiated_creation(false) {}
36 WebContents::CreateParams::~CreateParams() {
39 } // namespace content