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

Issue 890143005: [Mac] Allow "Enter" to activate the buttons in the new avatar bubble. (Closed)

Created:
5 years, 10 months ago by noms (inactive)
Modified:
5 years, 10 months ago
Reviewers:
groby-ooo-7-16
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[Mac] Allow "Enter" to activate the buttons in the new avatar bubble. Despite this not being the OSX way, users are complaining that Enter doesn't activate the buttons in the menu, because it used to. I think the easiest way is to wrap all buttons in a view that responds to Enter, and activates the button accordingly. BUG=454467 TEST=Start Chrome with --enable-new-avatar-menu. Open the avatar bubble and tab through items. Pressing enter should perform the button's action. Committed: https://crrev.com/7286b9d038d6d9f95578ced6de7ebaa788970d1d Cr-Commit-Position: refs/heads/master@{#314265}

Patch Set 1 #

Patch Set 2 : unbreak tests #

Total comments: 4

Patch Set 3 : simplify code #

Unified diffs Side-by-side diffs Delta from patch set Stats (+11 lines, -0 lines) Patch
M chrome/browser/ui/cocoa/profiles/profile_chooser_controller.mm View 1 2 2 chunks +11 lines, -0 lines 0 comments Download

Messages

Total messages: 18 (4 generated)
noms (inactive)
Hiya, We get a surprising amount of "Enter doesn't work so keyboard wasn't tested" comments ...
5 years, 10 months ago (2015-02-02 20:20:14 UTC) #2
groby-ooo-7-16
I really hate to be that person, but this completely violates OSX UI guidelines. It's ...
5 years, 10 months ago (2015-02-02 21:17:23 UTC) #3
groby-ooo-7-16
If we're considering key accessibility: What about * Always having a focused item * Making ...
5 years, 10 months ago (2015-02-02 21:57:33 UTC) #4
groby-ooo-7-16
Oh, and withdrawing the NOT part above.
5 years, 10 months ago (2015-02-02 21:57:51 UTC) #5
noms (inactive)
> * Always having a focused item UI is pretty against this as it looks ...
5 years, 10 months ago (2015-02-02 22:05:01 UTC) #6
groby-ooo-7-16
On 2015/02/02 22:05:01, Monica Dinculescu wrote: > > * Always having a focused item > ...
5 years, 10 months ago (2015-02-02 22:11:51 UTC) #7
noms (inactive)
https://codereview.chromium.org/890143005/diff/20001/chrome/browser/ui/cocoa/profiles/profile_chooser_controller.mm File chrome/browser/ui/cocoa/profiles/profile_chooser_controller.mm (right): https://codereview.chromium.org/890143005/diff/20001/chrome/browser/ui/cocoa/profiles/profile_chooser_controller.mm#newcode801 chrome/browser/ui/cocoa/profiles/profile_chooser_controller.mm:801: @interface BackgroundColorHoverButtonContainer : NSView { On 2015/02/02 21:57:33, groby ...
5 years, 10 months ago (2015-02-02 23:01:05 UTC) #8
groby-ooo-7-16
lgtm
5 years, 10 months ago (2015-02-03 00:57:25 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/890143005/40001
5 years, 10 months ago (2015-02-03 00:58:24 UTC) #11
noms (inactive)
On 2015/02/03 00:57:25, groby wrote: > lgtm Woooo thank you!
5 years, 10 months ago (2015-02-03 02:14:16 UTC) #12
commit-bot: I haz the power
Try jobs failed on following builders: win8_chromium_rel on tryserver.chromium.win (None)
5 years, 10 months ago (2015-02-03 02:59:41 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/890143005/40001
5 years, 10 months ago (2015-02-03 04:10:25 UTC) #16
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years, 10 months ago (2015-02-03 04:11:49 UTC) #17
commit-bot: I haz the power
5 years, 10 months ago (2015-02-03 04:13:04 UTC) #18
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/7286b9d038d6d9f95578ced6de7ebaa788970d1d
Cr-Commit-Position: refs/heads/master@{#314265}

Powered by Google App Engine
This is Rietveld 408576698