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

Unified Diff: chrome/browser/ui/cocoa/autofill/autofill_details_container.mm

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_details_container.mm
diff --git a/chrome/browser/ui/cocoa/autofill/autofill_details_container.mm b/chrome/browser/ui/cocoa/autofill/autofill_details_container.mm
index 1b0de2ca17560bee0726cb0273cbdc7b3aba04c6..be2867e1b412726f9d3d98f60f659b37263dde20 100644
--- a/chrome/browser/ui/cocoa/autofill/autofill_details_container.mm
+++ b/chrome/browser/ui/cocoa/autofill/autofill_details_container.mm
@@ -7,7 +7,7 @@
#include <algorithm>
#include "base/mac/foundation_util.h"
-#include "chrome/browser/ui/autofill/autofill_dialog_controller.h"
+#include "chrome/browser/ui/autofill/autofill_dialog_view_delegate.h"
#import "chrome/browser/ui/cocoa/autofill/autofill_section_container.h"
#import "chrome/browser/ui/cocoa/info_bubble_view.h"
#include "skia/ext/skia_utils_mac.h"
@@ -26,16 +26,16 @@ SkColor const kWarningColor = 0xffde4932; // SkColorSetRGB(0xde, 0x49, 0x32);
@implementation AutofillDetailsContainer
-- (id)initWithController:(autofill::AutofillDialogController*)controller {
+- (id)initWithDelegate:(autofill::AutofillDialogViewDelegate*)delegate {
if (self = [super init]) {
- controller_ = controller;
+ delegate_ = delegate;
}
return self;
}
- (void)addSection:(autofill::DialogSection)section {
base::scoped_nsobject<AutofillSectionContainer> sectionContainer(
- [[AutofillSectionContainer alloc] initWithController:controller_
+ [[AutofillSectionContainer alloc] initWithDelegate:delegate_
forSection:section]);
[sectionContainer setValidationDelegate:self];
[details_ addObject:sectionContainer];

Powered by Google App Engine
This is Rietveld 408576698