#ifndef CHROME_BROWSER_UI_COCOA_AUTOFILL_AUTOFILL_SIGN_IN_CONTAINER_H_
#define CHROME_BROWSER_UI_COCOA_AUTOFILL_AUTOFILL_SIGN_IN_CONTAINER_H_
#import <Cocoa/Cocoa.h>
#include "base/memory/scoped_ptr.h"
namespace autofill {
class AutofillDialogCocoa;
class AutofillDialogSignInDelegate;
}
namespace content {
class WebContents;
class NavigationController;
}
@interface AutofillSignInContainer : NSViewController {
@private
autofill::AutofillDialogCocoa* dialog_;
scoped_ptr<content::WebContents> webContents_;
scoped_ptr<autofill::AutofillDialogSignInDelegate> signInDelegate_;
NSSize maxSize_;
NSSize minSize_;
NSSize preferredSize_;
}
@property(assign, nonatomic) NSSize preferredSize;
- (id)initWithDialog:(autofill::AutofillDialogCocoa*)dialog;
- (void)loadSignInPage;
- (content::NavigationController*)navigationController;
- (void)constrainSizeToMinimum:(NSSize)minSize maximum:(NSSize)maximum;
- (content::WebContents*)webContents;
@end
#endif