| 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..9ae2c684f1790376a4a5e4cd39567c3f11e1ea47 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,43 @@
|
|
|
| namespace autofill {
|
| class AutofillPopupController;
|
| +class AutofillPopupViewDelegate;
|
| } // namespace autofill
|
|
|
| +@interface AutofillPopupBaseViewCocoa : BaseView {
|
| + @private
|
| + __weak autofill::AutofillPopupViewDelegate* delegate_;
|
| +}
|
| +
|
| +- (NSColor*)backgroundColor;
|
| +- (NSColor*)borderColor;
|
| +- (NSColor*)separatorColor;
|
| +- (NSColor*)highlightColor;
|
| +- (NSColor*)nameColor;
|
| +- (NSColor*)warningColor;
|
| +- (NSColor*)subtextColor;
|
| +
|
| +// Informs the view that its controller has been (or will imminently be)
|
| +// destroyed.
|
| +- (void)controllerDestroyed;
|
| +
|
| +- (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;
|
| +
|
| +// Messages from AutofillPopupViewBridge:
|
| +- (void)updateBoundsAndRedrawPopup;
|
| +- (void)showPopup;
|
| +- (void)hidePopup;
|
| +@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_;
|
| @@ -24,9 +57,7 @@ class AutofillPopupController;
|
| - (id)initWithController:(autofill::AutofillPopupController*)controller
|
| frame:(NSRect)frame;
|
|
|
| -// Informs the view that its controller has been (or will imminently be)
|
| -// destroyed.
|
| -- (void)controllerDestroyed;
|
| +- (void)invalidateRow:(size_t)row;
|
|
|
| @end
|
|
|
|
|