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

Unified Diff: chrome/browser/ui/cocoa/autofill/autofill_dialog_cocoa.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_dialog_cocoa.h
diff --git a/chrome/browser/ui/cocoa/autofill/autofill_dialog_cocoa.h b/chrome/browser/ui/cocoa/autofill/autofill_dialog_cocoa.h
index cb2d8590abc23bf785e2a5af535b8d3cfad373cf..cff4275a83e3976af1acdc4141ec3e1228544558 100644
--- a/chrome/browser/ui/cocoa/autofill/autofill_dialog_cocoa.h
+++ b/chrome/browser/ui/cocoa/autofill/autofill_dialog_cocoa.h
@@ -20,7 +20,7 @@ namespace content {
}
namespace autofill {
- class AutofillDialogController;
+ class AutofillDialogViewDelegate;
}
@class AutofillAccountChooser;
@@ -34,7 +34,7 @@ class AutofillDialogCocoa : public AutofillDialogView,
public TestableAutofillDialogView,
public ConstrainedWindowMacDelegate {
public:
- explicit AutofillDialogCocoa(AutofillDialogController* controller);
+ explicit AutofillDialogCocoa(AutofillDialogViewDelegate* delegate);
virtual ~AutofillDialogCocoa();
// AutofillDialogView implementation:
@@ -78,7 +78,7 @@ class AutofillDialogCocoa : public AutofillDialogView,
virtual void OnConstrainedWindowClosed(
ConstrainedWindowMac* window) OVERRIDE;
- AutofillDialogController* controller() { return controller_; }
+ AutofillDialogViewDelegate* delegate() { return delegate_; }
// Posts a close request on the current message loop.
void PerformClose();
@@ -88,13 +88,13 @@ class AutofillDialogCocoa : public AutofillDialogView,
void CloseNow();
scoped_ptr<ConstrainedWindowMac> constrained_window_;
- base::scoped_nsobject<AutofillDialogWindowController> sheet_controller_;
+ base::scoped_nsobject<AutofillDialogWindowController> sheet_delegate_;
// WeakPtrFactory for deferred close.
base::WeakPtrFactory<AutofillDialogCocoa> close_weak_ptr_factory_;
- // The controller |this| queries for logic and state.
- AutofillDialogController* controller_;
+ // The delegate |this| queries for logic and state.
+ AutofillDialogViewDelegate* delegate_;
};
} // autofill
@@ -117,7 +117,7 @@ class AutofillDialogCocoa : public AutofillDialogView,
// A child view request re-layouting.
- (void)requestRelayout;
-// Validate data. If it is valid, notify the controller that the user would
+// Validate data. If it is valid, notify the delegate that the user would
// like to use the data.
- (IBAction)accept:(id)sender;

Powered by Google App Engine
This is Rietveld 408576698