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

Unified Diff: chrome/browser/ui/views/search_view_controller.cc

Issue 10967022: alternate ntp: persist show-search-provider-logo option at chrome://instant (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased Created 8 years, 3 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/prefs/browser_prefs.cc ('k') | chrome/browser/ui/webui/instant_ui.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/search_view_controller.cc
diff --git a/chrome/browser/ui/views/search_view_controller.cc b/chrome/browser/ui/views/search_view_controller.cc
index 5886c4a75c12f5292593cbfb6f4c2bf623ea9d90..e1a078814ebdfedd6b026890af4ce555b681ba1a 100644
--- a/chrome/browser/ui/views/search_view_controller.cc
+++ b/chrome/browser/ui/views/search_view_controller.cc
@@ -475,7 +475,8 @@ void SearchViewController::CreateViews(State state) {
Profile::FromBrowserContext(browser_context_))->
GetDefaultSearchProvider();
- if (default_provider && InstantUI::ShouldShowSearchProviderLogo() &&
+ if (default_provider &&
+ InstantUI::ShouldShowSearchProviderLogo(browser_context_) &&
(TemplateURLPrepopulateData::GetEngineType(default_provider->url()) ==
SEARCH_ENGINE_GOOGLE)) {
default_provider_logo_.reset(new views::ImageView());
« no previous file with comments | « chrome/browser/prefs/browser_prefs.cc ('k') | chrome/browser/ui/webui/instant_ui.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698