| 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 51a349ef96a09115321daabaa41953c556b3aa34..062c1352c6cf01f509e0d2aaf3c0f60e8f6afd89 100644
|
| --- a/chrome/browser/ui/cocoa/profiles/avatar_button_controller.h
|
| +++ b/chrome/browser/ui/cocoa/profiles/avatar_button_controller.h
|
| @@ -20,9 +20,16 @@ class Browser;
|
| // Whether the signed in profile has an authentication error. Used to
|
| // display an error icon next to the button text.
|
| BOOL hasError_;
|
| +
|
| + // The window associated with the avatar button. Weak.
|
| + NSWindow* window_;
|
| }
|
| -// Designated initializer.
|
| -- (id)initWithBrowser:(Browser*)browser;
|
| +// Designated initializer. The parameter |window| is required because
|
| +// browser->window() might be null when the initalizer is called.
|
| +- (id)initWithBrowser:(Browser*)browser window:(NSWindow*)window;
|
| +
|
| +// Returns YES if the browser window's frame color is dark.
|
| +- (BOOL)isFrameColorDark;
|
|
|
| // Overridden so that we can change the active state of the avatar button.
|
| - (void)showAvatarBubbleAnchoredAt:(NSView*)anchor
|
|
|