OLD | NEW |
---|---|
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 "chrome/common/common_param_traits_macros.h" | 10 #include "chrome/common/common_param_traits_macros.h" |
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
128 | 128 |
129 // Tells the renderer that the password field has accept the suggestion. | 129 // Tells the renderer that the password field has accept the suggestion. |
130 IPC_MESSAGE_ROUTED1(AutofillMsg_AcceptPasswordAutofillSuggestion, | 130 IPC_MESSAGE_ROUTED1(AutofillMsg_AcceptPasswordAutofillSuggestion, |
131 string16 /* username value*/) | 131 string16 /* username value*/) |
132 | 132 |
133 // Tells the renderer that this password form is not blacklisted. A form can | 133 // Tells the renderer that this password form is not blacklisted. A form can |
134 // be blacklisted if a user chooses "never save passwords for this site". | 134 // be blacklisted if a user chooses "never save passwords for this site". |
135 IPC_MESSAGE_ROUTED1(AutofillMsg_FormNotBlacklisted, | 135 IPC_MESSAGE_ROUTED1(AutofillMsg_FormNotBlacklisted, |
136 content::PasswordForm /* form checked */) | 136 content::PasswordForm /* form checked */) |
137 | 137 |
138 // Sent when interactive autocomplete finishes. | |
139 IPC_MESSAGE_ROUTED2(AutofillMsg_RequestAutocompleteFinished, | |
140 int /* id of this message */, | |
jam
2012/10/26 20:09:38
nit: here and below, by convention what's inside t
Dan Beam
2012/10/26 20:58:39
Done.
| |
141 bool /* whether the request succeeded */) | |
142 | |
138 // Autofill messages sent from the renderer to the browser. | 143 // Autofill messages sent from the renderer to the browser. |
139 | 144 |
140 // Notification that forms have been seen that are candidates for | 145 // Notification that forms have been seen that are candidates for |
141 // filling/submitting by the AutofillManager. | 146 // filling/submitting by the AutofillManager. |
142 IPC_MESSAGE_ROUTED2(AutofillHostMsg_FormsSeen, | 147 IPC_MESSAGE_ROUTED2(AutofillHostMsg_FormsSeen, |
143 std::vector<FormData> /* forms */, | 148 std::vector<FormData> /* forms */, |
144 base::TimeTicks /* timestamp */) | 149 base::TimeTicks /* timestamp */) |
145 | 150 |
146 // Notification that password forms have been seen that are candidates for | 151 // Notification that password forms have been seen that are candidates for |
147 // filling/submitting by the password manager. | 152 // filling/submitting by the password manager. |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
184 FormFieldData /* the form field */, | 189 FormFieldData /* the form field */, |
185 int /* profile unique ID */) | 190 int /* profile unique ID */) |
186 | 191 |
187 // Sent when a form is previewed with Autofill suggestions. | 192 // Sent when a form is previewed with Autofill suggestions. |
188 IPC_MESSAGE_ROUTED0(AutofillHostMsg_DidPreviewAutofillFormData) | 193 IPC_MESSAGE_ROUTED0(AutofillHostMsg_DidPreviewAutofillFormData) |
189 | 194 |
190 // Sent when a form is filled with Autofill suggestions. | 195 // Sent when a form is filled with Autofill suggestions. |
191 IPC_MESSAGE_ROUTED1(AutofillHostMsg_DidFillAutofillFormData, | 196 IPC_MESSAGE_ROUTED1(AutofillHostMsg_DidFillAutofillFormData, |
192 base::TimeTicks /* timestamp */) | 197 base::TimeTicks /* timestamp */) |
193 | 198 |
199 // Sent when a form receives a request to do interactive autocomplete. | |
200 IPC_MESSAGE_ROUTED2(AutofillHostMsg_RequestAutocomplete, | |
201 int /* id of this message */, | |
202 FormData /* the form */) | |
203 | |
194 // Instructs the browser to remove the specified Autocomplete entry from the | 204 // Instructs the browser to remove the specified Autocomplete entry from the |
195 // database. | 205 // database. |
196 IPC_MESSAGE_ROUTED2(AutofillHostMsg_RemoveAutocompleteEntry, | 206 IPC_MESSAGE_ROUTED2(AutofillHostMsg_RemoveAutocompleteEntry, |
197 string16 /* field name */, | 207 string16 /* field name */, |
198 string16 /* value */) | 208 string16 /* value */) |
199 | 209 |
200 // Instructs the browser to show the Autofill dialog. | 210 // Instructs the browser to show the Autofill dialog. |
201 IPC_MESSAGE_ROUTED0(AutofillHostMsg_ShowAutofillDialog) | 211 IPC_MESSAGE_ROUTED0(AutofillHostMsg_ShowAutofillDialog) |
202 | 212 |
203 // Send when a text field is done editing. | 213 // Send when a text field is done editing. |
(...skipping 21 matching lines...) Expand all Loading... | |
225 FormFieldData /* the form field */, | 235 FormFieldData /* the form field */, |
226 gfx::Rect /* input field bounds, window-relative */, | 236 gfx::Rect /* input field bounds, window-relative */, |
227 std::vector<string16> /* suggestions */) | 237 std::vector<string16> /* suggestions */) |
228 | 238 |
229 // Inform browser of data list values for the curent field. | 239 // Inform browser of data list values for the curent field. |
230 IPC_MESSAGE_ROUTED4(AutofillHostMsg_SetDataList, | 240 IPC_MESSAGE_ROUTED4(AutofillHostMsg_SetDataList, |
231 std::vector<string16> /* values */, | 241 std::vector<string16> /* values */, |
232 std::vector<string16> /* labels */, | 242 std::vector<string16> /* labels */, |
233 std::vector<string16> /* icons */, | 243 std::vector<string16> /* icons */, |
234 std::vector<int> /* unique ids */) | 244 std::vector<int> /* unique ids */) |
OLD | NEW |