Index: chrome/browser/ui/cocoa/browser/avatar_menu_bubble_controller.h |
diff --git a/chrome/browser/ui/cocoa/browser/avatar_menu_bubble_controller.h b/chrome/browser/ui/cocoa/browser/avatar_menu_bubble_controller.h |
index 01c3dce16ac26eaf8dc1400685a642892598d744..f3f77f4eca2e6c3bde86922c8ad880b9ffd6396e 100644 |
--- a/chrome/browser/ui/cocoa/browser/avatar_menu_bubble_controller.h |
+++ b/chrome/browser/ui/cocoa/browser/avatar_menu_bubble_controller.h |
@@ -24,6 +24,9 @@ class Browser; |
// Array of the below view controllers. |
scoped_nsobject<NSMutableArray> items_; |
+ |
+ // Is set to true if the managed user has clicked on Switch Users. |
+ BOOL expanded_; |
} |
// Designated initializer. The browser is passed to the model for profile |
@@ -31,7 +34,7 @@ class Browser; |
- (id)initWithBrowser:(Browser*)parentBrowser |
anchoredAt:(NSPoint)point; |
-// Creats a new profile. |
+// Creates a new profile. |
- (IBAction)newProfile:(id)sender; |
// Switches to a given profile. |sender| is an AvatarMenuItemController. |
@@ -40,6 +43,10 @@ class Browser; |
// Edits a given profile. |sender| is an AvatarMenuItemController. |
- (IBAction)editProfile:(id)sender; |
+// Switches from the managed user avatar menu to the normal avatar menu which |
+// allows to switch profiles. |
+- (IBAction)switchProfile:(id)sender; |
+ |
@end |
//////////////////////////////////////////////////////////////////////////////// |