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

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: Addressed comments. 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 86d195e080e2e2ed0c359598522c9f29e45db74f..8f67b03c3cbe2d4d9a0828dd3d52aefbc301dc69 100644
--- a/chrome/browser/ui/app_list/search_builder.cc
+++ b/chrome/browser/ui/app_list/search_builder.cc
@@ -326,8 +326,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