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

Unified Diff: chrome/common/autofill_messages.h

Issue 10443084: Add Datalist Support to New Autofill UI (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years, 7 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/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 */)

Powered by Google App Engine
This is Rietveld 408576698