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

Unified Diff: content/public/browser/web_contents.cc

Issue 1303773002: Give the main frame a RenderWidget. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix merge conflicts Created 5 years, 2 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 side-by-side diff with in-line comments
Download patch
Index: content/public/browser/web_contents.cc
diff --git a/content/public/browser/web_contents.cc b/content/public/browser/web_contents.cc
index 887f242fe6826f346e3a097ba7be59f16409296b..1b6d8a687521d4a0878511ecf8ecbda9e34d5a8d 100644
--- a/content/public/browser/web_contents.cc
+++ b/content/public/browser/web_contents.cc
@@ -10,21 +10,10 @@
namespace content {
WebContents::CreateParams::CreateParams(BrowserContext* context)
- : browser_context(context),
- site_instance(nullptr),
- opener_render_process_id(content::ChildProcessHost::kInvalidUniqueID),
- opener_render_frame_id(MSG_ROUTING_NONE),
- opener_suppressed(false),
- created_with_opener(false),
- routing_id(MSG_ROUTING_NONE),
- main_frame_routing_id(MSG_ROUTING_NONE),
- initially_hidden(false),
- guest_delegate(nullptr),
- context(nullptr),
- renderer_initiated_creation(false) {}
+ : CreateParams(context, nullptr) {}
-WebContents::CreateParams::CreateParams(
- BrowserContext* context, SiteInstance* site)
+WebContents::CreateParams::CreateParams(BrowserContext* context,
+ SiteInstance* site)
: browser_context(context),
site_instance(site),
opener_render_process_id(content::ChildProcessHost::kInvalidUniqueID),
@@ -33,6 +22,7 @@ WebContents::CreateParams::CreateParams(
created_with_opener(false),
routing_id(MSG_ROUTING_NONE),
main_frame_routing_id(MSG_ROUTING_NONE),
+ main_frame_widget_routing_id(MSG_ROUTING_NONE),
initially_hidden(false),
guest_delegate(nullptr),
context(nullptr),

Powered by Google App Engine
This is Rietveld 408576698