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

Issue 674163003: MenuButtons enter Hover state upon Tap Down (Closed)

Created:
6 years, 2 months ago by jonross
Modified:
6 years, 1 month ago
Reviewers:
flackr, sky
CC:
chromium-reviews, tfarina
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

MenuButtons enter Hover state upon Tap Down MenuButton will now respond to TAP_DOWN gestures, entering the Hover state. It will return to a normal state if the gesture is cancelled. Tap gestures that activate the menu will still cause it to enter a Pressed state. This experiment is behind the flag switches::kEnableTouchFeedback TEST=MenuButtonTest.TouchFeedbackDuringTap, MenuButtonTest.TouchFeedbackDuringTapCancel BUG=398404 Committed: https://crrev.com/c22434d2969cfaad4738219e8fb137613100d3c4 Cr-Commit-Position: refs/heads/master@{#301488}

Patch Set 1 #

Total comments: 4

Patch Set 2 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+56 lines, -6 lines) Patch
M ui/views/controls/button/menu_button.cc View 1 2 chunks +18 lines, -6 lines 0 comments Download
M ui/views/controls/button/menu_button_unittest.cc View 3 chunks +38 lines, -0 lines 0 comments Download

Messages

Total messages: 12 (3 generated)
jonross
Hey Rob, Could you review this change to add touch feedback to MenuButton on TapDown ...
6 years, 2 months ago (2014-10-24 17:03:35 UTC) #2
flackr
https://codereview.chromium.org/674163003/diff/1/ui/views/controls/button/menu_button.cc File ui/views/controls/button/menu_button.cc (right): https://codereview.chromium.org/674163003/diff/1/ui/views/controls/button/menu_button.cc#newcode210 ui/views/controls/button/menu_button.cc:210: if (switches::IsTouchFeedbackEnabled()) { Should this be done after line ...
6 years, 1 month ago (2014-10-27 17:51:27 UTC) #3
jonross
https://codereview.chromium.org/674163003/diff/1/ui/views/controls/button/menu_button.cc File ui/views/controls/button/menu_button.cc (right): https://codereview.chromium.org/674163003/diff/1/ui/views/controls/button/menu_button.cc#newcode210 ui/views/controls/button/menu_button.cc:210: if (switches::IsTouchFeedbackEnabled()) { On 2014/10/27 17:51:27, flackr wrote: > ...
6 years, 1 month ago (2014-10-27 18:51:39 UTC) #4
flackr
LGTM though I'm surprised we didn't want the pressed state.
6 years, 1 month ago (2014-10-27 20:08:04 UTC) #5
jonross
sky@chromium.org: Please review changes in ui/views/controls/button/menu_button.cc ui/views/controls/button/menu_button_unittest.cc This is a follow up to https://codereview.chromium.org/639893003/ where ...
6 years, 1 month ago (2014-10-27 20:24:03 UTC) #7
sky
LGTM
6 years, 1 month ago (2014-10-27 22:02:30 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/674163003/20001
6 years, 1 month ago (2014-10-27 22:06:32 UTC) #10
commit-bot: I haz the power
Committed patchset #2 (id:20001)
6 years, 1 month ago (2014-10-27 23:52:25 UTC) #11
commit-bot: I haz the power
6 years, 1 month ago (2014-10-27 23:53:10 UTC) #12
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/c22434d2969cfaad4738219e8fb137613100d3c4
Cr-Commit-Position: refs/heads/master@{#301488}

Powered by Google App Engine
This is Rietveld 408576698