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

Issue 26316005: Move out DidStartProvisionalLoad from WebContentsImpl into Navigator. (Closed)

Created:
7 years, 2 months ago by nasko
Modified:
7 years ago
Reviewers:
Charlie Reis, awong
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, jam, miu+watch_chromium.org, site-isolation-reviews_chromium.org
Visibility:
Public.

Description

Move out DidStartProvisionalLoad from WebContentsImpl into Navigator. BUG=304341 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=239683

Patch Set 1 : Initial upload #

Total comments: 4

Patch Set 2 : Rebased on frame_host/ and moved navigator*. #

Patch Set 3 : Wire things up a bit, still not complete. #

Patch Set 4 : Some cleanup, still WIP. #

Patch Set 5 : Add NavigatorDelegate #

Total comments: 13

Patch Set 6 : Rebase on ToT. #

Patch Set 7 : Fix up after rebase. #

Patch Set 8 : Redoing things a bit, fixing unit tests. #

Patch Set 9 : Some cleanup. #

Total comments: 24

Patch Set 10 : Fixing Windows compile break. #

Patch Set 11 : Fix most of the comments. #

Patch Set 12 : Added comments to NavigatorDelegate methods and change param type. #

Total comments: 6

Patch Set 13 : Fixing comments by Albert. #

Patch Set 14 : Rebase on top of NavigatorImpl. #

Patch Set 15 : Remove unneeded GetSiteInstance method. #

Patch Set 16 : FrameTree should use the parent node, not root_ on tree operations. #

Patch Set 17 : Rebase on ToT. #

Patch Set 18 : Fix unit test compile error. #

Patch Set 19 : Remove DCHECK, hits too often in unit tests. #

Total comments: 11

Patch Set 20 : Fixes based on Charlie's latest review. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+250 lines, -115 lines) Patch
M content/browser/frame_host/frame_tree.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 2 chunks +4 lines, -3 lines 0 comments Download
M content/browser/frame_host/frame_tree.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 4 chunks +17 lines, -14 lines 0 comments Download
M content/browser/frame_host/frame_tree_node.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 2 chunks +11 lines, -2 lines 0 comments Download
M content/browser/frame_host/frame_tree_node.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 2 chunks +2 lines, -3 lines 0 comments Download
M content/browser/frame_host/frame_tree_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 4 chunks +4 lines, -3 lines 0 comments Download
M content/browser/frame_host/navigation_controller_impl_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 5 chunks +13 lines, -12 lines 0 comments Download
M content/browser/frame_host/navigator.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 2 chunks +9 lines, -0 lines 0 comments Download
M content/browser/frame_host/navigator_delegate.h View 1 2 3 4 5 6 7 8 9 10 11 12 2 chunks +18 lines, -4 lines 0 comments Download
M content/browser/frame_host/navigator_impl.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +17 lines, -0 lines 0 comments Download
M content/browser/frame_host/navigator_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +70 lines, -1 line 0 comments Download
M content/browser/frame_host/render_frame_host_factory.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 3 chunks +3 lines, -0 lines 0 comments Download
M content/browser/frame_host/render_frame_host_factory.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 2 chunks +5 lines, -1 line 0 comments Download
M content/browser/frame_host/render_frame_host_impl.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 3 chunks +8 lines, -0 lines 0 comments Download
M content/browser/frame_host/render_frame_host_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 4 chunks +7 lines, -3 lines 0 comments Download
M content/browser/renderer_host/render_view_host_delegate.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +0 lines, -8 lines 0 comments Download
M content/browser/renderer_host/render_view_host_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 2 chunks +6 lines, -4 lines 0 comments Download
M content/browser/web_contents/web_contents_impl.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 2 chunks +13 lines, -6 lines 0 comments Download
M content/browser/web_contents/web_contents_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 2 chunks +18 lines, -48 lines 0 comments Download
M content/public/test/test_renderer_host.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 2 chunks +2 lines, -0 lines 0 comments Download
M content/public/test/test_renderer_host.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +6 lines, -0 lines 0 comments Download
M content/test/test_render_frame_host.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +1 line, -0 lines 0 comments Download
M content/test/test_render_frame_host.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +2 lines, -0 lines 0 comments Download
M content/test/test_render_frame_host_factory.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +1 line, -0 lines 0 comments Download
M content/test/test_render_frame_host_factory.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +3 lines, -1 line 0 comments Download
M content/test/test_render_view_host.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 2 chunks +2 lines, -0 lines 0 comments Download
M content/test/test_render_view_host.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 3 chunks +8 lines, -2 lines 0 comments Download

Messages

Total messages: 20 (0 generated)
Charlie Reis
Cool. Just a few initial notes as we get going. As we discussed, it probably ...
7 years, 2 months ago (2013-10-17 00:17:25 UTC) #1
awong
https://codereview.chromium.org/26316005/diff/133001/content/browser/frame_host/navigator.h File content/browser/frame_host/navigator.h (right): https://codereview.chromium.org/26316005/diff/133001/content/browser/frame_host/navigator.h#newcode47 content/browser/frame_host/navigator.h:47: } nit: } // namespace content
7 years, 1 month ago (2013-11-06 21:22:58 UTC) #2
Charlie Reis
Thanks for taking this on. Another round of comments below. https://codereview.chromium.org/26316005/diff/133001/content/browser/frame_host/frame_tree.cc File content/browser/frame_host/frame_tree.cc (right): https://codereview.chromium.org/26316005/diff/133001/content/browser/frame_host/frame_tree.cc#newcode37 ...
7 years, 1 month ago (2013-11-07 01:22:42 UTC) #3
nasko
I think this is ready for a round of reviews.
7 years, 1 month ago (2013-11-21 19:03:32 UTC) #4
Charlie Reis
I'm not sure about set_render_frame_host, but the rest seems like a good start. https://codereview.chromium.org/26316005/diff/293001/content/browser/frame_host/frame_tree.cc File ...
7 years, 1 month ago (2013-11-21 21:59:32 UTC) #5
nasko
Fixes for all comments. https://codereview.chromium.org/26316005/diff/293001/content/browser/frame_host/frame_tree.cc File content/browser/frame_host/frame_tree.cc (right): https://codereview.chromium.org/26316005/diff/293001/content/browser/frame_host/frame_tree.cc#newcode59 content/browser/frame_host/frame_tree.cc:59: root_->set_render_frame_host(scoped_ptr<RenderFrameHostImpl>()); On 2013/11/21 21:59:32, creis ...
7 years, 1 month ago (2013-11-22 01:02:33 UTC) #6
awong
skimmed it and API change looks quite nice! I can look in more detail next ...
7 years, 1 month ago (2013-11-22 02:35:50 UTC) #7
awong
oh... LGTM On 2013/11/22 02:35:50, awong wrote: > skimmed it and API change looks quite ...
7 years, 1 month ago (2013-11-22 02:36:33 UTC) #8
Charlie Reis
LGTM!
7 years, 1 month ago (2013-11-22 06:52:20 UTC) #9
nasko
Addressed Albert's comments. https://codereview.chromium.org/26316005/diff/483001/content/browser/frame_host/navigator.cc File content/browser/frame_host/navigator.cc (right): https://codereview.chromium.org/26316005/diff/483001/content/browser/frame_host/navigator.cc#newcode79 content/browser/frame_host/navigator.cc:79: delegate_->DidStartProvisionalLoad( On 2013/11/22 02:35:51, awong wrote: ...
7 years, 1 month ago (2013-11-22 15:19:30 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/nasko@chromium.org/26316005/813001
7 years, 1 month ago (2013-11-22 15:19:51 UTC) #11
commit-bot: I haz the power
Retried try job too often on chromium_presubmit for step(s) presubmit http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=chromium_presubmit&number=37644
7 years, 1 month ago (2013-11-22 15:36:25 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/nasko@chromium.org/26316005/813001
7 years, 1 month ago (2013-11-22 16:50:50 UTC) #13
commit-bot: I haz the power
Retried try job too often on chromium_presubmit for step(s) presubmit http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=chromium_presubmit&number=37667
7 years, 1 month ago (2013-11-22 17:11:54 UTC) #14
nasko
Charlie, Can you take another look at this CL? It has changed slightly since the ...
7 years ago (2013-12-10 00:36:21 UTC) #15
Charlie Reis
Didn't see any major issues, just a few things below. https://codereview.chromium.org/26316005/diff/1133001/content/browser/frame_host/frame_tree_node.h File content/browser/frame_host/frame_tree_node.h (right): https://codereview.chromium.org/26316005/diff/1133001/content/browser/frame_host/frame_tree_node.h#newcode46 ...
7 years ago (2013-12-10 01:20:50 UTC) #16
nasko
https://codereview.chromium.org/26316005/diff/1133001/content/browser/frame_host/frame_tree_node.h File content/browser/frame_host/frame_tree_node.h (right): https://codereview.chromium.org/26316005/diff/1133001/content/browser/frame_host/frame_tree_node.h#newcode46 content/browser/frame_host/frame_tree_node.h:46: // RenderFrameHostManager for each node in the frame tree. ...
7 years ago (2013-12-10 01:36:49 UTC) #17
Charlie Reis
LGTM https://codereview.chromium.org/26316005/diff/1133001/content/browser/frame_host/navigation_controller_impl_unittest.cc File content/browser/frame_host/navigation_controller_impl_unittest.cc (right): https://codereview.chromium.org/26316005/diff/1133001/content/browser/frame_host/navigation_controller_impl_unittest.cc#newcode2653 content/browser/frame_host/navigation_controller_impl_unittest.cc:2653: contents()->GetFrameTree()->root()->navigator(); On 2013/12/10 01:36:50, nasko wrote: > On ...
7 years ago (2013-12-10 01:40:07 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/nasko@chromium.org/26316005/1153001
7 years ago (2013-12-10 01:41:32 UTC) #19
commit-bot: I haz the power
7 years ago (2013-12-10 05:52:21 UTC) #20
Message was sent while issue was closed.
Change committed as 239683

Powered by Google App Engine
This is Rietveld 408576698