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

Unified Diff: chrome/browser/ui/cocoa/location_bar/autocomplete_text_field.h

Issue 2510373003: Cleanup: Remove "gray text" logic from Omnibox (Closed)
Patch Set: mac Created 4 years, 1 month 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/cocoa/location_bar/autocomplete_text_field.h
diff --git a/chrome/browser/ui/cocoa/location_bar/autocomplete_text_field.h b/chrome/browser/ui/cocoa/location_bar/autocomplete_text_field.h
index f17405bddbf2d42fa5233d8e970dc70a403a82f7..a9f1a5f81c984f5886314c92e9c81ba5cd265b69 100644
--- a/chrome/browser/ui/cocoa/location_bar/autocomplete_text_field.h
+++ b/chrome/browser/ui/cocoa/location_bar/autocomplete_text_field.h
@@ -169,12 +169,6 @@ class AutocompleteTextFieldObserver {
// via -[NSView addToolTipRect:owner:userData:].
- (void)addToolTip:(NSString*)tooltip forRect:(NSRect)aRect;
-// Sets the suggest text that shows at the end of the field's normal text.
-// This can't be simply appended to the field's text storage because that
-// will end any pending IME session.
-- (void)setGrayTextAutocompletion:(NSString*)suggestText
- textColor:(NSColor*)suggestColor;
-
- (NSString*)suggestText;
- (NSColor*)suggestColor;
@@ -183,15 +177,4 @@ class AutocompleteTextFieldObserver {
@end
-namespace autocomplete_text_field {
-
-// Draw gray text suggestion in |controlView|.
-void DrawGrayTextAutocompletion(NSAttributedString* mainText,
- NSString* suggestText,
- NSColor* suggestColor,
- NSView* controlView,
- NSRect frame);
-
-} // namespace autocomplete_text_field
-
#endif // CHROME_BROWSER_UI_COCOA_AUTOCOMPLETE_TEXT_FIELD_H_

Powered by Google App Engine
This is Rietveld 408576698