#ifndef CHROME_BROWSER_UI_COCOA_BROWSER_AVATAR_BASE_CONTROLLER_H_
#define CHROME_BROWSER_UI_COCOA_BROWSER_AVATAR_BASE_CONTROLLER_H_
#import <AppKit/AppKit.h>
#import "base/mac/scoped_nsobject.h"
#include "base/memory/scoped_ptr.h"
#include "chrome/browser/ui/browser_window.h"
@class BaseBubbleController;
class Browser;
class ProfileInfoUpdateObserver;
@interface AvatarBaseController : NSViewController {
@protected
Browser* browser_;
base::scoped_nsobject<NSButton> button_;
@private
BaseBubbleController* menuController_;
scoped_ptr<ProfileInfoUpdateObserver> profileInfoObserver_;
}
@property(readonly, nonatomic) NSButton* buttonView;
- (id)initWithBrowser:(Browser*)browser;
- (void)showAvatarBubble:(NSView*)anchor
withMode:(BrowserWindow::AvatarBubbleMode)mode;
@end
@interface AvatarBaseController (ExposedForTesting)
- (BaseBubbleController*)menuController;
@end
#endif