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

Issue 10823004: Consume TAP regardless of menu result to avoid setting HOT state in CustomButton. (Closed)

Created:
8 years, 5 months ago by flackr
Modified:
8 years, 5 months ago
Reviewers:
sky
CC:
chromium-reviews, tfarina
Visibility:
Public.

Description

Consume TAP regardless of menu result to avoid setting HOT state in CustomButton. BUG=137704 TEST=Tap on wrench menu and tap out of wrench menu, button returns to normal state. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=148375

Patch Set 1 #

Total comments: 2

Patch Set 2 : Remove ignore_result. #

Patch Set 3 : Return unknown status after showing blocking menu. #

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

Messages

Total messages: 9 (0 generated)
flackr
Hi, we need to consume the TAP event regardless of menu result since at the ...
8 years, 5 months ago (2012-07-25 00:23:27 UTC) #1
sky
https://chromiumcodereview.appspot.com/10823004/diff/1/ui/views/controls/button/menu_button.cc File ui/views/controls/button/menu_button.cc (right): https://chromiumcodereview.appspot.com/10823004/diff/1/ui/views/controls/button/menu_button.cc#newcode225 ui/views/controls/button/menu_button.cc:225: ignore_result(Activate()); You don't need ignore_result here. Are you sure ...
8 years, 5 months ago (2012-07-25 00:48:42 UTC) #2
flackr
https://chromiumcodereview.appspot.com/10823004/diff/1/ui/views/controls/button/menu_button.cc File ui/views/controls/button/menu_button.cc (right): https://chromiumcodereview.appspot.com/10823004/diff/1/ui/views/controls/button/menu_button.cc#newcode225 ui/views/controls/button/menu_button.cc:225: ignore_result(Activate()); On 2012/07/25 00:48:42, sky wrote: > You don't ...
8 years, 5 months ago (2012-07-25 01:31:59 UTC) #3
sky
On Tue, Jul 24, 2012 at 6:31 PM, <flackr@chromium.org> wrote: > > https://chromiumcodereview.appspot.com/10823004/diff/1/ui/views/controls/button/menu_button.cc > File ...
8 years, 5 months ago (2012-07-25 04:34:46 UTC) #4
sky
On Tue, Jul 24, 2012 at 9:34 PM, Scott Violet <sky@chromium.org> wrote: > On Tue, ...
8 years, 5 months ago (2012-07-25 04:35:27 UTC) #5
flackr
Ah I see now, sorry. Returning that we didn't consume the latent TAP is actually ...
8 years, 5 months ago (2012-07-25 12:27:30 UTC) #6
sky
LGTM
8 years, 5 months ago (2012-07-25 16:10:51 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/flackr@chromium.org/10823004/5003
8 years, 5 months ago (2012-07-25 16:55:37 UTC) #8
commit-bot: I haz the power
8 years, 5 months ago (2012-07-25 18:44:18 UTC) #9
Change committed as 148375

Powered by Google App Engine
This is Rietveld 408576698