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

Unified Diff: chrome/browser/ui/cocoa/autofill/autofill_sign_in_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_sign_in_container.mm
diff --git a/chrome/browser/ui/cocoa/autofill/autofill_sign_in_container.mm b/chrome/browser/ui/cocoa/autofill/autofill_sign_in_container.mm
index 3bf043ae0b2694acbb34db3c60beb3dee74b69e3..a2f98f0a0e5efbaa33e07d3c8fd28a774d0a8aa5 100644
--- a/chrome/browser/ui/cocoa/autofill/autofill_sign_in_container.mm
+++ b/chrome/browser/ui/cocoa/autofill/autofill_sign_in_container.mm
@@ -8,16 +8,16 @@
#include "base/strings/sys_string_conversions.h"
#include "chrome/browser/profiles/profile.h"
-#include "chrome/browser/ui/autofill/autofill_dialog_controller.h"
+#include "chrome/browser/ui/autofill/autofill_dialog_view_delegate.h"
#include "components/autofill/content/browser/wallet/wallet_service_url.h"
#include "content/public/browser/web_contents.h"
#include "content/public/browser/web_contents_view.h"
@implementation AutofillSignInContainer
-- (id)initWithController:(autofill::AutofillDialogController*)controller {
+- (id)initWithDelegate:(autofill::AutofillDialogViewDelegate*)delegate {
if (self = [super init]) {
- controller_ = controller;
+ delegate_ = delegate;
}
return self;
}
@@ -25,7 +25,7 @@
- (void)loadView {
webContents_.reset(
content::WebContents::Create(
- content::WebContents::CreateParams(controller_->profile())));
+ content::WebContents::CreateParams(delegate_->profile())));
NSView* webContentView = webContents_->GetView()->GetNativeView();
[self setView:webContentView];
}

Powered by Google App Engine
This is Rietveld 408576698