Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2)

Side by Side Diff: content/public/browser/web_contents.cc

Issue 272573005: <webview>: Move NewWindow API to chrome (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@guestview_manager_rename
Patch Set: Merge with ToT Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 opener_suppressed(false),
15 routing_id(MSG_ROUTING_NONE), 16 routing_id(MSG_ROUTING_NONE),
16 main_frame_routing_id(MSG_ROUTING_NONE), 17 main_frame_routing_id(MSG_ROUTING_NONE),
17 initially_hidden(false), 18 initially_hidden(false),
18 guest_instance_id(0), 19 guest_instance_id(0),
19 context(NULL) {} 20 context(NULL) {}
20 21
21 WebContents::CreateParams::CreateParams( 22 WebContents::CreateParams::CreateParams(
22 BrowserContext* context, SiteInstance* site) 23 BrowserContext* context, SiteInstance* site)
23 : browser_context(context), 24 : browser_context(context),
24 site_instance(site), 25 site_instance(site),
25 opener(NULL), 26 opener(NULL),
27 opener_suppressed(false),
26 routing_id(MSG_ROUTING_NONE), 28 routing_id(MSG_ROUTING_NONE),
27 main_frame_routing_id(MSG_ROUTING_NONE), 29 main_frame_routing_id(MSG_ROUTING_NONE),
28 initially_hidden(false), 30 initially_hidden(false),
29 guest_instance_id(0), 31 guest_instance_id(0),
30 context(NULL) {} 32 context(NULL) {}
31 33
32 WebContents::CreateParams::~CreateParams() { 34 WebContents::CreateParams::~CreateParams() {
33 } 35 }
34 36
35 } // namespace content 37 } // namespace content
OLDNEW
« no previous file with comments | « content/public/browser/web_contents.h ('k') | content/public/common/browser_plugin_permission_type.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698