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

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

Issue 1303773002: Give the main frame a RenderWidget. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased Created 5 years, 4 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
« no previous file with comments | « content/common/view_messages.h ('k') | content/public/browser/web_contents_delegate.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/browser/web_contents.h
diff --git a/content/public/browser/web_contents.h b/content/public/browser/web_contents.h
index 803b816ff07eecc24f23bd69bcba4122b071076a..711b97dcd011de4c7099e75c6e7cdfb490f981c4 100644
--- a/content/public/browser/web_contents.h
+++ b/content/public/browser/web_contents.h
@@ -112,11 +112,13 @@ class WebContents : public PageNavigator,
// (e.g., for blocked popups).
bool created_with_opener;
- // The routing ids of the RenderView and of the main RenderFrame. Either
- // both must be provided, or both must be MSG_ROUTING_NONE to have the
- // WebContents make the assignment.
- int routing_id;
- int main_frame_routing_id;
+ // The routing ids of the RenderView, main RenderFrame, and the widget for
+ // the main RenderFrame. Either all routing IDs must be provided or all must
+ // be MSG_ROUTING_NONE to have WebContents make the assignment.
+ // TODO(dcheng): what the heck does 'make the assignment' even mean?!
Avi (use Gerrit) 2015/08/28 01:34:49 Sigh. Welcome to hell. There are two code paths he
+ int32 routing_id;
+ int32 main_frame_routing_id;
+ int32 main_frame_widget_routing_id;
// The name of the top-level frame of the new window. It is non-empty
// when creating a named window (e.g. <a target="foo"> or
« no previous file with comments | « content/common/view_messages.h ('k') | content/public/browser/web_contents_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698