| Index: chrome/browser/cocoa/location_bar/autocomplete_text_field_cell.h
|
| diff --git a/chrome/browser/cocoa/location_bar/autocomplete_text_field_cell.h b/chrome/browser/cocoa/location_bar/autocomplete_text_field_cell.h
|
| index d1150e2f5db1926c4431358d2ce1a5e505ce0509..ddf71c93309a60ab8adce89ab8aaea57c33abf17 100644
|
| --- a/chrome/browser/cocoa/location_bar/autocomplete_text_field_cell.h
|
| +++ b/chrome/browser/cocoa/location_bar/autocomplete_text_field_cell.h
|
| @@ -8,8 +8,6 @@
|
|
|
| #import "chrome/browser/cocoa/styled_text_field_cell.h"
|
|
|
| -#include "base/scoped_nsobject.h"
|
| -
|
| @class AutocompleteTextField;
|
| class LocationBarDecoration;
|
|
|
| @@ -24,25 +22,8 @@ class LocationBarDecoration;
|
| // from outside in. Decorations are owned by |LocationBarViewMac|.
|
| std::vector<LocationBarDecoration*> leftDecorations_;
|
| std::vector<LocationBarDecoration*> rightDecorations_;
|
| -
|
| - // Set if there is a string to display as a hint on the right-hand
|
| - // side of the field. Exclusive WRT |keywordString_|;
|
| - scoped_nsobject<NSAttributedString> hintString_;
|
| }
|
|
|
| -// Chooses |anImage| only if all pieces won't fit w/in |width|.
|
| -// Inputs must be non-nil.
|
| -- (void)setKeywordHintPrefix:(NSString*)prefixString
|
| - image:(NSImage*)anImage
|
| - suffix:(NSString*)suffixString
|
| - availableWidth:(CGFloat)width;
|
| -
|
| -// Suppresses hint entirely if |aString| won't fit w/in |width|.
|
| -// String must be non-nil.
|
| -- (void)setSearchHintString:(NSString*)aString
|
| - availableWidth:(CGFloat)width;
|
| -- (void)clearHint;
|
| -
|
| // Clear |leftDecorations_| and |rightDecorations_|.
|
| - (void)clearDecorations;
|
|
|
| @@ -88,11 +69,3 @@ class LocationBarDecoration;
|
| - (NSRect)textCursorFrameForFrame:(NSRect)cellFrame;
|
|
|
| @end
|
| -
|
| -// Internal methods here exposed for unit testing.
|
| -@interface AutocompleteTextFieldCell (UnitTesting)
|
| -
|
| -@property(nonatomic, readonly) NSAttributedString* hintString;
|
| -@property(nonatomic, readonly) NSAttributedString* hintIconLabel;
|
| -
|
| -@end
|
|
|