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

Unified Diff: chrome/browser/instant/instant_controller.cc

Issue 6955011: Allow site-search to work with --restrict-instant-to-search. (Closed)
Patch Set: With correct base URL Created 9 years, 7 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/instant/instant_controller.cc
diff --git a/chrome/browser/instant/instant_controller.cc b/chrome/browser/instant/instant_controller.cc
index d65c5bcca9f862b1e3ddc4098e56af74d64a021a..fa943ff56cc0f0adeedbfab2389f83960fe96154 100644
--- a/chrome/browser/instant/instant_controller.cc
+++ b/chrome/browser/instant/instant_controller.cc
@@ -649,7 +649,8 @@ bool InstantController::ShouldShowPreviewFor(const AutocompleteMatch& match,
if (cl->HasSwitch(switches::kRestrictInstantToSearch) &&
match.type != AutocompleteMatch::SEARCH_WHAT_YOU_TYPED &&
match.type != AutocompleteMatch::SEARCH_HISTORY &&
- match.type != AutocompleteMatch::SEARCH_SUGGEST) {
+ match.type != AutocompleteMatch::SEARCH_SUGGEST &&
+ match.type != AutocompleteMatch::SEARCH_OTHER_ENGINE) {
return false;
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698