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

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

Issue 1570783003: [Autofill] Move functions from the AutofillPopupController to AutofillPopupLayoutModel (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: size_t -> int Created 4 years, 11 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_popup_view_cocoa.h
diff --git a/chrome/browser/ui/cocoa/autofill/autofill_popup_view_cocoa.h b/chrome/browser/ui/cocoa/autofill/autofill_popup_view_cocoa.h
index 4850667cdc5781542d0fbbd7c2625f4c982a05a2..7cdcaad41a0e66704645116c243eace1c8909214 100644
--- a/chrome/browser/ui/cocoa/autofill/autofill_popup_view_cocoa.h
+++ b/chrome/browser/ui/cocoa/autofill/autofill_popup_view_cocoa.h
@@ -12,6 +12,7 @@
namespace autofill {
class AutofillPopupController;
+class AutofillPopupViewCocoaDelegate;
} // namespace autofill
// Draws the native Autofill popup view on Mac.
@@ -19,11 +20,14 @@ class AutofillPopupController;
@private
// The cross-platform controller for this view.
autofill::AutofillPopupController* controller_; // weak
+ // The delegate back to the AutofillPopupViewBridge.
+ autofill::AutofillPopupViewCocoaDelegate* delegate_; // weak
}
// Designated initializer.
- (id)initWithController:(autofill::AutofillPopupController*)controller
- frame:(NSRect)frame;
+ frame:(NSRect)frame
+ delegate:(autofill::AutofillPopupViewCocoaDelegate*)delegate;
// Informs the view that its controller has been (or will imminently be)
// destroyed.

Powered by Google App Engine
This is Rietveld 408576698