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

Issue 2660653002: LayoutTab fade animations should not block layouts (Closed)

Created:
3 years, 10 months ago by mdjones
Modified:
3 years, 10 months ago
CC:
agrieve+watch_chromium.org, chromium-reviews
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

LayoutTab fade animations should not block layouts Layouts in chrome do not finish transitions until all animations are completed. Because of this, tab driven animations can block chrome's UI. Particularly, theme color transitions will cause color fading effects in the tab switcher. For example, if the tab is updating the theme color faster than the animations complete, the animations never end. These animations should not be considered when performing layout transitions that are critical to chrome's function. After this change, LayoutTab animations will no longer affect a layout animation's completion state. If the animation is not complete, it will request an update from the renerer, but it will no longer block the UI. BUG=627066 Review-Url: https://codereview.chromium.org/2660653002 Cr-Commit-Position: refs/heads/master@{#447137} Committed: https://chromium.googlesource.com/chromium/src/+/27f8a728708b1ee8a3db41afcf47537a601d5abf

Patch Set 1 #

Patch Set 2 : add bug to comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+7 lines, -3 lines) Patch
M chrome/android/java/src/org/chromium/chrome/browser/compositor/layouts/Layout.java View 1 1 chunk +7 lines, -3 lines 0 comments Download

Messages

Total messages: 12 (6 generated)
mdjones
ptal
3 years, 10 months ago (2017-01-27 19:10:57 UTC) #3
aelias_OOO_until_Jul13
So the idea is that in LayoutManager.onUpdate, doneHiding should be called after the particular hide ...
3 years, 10 months ago (2017-01-27 20:09:16 UTC) #4
mdjones
On 2017/01/27 20:09:16, aelias wrote: > So the idea is that in LayoutManager.onUpdate, doneHiding should ...
3 years, 10 months ago (2017-01-27 22:43:40 UTC) #5
aelias_OOO_until_Jul13
OK, lgtm I guess, please link the crbug in the comment for future reference.
3 years, 10 months ago (2017-01-27 22:45:57 UTC) #6
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/2660653002/20001
3 years, 10 months ago (2017-01-31 00:04:01 UTC) #9
commit-bot: I haz the power
3 years, 10 months ago (2017-01-31 00:45:13 UTC) #12
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/27f8a728708b1ee8a3db41afcf47...

Powered by Google App Engine
This is Rietveld 408576698