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

Issue 2017833003: Fixes ink drop being "stuck" on when losing focus. (Closed)

Created:
4 years, 6 months ago by kylix_rd
Modified:
4 years, 6 months ago
Reviewers:
sky, bruthig
CC:
chromium-reviews, tfarina
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fixes losing focus while space bar pressed. BUG=615520 Committed: https://crrev.com/934405233ea138ad8c27528779b6f9071957b8bc Cr-Commit-Position: refs/heads/master@{#397492}

Patch Set 1 #

Patch Set 2 : Removed code intended for another bug fix. #

Total comments: 2

Patch Set 3 : Added unit test #

Patch Set 4 : Removed some left-over crufty code. #

Total comments: 3

Patch Set 5 : Removal of the nits... #

Total comments: 5

Patch Set 6 : Moved TestInkDrop to test_ink_drop_delegate.cc. Added code comments. #

Total comments: 2

Patch Set 7 : Formatting changes and added NOTREACHED() macro #

Unified diffs Side-by-side diffs Delta from patch set Stats (+72 lines, -8 lines) Patch
M ui/views/animation/test/test_ink_drop_delegate.h View 1 2 2 chunks +3 lines, -0 lines 0 comments Download
M ui/views/animation/test/test_ink_drop_delegate.cc View 1 2 3 4 5 6 2 chunks +27 lines, -1 line 0 comments Download
M ui/views/controls/button/custom_button.cc View 1 2 3 4 5 6 2 chunks +16 lines, -7 lines 0 comments Download
M ui/views/controls/button/custom_button_unittest.cc View 1 2 3 4 5 6 2 chunks +26 lines, -0 lines 0 comments Download

Messages

Total messages: 23 (6 generated)
kylix_rd
4 years, 6 months ago (2016-05-28 00:10:03 UTC) #3
bruthig
https://codereview.chromium.org/2017833003/diff/20001/ui/views/controls/button/custom_button.cc File ui/views/controls/button/custom_button.cc (right): https://codereview.chromium.org/2017833003/diff/20001/ui/views/controls/button/custom_button.cc#newcode374 ui/views/controls/button/custom_button.cc:374: if (IsHotTracked() || state_ == STATE_PRESSED) { This opens ...
4 years, 6 months ago (2016-05-31 14:20:40 UTC) #4
bruthig
https://codereview.chromium.org/2017833003/diff/20001/ui/views/controls/button/custom_button.cc File ui/views/controls/button/custom_button.cc (right): https://codereview.chromium.org/2017833003/diff/20001/ui/views/controls/button/custom_button.cc#newcode374 ui/views/controls/button/custom_button.cc:374: if (IsHotTracked() || state_ == STATE_PRESSED) { On 2016/05/31 ...
4 years, 6 months ago (2016-05-31 14:23:42 UTC) #5
sky
Please add test coverage for these cases.
4 years, 6 months ago (2016-05-31 19:07:10 UTC) #6
kylix_rd
On 2016/05/31 14:20:40, bruthig wrote: > https://codereview.chromium.org/2017833003/diff/20001/ui/views/controls/button/custom_button.cc > File ui/views/controls/button/custom_button.cc (right): > > https://codereview.chromium.org/2017833003/diff/20001/ui/views/controls/button/custom_button.cc#newcode374 > ...
4 years, 6 months ago (2016-05-31 20:55:47 UTC) #7
kylix_rd
Added test case.
4 years, 6 months ago (2016-06-01 21:36:26 UTC) #8
sky
LGTM with the following, but wait for Ben https://codereview.chromium.org/2017833003/diff/60001/ui/views/animation/test/test_ink_drop.h File ui/views/animation/test/test_ink_drop.h (right): https://codereview.chromium.org/2017833003/diff/60001/ui/views/animation/test/test_ink_drop.h#newcode16 ui/views/animation/test/test_ink_drop.h:16: TestInkDrop() ...
4 years, 6 months ago (2016-06-02 02:01:41 UTC) #9
kylix_rd
Nit removal. bruthig@, how is this looking?
4 years, 6 months ago (2016-06-02 14:40:02 UTC) #10
bruthig
https://codereview.chromium.org/2017833003/diff/80001/ui/views/animation/test/test_ink_drop_delegate.cc File ui/views/animation/test/test_ink_drop_delegate.cc (right): https://codereview.chromium.org/2017833003/diff/80001/ui/views/animation/test/test_ink_drop_delegate.cc#newcode33 ui/views/animation/test/test_ink_drop_delegate.cc:33: if (!ink_drop_.get()) Was this change necessary or are you ...
4 years, 6 months ago (2016-06-02 15:21:35 UTC) #11
kylix_rd
Moved TestInkDrop class to test_ink_drop_delegate.cc & and other updates. https://codereview.chromium.org/2017833003/diff/80001/ui/views/controls/button/custom_button.cc File ui/views/controls/button/custom_button.cc (right): https://codereview.chromium.org/2017833003/diff/80001/ui/views/controls/button/custom_button.cc#newcode379 ui/views/controls/button/custom_button.cc:379: ...
4 years, 6 months ago (2016-06-02 15:52:33 UTC) #12
bruthig
https://codereview.chromium.org/2017833003/diff/100001/ui/views/animation/test/test_ink_drop_delegate.cc File ui/views/animation/test/test_ink_drop_delegate.cc (right): https://codereview.chromium.org/2017833003/diff/100001/ui/views/animation/test/test_ink_drop_delegate.cc#newcode16 ui/views/animation/test/test_ink_drop_delegate.cc:16: InkDropState GetTargetInkDropState() const override { Please add NOTREACHED() for ...
4 years, 6 months ago (2016-06-02 16:49:55 UTC) #13
kylix_rd
On 2016/06/02 16:49:55, bruthig wrote: > https://codereview.chromium.org/2017833003/diff/100001/ui/views/animation/test/test_ink_drop_delegate.cc > File ui/views/animation/test/test_ink_drop_delegate.cc (right): > > https://codereview.chromium.org/2017833003/diff/100001/ui/views/animation/test/test_ink_drop_delegate.cc#newcode16 > ...
4 years, 6 months ago (2016-06-02 16:53:55 UTC) #14
kylix_rd
Latest updates.
4 years, 6 months ago (2016-06-02 17:27:58 UTC) #15
bruthig
lgtm
4 years, 6 months ago (2016-06-02 17:39:17 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2017833003/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2017833003/120001
4 years, 6 months ago (2016-06-02 17:40:44 UTC) #19
commit-bot: I haz the power
Committed patchset #7 (id:120001)
4 years, 6 months ago (2016-06-02 19:58:59 UTC) #21
commit-bot: I haz the power
4 years, 6 months ago (2016-06-02 20:02:10 UTC) #23
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/934405233ea138ad8c27528779b6f9071957b8bc
Cr-Commit-Position: refs/heads/master@{#397492}

Powered by Google App Engine
This is Rietveld 408576698