- add sources.
[platform/framework/web/crosswalk.git] / src / chrome / browser / ui / cocoa / autofill / autofill_pop_up_button.h
1 // Copyright 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_POP_UP_BUTTON_H_
6 #define CHROME_BROWSER_UI_COCOA_AUTOFILL_AUTOFILL_POP_UP_BUTTON_H_
7
8 #import <Cocoa/Cocoa.h>
9
10 #include "base/mac/scoped_nsobject.h"
11 #include "chrome/browser/ui/cocoa/autofill/autofill_input_field.h"
12
13 @interface AutofillPopUpButton : NSPopUpButton<AutofillInputField> {
14  @private
15   id<AutofillInputDelegate> delegate_;
16   base::scoped_nsobject<NSString> validityMessage_;
17 }
18
19 @end
20
21 @interface AutofillPopUpCell : NSPopUpButtonCell<AutofillInputCell> {
22  @private
23   BOOL invalid_;
24   NSString* defaultValue_;
25 }
26
27 @end
28
29 #endif // CHROME_BROWSER_UI_COCOA_AUTOFILL_AUTOFILL_POP_UP_BUTTON_H_