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

Unified Diff: chrome/browser/ui/views/location_bar/location_bar_view.cc

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/views/location_bar/location_bar_view.cc
diff --git a/chrome/browser/ui/views/location_bar/location_bar_view.cc b/chrome/browser/ui/views/location_bar/location_bar_view.cc
index d2e11d29ef3b4e29fd3845a5ffed601fa57bdf0b..80b0f5f7a54b054c0e05469cfc4a00e6cac25554 100644
--- a/chrome/browser/ui/views/location_bar/location_bar_view.cc
+++ b/chrome/browser/ui/views/location_bar/location_bar_view.cc
@@ -427,7 +427,7 @@ void LocationBarView::Update(const WebContents* tab_for_state_restoring) {
string16 search_provider;
if (!model_->GetInputInProgress() &&
- model_->WouldReplaceSearchURLWithSearchTerms()) {
+ (model_->GetSearchTermsType() != ToolbarModel::NO_SEARCH_TERMS)) {
const TemplateURL* template_url =
TemplateURLServiceFactory::GetForProfile(profile_)->
GetDefaultSearchProvider();
« no previous file with comments | « chrome/browser/ui/toolbar/toolbar_model_unittest.cc ('k') | chrome/browser/ui/views/omnibox/omnibox_view_views.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698