| OLD | NEW |
| 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CHROME_BROWSER_UI_COCOA_AUTOFILL_AUTOFILL_ACCOUNT_CHOOSER_H_ | 5 #ifndef CHROME_BROWSER_UI_COCOA_AUTOFILL_AUTOFILL_ACCOUNT_CHOOSER_H_ |
| 6 #define CHROME_BROWSER_UI_COCOA_AUTOFILL_AUTOFILL_ACCOUNT_CHOOSER_H_ | 6 #define CHROME_BROWSER_UI_COCOA_AUTOFILL_AUTOFILL_ACCOUNT_CHOOSER_H_ |
| 7 | 7 |
| 8 #import <Cocoa/Cocoa.h> | 8 #import <Cocoa/Cocoa.h> |
| 9 | 9 |
| 10 #include "base/memory/scoped_nsobject.h" | 10 #include "base/mac/scoped_nsobject.h" |
| 11 | 11 |
| 12 namespace autofill { | 12 namespace autofill { |
| 13 class AutofillDialogController; | 13 class AutofillDialogController; |
| 14 } | 14 } |
| 15 | 15 |
| 16 @class MenuButton; | 16 @class MenuButton; |
| 17 | 17 |
| 18 @interface AutofillAccountChooser : NSView { | 18 @interface AutofillAccountChooser : NSView { |
| 19 @private | 19 @private |
| 20 scoped_nsobject<NSButton> link_; | 20 base::scoped_nsobject<NSButton> link_; |
| 21 scoped_nsobject<MenuButton> popup_; | 21 base::scoped_nsobject<MenuButton> popup_; |
| 22 scoped_nsobject<NSImageView> icon_; | 22 base::scoped_nsobject<NSImageView> icon_; |
| 23 autofill::AutofillDialogController* controller_; // weak. | 23 autofill::AutofillDialogController* controller_; // weak. |
| 24 } | 24 } |
| 25 | 25 |
| 26 - (id)initWithFrame:(NSRect)frame | 26 - (id)initWithFrame:(NSRect)frame |
| 27 controller:(autofill::AutofillDialogController*)controller; | 27 controller:(autofill::AutofillDialogController*)controller; |
| 28 - (void)update; | 28 - (void)update; |
| 29 | 29 |
| 30 @end | 30 @end |
| 31 | 31 |
| 32 #endif // CHROME_BROWSER_UI_COCOA_AUTOFILL_AUTOFILL_ACCOUNT_CHOOSER_H_ | 32 #endif // CHROME_BROWSER_UI_COCOA_AUTOFILL_AUTOFILL_ACCOUNT_CHOOSER_H_ |
| OLD | NEW |