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

Issue 1080143003: Move DidStartLoading, DidStopLoading, DidChangeLoadProgress to RFHI. (Closed)

Created:
5 years, 8 months ago by Fabrice (no longer in Chrome)
Modified:
5 years, 8 months ago
CC:
chromium-reviews, jam, nasko+codewatch_chromium.org, creis+watch_chromium.org, darin-cc_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@lkgr
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Move DidStartLoading, DidStopLoading, DidChangeLoadProgress IPCs to RFHI. This also adds a GetDelegate() method to the Navigator interface. BUG=470082 Committed: https://crrev.com/a696e5116f6b81f317758ad609e110db5ed3c284 Cr-Commit-Position: refs/heads/master@{#325579}

Patch Set 1 #

Total comments: 31

Patch Set 2 : Clearer comments + modify calls #

Total comments: 2

Patch Set 3 : Add delegate accessor from Navigator + Re-add scoped trackers #

Total comments: 49

Patch Set 4 : Review comments #

Total comments: 2

Patch Set 5 : Nitses. #

Patch Set 6 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+258 lines, -236 lines) Patch
M content/browser/frame_host/frame_tree.h View 1 2 3 2 chunks +7 lines, -1 line 0 comments Download
M content/browser/frame_host/frame_tree.cc View 1 2 3 4 3 chunks +14 lines, -7 lines 0 comments Download
M content/browser/frame_host/frame_tree_node.h View 1 2 3 4 5 3 chunks +20 lines, -14 lines 0 comments Download
M content/browser/frame_host/frame_tree_node.cc View 1 2 3 4 5 3 chunks +73 lines, -4 lines 0 comments Download
M content/browser/frame_host/interstitial_page_navigator_impl.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M content/browser/frame_host/interstitial_page_navigator_impl.cc View 1 2 3 1 chunk +4 lines, -0 lines 0 comments Download
M content/browser/frame_host/navigator.h View 1 2 3 4 5 4 chunks +4 lines, -2 lines 0 comments Download
M content/browser/frame_host/navigator.cc View 1 2 3 1 chunk +4 lines, -0 lines 0 comments Download
M content/browser/frame_host/navigator_delegate.h View 1 2 3 2 chunks +15 lines, -0 lines 0 comments Download
M content/browser/frame_host/navigator_impl.h View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M content/browser/frame_host/navigator_impl.cc View 1 2 3 4 5 1 chunk +4 lines, -0 lines 0 comments Download
M content/browser/frame_host/render_frame_host_delegate.h View 1 2 3 4 5 1 chunk +0 lines, -11 lines 0 comments Download
M content/browser/frame_host/render_frame_host_impl.h View 1 2 3 4 5 2 chunks +3 lines, -5 lines 0 comments Download
M content/browser/frame_host/render_frame_host_impl.cc View 1 2 3 4 5 4 chunks +59 lines, -16 lines 0 comments Download
M content/browser/web_contents/web_contents_impl.h View 1 2 3 4 5 5 chunks +7 lines, -11 lines 0 comments Download
M content/browser/web_contents/web_contents_impl.cc View 1 2 3 4 5 8 chunks +39 lines, -161 lines 0 comments Download
M content/browser/web_contents/web_contents_impl_browsertest.cc View 1 2 3 4 5 1 chunk +3 lines, -4 lines 0 comments Download

Messages

Total messages: 20 (4 generated)
Fabrice (no longer in Chrome)
This is my attempt at implementing this patch differently. I have concerns about this which ...
5 years, 8 months ago (2015-04-14 16:54:12 UTC) #2
nasko
This CL is a lot closer to what I had in mind. I think with ...
5 years, 8 months ago (2015-04-14 19:54:41 UTC) #3
clamy
Thanks! I find this version clearer, now that we know we can add more state ...
5 years, 8 months ago (2015-04-15 12:28:43 UTC) #4
Fabrice (no longer in Chrome)
Thanks for the comments! I made a new patch with updated comments. I changed the ...
5 years, 8 months ago (2015-04-15 15:15:03 UTC) #5
nasko
https://codereview.chromium.org/1080143003/diff/1/content/browser/frame_host/render_frame_host_impl.cc File content/browser/frame_host/render_frame_host_impl.cc (right): https://codereview.chromium.org/1080143003/diff/1/content/browser/frame_host/render_frame_host_impl.cc#newcode853 content/browser/frame_host/render_frame_host_impl.cc:853: frame_tree_node_->navigator()->DidStopLoading(); On 2015/04/15 15:15:03, Fabrice wrote: > On 2015/04/14 ...
5 years, 8 months ago (2015-04-15 15:39:28 UTC) #6
Charlie Reis
https://codereview.chromium.org/1080143003/diff/20001/content/browser/frame_host/frame_tree.cc File content/browser/frame_host/frame_tree.cc (right): https://codereview.chromium.org/1080143003/diff/20001/content/browser/frame_host/frame_tree.cc#newcode362 content/browser/frame_host/frame_tree.cc:362: // Notify the WebContents. On 2015/04/15 15:39:28, nasko wrote: ...
5 years, 8 months ago (2015-04-15 15:52:24 UTC) #7
Fabrice (no longer in Chrome)
As discussed, adding an accessor for the delegate in the Navigator interface. I left the ...
5 years, 8 months ago (2015-04-15 17:46:05 UTC) #9
nasko
Thanks for bringing up the discussion and working through this! The CL is in great ...
5 years, 8 months ago (2015-04-15 19:17:06 UTC) #10
Charlie Reis
Yep, mostly nits from me. Thanks! https://codereview.chromium.org/1080143003/diff/40001/content/browser/frame_host/frame_tree.cc File content/browser/frame_host/frame_tree.cc (right): https://codereview.chromium.org/1080143003/diff/40001/content/browser/frame_host/frame_tree.cc#newcode366 content/browser/frame_host/frame_tree.cc:366: double FrameTree::GetLoadProgress() { ...
5 years, 8 months ago (2015-04-15 23:37:53 UTC) #11
Fabrice (no longer in Chrome)
Thanks for the comments all! tl;dr for non-nits: - is_loading in RFHI and the call ...
5 years, 8 months ago (2015-04-16 13:55:26 UTC) #12
nasko
LGTM with nits. https://codereview.chromium.org/1080143003/diff/40001/content/browser/frame_host/frame_tree_node.cc File content/browser/frame_host/frame_tree_node.cc (right): https://codereview.chromium.org/1080143003/diff/40001/content/browser/frame_host/frame_tree_node.cc#newcode181 content/browser/frame_host/frame_tree_node.cc:181: bool FrameTreeNode::HasStartedLoading() const { On 2015/04/16 ...
5 years, 8 months ago (2015-04-16 16:23:48 UTC) #13
Fabrice (no longer in Chrome)
Thanks! I'll send to CQ after rebasing on top of https://codereview.chromium.org/1080073004/ https://codereview.chromium.org/1080143003/diff/40001/content/browser/frame_host/frame_tree_node.cc File content/browser/frame_host/frame_tree_node.cc (right): ...
5 years, 8 months ago (2015-04-16 16:33:30 UTC) #14
Charlie Reis
LGTM https://codereview.chromium.org/1080143003/diff/40001/content/browser/frame_host/frame_tree_node.h File content/browser/frame_host/frame_tree_node.h (right): https://codereview.chromium.org/1080143003/diff/40001/content/browser/frame_host/frame_tree_node.h#newcode132 content/browser/frame_host/frame_tree_node.h:132: bool HasStartedLoading() const; On 2015/04/16 13:55:25, Fabrice wrote: ...
5 years, 8 months ago (2015-04-16 17:37:05 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1080143003/100001
5 years, 8 months ago (2015-04-16 21:57:36 UTC) #18
commit-bot: I haz the power
Committed patchset #6 (id:100001)
5 years, 8 months ago (2015-04-17 01:58:07 UTC) #19
commit-bot: I haz the power
5 years, 8 months ago (2015-04-17 02:00:02 UTC) #20
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/a696e5116f6b81f317758ad609e110db5ed3c284
Cr-Commit-Position: refs/heads/master@{#325579}

Powered by Google App Engine
This is Rietveld 408576698