Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(115)

Side by Side Diff: chrome/browser/ui/cocoa/autofill/autofill_suggestion_container.h

Issue 21724002: rAc: try really hard not to ellipsize addresses (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: one more Created 7 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698