Disable view source for Developer Tools.
[chromium-blink-merge.git] / chrome / browser / ui / cocoa / autofill / autofill_account_chooser.h
blob75a50a7201e9710c586abeca613da4437114ba00
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.
5 #ifndef CHROME_BROWSER_UI_COCOA_AUTOFILL_AUTOFILL_ACCOUNT_CHOOSER_H_
6 #define CHROME_BROWSER_UI_COCOA_AUTOFILL_AUTOFILL_ACCOUNT_CHOOSER_H_
8 #import <Cocoa/Cocoa.h>
10 #include "base/mac/scoped_nsobject.h"
12 namespace autofill {
13 class AutofillDialogViewDelegate;
16 @class MenuButton;
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.
26 - (id)initWithFrame:(NSRect)frame
27 delegate:(autofill::AutofillDialogViewDelegate*)delegate;
28 - (void)update;
29 - (void)performLayout;
31 @end
33 #endif // CHROME_BROWSER_UI_COCOA_AUTOFILL_AUTOFILL_ACCOUNT_CHOOSER_H_