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

Unified Diff: chrome/browser/ui/omnibox/omnibox_view.h

Issue 1104513003: Omnibox: Remove Hint Text Code (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: removed WITH_DEFAULT_SEARCH_PROVIDER part of string Created 5 years, 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/ui/omnibox/omnibox_edit_unittest.cc ('k') | chrome/browser/ui/omnibox/omnibox_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/omnibox/omnibox_view.h
diff --git a/chrome/browser/ui/omnibox/omnibox_view.h b/chrome/browser/ui/omnibox/omnibox_view.h
index f60b155d4a620b9bd750469365d237a50a4e47d5..9c55c3d81c024e009314a225f63c9c192a20953c 100644
--- a/chrome/browser/ui/omnibox/omnibox_view.h
+++ b/chrome/browser/ui/omnibox/omnibox_view.h
@@ -60,10 +60,6 @@ class OmniboxView {
// Called when any relevant state changes other than changing tabs.
virtual void Update() = 0;
- // Updates the placeholder text with the value of GetHintText() if hint texts
- // are enabled.
- virtual void UpdatePlaceholderText() = 0;
-
// Asks the browser to load the specified match, using the supplied
// disposition. |alternate_nav_url|, if non-empty, contains the
// alternate navigation URL for for this match. See comments on
@@ -93,11 +89,6 @@ class OmniboxView {
// Returns the resource ID of the icon to show for the current text.
int GetIcon() const;
- // Returns the hint text that should be displayed when there is no text in the
- // omnibox. In keyword mode, this is an empty string. Otherwise, it's
- // instructions to search the user's default search engine or type a URL.
- base::string16 GetHintText() const;
-
// The user text is the text the user has manually keyed in. When present,
// this is shown in preference to the permanent text; hitting escape will
// revert to the permanent text.
« no previous file with comments | « chrome/browser/ui/omnibox/omnibox_edit_unittest.cc ('k') | chrome/browser/ui/omnibox/omnibox_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698