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

Issue 180113003: Prepare for per frame did{Start,Stop}Loading calls (Closed)

Created:
6 years, 10 months ago by Nate Chapin
Modified:
6 years, 9 months ago
Reviewers:
Charlie Reis
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, jam, jochen+watch_chromium.org, site-isolation-reviews_chromium.org
Visibility:
Public.

Description

Prepare for per frame did{Start,Stop}Loading calls This teaches LoadProgressTracker about multiple frames loading at once and has it calculate progress as the product of all the individual frames' progresses. RenderViewImpl has didStartLoading()/didStopLoading() shims still in place, which call the new RenderFrameImpl versions, which in turn call permanent versions in RenderViewImpl. RenderViewImpl's shims are marked as deprecated and will be deleted once blink calls RenderFrameImpl directly in https://codereview.chromium.org/183793002/. BUG=347643 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=256477

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Total comments: 7

Patch Set 4 : Address creis's comments #

Patch Set 5 : #

Patch Set 6 : Fix progress calculation, add test #

Total comments: 6

Patch Set 7 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+143 lines, -75 lines) Patch
M content/renderer/load_progress_tracker.h View 1 2 3 3 chunks +9 lines, -9 lines 0 comments Download
M content/renderer/load_progress_tracker.cc View 1 2 3 4 5 6 3 chunks +40 lines, -22 lines 0 comments Download
M content/renderer/npapi/webplugin_impl.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M content/renderer/render_frame_impl.h View 1 2 3 4 5 6 2 chunks +4 lines, -2 lines 0 comments Download
M content/renderer/render_frame_impl.cc View 1 2 3 4 5 6 3 chunks +30 lines, -1 line 0 comments Download
M content/renderer/render_view_browsertest.cc View 1 2 3 4 5 6 1 chunk +34 lines, -0 lines 0 comments Download
M content/renderer/render_view_impl.h View 1 2 3 4 5 6 2 chunks +3 lines, -4 lines 0 comments Download
M content/renderer/render_view_impl.cc View 1 2 3 4 5 4 chunks +19 lines, -33 lines 0 comments Download
M content/shell/renderer/test_runner/WebTestProxy.h View 1 2 3 4 5 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
Nate Chapin
6 years, 9 months ago (2014-02-27 20:23:46 UTC) #1
Charlie Reis
[+site-isolation-reviews] The plan for moving the code sounds good to me. The approach for computing ...
6 years, 9 months ago (2014-02-27 21:52:07 UTC) #2
Nate Chapin
As far as I can tell, this code is completely untested currently. I observed it ...
6 years, 9 months ago (2014-02-27 21:58:38 UTC) #3
Nate Chapin
On 2014/02/27 21:58:38, Nate Chapin wrote: > As far as I can tell, this code ...
6 years, 9 months ago (2014-02-28 00:07:57 UTC) #4
Charlie Reis
https://codereview.chromium.org/180113003/diff/40001/content/renderer/load_progress_tracker.cc File content/renderer/load_progress_tracker.cc (right): https://codereview.chromium.org/180113003/diff/40001/content/renderer/load_progress_tracker.cc#newcode83 content/renderer/load_progress_tracker.cc:83: progress *= it->second; On 2014/02/27 21:58:39, Nate Chapin wrote: ...
6 years, 9 months ago (2014-02-28 02:02:38 UTC) #5
Nate Chapin
On 2014/02/28 02:02:38, Charlie Reis wrote: > https://codereview.chromium.org/180113003/diff/40001/content/renderer/load_progress_tracker.cc > File content/renderer/load_progress_tracker.cc (right): > > https://codereview.chromium.org/180113003/diff/40001/content/renderer/load_progress_tracker.cc#newcode83 ...
6 years, 9 months ago (2014-03-11 21:22:44 UTC) #6
Charlie Reis
Just to be sure I understand, there's an extra step to the overall plan to ...
6 years, 9 months ago (2014-03-11 21:51:11 UTC) #7
Nate Chapin
On 2014/03/11 21:51:11, Charlie Reis wrote: > Just to be sure I understand, there's an ...
6 years, 9 months ago (2014-03-11 21:56:37 UTC) #8
Nate Chapin
https://codereview.chromium.org/180113003/diff/100001/content/renderer/load_progress_tracker.cc File content/renderer/load_progress_tracker.cc (right): https://codereview.chromium.org/180113003/diff/100001/content/renderer/load_progress_tracker.cc#newcode62 content/renderer/load_progress_tracker.cc:62: min_delay) { On 2014/03/11 21:51:12, Charlie Reis wrote: > ...
6 years, 9 months ago (2014-03-11 22:09:59 UTC) #9
Nate Chapin
The CQ bit was checked by japhet@chromium.org
6 years, 9 months ago (2014-03-11 22:12:11 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/japhet@chromium.org/180113003/120001
6 years, 9 months ago (2014-03-11 22:35:26 UTC) #11
commit-bot: I haz the power
6 years, 9 months ago (2014-03-12 07:58:49 UTC) #12
Message was sent while issue was closed.
Change committed as 256477

Powered by Google App Engine
This is Rietveld 408576698