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

Unified Diff: chrome/browser/ui/views/location_bar/location_bar_view.h

Issue 2510373003: Cleanup: Remove "gray text" logic from Omnibox (Closed)
Patch Set: review2 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/views/location_bar/location_bar_view.h
diff --git a/chrome/browser/ui/views/location_bar/location_bar_view.h b/chrome/browser/ui/views/location_bar/location_bar_view.h
index d54d2617c6a289be6273f9bbb4aaceeeefb2e199..b7cc50c541a73f7fda467b34540ddd3a9f86e740 100644
--- a/chrome/browser/ui/views/location_bar/location_bar_view.h
+++ b/chrome/browser/ui/views/location_bar/location_bar_view.h
@@ -193,12 +193,6 @@ class LocationBarView : public LocationBar,
// comments on |ime_inline_autocomplete_view_|.
void SetImeInlineAutocompletion(const base::string16& text);
- // Invoked from OmniboxViewWin to show gray text autocompletion.
- void SetGrayTextAutocompletion(const base::string16& text);
-
- // Returns the current gray text autocompletion.
- base::string16 GetGrayTextAutocompletion() const;
-
// Set if we should show a focus rect while the location entry field is
// focused. Used when the toolbar is in full keyboard accessibility mode.
// Repaints if necessary.
@@ -313,9 +307,6 @@ class LocationBarView : public LocationBar,
// Helper to show the first run info bubble.
void ShowFirstRunBubbleInternal();
- // Returns true if the suggest text is valid.
- bool HasValidSuggestText() const;
-
// Returns text describing the URL's security level, to be placed in the
// security chip.
base::string16 GetSecurityText() const;
@@ -425,10 +416,6 @@ class LocationBarView : public LocationBar,
// Shown if the user has selected a keyword.
SelectedKeywordView* selected_keyword_view_;
- // View responsible for showing suggested text. This is NULL when there is no
- // suggested text.
- views::Label* suggested_text_view_;
-
// Shown if the selected url has a corresponding keyword.
KeywordHintView* keyword_hint_view_;

Powered by Google App Engine
This is Rietveld 408576698