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

Issue 378693003: [Mac] Cmd+W should close the User Manager (Closed)

Created:
6 years, 5 months ago by noms (inactive)
Modified:
6 years, 5 months ago
CC:
chromium-reviews, jdduke (slow)
Project:
chromium
Visibility:
Public.

Description

[Mac] Cmd+W should close the User Manager This implementation is similar to that in ui/cocoa/autofill/autofill_sign_in_container.mm. BUG=364644 TEST=Start Chrome with --new-profile-management turned on. From the avatar menu, select "Not <name>". The User Manager should show up. Cmd+W should close it, but other accelerators (eg. Cmd+t) should not work. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=282390

Patch Set 1 #

Total comments: 11

Patch Set 2 : rebase #

Patch Set 3 : rachel comments #

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

Messages

Total messages: 13 (0 generated)
noms (inactive)
I've accelerated ALL the things. Please take a look & thanks for helping me sort ...
6 years, 5 months ago (2014-07-07 23:06:05 UTC) #1
groby-ooo-7-16
jdduke for insights into RenderWidget keyboard event handling. AFAICT, we should be save to forward ...
6 years, 5 months ago (2014-07-08 23:31:28 UTC) #2
jdduke (slow)
On 2014/07/08 23:31:28, groby wrote: > jdduke for insights into RenderWidget keyboard event handling. AFAICT, ...
6 years, 5 months ago (2014-07-09 14:10:08 UTC) #3
jochen (gone - plz use gerrit)
I punt to Avi
6 years, 5 months ago (2014-07-09 14:15:10 UTC) #4
Avi (use Gerrit)
What groby says, mostly. I'm not really sure of how the event handling is working ...
6 years, 5 months ago (2014-07-09 14:26:43 UTC) #5
noms (inactive)
https://codereview.chromium.org/378693003/diff/1/chrome/browser/ui/cocoa/profiles/user_manager_mac.mm File chrome/browser/ui/cocoa/profiles/user_manager_mac.mm (right): https://codereview.chromium.org/378693003/diff/1/chrome/browser/ui/cocoa/profiles/user_manager_mac.mm#newcode48 chrome/browser/ui/cocoa/profiles/user_manager_mac.mm:48: UserManagerWebContentsDelegate(NSWindow* window) : window_(window) {} On 2014/07/08 23:31:28, groby ...
6 years, 5 months ago (2014-07-09 18:06:56 UTC) #6
Avi (use Gerrit)
This looks reasonable to me. LGTM if groby is happy.
6 years, 5 months ago (2014-07-09 18:08:50 UTC) #7
groby-ooo-7-16
Code per se is LGTM - if app-modal dialog is really the status we desire ...
6 years, 5 months ago (2014-07-09 19:48:13 UTC) #8
noms (inactive)
https://codereview.chromium.org/378693003/diff/1/chrome/browser/ui/cocoa/profiles/user_manager_mac.mm File chrome/browser/ui/cocoa/profiles/user_manager_mac.mm (right): https://codereview.chromium.org/378693003/diff/1/chrome/browser/ui/cocoa/profiles/user_manager_mac.mm#newcode57 chrome/browser/ui/cocoa/profiles/user_manager_mac.mm:57: [BrowserWindowUtils getCommandId:event] != IDC_CLOSE_WINDOW) Trying to soothe some worries: ...
6 years, 5 months ago (2014-07-09 21:08:14 UTC) #9
groby-ooo-7-16
SLGTM
6 years, 5 months ago (2014-07-09 21:15:04 UTC) #10
noms (inactive)
The CQ bit was checked by noms@chromium.org
6 years, 5 months ago (2014-07-10 14:03:54 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/noms@chromium.org/378693003/40001
6 years, 5 months ago (2014-07-10 14:04:42 UTC) #12
commit-bot: I haz the power
6 years, 5 months ago (2014-07-10 19:16:36 UTC) #13
Message was sent while issue was closed.
Change committed as 282390

Powered by Google App Engine
This is Rietveld 408576698