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

Unified Diff: components/autofill/core/browser/autofill_driver.h

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: components/autofill/core/browser/autofill_driver.h
diff --git a/components/autofill/core/browser/autofill_driver.h b/components/autofill/core/browser/autofill_driver.h
index df87f63176e9feb4ed1fbd8a1a11d406183a5065..16516433c717cef1faf6077f26019407b85fc276 100644
--- a/components/autofill/core/browser/autofill_driver.h
+++ b/components/autofill/core/browser/autofill_driver.h
@@ -87,8 +87,8 @@ class AutofillDriver {
const base::string16& value) = 0;
// Tells the renderer to preview the node with suggested text.
- virtual void RendererShouldPreviewFieldWithValue(
- const base::string16& value) = 0;
+ virtual void RendererShouldPreviewFieldWithValue(const base::string16& value,
+ size_t match_start) = 0;
// Informs the renderer that the popup has been hidden.
virtual void PopupHidden() = 0;

Powered by Google App Engine
This is Rietveld 408576698