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

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: 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..92331d01ccb1800391c153e2e5826d92edee9544 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_->GetSearchTermType() != ToolbarModel::SEARCH_TERM_NONE) {
Peter Kasting 2013/04/25 19:42:54 Nit: File style: parens around binary subexpressio
sail 2013/04/25 22:18:46 Done.
const TemplateURL* template_url =
TemplateURLServiceFactory::GetForProfile(profile_)->
GetDefaultSearchProvider();

Powered by Google App Engine
This is Rietveld 408576698