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

Issue 2327673003: combobox: don't animate state changes in TransparentButton (Closed)

Created:
4 years, 3 months ago by Elly Fong-Jones
Modified:
4 years, 3 months ago
Reviewers:
sky, Evan Stade
CC:
chromium-reviews, tfarina
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

combobox: don't animate state changes in TransparentButton TransparentButton has state-change animations enabled despite being invisible, which causes a bunch of spurious repaints of the combobox on mouse enter/exit. BUG=645266 Committed: https://crrev.com/9469d57224252e71f21394f17a30929ec3fd102e Cr-Commit-Position: refs/heads/master@{#418824}

Patch Set 1 #

Total comments: 3

Patch Set 2 : do animate for action comboboxes #

Total comments: 1

Patch Set 3 : conditional SetAnimationDuration #

Unified diffs Side-by-side diffs Delta from patch set Stats (+6 lines, -4 lines) Patch
M ui/views/controls/combobox/combobox.cc View 1 2 2 chunks +6 lines, -4 lines 0 comments Download

Messages

Total messages: 22 (9 generated)
Elly Fong-Jones
estade: ptal? :)
4 years, 3 months ago (2016-09-09 14:42:08 UTC) #3
Evan Stade
good find. I wonder if this is why the ripples that were added recently for ...
4 years, 3 months ago (2016-09-09 18:37:13 UTC) #4
Elly Fong-Jones
https://codereview.chromium.org/2327673003/diff/1/ui/views/controls/combobox/combobox.cc File ui/views/controls/combobox/combobox.cc (right): https://codereview.chromium.org/2327673003/diff/1/ui/views/controls/combobox/combobox.cc#newcode119 ui/views/controls/combobox/combobox.cc:119: SetAnimationDuration(LabelButton::kHoverAnimationDurationMs); On 2016/09/09 18:37:13, Evan Stade wrote: > why ...
4 years, 3 months ago (2016-09-12 11:46:40 UTC) #5
Evan Stade
https://codereview.chromium.org/2327673003/diff/1/ui/views/controls/combobox/combobox.cc File ui/views/controls/combobox/combobox.cc (right): https://codereview.chromium.org/2327673003/diff/1/ui/views/controls/combobox/combobox.cc#newcode119 ui/views/controls/combobox/combobox.cc:119: SetAnimationDuration(LabelButton::kHoverAnimationDurationMs); On 2016/09/12 11:46:40, Elly Jones wrote: > On ...
4 years, 3 months ago (2016-09-12 14:51:17 UTC) #6
Elly Fong-Jones
On 2016/09/12 14:51:17, Evan Stade wrote: > https://codereview.chromium.org/2327673003/diff/1/ui/views/controls/combobox/combobox.cc > File ui/views/controls/combobox/combobox.cc (right): > > https://codereview.chromium.org/2327673003/diff/1/ui/views/controls/combobox/combobox.cc#newcode119 ...
4 years, 3 months ago (2016-09-12 17:41:27 UTC) #7
Evan Stade
lgtm https://codereview.chromium.org/2327673003/diff/20001/ui/views/controls/combobox/combobox.cc File ui/views/controls/combobox/combobox.cc (right): https://codereview.chromium.org/2327673003/diff/20001/ui/views/controls/combobox/combobox.cc#newcode119 ui/views/controls/combobox/combobox.cc:119: SetAnimationDuration(LabelButton::kHoverAnimationDurationMs); could you make this conditional on the ...
4 years, 3 months ago (2016-09-13 22:03:17 UTC) #8
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/2327673003/40001
4 years, 3 months ago (2016-09-14 11:01:18 UTC) #11
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/259148)
4 years, 3 months ago (2016-09-14 11:08:47 UTC) #13
Elly Fong-Jones
sky: ptal? :)
4 years, 3 months ago (2016-09-14 14:50:59 UTC) #15
sky
LGTM
4 years, 3 months ago (2016-09-14 17:47:20 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/2327673003/40001
4 years, 3 months ago (2016-09-15 10:16:16 UTC) #18
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 3 months ago (2016-09-15 10:20:52 UTC) #20
commit-bot: I haz the power
4 years, 3 months ago (2016-09-15 10:22:51 UTC) #22
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/9469d57224252e71f21394f17a30929ec3fd102e
Cr-Commit-Position: refs/heads/master@{#418824}

Powered by Google App Engine
This is Rietveld 408576698