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

Issue 2043833003: customtabs: Initialize the spare renderer using the new WebContents method. (Closed)

Created:
4 years, 6 months ago by Benoit L
Modified:
4 years, 6 months ago
Reviewers:
pasko, Ted C, Yusuf
CC:
chromium-reviews, lizeb+watch-custom-tabs_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

customtabs: Initialize the spare renderer using the new WebContents method. Initializing the spare renderer by navigating to about:blank was a temporary hack, replace it with the proper (and more recent) method from WebContents. BUG=614325 Committed: https://crrev.com/edf077f77fefcb92e447c50578f6c5c4297db4ad Cr-Commit-Position: refs/heads/master@{#400147}

Patch Set 1 #

Total comments: 6

Patch Set 2 : Address comments. #

Total comments: 2

Patch Set 3 : Rebase + comments. #

Patch Set 4 : Proguard fix for a test. #

Messages

Total messages: 29 (11 generated)
Benoit L
One less hack! \o/
4 years, 6 months ago (2016-06-07 15:18:27 UTC) #2
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2043833003/1
4 years, 6 months ago (2016-06-08 09:02:59 UTC) #4
pasko
https://codereview.chromium.org/2043833003/diff/1/chrome/android/java/src/org/chromium/chrome/browser/customtabs/CustomTabActivity.java File chrome/android/java/src/org/chromium/chrome/browser/customtabs/CustomTabActivity.java (right): https://codereview.chromium.org/2043833003/diff/1/chrome/android/java/src/org/chromium/chrome/browser/customtabs/CustomTabActivity.java#newcode462 chrome/android/java/src/org/chromium/chrome/browser/customtabs/CustomTabActivity.java:462: if (mShouldReplaceCurrentEntry) params.setShouldReplaceCurrentEntry(true); mShouldReplaceCurrentEntry is now always false, right? ...
4 years, 6 months ago (2016-06-08 09:24:02 UTC) #5
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_android_rel_ng on tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/linux_android_rel_ng/builds/83957)
4 years, 6 months ago (2016-06-08 10:13:24 UTC) #7
Benoit L
Thanks! All done. https://codereview.chromium.org/2043833003/diff/1/chrome/android/java/src/org/chromium/chrome/browser/customtabs/CustomTabActivity.java File chrome/android/java/src/org/chromium/chrome/browser/customtabs/CustomTabActivity.java (right): https://codereview.chromium.org/2043833003/diff/1/chrome/android/java/src/org/chromium/chrome/browser/customtabs/CustomTabActivity.java#newcode462 chrome/android/java/src/org/chromium/chrome/browser/customtabs/CustomTabActivity.java:462: if (mShouldReplaceCurrentEntry) params.setShouldReplaceCurrentEntry(true); On 2016/06/08 09:24:02, ...
4 years, 6 months ago (2016-06-08 16:39:06 UTC) #8
pasko
overall looking good, a couple more readability polishing proposals https://codereview.chromium.org/2043833003/diff/20001/chrome/android/java/src/org/chromium/chrome/browser/WebContentsFactory.java File chrome/android/java/src/org/chromium/chrome/browser/WebContentsFactory.java (right): https://codereview.chromium.org/2043833003/diff/20001/chrome/android/java/src/org/chromium/chrome/browser/WebContentsFactory.java#newcode38 chrome/android/java/src/org/chromium/chrome/browser/WebContentsFactory.java:38: ...
4 years, 6 months ago (2016-06-08 19:18:59 UTC) #9
Benoit L
Done, thanks!
4 years, 6 months ago (2016-06-15 11:29:36 UTC) #10
pasko
lgtm thanks
4 years, 6 months ago (2016-06-15 11:56:30 UTC) #11
Benoit L
tedchoc@chromium.org: Please review changes in WebContentsFactory.
4 years, 6 months ago (2016-06-15 14:33:32 UTC) #13
Ted C
lgtm poor sad about:blank...all it wants to do it help!!
4 years, 6 months ago (2016-06-16 00:09:22 UTC) #14
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2043833003/40001
4 years, 6 months ago (2016-06-16 07:51:50 UTC) #16
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_android_rel_ng on tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/linux_android_rel_ng/builds/88634)
4 years, 6 months ago (2016-06-16 08:50:30 UTC) #18
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2043833003/60001
4 years, 6 months ago (2016-06-16 09:23:54 UTC) #20
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 6 months ago (2016-06-16 09:56:10 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2043833003/60001
4 years, 6 months ago (2016-06-16 13:58:13 UTC) #25
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 6 months ago (2016-06-16 14:02:03 UTC) #26
commit-bot: I haz the power
CQ bit was unchecked
4 years, 6 months ago (2016-06-16 14:02:10 UTC) #27
commit-bot: I haz the power
4 years, 6 months ago (2016-06-16 14:03:43 UTC) #29
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/edf077f77fefcb92e447c50578f6c5c4297db4ad
Cr-Commit-Position: refs/heads/master@{#400147}

Powered by Google App Engine
This is Rietveld 408576698