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

Unified Diff: chrome/browser/ui/autofill/autofill_popup_controller_impl.cc

Issue 1208133002: [Autofill/Autocomplete Feature] Substring matching instead of prefix matching. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added |match_start| usage. Created 5 years, 6 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/autofill/autofill_popup_controller_impl.cc
diff --git a/chrome/browser/ui/autofill/autofill_popup_controller_impl.cc b/chrome/browser/ui/autofill/autofill_popup_controller_impl.cc
index d9d2907c34a3b2cf294105e073a2c650c95703cb..1aca9a64d0a4209167f22ff912a90cd278f9040a 100644
--- a/chrome/browser/ui/autofill/autofill_popup_controller_impl.cc
+++ b/chrome/browser/ui/autofill/autofill_popup_controller_impl.cc
@@ -490,7 +490,8 @@ void AutofillPopupControllerImpl::SetSelectedLine(int selected_line) {
if (selected_line_ != kNoSelection) {
delegate_->DidSelectSuggestion(suggestions_[selected_line_].value,
- suggestions_[selected_line_].frontend_id);
+ suggestions_[selected_line_].frontend_id,
+ suggestions_[selected_line_].match_start);
} else {
delegate_->ClearPreviewedForm();
}

Powered by Google App Engine
This is Rietveld 408576698