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

Unified Diff: chrome/browser/ui/cocoa/profiles/avatar_button_controller.h

Issue 2459073003: [Mac] Implement an active state for the avatar button (Closed)
Patch Set: Updated comment Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/cocoa/profiles/avatar_button_controller.h
diff --git a/chrome/browser/ui/cocoa/profiles/avatar_button_controller.h b/chrome/browser/ui/cocoa/profiles/avatar_button_controller.h
index 8594029aa1f0250024fb4673ccc2597972f3c661..51a349ef96a09115321daabaa41953c556b3aa34 100644
--- a/chrome/browser/ui/cocoa/profiles/avatar_button_controller.h
+++ b/chrome/browser/ui/cocoa/profiles/avatar_button_controller.h
@@ -24,6 +24,13 @@ class Browser;
// Designated initializer.
- (id)initWithBrowser:(Browser*)browser;
+// Overridden so that we can change the active state of the avatar button.
+- (void)showAvatarBubbleAnchoredAt:(NSView*)anchor
+ withMode:(BrowserWindow::AvatarBubbleMode)mode
+ withServiceType:(signin::GAIAServiceType)serviceType
+ fromAccessPoint:(signin_metrics::AccessPoint)accessPoint;
+- (void)bubbleWillClose:(NSNotification*)notif;
+
@end
#endif // CHROME_BROWSER_UI_COCOA_PROFILES_AVATAR_BUTTON_CONTROLLER_H_
« no previous file with comments | « chrome/browser/ui/cocoa/profiles/avatar_button.mm ('k') | chrome/browser/ui/cocoa/profiles/avatar_button_controller.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698