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

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

Issue 267183002: Password manager: Implement password generation UI for Mac. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 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 c51a6ed8d061e6ed1544759e3113ecbb4f427321..9bf54b420abf8bc02d5c85eae33afdc44a63774d 100644
--- a/chrome/browser/ui/cocoa/autofill/autofill_popup_view_cocoa.h
+++ b/chrome/browser/ui/cocoa/autofill/autofill_popup_view_cocoa.h
@@ -11,10 +11,26 @@
namespace autofill {
class AutofillPopupController;
+class AutofillPopupViewDelegate;
} // namespace autofill
+@interface AutofillPopupBaseViewCocoa : BaseView {
+ @private
+ __weak autofill::AutofillPopupViewDelegate* delegate_;
+}
+
+- (id)initWithAutofillPopupViewDelegate:(autofill::AutofillPopupViewDelegate*)delegate
+ frame:(NSRect)frame;
+
+ // Draw the popup's background and border.
+- (void)drawBackgroundAndBorderInRect:(NSRect)dirtyRect;
+
+// Draws a thin separator in the popup UI.
+- (void)drawSeparatorWithBounds:(NSRect)bounds;
+@end
+
// Draws the native Autofill popup view on Mac.
-@interface AutofillPopupViewCocoa : BaseView {
+@interface AutofillPopupViewCocoa : AutofillPopupBaseViewCocoa {
@private
// The cross-platform controller for this view.
__weak autofill::AutofillPopupController* controller_;

Powered by Google App Engine
This is Rietveld 408576698