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

Unified Diff: chrome/browser/ui/search/instant_controller.cc

Issue 15732014: InstantExtended: Send SearchProvider suggestions to the page. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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/ui/search/instant_controller.cc
diff --git a/chrome/browser/ui/search/instant_controller.cc b/chrome/browser/ui/search/instant_controller.cc
index 2c2fbd7d05e34b36e5556793830fd67ce6a3b291..edfc2a10058008897c6a1b952b2f4c03c2802570 100644
--- a/chrome/browser/ui/search/instant_controller.cc
+++ b/chrome/browser/ui/search/instant_controller.cc
@@ -621,11 +621,6 @@ void InstantController::HandleAutocompleteResults(
} else {
for (ACProviders::const_iterator provider = providers.begin();
provider != providers.end(); ++provider) {
- // We are talking to remote NTP, skip SearchProvider, since it only echoes
- // suggestions.
- if ((*provider)->type() == AutocompleteProvider::TYPE_SEARCH)
- continue;
-
sreeram 2013/05/24 21:00:59 This will end up sending NAVSUGGEST as well, re-in
Jered 2013/05/28 17:25:30 Done.
for (ACMatches::const_iterator match = (*provider)->matches().begin();
match != (*provider)->matches().end(); ++match) {
InstantAutocompleteResult result;
« 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