OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "base/strings/string16.h" | 10 #include "base/strings/string16.h" |
(...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
191 // Tells the renderer to find a focused element, and if it is a password field | 191 // Tells the renderer to find a focused element, and if it is a password field |
192 // eligible for generation then to trigger generation by responding to the | 192 // eligible for generation then to trigger generation by responding to the |
193 // browser with the message |AutofillHostMsg_ShowPasswordGenerationPopup|. | 193 // browser with the message |AutofillHostMsg_ShowPasswordGenerationPopup|. |
194 IPC_MESSAGE_ROUTED0(AutofillMsg_UserTriggeredGeneratePassword) | 194 IPC_MESSAGE_ROUTED0(AutofillMsg_UserTriggeredGeneratePassword) |
195 | 195 |
196 // Tells the renderer that this password form is not blacklisted. A form can | 196 // Tells the renderer that this password form is not blacklisted. A form can |
197 // be blacklisted if a user chooses "never save passwords for this site". | 197 // be blacklisted if a user chooses "never save passwords for this site". |
198 IPC_MESSAGE_ROUTED1(AutofillMsg_FormNotBlacklisted, | 198 IPC_MESSAGE_ROUTED1(AutofillMsg_FormNotBlacklisted, |
199 autofill::PasswordForm /* form checked */) | 199 autofill::PasswordForm /* form checked */) |
200 | 200 |
201 // Sent when requestAutocomplete() finishes (either succesfully or with an | |
202 // error). If it was a success, the renderer fills the form that requested | |
203 // autocomplete with the |form_data| values input by the user. |message| | |
204 // is printed to the console if non-empty. | |
205 IPC_MESSAGE_ROUTED3(AutofillMsg_RequestAutocompleteResult, | |
206 blink::WebFormElement::AutocompleteResult /* result */, | |
207 base::string16 /* message */, | |
208 autofill::FormData /* form_data */) | |
209 | |
210 // Sent when Autofill manager gets the query response from the Autofill server | 201 // Sent when Autofill manager gets the query response from the Autofill server |
211 // and there are fields classified for password generation in the response. | 202 // and there are fields classified for password generation in the response. |
212 IPC_MESSAGE_ROUTED1( | 203 IPC_MESSAGE_ROUTED1( |
213 AutofillMsg_FoundFormsEligibleForGeneration, | 204 AutofillMsg_FoundFormsEligibleForGeneration, |
214 std::vector<autofill::PasswordFormGenerationData> /* forms */) | 205 std::vector<autofill::PasswordFormGenerationData> /* forms */) |
215 | 206 |
216 // Sent when Autofill manager gets the query response from the Autofill server | 207 // Sent when Autofill manager gets the query response from the Autofill server |
217 // which contains information about username and password fields for some forms. | 208 // which contains information about username and password fields for some forms. |
218 // |predictions| maps forms to their username fields. | 209 // |predictions| maps forms to their username fields. |
219 IPC_MESSAGE_ROUTED1(AutofillMsg_AutofillUsernameAndPasswordDataReceived, | 210 IPC_MESSAGE_ROUTED1(AutofillMsg_AutofillUsernameAndPasswordDataReceived, |
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
292 IPC_MESSAGE_ROUTED0(AutofillHostMsg_PingAck) | 283 IPC_MESSAGE_ROUTED0(AutofillHostMsg_PingAck) |
293 | 284 |
294 // Sent when the current form is no longer focused. | 285 // Sent when the current form is no longer focused. |
295 IPC_MESSAGE_ROUTED0(AutofillHostMsg_FocusNoLongerOnForm) | 286 IPC_MESSAGE_ROUTED0(AutofillHostMsg_FocusNoLongerOnForm) |
296 | 287 |
297 // Sent when a form is filled with Autofill suggestions. | 288 // Sent when a form is filled with Autofill suggestions. |
298 IPC_MESSAGE_ROUTED2(AutofillHostMsg_DidFillAutofillFormData, | 289 IPC_MESSAGE_ROUTED2(AutofillHostMsg_DidFillAutofillFormData, |
299 autofill::FormData /* the form */, | 290 autofill::FormData /* the form */, |
300 base::TimeTicks /* timestamp */) | 291 base::TimeTicks /* timestamp */) |
301 | 292 |
302 // Sent when a form receives a request to do interactive autocomplete. | |
303 IPC_MESSAGE_ROUTED1(AutofillHostMsg_RequestAutocomplete, | |
304 autofill::FormData /* form_data */) | |
305 | |
306 // Send when a text field is done editing. | 293 // Send when a text field is done editing. |
307 IPC_MESSAGE_ROUTED0(AutofillHostMsg_DidEndTextFieldEditing) | 294 IPC_MESSAGE_ROUTED0(AutofillHostMsg_DidEndTextFieldEditing) |
308 | 295 |
309 // Instructs the browser to hide the Autofill popup if it is open. | 296 // Instructs the browser to hide the Autofill popup if it is open. |
310 IPC_MESSAGE_ROUTED0(AutofillHostMsg_HidePopup) | 297 IPC_MESSAGE_ROUTED0(AutofillHostMsg_HidePopup) |
311 | 298 |
312 // Instructs the browser that generation is available for this particular form. | 299 // Instructs the browser that generation is available for this particular form. |
313 // This is used for UMA stats. | 300 // This is used for UMA stats. |
314 IPC_MESSAGE_ROUTED1(AutofillHostMsg_GenerationAvailableForForm, | 301 IPC_MESSAGE_ROUTED1(AutofillHostMsg_GenerationAvailableForForm, |
315 autofill::PasswordForm) | 302 autofill::PasswordForm) |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
357 // Inform browser of data list values for the curent field. | 344 // Inform browser of data list values for the curent field. |
358 IPC_MESSAGE_ROUTED2(AutofillHostMsg_SetDataList, | 345 IPC_MESSAGE_ROUTED2(AutofillHostMsg_SetDataList, |
359 std::vector<base::string16> /* values */, | 346 std::vector<base::string16> /* values */, |
360 std::vector<base::string16> /* labels */) | 347 std::vector<base::string16> /* labels */) |
361 | 348 |
362 // Inform the browser which password form is currently focused, as a response | 349 // Inform the browser which password form is currently focused, as a response |
363 // to the |AutofillMsg_FindFocusedPasswordForm| request. If no password form | 350 // to the |AutofillMsg_FindFocusedPasswordForm| request. If no password form |
364 // is focused, the response will contain an empty |autofill::PasswordForm|. | 351 // is focused, the response will contain an empty |autofill::PasswordForm|. |
365 IPC_MESSAGE_ROUTED1(AutofillHostMsg_FocusedPasswordFormFound, | 352 IPC_MESSAGE_ROUTED1(AutofillHostMsg_FocusedPasswordFormFound, |
366 autofill::PasswordForm) | 353 autofill::PasswordForm) |
OLD | NEW |