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

Issue 553133002: [Mac] Add text-editing accelerators to the User Manager. (Closed)

Created:
6 years, 3 months ago by noms (inactive)
Modified:
6 years, 3 months ago
Reviewers:
groby-ooo-7-16
CC:
chromium-reviews, tfarina
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

[Mac] Add text-editing accelerators to the User Manager. More specifically, add Cmd+A and Cmd+V for making entering the password less sucky. BUG=394575 TEST=Start Chrome with --enable-new-profile-management. Sign in a profile, and from the avatar bubble, click on "Lock. In the User Manager that shows up, Chrome shortcuts like Cmd+N and Cmd+T shouldn't work, but in the password field of the locked pod things like Cmd+A and Cmd+V should. Committed: https://crrev.com/6a1af5b47462c0ffd3e79041ceeff68bab395b84 Cr-Commit-Position: refs/heads/master@{#295580}

Patch Set 1 : #

Total comments: 5

Patch Set 2 : windows change not needed :/ #

Total comments: 1

Patch Set 3 : rebase #

Patch Set 4 : possibly moar better? #

Total comments: 3

Patch Set 5 : fix whitespace #

Total comments: 2

Patch Set 6 : moar better fo' sho' #

Total comments: 2

Patch Set 7 : fixed comment and useless include #

Patch Set 8 : fix include #

Unified diffs Side-by-side diffs Delta from patch set Stats (+15 lines, -13 lines) Patch
M chrome/browser/ui/cocoa/profiles/user_manager_mac.mm View 1 2 3 4 5 6 7 4 chunks +15 lines, -13 lines 0 comments Download

Messages

Total messages: 21 (5 generated)
noms (inactive)
Hi Rachel and Scott, This CL allows non-chrome accelerators to trickle down to the User ...
6 years, 3 months ago (2014-09-10 15:56:43 UTC) #4
sky
https://codereview.chromium.org/553133002/diff/40001/chrome/browser/ui/views/profiles/user_manager_view.cc File chrome/browser/ui/views/profiles/user_manager_view.cc (right): https://codereview.chromium.org/553133002/diff/40001/chrome/browser/ui/views/profiles/user_manager_view.cc#newcode177 chrome/browser/ui/views/profiles/user_manager_view.cc:177: if (accelerator.key_code() == ui::VKEY_W) { How do you end ...
6 years, 3 months ago (2014-09-10 16:21:16 UTC) #5
groby-ooo-7-16
https://codereview.chromium.org/553133002/diff/40001/chrome/browser/ui/cocoa/profiles/user_manager_mac.mm File chrome/browser/ui/cocoa/profiles/user_manager_mac.mm (right): https://codereview.chromium.org/553133002/diff/40001/chrome/browser/ui/cocoa/profiles/user_manager_mac.mm#newcode63 chrome/browser/ui/cocoa/profiles/user_manager_mac.mm:63: if (commandId == -1 || commandId == IDC_CLOSE_WINDOW || ...
6 years, 3 months ago (2014-09-10 16:38:21 UTC) #6
noms (inactive)
https://codereview.chromium.org/553133002/diff/40001/chrome/browser/ui/cocoa/profiles/user_manager_mac.mm File chrome/browser/ui/cocoa/profiles/user_manager_mac.mm (right): https://codereview.chromium.org/553133002/diff/40001/chrome/browser/ui/cocoa/profiles/user_manager_mac.mm#newcode63 chrome/browser/ui/cocoa/profiles/user_manager_mac.mm:63: if (commandId == -1 || commandId == IDC_CLOSE_WINDOW || ...
6 years, 3 months ago (2014-09-10 16:55:09 UTC) #7
groby-ooo-7-16
I tried to run locally, but of course "service is not available" when I want ...
6 years, 3 months ago (2014-09-10 20:06:40 UTC) #8
noms (inactive)
Answers inline! On 2014/09/10 20:06:40, groby wrote: > I tried to run locally, but of ...
6 years, 3 months ago (2014-09-10 20:14:16 UTC) #9
groby-ooo-7-16
> or pass --enable-new-profile-management Nope. Doesn't work. Only forcing it in chrome://flags works. >> 3) ...
6 years, 3 months ago (2014-09-10 20:20:33 UTC) #11
noms (inactive)
https://codereview.chromium.org/553133002/diff/100001/chrome/browser/ui/cocoa/profiles/user_manager_mac.mm File chrome/browser/ui/cocoa/profiles/user_manager_mac.mm (right): https://codereview.chromium.org/553133002/diff/100001/chrome/browser/ui/cocoa/profiles/user_manager_mac.mm#newcode68 chrome/browser/ui/cocoa/profiles/user_manager_mac.mm:68: isTextEditingCommand = cmdKey && (keyChar == 'a' || keyChar ...
6 years, 3 months ago (2014-09-17 19:45:46 UTC) #12
groby-ooo-7-16
https://codereview.chromium.org/553133002/diff/100001/chrome/browser/ui/cocoa/profiles/user_manager_mac.mm File chrome/browser/ui/cocoa/profiles/user_manager_mac.mm (right): https://codereview.chromium.org/553133002/diff/100001/chrome/browser/ui/cocoa/profiles/user_manager_mac.mm#newcode68 chrome/browser/ui/cocoa/profiles/user_manager_mac.mm:68: isTextEditingCommand = cmdKey && (keyChar == 'a' || keyChar ...
6 years, 3 months ago (2014-09-17 21:42:44 UTC) #13
groby-ooo-7-16
https://codereview.chromium.org/553133002/diff/120001/chrome/browser/ui/cocoa/profiles/user_manager_mac.mm File chrome/browser/ui/cocoa/profiles/user_manager_mac.mm (right): https://codereview.chromium.org/553133002/diff/120001/chrome/browser/ui/cocoa/profiles/user_manager_mac.mm#newcode68 chrome/browser/ui/cocoa/profiles/user_manager_mac.mm:68: isTextEditingCommand = cmdKey && (keyChar == 'a' || keyChar ...
6 years, 3 months ago (2014-09-18 06:35:11 UTC) #14
noms (inactive)
https://codereview.chromium.org/553133002/diff/100001/chrome/browser/ui/cocoa/profiles/user_manager_mac.mm File chrome/browser/ui/cocoa/profiles/user_manager_mac.mm (right): https://codereview.chromium.org/553133002/diff/100001/chrome/browser/ui/cocoa/profiles/user_manager_mac.mm#newcode68 chrome/browser/ui/cocoa/profiles/user_manager_mac.mm:68: isTextEditingCommand = cmdKey && (keyChar == 'a' || keyChar ...
6 years, 3 months ago (2014-09-18 15:59:12 UTC) #15
groby-ooo-7-16
LGTM % nit https://codereview.chromium.org/553133002/diff/140001/chrome/browser/ui/cocoa/profiles/user_manager_mac.mm File chrome/browser/ui/cocoa/profiles/user_manager_mac.mm (right): https://codereview.chromium.org/553133002/diff/140001/chrome/browser/ui/cocoa/profiles/user_manager_mac.mm#newcode18 chrome/browser/ui/cocoa/profiles/user_manager_mac.mm:18: #include "third_party/WebKit/public/web/WebInputEvent.h" nit: transitively included by ...
6 years, 3 months ago (2014-09-18 20:59:56 UTC) #16
noms (inactive)
Yay! Thanks so much! https://codereview.chromium.org/553133002/diff/140001/chrome/browser/ui/cocoa/profiles/user_manager_mac.mm File chrome/browser/ui/cocoa/profiles/user_manager_mac.mm (right): https://codereview.chromium.org/553133002/diff/140001/chrome/browser/ui/cocoa/profiles/user_manager_mac.mm#newcode18 chrome/browser/ui/cocoa/profiles/user_manager_mac.mm:18: #include "third_party/WebKit/public/web/WebInputEvent.h" On 2014/09/18 20:59:56, ...
6 years, 3 months ago (2014-09-18 21:11:50 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/553133002/180001
6 years, 3 months ago (2014-09-18 21:12:58 UTC) #19
commit-bot: I haz the power
Committed patchset #8 (id:180001) as f46d2429b17dca0aa141db00b0b2afa1cd2d3a06
6 years, 3 months ago (2014-09-18 22:12:57 UTC) #20
commit-bot: I haz the power
6 years, 3 months ago (2014-09-18 22:13:51 UTC) #21
Message was sent while issue was closed.
Patchset 8 (id:??) landed as
https://crrev.com/6a1af5b47462c0ffd3e79041ceeff68bab395b84
Cr-Commit-Position: refs/heads/master@{#295580}

Powered by Google App Engine
This is Rietveld 408576698