- add sources.
[platform/framework/web/crosswalk.git] / src / chrome / browser / ui / cocoa / autofill / autofill_account_chooser.h
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
3 // found in the LICENSE file.
4
5 #ifndef CHROME_BROWSER_UI_COCOA_AUTOFILL_AUTOFILL_ACCOUNT_CHOOSER_H_
6 #define CHROME_BROWSER_UI_COCOA_AUTOFILL_AUTOFILL_ACCOUNT_CHOOSER_H_
7
8 #import <Cocoa/Cocoa.h>
9
10 #include "base/mac/scoped_nsobject.h"
11
12 namespace autofill {
13   class AutofillDialogViewDelegate;
14 }
15
16 @class MenuButton;
17
18 @interface AutofillAccountChooser : NSView {
19  @private
20   base::scoped_nsobject<NSButton> link_;
21   base::scoped_nsobject<MenuButton> popup_;
22   base::scoped_nsobject<NSImageView> icon_;
23   autofill::AutofillDialogViewDelegate* delegate_;  // weak.
24 }
25
26 - (id)initWithFrame:(NSRect)frame
27          delegate:(autofill::AutofillDialogViewDelegate*)delegate;
28 - (void)update;
29 - (void)performLayout;
30
31 @end
32
33 #endif  // CHROME_BROWSER_UI_COCOA_AUTOFILL_AUTOFILL_ACCOUNT_CHOOSER_H_