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

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: fix tests 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..7337442ef792b9714e1888a18adcd39105a32da7 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_->GetSearchTermsType() != ToolbarModel::NO_SEARCH_TERMS) {
const TemplateURL* template_url =
TemplateURLServiceFactory::GetForProfile(profile_)->
GetDefaultSearchProvider();
« no previous file with comments | « chrome/browser/policy/policy_browsertest.cc ('k') | chrome/browser/ui/cocoa/location_bar/location_bar_view_mac_browsertest.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698