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

Issue 2483933003: blimp: Fix page load status tracking. (Closed)

Created:
4 years, 1 month ago by Khushal
Modified:
4 years, 1 month ago
CC:
chromium-reviews, anandc+watch-blimp_chromium.org, maniscalco+watch-blimp_chromium.org, sriramsr+watch-blimp_chromium.org, bgoldman+watch-blimp_chromium.org, steimel+watch-blimp_chromium.org, gcasto+watch-blimp_chromium.org, shaktisahu+watch-blimp_chromium.org, nyquist+watch-blimp_chromium.org, perumaal+watch-blimp_chromium.org, marcinjb+watch-blimp_chromium.org, kmarshall+watch-blimp_chromium.org, lethalantidote+watch-blimp_chromium.org, dtrainor+watch-blimp_chromium.org, scf+watch-blimp_chromium.org, khushalsagar+watch-blimp_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

blimp: Fix page load status tracking. Update the PageLoadTracker to use the non-deprecated APIs for tracking the status of navigations for a RenderFrame. This change also establishes the policy used for these updates for a tab clearly: 1) The progress bar will be reset when a navigation is initiated. If the navigation fails, a completion update is sent immediately. 2) If the navigation commits, we wait for at least one frame for this page to be sent to the client, before sending a completion update. BUG=648299 Committed: https://crrev.com/1dcad9ce4e13062d7fe0fa8021749e9dab6942a6 Cr-Commit-Position: refs/heads/master@{#432071}

Patch Set 1 #

Total comments: 18

Patch Set 2 : cancelable callback #

Unified diffs Side-by-side diffs Delta from patch set Stats (+42 lines, -93 lines) Patch
M blimp/engine/session/page_load_tracker.h View 1 2 chunks +10 lines, -32 lines 0 comments Download
M blimp/engine/session/page_load_tracker.cc View 1 3 chunks +32 lines, -61 lines 0 comments Download

Messages

Total messages: 24 (10 generated)
Khushal
This is far from what the final solution for this should look like, but I ...
4 years, 1 month ago (2016-11-07 22:13:00 UTC) #2
Khushal
+nasko, it would be great if you could check that I'm using the WebContentsObserver APIs ...
4 years, 1 month ago (2016-11-07 22:14:33 UTC) #4
David Trainor- moved to gerrit
general blimp code lgtm.
4 years, 1 month ago (2016-11-08 02:08:51 UTC) #5
nasko
Thanks for converting this code! Few questions to make sure I understand the full picture. ...
4 years, 1 month ago (2016-11-08 16:39:27 UTC) #6
Khushal
https://codereview.chromium.org/2483933003/diff/1/blimp/engine/session/page_load_tracker.cc File blimp/engine/session/page_load_tracker.cc (right): https://codereview.chromium.org/2483933003/diff/1/blimp/engine/session/page_load_tracker.cc#newcode44 blimp/engine/session/page_load_tracker.cc:44: << "There should be only one navigation in the ...
4 years, 1 month ago (2016-11-08 20:52:25 UTC) #7
Khushal
https://codereview.chromium.org/2483933003/diff/1/blimp/engine/session/page_load_tracker.cc File blimp/engine/session/page_load_tracker.cc (right): https://codereview.chromium.org/2483933003/diff/1/blimp/engine/session/page_load_tracker.cc#newcode63 blimp/engine/session/page_load_tracker.cc:63: base::Bind(&PageLoadTracker::DidPaintAfterNavigationCommitted, On 2016/11/08 20:52:25, Khushal wrote: > On 2016/11/08 ...
4 years, 1 month ago (2016-11-08 21:20:57 UTC) #8
nasko
https://codereview.chromium.org/2483933003/diff/1/blimp/engine/session/page_load_tracker.cc File blimp/engine/session/page_load_tracker.cc (right): https://codereview.chromium.org/2483933003/diff/1/blimp/engine/session/page_load_tracker.cc#newcode44 blimp/engine/session/page_load_tracker.cc:44: << "There should be only one navigation in the ...
4 years, 1 month ago (2016-11-08 21:55:15 UTC) #9
Khushal
https://codereview.chromium.org/2483933003/diff/1/blimp/engine/session/page_load_tracker.cc File blimp/engine/session/page_load_tracker.cc (right): https://codereview.chromium.org/2483933003/diff/1/blimp/engine/session/page_load_tracker.cc#newcode44 blimp/engine/session/page_load_tracker.cc:44: << "There should be only one navigation in the ...
4 years, 1 month ago (2016-11-08 23:54:06 UTC) #11
kenrb
https://codereview.chromium.org/2483933003/diff/1/blimp/engine/session/page_load_tracker.cc File blimp/engine/session/page_load_tracker.cc (right): https://codereview.chromium.org/2483933003/diff/1/blimp/engine/session/page_load_tracker.cc#newcode63 blimp/engine/session/page_load_tracker.cc:63: base::Bind(&PageLoadTracker::DidPaintAfterNavigationCommitted, On 2016/11/08 23:54:06, Khushal wrote: > On 2016/11/08 ...
4 years, 1 month ago (2016-11-10 18:11:43 UTC) #12
Khushal
https://codereview.chromium.org/2483933003/diff/1/blimp/engine/session/page_load_tracker.cc File blimp/engine/session/page_load_tracker.cc (right): https://codereview.chromium.org/2483933003/diff/1/blimp/engine/session/page_load_tracker.cc#newcode44 blimp/engine/session/page_load_tracker.cc:44: << "There should be only one navigation in the ...
4 years, 1 month ago (2016-11-11 01:53:35 UTC) #13
Khushal
I'll just go ahead and land this. I think the ids attached to IPC messages ...
4 years, 1 month ago (2016-11-15 02:14:20 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2483933003/20001
4 years, 1 month ago (2016-11-15 02:15:06 UTC) #21
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 1 month ago (2016-11-15 03:34:58 UTC) #22
commit-bot: I haz the power
4 years, 1 month ago (2016-11-15 03:43:22 UTC) #24
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/1dcad9ce4e13062d7fe0fa8021749e9dab6942a6
Cr-Commit-Position: refs/heads/master@{#432071}

Powered by Google App Engine
This is Rietveld 408576698