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

Issue 8356028: Add shortcut to show avatar menu (Closed)

Created:
9 years, 2 months ago by sail
Modified:
9 years, 2 months ago
CC:
chromium-reviews, mazda, jennb, derat+watch_chromium.org, Dmitry Titov, jianli, prasadt, dcheng, Paweł Hajdan Jr., binji
Visibility:
Public.

Description

Add shortcut to show avatar menu Shortcut on Views and GTK is Control-Shift-M. Shortcut on Mac is Command-Shift-M. BUG=75782 TEST= Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=107226

Patch Set 1 #

Patch Set 2 : cocoa and gtk support #

Patch Set 3 : lock bar visibility #

Patch Set 4 : fix typo #

Total comments: 6

Patch Set 5 : address review comments #

Total comments: 2

Patch Set 6 : address review comments #

Patch Set 7 : fix build error #

Unified diffs Side-by-side diffs Delta from patch set Stats (+129 lines, -10 lines) Patch
M chrome/app/chrome_command_ids.h View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/app/chrome_dll.rc View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/global_keyboard_shortcuts_mac.mm View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/ui/browser.h View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/ui/browser.cc View 1 2 3 3 chunks +7 lines, -0 lines 0 comments Download
M chrome/browser/ui/browser_window.h View 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/ui/cocoa/browser/avatar_button_controller.h View 1 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/ui/cocoa/browser/avatar_button_controller.mm View 1 2 3 4 5 2 chunks +25 lines, -8 lines 0 comments Download
M chrome/browser/ui/cocoa/browser_window_cocoa.h View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/ui/cocoa/browser_window_cocoa.mm View 1 2 chunks +5 lines, -0 lines 0 comments Download
M chrome/browser/ui/cocoa/browser_window_controller.h View 1 2 3 4 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/ui/cocoa/browser_window_controller.mm View 1 2 3 4 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/ui/gtk/accelerators_gtk.cc View 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/ui/gtk/avatar_menu_button_gtk.h View 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/ui/gtk/avatar_menu_button_gtk.cc View 1 chunk +5 lines, -1 line 0 comments Download
M chrome/browser/ui/gtk/browser_titlebar.h View 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/ui/gtk/browser_window_gtk.h View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/ui/gtk/browser_window_gtk.cc View 1 2 chunks +6 lines, -0 lines 0 comments Download
M chrome/browser/ui/panels/panel.h View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/ui/panels/panel.cc View 1 chunk +5 lines, -0 lines 0 comments Download
M chrome/browser/ui/panels/panel_browser_frame_view.h View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/ui/panels/panel_browser_frame_view.cc View 1 2 3 4 5 6 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/accelerator_table_linux.cc View 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/avatar_menu_button.h View 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/avatar_menu_button.cc View 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/frame/browser_frame.h View 2 chunks +3 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/frame/browser_frame.cc View 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/frame/browser_non_client_frame_view.h View 2 chunks +4 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/frame/browser_view.h View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/ui/views/frame/browser_view.cc View 2 chunks +7 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/frame/glass_browser_frame_view.h View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/ui/views/frame/glass_browser_frame_view.cc View 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/frame/opaque_browser_frame_view.h View 2 chunks +1 line, -1 line 0 comments Download
M chrome/browser/ui/views/frame/opaque_browser_frame_view.cc View 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/frame/popup_non_client_frame_view.h View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/ui/views/frame/popup_non_client_frame_view.cc View 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/test/base/test_browser_window.h View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 19 (0 generated)
sail
rsesek: cocoa erg: gtk pkasting: everything else
9 years, 2 months ago (2011-10-20 01:43:19 UTC) #1
Robert Sesek
What happens if there's no browser window open on Mac? It looks like the command ...
9 years, 2 months ago (2011-10-20 16:32:33 UTC) #2
sail
http://codereview.chromium.org/8356028/diff/2002/chrome/browser/global_keyboard_shortcuts_mac.mm File chrome/browser/global_keyboard_shortcuts_mac.mm (right): http://codereview.chromium.org/8356028/diff/2002/chrome/browser/global_keyboard_shortcuts_mac.mm#newcode54 chrome/browser/global_keyboard_shortcuts_mac.mm:54: {true, true, false, false, 0, 'm', IDC_SHOW_AVATAR_MENU}, On 2011/10/20 ...
9 years, 2 months ago (2011-10-20 20:42:49 UTC) #3
sail
On 2011/10/20 16:32:33, rsesek wrote: > What happens if there's no browser window open on ...
9 years, 2 months ago (2011-10-20 20:44:11 UTC) #4
Elliot Glaysher
The changes in the gtk files are small and lgtm
9 years, 2 months ago (2011-10-20 20:45:13 UTC) #5
Robert Sesek
c/b/u/cocoa LGTM with nit On 2011/10/20 20:44:11, sail wrote: > On 2011/10/20 16:32:33, rsesek wrote: ...
9 years, 2 months ago (2011-10-20 20:49:06 UTC) #6
Robert Sesek
Y U NO SEND MSG RIETVELD?!?!?! http://codereview.chromium.org/8356028/diff/10001/chrome/browser/ui/cocoa/browser/avatar_button_controller.mm File chrome/browser/ui/cocoa/browser/avatar_button_controller.mm (right): http://codereview.chromium.org/8356028/diff/10001/chrome/browser/ui/cocoa/browser/avatar_button_controller.mm#newcode154 chrome/browser/ui/cocoa/browser/avatar_button_controller.mm:154: - (void)showAvatarBubble { ...
9 years, 2 months ago (2011-10-20 20:49:21 UTC) #7
sail
http://codereview.chromium.org/8356028/diff/10001/chrome/browser/ui/cocoa/browser/avatar_button_controller.mm File chrome/browser/ui/cocoa/browser/avatar_button_controller.mm (right): http://codereview.chromium.org/8356028/diff/10001/chrome/browser/ui/cocoa/browser/avatar_button_controller.mm#newcode154 chrome/browser/ui/cocoa/browser/avatar_button_controller.mm:154: - (void)showAvatarBubble { On 2011/10/20 20:49:21, rsesek wrote: > ...
9 years, 2 months ago (2011-10-20 21:08:23 UTC) #8
sail
binji: FYI
9 years, 2 months ago (2011-10-20 21:08:39 UTC) #9
sail
pkasting: PING!
9 years, 2 months ago (2011-10-24 19:53:59 UTC) #10
Peter Kasting
Sorry, somehow I omitted this from my list of code reviews to get to... The ...
9 years, 2 months ago (2011-10-24 21:53:22 UTC) #11
sail
I think changing the parent of the button is a good idea. I'd rather not ...
9 years, 2 months ago (2011-10-24 22:01:42 UTC) #12
Peter Kasting
On 2011/10/24 22:01:42, sail wrote: > Now the only question is who should own the ...
9 years, 2 months ago (2011-10-24 23:05:50 UTC) #13
sail
On 2011/10/24 23:05:50, Peter Kasting wrote: > On 2011/10/24 22:01:42, sail wrote: > > Now ...
9 years, 2 months ago (2011-10-25 17:35:13 UTC) #14
Peter Kasting
On 2011/10/25 17:35:13, sail wrote: > Hey Peter. I moved the button to BrowserFrame but ...
9 years, 2 months ago (2011-10-25 18:11:47 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sail@chromium.org/8356028/13001
9 years, 2 months ago (2011-10-25 18:27:18 UTC) #16
commit-bot: I haz the power
Try job failure for 8356028-13001 (retry) on win_rel for step "compile" (clobber build). It's a ...
9 years, 2 months ago (2011-10-25 20:13:21 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sail@chromium.org/8356028/22001
9 years, 2 months ago (2011-10-25 21:12:12 UTC) #18
commit-bot: I haz the power
9 years, 2 months ago (2011-10-25 22:58:50 UTC) #19
Change committed as 107226

Powered by Google App Engine
This is Rietveld 408576698