Index: chrome/common/autofill_messages.h |
diff --git a/chrome/common/autofill_messages.h b/chrome/common/autofill_messages.h |
index fa171767b4bbbfd5e1ea466af512cd5bfef67740..c07e9f9e990444dce297c69a91952c391866e000 100644 |
--- a/chrome/common/autofill_messages.h |
+++ b/chrome/common/autofill_messages.h |
@@ -109,10 +109,14 @@ 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) |
Ilya Sherman
2012/05/30 21:55:43
nit: Please annotate this parameter with a /* desc
csharp
2012/05/31 14:20:26
Done.
|
+// Sets the currently selected node's value to be the given data list value. |
+IPC_MESSAGE_ROUTED1(AutofillMsg_AcceptDataListSuggestion, |
+ string16) |
Ilya Sherman
2012/05/30 21:55:43
nit: Please annotate this parameter with a /* desc
csharp
2012/05/31 14:20:26
Done.
|
+ |
// Tells the renderer to populate the correct password fields with this |
// generated password. |
IPC_MESSAGE_ROUTED1(AutofillMsg_GeneratedPasswordAccepted, |
@@ -214,3 +218,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 */) |