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

Unified Diff: chrome/browser/ui/app_list/search_builder.cc

Issue 11414303: Make Google Search autocomplete provider cursor aware. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Created 8 years 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/app_list/search_builder.cc
diff --git a/chrome/browser/ui/app_list/search_builder.cc b/chrome/browser/ui/app_list/search_builder.cc
index a3fab0a782fbe975112f75ce34593495c92e2d69..0acbe039489939c2e41867a108aa15e8107e3595 100644
--- a/chrome/browser/ui/app_list/search_builder.cc
+++ b/chrome/browser/ui/app_list/search_builder.cc
@@ -331,8 +331,9 @@ void SearchBuilder::StartSearch() {
// Omnibox features such as keyword selection/accepting and instant query
// are not implemented.
// TODO(xiyuan): Figure out the features that need to support here.
- controller_->Start(search_box_->text(), string16(), false, false, true,
- AutocompleteInput::ALL_MATCHES);
+ controller_->Start(AutocompleteInput(search_box_->text(), string16::npos,
+ string16(), false, false, true,
+ AutocompleteInput::ALL_MATCHES));
}
void SearchBuilder::StopSearch() {

Powered by Google App Engine
This is Rietveld 408576698