| Index: chrome/browser/ui/cocoa/profiles/avatar_button.h
|
| diff --git a/chrome/browser/ui/cocoa/profiles/avatar_button.h b/chrome/browser/ui/cocoa/profiles/avatar_button.h
|
| index 444110d5c23aba0d8034864e5b78bc701267e4ab..f6ab93acc41181517854467d0ee8aa8050ae445e 100644
|
| --- a/chrome/browser/ui/cocoa/profiles/avatar_button.h
|
| +++ b/chrome/browser/ui/cocoa/profiles/avatar_button.h
|
| @@ -9,12 +9,17 @@
|
|
|
| #import "ui/base/cocoa/hover_image_button.h"
|
|
|
| -// A subclass of HoverImageButton that sends a target-action on right click.
|
| +// A subclass of HoverImageButton that sends a target-action on right click and
|
| +// has an active state.
|
| @interface AvatarButton : HoverImageButton {
|
| @private
|
| SEL rightAction_;
|
| }
|
|
|
| +// YES if the button is active. The button should only be active when the
|
| +// avatar bubble is shown.
|
| +@property(nonatomic, assign) BOOL isActive;
|
| +
|
| // Sets the action that will be called when this button is right clicked.
|
| - (void)setRightAction:(SEL)selector;
|
|
|
|
|