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

Unified Diff: components/autofill/content/common/autofill_messages.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/content/common/autofill_messages.h
diff --git a/components/autofill/content/common/autofill_messages.h b/components/autofill/content/common/autofill_messages.h
index 90565e97cac8346d427d5e1fe8461cd99f3c9961..f318a9589f95c7591633640f80f5019ae63ee747 100644
--- a/components/autofill/content/common/autofill_messages.h
+++ b/components/autofill/content/common/autofill_messages.h
@@ -169,8 +169,9 @@ IPC_MESSAGE_ROUTED1(AutofillMsg_FillFieldWithValue,
base::string16 /* value */)
// Sets the suggested value for the currently previewed node.
-IPC_MESSAGE_ROUTED1(AutofillMsg_PreviewFieldWithValue,
- base::string16 /* value */)
+IPC_MESSAGE_ROUTED2(AutofillMsg_PreviewFieldWithValue,
+ base::string16 /* value */,
+ int /* suggestion start offset */)
// Sets the currently selected node's value to be the given data list value.
IPC_MESSAGE_ROUTED1(AutofillMsg_AcceptDataListSuggestion,
@@ -189,9 +190,10 @@ IPC_MESSAGE_ROUTED2(AutofillMsg_FillPasswordSuggestion,
// Tells the renderer to preview the username and password with the given
// values.
-IPC_MESSAGE_ROUTED2(AutofillMsg_PreviewPasswordSuggestion,
+IPC_MESSAGE_ROUTED3(AutofillMsg_PreviewPasswordSuggestion,
base::string16 /* username */,
- base::string16 /* password */)
+ base::string16 /* password */,
+ int /* suggestion start offset */)
// Tells the renderer to find the focused password form (assuming it exists).
// Renderer is expected to respond with the message

Powered by Google App Engine
This is Rietveld 408576698