| OLD | NEW |
| (Empty) | |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef CHROME_BROWSER_UI_COCOA_AUTOFILL_AUTOFILL_POPUP_CONTENT_VIEW_H_ |
| 6 #define CHROME_BROWSER_UI_COCOA_AUTOFILL_AUTOFILL_POPUP_CONTENT_VIEW_H_ |
| 7 |
| 8 #import <Cocoa/Cocoa.h> |
| 9 |
| 10 #import "ui/base/cocoa/base_view.h" |
| 11 |
| 12 class AutofillPopupController; |
| 13 class AutofillPopupViewMac; |
| 14 |
| 15 // Draws the native Autofill popup view on Mac. |
| 16 @interface AutofillPopupViewCocoa : BaseView { |
| 17 @private |
| 18 // The cross-platform controller for this view. |
| 19 __weak AutofillPopupController* controller_; |
| 20 } |
| 21 |
| 22 // Designated initializer. |
| 23 - (id)initWithController:(AutofillPopupController*)controller |
| 24 frame:(NSRect)frame; |
| 25 |
| 26 // Informs the view that its controller has been (or will imminently be) |
| 27 // destroyed. |
| 28 - (void)controllerDestroyed; |
| 29 |
| 30 @end |
| 31 |
| 32 #endif // CHROME_BROWSER_UI_COCOA_AUTOFILL_AUTOFILL_POPUP_CONTENT_VIEW_H_ |
| OLD | NEW |