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

Issue 1924473002: Don't hide the reparenting tab while detaching (Closed)

Created:
4 years, 8 months ago by Yusuf
Modified:
4 years, 7 months ago
Reviewers:
gone
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

Don't hide the reparenting tab while detaching During the "move to other window" changes to removeTab, we have started hiding the visible tab in custom tab as a byproduct of setIndex. Hiding during reparenting leaves the tab in a weird state on the native side even if show is called from the java side later on and should also be avoided for UX purposes. Another thing happening in the same if clause is force capturing a thumbnail which is causing another crash. BUG=605757, 603323 Committed: https://crrev.com/6060790e2827d922b3c3b6c1645344aec21d57c6 Cr-Commit-Position: refs/heads/master@{#389931}

Patch Set 1 #

Total comments: 4

Patch Set 2 : Nits #

Unified diffs Side-by-side diffs Delta from patch set Stats (+31 lines, -1 line) Patch
M chrome/android/java/src/org/chromium/chrome/browser/tab/Tab.java View 1 3 chunks +18 lines, -0 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/tabmodel/TabModelSelectorImpl.java View 1 chunk +1 line, -1 line 0 comments Download
M chrome/android/javatests/src/org/chromium/chrome/browser/customtabs/CustomTabActivityTest.java View 1 3 chunks +12 lines, -0 lines 0 comments Download

Messages

Total messages: 17 (9 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1924473002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1924473002/1
4 years, 8 months ago (2016-04-26 17:11:21 UTC) #2
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/60422)
4 years, 8 months ago (2016-04-26 18:10:05 UTC) #6
Yusuf
4 years, 8 months ago (2016-04-26 18:47:01 UTC) #8
gone
lgtm https://codereview.chromium.org/1924473002/diff/1/chrome/android/java/src/org/chromium/chrome/browser/tab/Tab.java File chrome/android/java/src/org/chromium/chrome/browser/tab/Tab.java (right): https://codereview.chromium.org/1924473002/diff/1/chrome/android/java/src/org/chromium/chrome/browser/tab/Tab.java#newcode1492 chrome/android/java/src/org/chromium/chrome/browser/tab/Tab.java:1492: mDetachedForReparenting = false; nit: mIsDetachedForReparenting https://codereview.chromium.org/1924473002/diff/1/chrome/android/javatests/src/org/chromium/chrome/browser/customtabs/CustomTabActivityTest.java File chrome/android/javatests/src/org/chromium/chrome/browser/customtabs/CustomTabActivityTest.java ...
4 years, 8 months ago (2016-04-26 22:05:38 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1924473002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1924473002/20001
4 years, 8 months ago (2016-04-26 22:09:57 UTC) #12
Yusuf
https://codereview.chromium.org/1924473002/diff/1/chrome/android/java/src/org/chromium/chrome/browser/tab/Tab.java File chrome/android/java/src/org/chromium/chrome/browser/tab/Tab.java (right): https://codereview.chromium.org/1924473002/diff/1/chrome/android/java/src/org/chromium/chrome/browser/tab/Tab.java#newcode1492 chrome/android/java/src/org/chromium/chrome/browser/tab/Tab.java:1492: mDetachedForReparenting = false; On 2016/04/26 22:05:38, dfalcantara wrote: > ...
4 years, 8 months ago (2016-04-26 22:10:15 UTC) #13
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 7 months ago (2016-04-26 22:45:47 UTC) #15
commit-bot: I haz the power
4 years, 7 months ago (2016-04-26 22:47:45 UTC) #17
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/6060790e2827d922b3c3b6c1645344aec21d57c6
Cr-Commit-Position: refs/heads/master@{#389931}

Powered by Google App Engine
This is Rietveld 408576698