Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(859)

Unified Diff: chrome/browser/ui/cocoa/autofill/autofill_main_container.h

Issue 21692002: Rename AutofillDialogController to AutofillDialogViewDelegate. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase. Created 7 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/cocoa/autofill/autofill_main_container.h
diff --git a/chrome/browser/ui/cocoa/autofill/autofill_main_container.h b/chrome/browser/ui/cocoa/autofill/autofill_main_container.h
index 9b5e12356f6319a3ef3196480469b52e829eb6c9..f4be2d1e043ed3b22de20e7c9481b10f056e504f 100644
--- a/chrome/browser/ui/cocoa/autofill/autofill_main_container.h
+++ b/chrome/browser/ui/cocoa/autofill/autofill_main_container.h
@@ -19,7 +19,7 @@
@class HyperlinkTextView;
namespace autofill {
- class AutofillDialogController;
+ class AutofillDialogViewDelegate;
}
// NSViewController for the main portion of the autofill dialog. Contains
@@ -36,7 +36,7 @@ namespace autofill {
AutofillDialogWindowController* target_;
// Weak. Owns the dialog.
- autofill::AutofillDialogController* controller_;
+ autofill::AutofillDialogViewDelegate* delegate_;
// Preferred size for legal documents.
NSSize legalDocumentsSize_;
@@ -48,15 +48,15 @@ namespace autofill {
@property(assign, nonatomic) AutofillDialogWindowController* target;
// Designated initializer.
-- (id)initWithController:(autofill::AutofillDialogController*)controller;
+- (id)initWithDelegate:(autofill::AutofillDialogViewDelegate*)delegate;
// Sets the anchor point for the notificationView_.
- (void)setAnchorView:(NSView*)anchorView;
-// Returns the view controller responsible for |section|.
+// Returns the view delegate responsible for |section|.
- (AutofillSectionContainer*)sectionForId:(autofill::DialogSection)section;
-// Called when the controller-maintained suggestions model has changed.
+// Called when the delegate-maintained suggestions model has changed.
- (void)modelChanged;
// Get status of "Save in Chrome" checkbox.
« no previous file with comments | « chrome/browser/ui/cocoa/autofill/autofill_dialog_cocoa.mm ('k') | chrome/browser/ui/cocoa/autofill/autofill_main_container.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698