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

Issue 2520353004: Disabled ink drop animations based on gfx::Animation::ShouldRenderRichAnimation(). (Closed)

Created:
4 years, 1 month ago by bruthig
Modified:
4 years ago
Reviewers:
Peter Kasting
CC:
chromium-reviews, tfarina, bruthig+ink_drop_chromium.org, dcheng
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Disabled ink drop animations based on gfx::Animation::ShouldRenderRichAnimation(). Forces an animation duration of 0 for all ink drop animations if ShouldRenderRichAnimations() returns false. BUG=658384 Committed: https://crrev.com/03ac98e06185f954738f1d3ec98c387b412c53f3 Cr-Commit-Position: refs/heads/master@{#434301}

Patch Set 1 #

Patch Set 2 : Merge branch 'master' into disable_ink_drop_animations_for_accessibility #

Patch Set 3 : Removed 'Temporary' from comments. #

Total comments: 2

Patch Set 4 : Updated comment wording. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+18 lines, -2 lines) Patch
M ui/views/animation/flood_fill_ink_drop_ripple.cc View 1 2 3 2 chunks +5 lines, -0 lines 0 comments Download
M ui/views/animation/ink_drop_highlight.cc View 1 2 3 4 chunks +8 lines, -2 lines 0 comments Download
M ui/views/animation/square_ink_drop_ripple.cc View 1 2 3 2 chunks +5 lines, -0 lines 0 comments Download

Messages

Total messages: 29 (15 generated)
Peter Kasting
Tested this on Windows. When "unnecessary animations" are disabled on the system, clicking goes straight ...
4 years, 1 month ago (2016-11-23 00:00:22 UTC) #5
bruthig
I've removed 'Temporary' from the comments. Peter, can you do a full review?
4 years ago (2016-11-23 20:52:06 UTC) #9
Peter Kasting
LGTM https://codereview.chromium.org/2520353004/diff/40001/ui/views/animation/flood_fill_ink_drop_ripple.cc File ui/views/animation/flood_fill_ink_drop_ripple.cc (right): https://codereview.chromium.org/2520353004/diff/40001/ui/views/animation/flood_fill_ink_drop_ripple.cc#newcode99 ui/views/animation/flood_fill_ink_drop_ripple.cc:99: // Disable ink drop animations for accessibility purposes. ...
4 years ago (2016-11-23 21:02:25 UTC) #10
bruthig
Sending to CQ... https://codereview.chromium.org/2520353004/diff/40001/ui/views/animation/flood_fill_ink_drop_ripple.cc File ui/views/animation/flood_fill_ink_drop_ripple.cc (right): https://codereview.chromium.org/2520353004/diff/40001/ui/views/animation/flood_fill_ink_drop_ripple.cc#newcode99 ui/views/animation/flood_fill_ink_drop_ripple.cc:99: // Disable ink drop animations for ...
4 years ago (2016-11-23 21:43:36 UTC) #11
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/2520353004/60001
4 years ago (2016-11-23 21:44:43 UTC) #14
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_clobber_rel_ng on master.tryserver.chromium.linux (JOB_TIMED_OUT, no build URL) linux_chromium_compile_dbg_ng on ...
4 years ago (2016-11-23 23:46:35 UTC) #16
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/2520353004/60001
4 years ago (2016-11-23 23:49:14 UTC) #18
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_TIMED_OUT, no build URL)
4 years ago (2016-11-24 01:51:31 UTC) #20
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/2520353004/60001
4 years ago (2016-11-24 04:12:28 UTC) #22
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years ago (2016-11-24 04:47:54 UTC) #24
commit-bot: I haz the power
Patchset 4 (id:??) landed as https://crrev.com/03ac98e06185f954738f1d3ec98c387b412c53f3 Cr-Commit-Position: refs/heads/master@{#434301}
4 years ago (2016-11-24 04:49:42 UTC) #26
bruthig
A revert of this CL (patchset #4 id:60001) has been created in https://codereview.chromium.org/2539913004/ by bruthig@chromium.org. ...
4 years ago (2016-11-30 15:12:26 UTC) #27
Peter Kasting
On 2016/11/30 15:12:26, bruthig wrote: > A revert of this CL (patchset #4 id:60001) has ...
4 years ago (2016-11-30 19:07:19 UTC) #28
bruthig
4 years ago (2016-11-30 20:05:52 UTC) #29
Message was sent while issue was closed.
On 2016/11/30 19:07:19, Peter Kasting wrote:
> On 2016/11/30 15:12:26, bruthig wrote:
> > A revert of this CL (patchset #4 id:60001) has been created in
> > https://codereview.chromium.org/2539913004/ by mailto:bruthig@chromium.org.
> > 
> > The reason for reverting is: Failing tests on windows bots.  I suspect the
> tests
> > are actually dependent on environment settings which is not good and will
> > require time to investigate..
> 
> While we can probably force the value of the flag to make sure the behavior is
> consistent, the more interesting question is why we have tests that fail when
> this behavior changes.

Agreed, that is why I went for a full revert until I have time to investigate.

Powered by Google App Engine
This is Rietveld 408576698