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

Issue 22638016: Views Textfield: multiple clicks should alternate between double and triple click behavior (Closed)

Created:
7 years, 4 months ago by ckocagil
Modified:
7 years, 4 months ago
Reviewers:
msw
CC:
chromium-reviews, nona+watch_chromium.org, tfarina, James Su, penghuang+watch_chromium.org, yusukes+watch_chromium.org
Visibility:
Public.

Description

Views Textfield: multiple clicks should alternate between double and triple click behavior Currently, consecutive clicks will produce this behavior: single-click, double-click, triple-click, single-click, double-click, ... This should match the Win behavior, which is: single-click, double-click, triple-click, double-click, triple-click, ... BUG=234344 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=216914

Patch Set 1 #

Total comments: 2

Patch Set 2 : updated test #

Patch Set 3 : added comment #

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

Messages

Total messages: 7 (0 generated)
ckocagil
7 years, 4 months ago (2013-08-09 11:29:00 UTC) #1
msw
LGTM with a comment. https://codereview.chromium.org/22638016/diff/1/ui/views/controls/textfield/native_textfield_views.cc File ui/views/controls/textfield/native_textfield_views.cc (right): https://codereview.chromium.org/22638016/diff/1/ui/views/controls/textfield/native_textfield_views.cc#newcode1412 ui/views/controls/textfield/native_textfield_views.cc:1412: aggregated_clicks_ = (aggregated_clicks_ % 2) ...
7 years, 4 months ago (2013-08-09 18:12:11 UTC) #2
msw
Oh, also a test would be nice.
7 years, 4 months ago (2013-08-09 18:15:20 UTC) #3
ckocagil
Oh, it turns out we already had a unit test covering this, so I just ...
7 years, 4 months ago (2013-08-10 15:50:26 UTC) #4
msw
Nice, LGTM.
7 years, 4 months ago (2013-08-10 16:22:40 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ckocagil@chromium.org/22638016/10001
7 years, 4 months ago (2013-08-10 20:53:07 UTC) #6
commit-bot: I haz the power
7 years, 4 months ago (2013-08-12 04:49:38 UTC) #7
Message was sent while issue was closed.
Change committed as 216914

Powered by Google App Engine
This is Rietveld 408576698