| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 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 | 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_SUGGESTION_CONTAINER_H_ | 5 #ifndef CHROME_BROWSER_UI_COCOA_AUTOFILL_AUTOFILL_SUGGESTION_CONTAINER_H_ |
| 6 #define CHROME_BROWSER_UI_COCOA_AUTOFILL_AUTOFILL_SUGGESTION_CONTAINER_H_ | 6 #define CHROME_BROWSER_UI_COCOA_AUTOFILL_AUTOFILL_SUGGESTION_CONTAINER_H_ |
| 7 | 7 |
| 8 #import <Cocoa/Cocoa.h> | 8 #import <Cocoa/Cocoa.h> |
| 9 | 9 |
| 10 #include "base/mac/scoped_nsobject.h" | 10 #include "base/mac/scoped_nsobject.h" |
| (...skipping 24 matching lines...) Expand all Loading... |
| 35 } | 35 } |
| 36 | 36 |
| 37 // Auxiliary textfield. See showTextfield: for details. | 37 // Auxiliary textfield. See showTextfield: for details. |
| 38 @property (readonly, nonatomic) AutofillTextField* inputField; | 38 @property (readonly, nonatomic) AutofillTextField* inputField; |
| 39 | 39 |
| 40 // Set the icon for the suggestion. | 40 // Set the icon for the suggestion. |
| 41 - (void)setIcon:(NSImage*)iconImage; | 41 - (void)setIcon:(NSImage*)iconImage; |
| 42 | 42 |
| 43 // Set the main suggestion text and the font used to render that text. | 43 // Set the main suggestion text and the font used to render that text. |
| 44 - (void)setSuggestionText:(NSString*)line1 | 44 - (void)setSuggestionText:(NSString*)line1 |
| 45 line2:(NSString*)line2 | 45 line2:(NSString*)line2; |
| 46 withFont:(NSFont*)font; | |
| 47 | 46 |
| 48 // Shows an auxiliary textfield to the right of the suggestion icon and | 47 // Shows an auxiliary textfield to the right of the suggestion icon and |
| 49 // text. This is currently only used to show a CVC field for the CC section. | 48 // text. This is currently only used to show a CVC field for the CC section. |
| 50 - (void)showInputField:(NSString*)text withIcon:(NSImage*)icon; | 49 - (void)showInputField:(NSString*)text withIcon:(NSImage*)icon; |
| 51 | 50 |
| 52 @end | 51 @end |
| 53 | 52 |
| 54 #endif // CHROME_BROWSER_UI_COCOA_AUTOFILL_AUTOFILL_SUGGESTION_CONTAINER_H_ | 53 #endif // CHROME_BROWSER_UI_COCOA_AUTOFILL_AUTOFILL_SUGGESTION_CONTAINER_H_ |
| OLD | NEW |