Index: chrome/common/autofill_messages.h |
diff --git a/chrome/common/autofill_messages.h b/chrome/common/autofill_messages.h |
index a2c7fbad163689e63cae8d238af6a7c5ba5797fa..9cfe0f9956d3fd5c86691b50f651be3971a792fd 100644 |
--- a/chrome/common/autofill_messages.h |
+++ b/chrome/common/autofill_messages.h |
@@ -109,9 +109,13 @@ IPC_MESSAGE_ROUTED0(AutofillMsg_SetAutofillActionPreview) |
// Tells the renderer that the Autofill previewed form should be cleared. |
IPC_MESSAGE_ROUTED0(AutofillMsg_ClearPreviewedForm) |
-// Sets the currently selected nodes value. |
+// Sets the currently selected node's value. |
IPC_MESSAGE_ROUTED1(AutofillMsg_SetNodeText, |
- string16) |
+ string16 /* new node text */) |
+ |
+// Sets the currently selected node's value to be the given data list value. |
+IPC_MESSAGE_ROUTED1(AutofillMsg_AcceptDataListSuggestion, |
+ string16 /* accepted data list value */) |
// Tells the renderer to populate the correct password fields with this |
// generated password. |
@@ -215,3 +219,10 @@ IPC_MESSAGE_ROUTED3(AutofillHostMsg_ShowPasswordSuggestions, |
webkit::forms::FormField /* the form field */, |
gfx::Rect /* input field bounds, window-relative */, |
std::vector<string16> /* suggestions */) |
+ |
+// Inform browser of data list values for the curent field. |
+IPC_MESSAGE_ROUTED4(AutofillHostMsg_SetDataList, |
+ std::vector<string16> /* values */, |
+ std::vector<string16> /* labels */, |
+ std::vector<string16> /* icons */, |
+ std::vector<int> /* unique ids */) |