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

Issue 1811113003: Reduce failsafe time for animation events. This makes the lock-time more consistent. (Closed)

Created:
4 years, 9 months ago by jdufault
Modified:
4 years, 8 months ago
CC:
chromium-reviews, dzhioev+watch_chromium.org, achuith+watch_chromium.org, oshima+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@lkgr
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Reduce failsafe time for animation events. This makes the lock-time more consistent. This animation delay compensates for the amount of time it takes the native animation to run so the user pods are not shown while the native windows are flying out of the screen. This approach has a few problems, however: 1. If the WebUI takes a long time to load (such as on slow devices), then the CSS animation here will still be running even after the native animation has completed. 2. If the screen is locked via some cancellable lock mechanism, such as the power button, then the native animation has already completed and the wait is unnecessary. A better approach is to intead have the lock screen emit an event that notifies the webui that has finished the native animation. Doing so is tricky, however, as there are various states that the webui and lock screen can be in. BUG=452599 Committed: https://crrev.com/aa8ed023a411ac73a2f6e641c902e2831bd1a7fe Cr-Commit-Position: refs/heads/master@{#383428}

Patch Set 1 : #

Total comments: 6

Patch Set 2 : Nits #

Total comments: 2

Patch Set 3 : Nit #

Unified diffs Side-by-side diffs Delta from patch set Stats (+19 lines, -8 lines) Patch
M ui/login/account_picker/user_pod_row.js View 1 2 chunks +6 lines, -4 lines 0 comments Download
M ui/webui/resources/js/util.js View 1 2 2 chunks +13 lines, -4 lines 0 comments Download

Messages

Total messages: 17 (8 generated)
jdufault
Pavel / Xiyuan, PTAL. Thanks!
4 years, 9 months ago (2016-03-17 22:20:16 UTC) #5
xiyuan
https://codereview.chromium.org/1811113003/diff/20001/ui/login/account_picker/user_pod_row.js File ui/login/account_picker/user_pod_row.js (right): https://codereview.chromium.org/1811113003/diff/20001/ui/login/account_picker/user_pod_row.js#newcode3250 ui/login/account_picker/user_pod_row.js:3250: ensureTransitionEndEvent(focusedPod); We need to test |focusedPod| because |focusedPod| is ...
4 years, 9 months ago (2016-03-18 15:37:49 UTC) #6
jdufault
https://codereview.chromium.org/1811113003/diff/20001/ui/login/account_picker/user_pod_row.js File ui/login/account_picker/user_pod_row.js (right): https://codereview.chromium.org/1811113003/diff/20001/ui/login/account_picker/user_pod_row.js#newcode3250 ui/login/account_picker/user_pod_row.js:3250: ensureTransitionEndEvent(focusedPod); On 2016/03/18 15:37:48, xiyuan wrote: > We need ...
4 years, 9 months ago (2016-03-18 17:31:56 UTC) #7
xiyuan
lgtm https://codereview.chromium.org/1811113003/diff/40001/ui/webui/resources/js/util.js File ui/webui/resources/js/util.js (right): https://codereview.chromium.org/1811113003/diff/40001/ui/webui/resources/js/util.js#newcode377 ui/webui/resources/js/util.js:377: * @param {number} opt_timeOut The maximum wait time ...
4 years, 9 months ago (2016-03-18 18:23:53 UTC) #8
dzhioev (left Google)
On 2016/03/17 22:20:16, jdufault wrote: > Pavel / Xiyuan, PTAL. Thanks! LGTM
4 years, 8 months ago (2016-03-25 22:45:50 UTC) #9
jdufault
https://codereview.chromium.org/1811113003/diff/40001/ui/webui/resources/js/util.js File ui/webui/resources/js/util.js (right): https://codereview.chromium.org/1811113003/diff/40001/ui/webui/resources/js/util.js#newcode377 ui/webui/resources/js/util.js:377: * @param {number} opt_timeOut The maximum wait time in ...
4 years, 8 months ago (2016-03-25 23:36:56 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1811113003/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1811113003/60001
4 years, 8 months ago (2016-03-25 23:37:11 UTC) #13
commit-bot: I haz the power
Committed patchset #3 (id:60001)
4 years, 8 months ago (2016-03-26 01:06:09 UTC) #15
commit-bot: I haz the power
4 years, 8 months ago (2016-03-26 01:07:33 UTC) #17
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/aa8ed023a411ac73a2f6e641c902e2831bd1a7fe
Cr-Commit-Position: refs/heads/master@{#383428}

Powered by Google App Engine
This is Rietveld 408576698