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

Side by Side 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, 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // Multiply-included message file, hence no include guard. 5 // Multiply-included message file, hence no include guard.
6 6
7 #include <string> 7 #include <string>
8 8
9 #include "base/time.h" 9 #include "base/time.h"
10 #include "content/public/common/webkit_param_traits.h" 10 #include "content/public/common/webkit_param_traits.h"
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
102 102
103 // Clears the currently displayed Autofill results. 103 // Clears the currently displayed Autofill results.
104 IPC_MESSAGE_ROUTED0(AutofillMsg_ClearForm) 104 IPC_MESSAGE_ROUTED0(AutofillMsg_ClearForm)
105 105
106 // Tells the renderer that the next form will be filled as a preview. 106 // Tells the renderer that the next form will be filled as a preview.
107 IPC_MESSAGE_ROUTED0(AutofillMsg_SetAutofillActionPreview) 107 IPC_MESSAGE_ROUTED0(AutofillMsg_SetAutofillActionPreview)
108 108
109 // Tells the renderer that the Autofill previewed form should be cleared. 109 // Tells the renderer that the Autofill previewed form should be cleared.
110 IPC_MESSAGE_ROUTED0(AutofillMsg_ClearPreviewedForm) 110 IPC_MESSAGE_ROUTED0(AutofillMsg_ClearPreviewedForm)
111 111
112 // Sets the currently selected nodes value. 112 // Sets the currently selected node's value.
113 IPC_MESSAGE_ROUTED1(AutofillMsg_SetNodeText, 113 IPC_MESSAGE_ROUTED1(AutofillMsg_SetNodeText,
114 string16) 114 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.
115 115
116 // Sets the currently selected node's value to be the given data list value.
117 IPC_MESSAGE_ROUTED1(AutofillMsg_AcceptDataListSuggestion,
118 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.
119
116 // Tells the renderer to populate the correct password fields with this 120 // Tells the renderer to populate the correct password fields with this
117 // generated password. 121 // generated password.
118 IPC_MESSAGE_ROUTED1(AutofillMsg_GeneratedPasswordAccepted, 122 IPC_MESSAGE_ROUTED1(AutofillMsg_GeneratedPasswordAccepted,
119 string16 /* generated_password */) 123 string16 /* generated_password */)
120 124
121 // Tells the renderer whether password generation is enabled. 125 // Tells the renderer whether password generation is enabled.
122 IPC_MESSAGE_ROUTED1(AutofillMsg_PasswordGenerationEnabled, 126 IPC_MESSAGE_ROUTED1(AutofillMsg_PasswordGenerationEnabled,
123 bool /* is_enabled */) 127 bool /* is_enabled */)
124 128
125 // Tells the renderer that the password field has accept the suggestion. 129 // Tells the renderer that the password field has accept the suggestion.
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
207 IPC_MESSAGE_ROUTED2(AutofillHostMsg_AddPasswordFormMapping, 211 IPC_MESSAGE_ROUTED2(AutofillHostMsg_AddPasswordFormMapping,
208 webkit::forms::FormField, /* the user name field */ 212 webkit::forms::FormField, /* the user name field */
209 webkit::forms::PasswordFormFillData /* password pairings */) 213 webkit::forms::PasswordFormFillData /* password pairings */)
210 214
211 // Instruct the browser to show a popup with the following suggestions from the 215 // Instruct the browser to show a popup with the following suggestions from the
212 // password manager. 216 // password manager.
213 IPC_MESSAGE_ROUTED3(AutofillHostMsg_ShowPasswordSuggestions, 217 IPC_MESSAGE_ROUTED3(AutofillHostMsg_ShowPasswordSuggestions,
214 webkit::forms::FormField /* the form field */, 218 webkit::forms::FormField /* the form field */,
215 gfx::Rect /* input field bounds, window-relative */, 219 gfx::Rect /* input field bounds, window-relative */,
216 std::vector<string16> /* suggestions */) 220 std::vector<string16> /* suggestions */)
221
222 // Inform browser of data list values for the curent field.
223 IPC_MESSAGE_ROUTED4(AutofillHostMsg_SetDataList,
224 std::vector<string16> /* values */,
225 std::vector<string16> /* labels */,
226 std::vector<string16> /* icons */,
227 std::vector<int> /* unique ids */)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698