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

Unified Diff: chrome/browser/ui/cocoa/location_bar/location_bar_view_mac.mm

Issue 14259008: Instant Extended: Add prominent search term support (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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
Index: chrome/browser/ui/cocoa/location_bar/location_bar_view_mac.mm
diff --git a/chrome/browser/ui/cocoa/location_bar/location_bar_view_mac.mm b/chrome/browser/ui/cocoa/location_bar/location_bar_view_mac.mm
index 779a9b5b2dda8fff7395a987779a266842484732..596254f8f2135259303148f28e75ec33480bcf1c 100644
--- a/chrome/browser/ui/cocoa/location_bar/location_bar_view_mac.mm
+++ b/chrome/browser/ui/cocoa/location_bar/location_bar_view_mac.mm
@@ -787,7 +787,7 @@ void LocationBarViewMac::UpdatePlusDecorationVisibility() {
string16 LocationBarViewMac::GetSearchProviderName() const {
if (!toolbar_model_->GetInputInProgress() &&
- toolbar_model_->WouldReplaceSearchURLWithSearchTerms()) {
+ toolbar_model_->GetSearchTermType() != ToolbarModel::SEARCH_TERM_NONE) {
const TemplateURL* template_url =
TemplateURLServiceFactory::GetForProfile(profile_)->
GetDefaultSearchProvider();

Powered by Google App Engine
This is Rietveld 408576698