diff options
author | csilv@chromium.org <csilv@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-02-28 19:40:04 +0000 |
---|---|---|
committer | csilv@chromium.org <csilv@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-02-28 19:40:04 +0000 |
commit | 625f12fa9952840a95eb6f7d24518db3fecf76a7 (patch) | |
tree | 6e1b3270a54aa0ea9450127aad99c95e053f6f2e /chrome/browser/ui | |
parent | c91ef06826355057b0d8ecfafe0069a9235bd050 (diff) | |
download | chromium_src-625f12fa9952840a95eb6f7d24518db3fecf76a7.zip chromium_src-625f12fa9952840a95eb6f7d24518db3fecf76a7.tar.gz chromium_src-625f12fa9952840a95eb6f7d24518db3fecf76a7.tar.bz2 |
web-ui settings: Remove unsupported search field attributes, add placeholder text.
BUG=72462
TEST=Verify that popup menu icon is no longer shown on search menu, but placeholder text is.
Review URL: http://codereview.chromium.org/6597025
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76242 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/ui')
-rw-r--r-- | chrome/browser/ui/webui/options/core_options_handler.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/chrome/browser/ui/webui/options/core_options_handler.cc b/chrome/browser/ui/webui/options/core_options_handler.cc index 8739756..5c42fdb 100644 --- a/chrome/browser/ui/webui/options/core_options_handler.cc +++ b/chrome/browser/ui/webui/options/core_options_handler.cc @@ -41,6 +41,8 @@ void CoreOptionsHandler::GetLocalizedValues( // Search RegisterTitle(localized_strings, "searchPage", IDS_OPTIONS_SEARCH_PAGE_TITLE); + localized_strings->SetString("searchPlaceholder", + l10n_util::GetStringUTF16(IDS_OPTIONS_SEARCH_PLACEHOLDER)); localized_strings->SetString("searchPageNoMatches", l10n_util::GetStringUTF16(IDS_OPTIONS_SEARCH_PAGE_NO_MATCHES)); localized_strings->SetString("searchPageHelpLabel", |