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

Issue 673573003: Android: remove the initial binding when the renderer commits. (Closed)

Created:
6 years, 2 months ago by ppi
Modified:
6 years, 1 month ago
Reviewers:
Ted C, Yaron
CC:
chromium-reviews, jam, David Trainor- moved to gerrit, avayvod+watch_chromium.org, darin-cc_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Android: remove the initial binding when the renderer commits. This patch removes the initial binding when the renderer commits a navigation, rather than after a fixed delay from starting the renderer. We have to wait until the first commit before relying on the visibility signal, because a renderer for the foreground tab is considered background until it commits. BUG=421041 Committed: https://crrev.com/5bab673bb8b4ddfbcc7ef996688d813afbd02ca4 Cr-Commit-Position: refs/heads/master@{#302392}

Patch Set 1 : #

Total comments: 7

Patch Set 2 : Rebase. #

Patch Set 3 : Address Ted's comments. #

Patch Set 4 : Rebase. #

Patch Set 5 : Fix a Java checkstyle warning. #

Messages

Total messages: 16 (5 generated)
ppi
Yaron, Ted - ptal. Adding Ted as it would probably make sense to have another ...
6 years, 2 months ago (2014-10-23 17:33:50 UTC) #4
Ted C
overall this seems reasonable to me. Granted, I don't know the code all that well, ...
6 years, 2 months ago (2014-10-25 00:38:52 UTC) #5
ppi
Thanks, Ted! Ptal. https://codereview.chromium.org/673573003/diff/20001/chrome/android/java/src/org/chromium/chrome/browser/Tab.java File chrome/android/java/src/org/chromium/chrome/browser/Tab.java (right): https://codereview.chromium.org/673573003/diff/20001/chrome/android/java/src/org/chromium/chrome/browser/Tab.java#newcode281 chrome/android/java/src/org/chromium/chrome/browser/Tab.java:281: ChildProcessLauncher.determinedVisibility( On 2014/10/25 00:38:51, Ted C ...
6 years, 1 month ago (2014-10-29 20:13:49 UTC) #7
Yaron
So in general this seems ok. I do have one concern though because I'm not ...
6 years, 1 month ago (2014-10-29 20:52:28 UTC) #8
ppi
Thanks, Yaron! Pending navigation is committed when we receive first bytes of the http response ...
6 years, 1 month ago (2014-10-30 17:29:14 UTC) #9
Yaron
lgtm - thanks for the explanation
6 years, 1 month ago (2014-10-30 23:56:37 UTC) #10
Yaron
On 2014/10/30 23:56:37, Yaron (OOO - On Leave) wrote: > lgtm - thanks for the ...
6 years, 1 month ago (2014-10-31 00:03:10 UTC) #11
ppi
Good point, although we already have this problem to some extent, as we keep the ...
6 years, 1 month ago (2014-11-01 17:52:51 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/673573003/120001
6 years, 1 month ago (2014-11-01 18:55:06 UTC) #14
commit-bot: I haz the power
Committed patchset #5 (id:120001)
6 years, 1 month ago (2014-11-01 19:44:11 UTC) #15
commit-bot: I haz the power
6 years, 1 month ago (2014-11-01 19:44:47 UTC) #16
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/5bab673bb8b4ddfbcc7ef996688d813afbd02ca4
Cr-Commit-Position: refs/heads/master@{#302392}

Powered by Google App Engine
This is Rietveld 408576698