| Index: chrome/browser/ui/views/frame/browser_non_client_frame_view_ash.cc
|
| diff --git a/chrome/browser/ui/views/frame/browser_non_client_frame_view_ash.cc b/chrome/browser/ui/views/frame/browser_non_client_frame_view_ash.cc
|
| index 32683c1535109142d32b245c2126ff373f37e3ef..378448f67213980245258338e3dae0a31dc4f99b 100644
|
| --- a/chrome/browser/ui/views/frame/browser_non_client_frame_view_ash.cc
|
| +++ b/chrome/browser/ui/views/frame/browser_non_client_frame_view_ash.cc
|
| @@ -456,7 +456,12 @@ gfx::ImageSkia BrowserNonClientFrameViewAsh::GetFaviconForTabIconView() {
|
| void BrowserNonClientFrameViewAsh::ButtonPressed(views::Button* sender,
|
| const ui::Event& event) {
|
| DCHECK(sender == new_avatar_button());
|
| - chrome::ExecuteCommand(browser_view()->browser(), IDC_SHOW_AVATAR_MENU);
|
| + int command = IDC_SHOW_AVATAR_MENU;
|
| + if (event.IsMouseEvent() &&
|
| + static_cast<const ui::MouseEvent&>(event).IsRightMouseButton()) {
|
| + command = IDC_SHOW_FAST_USER_SWITCHER;
|
| + }
|
| + chrome::ExecuteCommand(browser_view()->browser(), command);
|
| }
|
|
|
| ///////////////////////////////////////////////////////////////////////////////
|
|
|