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

Issue 2220063002: Track if the tab switcher is transitioning in the toolbar (Closed)

Created:
4 years, 4 months ago by mdjones
Modified:
4 years, 4 months ago
Reviewers:
Ted C, Bernhard Bauer
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Track if the tab switcher is transitioning in the toolbar setTabSwitcherMode will set the state of the tab switcher for the toolbar before the animations have started causing the progress bar to be momentarily visible. This change tracks when the tab switcher mode is set and when the animations finish to show the progress bar correctly. BUG=633972 Committed: https://crrev.com/31b3a9a9805e3ca9d7407c7d7a9da6d729460f97 Cr-Commit-Position: refs/heads/master@{#412606}

Patch Set 1 #

Patch Set 2 : 4 state approach #

Total comments: 6

Patch Set 3 : address comments #

Patch Set 4 : nits #

Patch Set 5 : fix shadow bug #

Unified diffs Side-by-side diffs Delta from patch set Stats (+67 lines, -35 lines) Patch
M chrome/android/java/src/org/chromium/chrome/browser/toolbar/ToolbarPhone.java View 1 2 3 4 25 chunks +67 lines, -35 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 16 (5 generated)
mdjones
Long story short: mIsInTabSwitcherMode is unreliable because it is set before the transition animations finish; ...
4 years, 4 months ago (2016-08-05 21:33:47 UTC) #2
mdjones
+bauerb while ted is ooo; see initial comment.
4 years, 4 months ago (2016-08-09 23:40:17 UTC) #4
Ted C
On 2016/08/09 23:40:17, mdjones wrote: > +bauerb while ted is ooo; see initial comment. Didn't ...
4 years, 4 months ago (2016-08-10 05:07:39 UTC) #5
Bernhard Bauer
On 2016/08/10 05:07:39, Ted C (OOO till 8.15) wrote: > On 2016/08/09 23:40:17, mdjones wrote: ...
4 years, 4 months ago (2016-08-10 10:30:20 UTC) #6
mdjones
Decided to take the 4 state approach and cleaned up the resulting unused code.
4 years, 4 months ago (2016-08-10 21:28:01 UTC) #7
Bernhard Bauer
lgtm
4 years, 4 months ago (2016-08-11 09:10:44 UTC) #8
Ted C
lgtm w/ a few small nits https://codereview.chromium.org/2220063002/diff/20001/chrome/android/java/src/org/chromium/chrome/browser/toolbar/ToolbarPhone.java File chrome/android/java/src/org/chromium/chrome/browser/toolbar/ToolbarPhone.java (left): https://codereview.chromium.org/2220063002/diff/20001/chrome/android/java/src/org/chromium/chrome/browser/toolbar/ToolbarPhone.java#oldcode120 chrome/android/java/src/org/chromium/chrome/browser/toolbar/ToolbarPhone.java:120: @ViewDebug.ExportedProperty(category = "chrome") ...
4 years, 4 months ago (2016-08-15 23:00:00 UTC) #9
mdjones
https://codereview.chromium.org/2220063002/diff/20001/chrome/android/java/src/org/chromium/chrome/browser/toolbar/ToolbarPhone.java File chrome/android/java/src/org/chromium/chrome/browser/toolbar/ToolbarPhone.java (left): https://codereview.chromium.org/2220063002/diff/20001/chrome/android/java/src/org/chromium/chrome/browser/toolbar/ToolbarPhone.java#oldcode120 chrome/android/java/src/org/chromium/chrome/browser/toolbar/ToolbarPhone.java:120: @ViewDebug.ExportedProperty(category = "chrome") On 2016/08/15 23:00:00, Ted C wrote: ...
4 years, 4 months ago (2016-08-17 16:52:44 UTC) #10
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/2220063002/80001
4 years, 4 months ago (2016-08-17 18:35:54 UTC) #13
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 4 months ago (2016-08-17 19:07:39 UTC) #14
commit-bot: I haz the power
4 years, 4 months ago (2016-08-17 19:10:51 UTC) #16
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/31b3a9a9805e3ca9d7407c7d7a9da6d729460f97
Cr-Commit-Position: refs/heads/master@{#412606}

Powered by Google App Engine
This is Rietveld 408576698