diff options
author | mirandac@chromium.org <mirandac@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-10-27 15:53:46 +0000 |
---|---|---|
committer | mirandac@chromium.org <mirandac@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-10-27 15:53:46 +0000 |
commit | 0339765bba60104c098aeacc02f10ae629f4a494 (patch) | |
tree | 4973928039ece8f4ba9f8a5631ced5559a7561cc /chrome/browser/views | |
parent | e94f1860db455c3af9e8e245505b2335e5cf1be5 (diff) | |
download | chromium_src-0339765bba60104c098aeacc02f10ae629f4a494.zip chromium_src-0339765bba60104c098aeacc02f10ae629f4a494.tar.gz chromium_src-0339765bba60104c098aeacc02f10ae629f4a494.tar.bz2 |
Add logo display for fourth search engine in search engine selection dialog.
BUG=57993
TEST=Set the search engine on your (non-Chrome) default browser to be NOT in the top three for your region.
For USA, for example, you could use Baidu or Aol Search. Start Chrome with --first-run switch on an empty profile.
You should see the fourth search engine selection represented by a logo, not just text (if it's included in the list of logos for which we have images).
Review URL: http://codereview.chromium.org/4109001
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@64074 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/views')
-rw-r--r-- | chrome/browser/views/first_run_search_engine_view.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/views/first_run_search_engine_view.cc b/chrome/browser/views/first_run_search_engine_view.cc index 9f086cd..6688d9e 100644 --- a/chrome/browser/views/first_run_search_engine_view.cc +++ b/chrome/browser/views/first_run_search_engine_view.cc @@ -62,7 +62,7 @@ SearchEngineChoice::SearchEngineChoice(views::ButtonListener* listener, use_images = true; #endif int logo_id = search_engine_->logo_id(); - if (use_images && logo_id > 0) { + if (use_images && logo_id != kNoSearchEngineLogo) { is_image_label_ = true; views::ImageView* logo_image = new views::ImageView(); SkBitmap* logo_bmp = |