| Index: chrome/browser/ui/cocoa/passwords/base_passwords_content_view_controller.h
|
| diff --git a/chrome/browser/ui/cocoa/passwords/base_passwords_content_view_controller.h b/chrome/browser/ui/cocoa/passwords/base_passwords_content_view_controller.h
|
| index 3dcb1b084fb6e6f2b2ae582feeb28df8eb1daa26..0519e60aad22e95b27b0c49aec63b94dd0042daa 100644
|
| --- a/chrome/browser/ui/cocoa/passwords/base_passwords_content_view_controller.h
|
| +++ b/chrome/browser/ui/cocoa/passwords/base_passwords_content_view_controller.h
|
| @@ -12,11 +12,14 @@ class ManagePasswordsBubbleModel;
|
| // Handles user interaction with the content view.
|
| @protocol BasePasswordsContentViewDelegate<NSObject>
|
|
|
| +// Returns the model object.
|
| +@property(nonatomic, readonly) ManagePasswordsBubbleModel* model;
|
| +
|
| // The user performed an action that should dismiss the bubble.
|
| - (void)viewShouldDismiss;
|
|
|
| -// Returns the model object.
|
| -@property(nonatomic, readonly) ManagePasswordsBubbleModel* model;
|
| +// The bubble should update its state.
|
| +- (void)refreshBubble;
|
|
|
| @end
|
|
|
| @@ -25,19 +28,18 @@ class ManagePasswordsBubbleModel;
|
| @private
|
| id<BasePasswordsContentViewDelegate> delegate_; // Weak.
|
| }
|
| +@property(nonatomic, assign) id<BasePasswordsContentViewDelegate> delegate;
|
| +
|
| - (instancetype)initWithDelegate:(id<BasePasswordsContentViewDelegate>)delegate;
|
| - (NSButton*)addButton:(NSString*)title
|
| toView:(NSView*)view
|
| target:(id)target
|
| action:(SEL)action;
|
| - (NSTextField*)addTitleLabel:(NSString*)title toView:(NSView*)view;
|
| -- (void)bubbleWillDisappear;
|
|
|
| // Returns the default button for the bubble.
|
| - (NSButton*)defaultButton;
|
|
|
| -@property(nonatomic, assign) id<BasePasswordsContentViewDelegate> delegate;
|
| -
|
| @end
|
|
|
| #endif // CHROME_BROWSER_UI_COCOA_PASSWORDS_BASE_PASSWORDS_CONTENT_VIEW_CONTROLLER_H_
|
|
|