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

Issue 22876014: Make RenderFrame{Host} objects routable. (Closed)

Created:
7 years, 4 months ago by awong
Modified:
7 years, 3 months ago
Reviewers:
kenrb, Charlie Reis
CC:
chromium-reviews, asanka, Avi (use Gerrit), creis+watch_chromium.org, benjhayden+dwatch_chromium.org, jam, joi+watch-content_chromium.org, darin-cc_chromium.org, ajwong+watch_chromium.org, dcheng
Visibility:
Public.

Description

Make RenderFrame{Host} objects routable. This CL just sets up the IPC routing infrastructure. All functionality inside RenderFrameImpl still effectively dispatches through the containing RenderViewImpl. Later CLs will migrate individual chunks over. Based off original CL by nasko here: https://codereview.chromium.org/21388003 BUG=245126 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=219965

Patch Set 1 #

Total comments: 2

Patch Set 2 : Example of using AwongRenderFrameId. Migrated OnAre3DAPIsBlocked. #

Patch Set 3 : try to make ResourceDispatcherHost only aware of RenderFrameId #

Patch Set 4 : only make routing id work. #

Patch Set 5 : plumb through IPC messages. #

Patch Set 6 : ready for review. #

Patch Set 7 : fix dumb compile error #

Patch Set 8 : Fix style errors. #

Total comments: 24

Patch Set 9 : address comments #

Patch Set 10 : unittest + RenderWidgetHost virtualization. #

Patch Set 11 : dont' crash #

Total comments: 2

Patch Set 12 : Hide behind a flag #

Total comments: 6

Patch Set 13 : moving the test #

Patch Set 14 : bleck #

Unified diffs Side-by-side diffs Delta from patch set Stats (+168 lines, -76 lines) Patch
M content/browser/renderer_host/render_frame_host_impl.h View 1 2 3 4 5 6 7 2 chunks +12 lines, -6 lines 0 comments Download
M content/browser/renderer_host/render_frame_host_impl.cc View 1 2 3 4 5 6 7 8 1 chunk +41 lines, -8 lines 0 comments Download
M content/browser/renderer_host/render_view_host_impl.h View 1 2 3 4 5 6 7 8 9 2 chunks +6 lines, -0 lines 0 comments Download
M content/browser/renderer_host/render_view_host_impl.cc View 1 2 3 4 5 6 7 8 9 4 chunks +16 lines, -7 lines 0 comments Download
M content/browser/renderer_host/render_view_host_unittest.cc View 1 2 3 4 5 6 7 8 9 1 chunk +7 lines, -0 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_impl.h View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -1 line 0 comments Download
M content/public/browser/render_frame_host.h View 1 2 3 4 5 6 7 1 chunk +3 lines, -0 lines 0 comments Download
M content/renderer/render_frame_impl.h View 1 2 3 4 5 6 7 8 1 chunk +4 lines, -3 lines 0 comments Download
M content/renderer/render_frame_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 17 chunks +78 lines, -51 lines 0 comments Download

Messages

Total messages: 15 (0 generated)
Charlie Reis
https://codereview.chromium.org/22876014/diff/1/content/browser/loader/resource_dispatcher_host_impl.cc File content/browser/loader/resource_dispatcher_host_impl.cc (right): https://codereview.chromium.org/22876014/diff/1/content/browser/loader/resource_dispatcher_host_impl.cc#newcode277 content/browser/loader/resource_dispatcher_host_impl.cc:277: RenderFrameHost::FromID(render_process_id, render_view_id); Albert and I chatted a bit about ...
7 years, 4 months ago (2013-08-19 22:52:28 UTC) #1
awong
https://codereview.chromium.org/22876014/diff/1/content/browser/loader/resource_dispatcher_host_impl.cc File content/browser/loader/resource_dispatcher_host_impl.cc (right): https://codereview.chromium.org/22876014/diff/1/content/browser/loader/resource_dispatcher_host_impl.cc#newcode277 content/browser/loader/resource_dispatcher_host_impl.cc:277: RenderFrameHost::FromID(render_process_id, render_view_id); On 2013/08/19 22:52:28, creis wrote: > Albert ...
7 years, 4 months ago (2013-08-22 22:17:43 UTC) #2
awong
ping: I'd like to get this in ASAP so we can start messing with adding ...
7 years, 4 months ago (2013-08-24 01:57:47 UTC) #3
kenrb
On 2013/08/24 01:57:47, awong wrote: > ping: I'd like to get this in ASAP so ...
7 years, 3 months ago (2013-08-26 15:12:35 UTC) #4
Charlie Reis
Thanks for putting this together! A few comments below. Also, it might be nice to ...
7 years, 3 months ago (2013-08-26 18:27:10 UTC) #5
awong
https://codereview.chromium.org/22876014/diff/29001/content/browser/renderer_host/render_frame_host_impl.cc File content/browser/renderer_host/render_frame_host_impl.cc (right): https://codereview.chromium.org/22876014/diff/29001/content/browser/renderer_host/render_frame_host_impl.cc#newcode13 content/browser/renderer_host/render_frame_host_impl.cc:13: typedef std::pair<int32, int32> RenderFrameHostID; On 2013/08/26 18:27:10, creis wrote: ...
7 years, 3 months ago (2013-08-27 19:58:13 UTC) #6
Charlie Reis
LGTM!
7 years, 3 months ago (2013-08-27 20:57:29 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ajwong@chromium.org/22876014/54001
7 years, 3 months ago (2013-08-27 21:44:27 UTC) #8
awong
Hey Charlie, I loosened CHECK() in frameDetach(). Can you take another look and click the ...
7 years, 3 months ago (2013-08-27 22:54:25 UTC) #9
Charlie Reis
https://codereview.chromium.org/22876014/diff/65001/content/renderer/render_frame_impl.cc File content/renderer/render_frame_impl.cc (right): https://codereview.chromium.org/22876014/diff/65001/content/renderer/render_frame_impl.cc#newcode111 content/renderer/render_frame_impl.cc:111: if (is_detaching_ || This is wrong now, since we ...
7 years, 3 months ago (2013-08-27 23:10:33 UTC) #10
awong
https://codereview.chromium.org/22876014/diff/65001/content/renderer/render_frame_impl.cc File content/renderer/render_frame_impl.cc (right): https://codereview.chromium.org/22876014/diff/65001/content/renderer/render_frame_impl.cc#newcode111 content/renderer/render_frame_impl.cc:111: if (is_detaching_ || On 2013/08/27 23:10:34, creis wrote: > ...
7 years, 3 months ago (2013-08-28 00:24:27 UTC) #11
Charlie Reis
LGTM, but I think we should move the fix to when the field is set. ...
7 years, 3 months ago (2013-08-28 00:45:00 UTC) #12
awong
comments addressed. CQing https://codereview.chromium.org/22876014/diff/60001/content/renderer/render_frame_impl.cc File content/renderer/render_frame_impl.cc (right): https://codereview.chromium.org/22876014/diff/60001/content/renderer/render_frame_impl.cc#newcode113 content/renderer/render_frame_impl.cc:113: // TODO(ajwong): Remove this and just ...
7 years, 3 months ago (2013-08-28 01:51:36 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ajwong@chromium.org/22876014/76001
7 years, 3 months ago (2013-08-28 01:54:56 UTC) #14
commit-bot: I haz the power
7 years, 3 months ago (2013-08-28 08:24:54 UTC) #15
Message was sent while issue was closed.
Change committed as 219965

Powered by Google App Engine
This is Rietveld 408576698