Index: chrome/browser/ui/cocoa/profiles/avatar_base_controller.mm |
diff --git a/chrome/browser/ui/cocoa/profiles/avatar_base_controller.mm b/chrome/browser/ui/cocoa/profiles/avatar_base_controller.mm |
index a841a94f7fe97f38e476ce2db2c80be6e395786b..a5f9f2515ac4d259a7ddc3c7b441e9852499cb67 100644 |
--- a/chrome/browser/ui/cocoa/profiles/avatar_base_controller.mm |
+++ b/chrome/browser/ui/cocoa/profiles/avatar_base_controller.mm |
@@ -218,6 +218,11 @@ class ProfileInfoUpdateObserver : public ProfileInfoCacheObserver, |
ProfileMetrics::LogProfileOpenMethod(ProfileMetrics::ICON_AVATAR_BUBBLE); |
} |
+- (void)closeAvatarBubble { |
+ if (menuController_ != nil) |
groby-ooo-7-16
2015/05/15 16:16:24
nit: No need to check - you can send messages to n
gogerald1
2015/05/19 23:35:12
Done.
|
+ [menuController_ close]; |
+} |
+ |
- (IBAction)buttonClicked:(id)sender { |
BrowserWindow::AvatarBubbleMode mode = |
BrowserWindow::AVATAR_BUBBLE_MODE_DEFAULT; |