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

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

Issue 16032007: Create RenderFrame/RenderFrameHost for the main frame of a page. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Removing routing ID expectations. Created 7 years, 6 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 | Annotate | Revision Log
« no previous file with comments | « content/public/browser/web_contents.h ('k') | content/public/renderer/render_frame.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 routing_id(MSG_ROUTING_NONE), 14 routing_id(MSG_ROUTING_NONE),
15 main_frame_routing_id(MSG_ROUTING_NONE),
15 context(NULL) {} 16 context(NULL) {}
16 17
17 WebContents::CreateParams::CreateParams( 18 WebContents::CreateParams::CreateParams(
18 BrowserContext* context, SiteInstance* site) 19 BrowserContext* context, SiteInstance* site)
19 : browser_context(context), 20 : browser_context(context),
20 site_instance(site), 21 site_instance(site),
21 routing_id(MSG_ROUTING_NONE), 22 routing_id(MSG_ROUTING_NONE),
23 main_frame_routing_id(MSG_ROUTING_NONE),
22 context(NULL) {} 24 context(NULL) {}
23 25
24 } // namespace content 26 } // namespace content
OLDNEW
« no previous file with comments | « content/public/browser/web_contents.h ('k') | content/public/renderer/render_frame.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698