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 839d7c438a918959216dec0ac73f38fe479d9140..5cefe8f7644efed919d3ad585275960426ecdac3 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 |
@@ -10,7 +10,7 @@ |
class ManagePasswordsBubbleModel; |
// Handles user interaction with the content view. |
-@protocol ManagePasswordsBubbleContentViewDelegate<NSObject> |
+@protocol BasePasswordsContentViewDelegate<NSObject> |
// The user performed an action that should dismiss the bubble. |
- (void)viewShouldDismiss; |
@@ -21,10 +21,11 @@ class ManagePasswordsBubbleModel; |
@end |
// Base class for a state of the password management bubble. |
-@interface ManagePasswordsBubbleContentViewController : NSViewController { |
- id<ManagePasswordsBubbleContentViewDelegate> delegate_; // Weak. |
+@interface BasePasswordsContentViewController : NSViewController { |
+ @private |
+ id<BasePasswordsContentViewDelegate> delegate_; // Weak. |
} |
-- (id)initWithDelegate:(id<ManagePasswordsBubbleContentViewDelegate>)delegate; |
+- (instancetype)initWithDelegate:(id<BasePasswordsContentViewDelegate>)delegate; |
- (NSButton*)addButton:(NSString*)title |
toView:(NSView*)view |
target:(id)target |
@@ -36,8 +37,7 @@ class ManagePasswordsBubbleModel; |
// Returns the default button for the bubble. |
- (NSButton*)defaultButton; |
-@property(nonatomic, assign) |
- id<ManagePasswordsBubbleContentViewDelegate> delegate; |
+@property(nonatomic, assign) id<BasePasswordsContentViewDelegate> delegate; |
@end |