| 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 "components/autofill/common/autocheckout_status.h" | 10 #include "components/autofill/common/autocheckout_status.h" |
| (...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 84 | 84 |
| 85 // Autofill messages sent from the browser to the renderer. | 85 // Autofill messages sent from the browser to the renderer. |
| 86 | 86 |
| 87 // Request to parse all the forms without field count limit. | 87 // Request to parse all the forms without field count limit. |
| 88 IPC_MESSAGE_ROUTED0(AutofillMsg_GetAllForms) | 88 IPC_MESSAGE_ROUTED0(AutofillMsg_GetAllForms) |
| 89 | 89 |
| 90 // Reply to the AutofillHostMsg_QueryFormFieldAutofill message with the | 90 // Reply to the AutofillHostMsg_QueryFormFieldAutofill message with the |
| 91 // Autofill suggestions. | 91 // Autofill suggestions. |
| 92 IPC_MESSAGE_ROUTED5(AutofillMsg_SuggestionsReturned, | 92 IPC_MESSAGE_ROUTED5(AutofillMsg_SuggestionsReturned, |
| 93 int /* id of the request message */, | 93 int /* id of the request message */, |
| 94 std::vector<string16> /* names */, | 94 std::vector<base::string16> /* names */, |
| 95 std::vector<string16> /* labels */, | 95 std::vector<base::string16> /* labels */, |
| 96 std::vector<string16> /* icons */, | 96 std::vector<base::string16> /* icons */, |
| 97 std::vector<int> /* unique_ids */) | 97 std::vector<int> /* unique_ids */) |
| 98 | 98 |
| 99 // Reply to the AutofillHostMsg_FillAutofillFormData message with the | 99 // Reply to the AutofillHostMsg_FillAutofillFormData message with the |
| 100 // Autofill form data. | 100 // Autofill form data. |
| 101 IPC_MESSAGE_ROUTED2(AutofillMsg_FormDataFilled, | 101 IPC_MESSAGE_ROUTED2(AutofillMsg_FormDataFilled, |
| 102 int /* id of the request message */, | 102 int /* id of the request message */, |
| 103 FormData /* form data */) | 103 FormData /* form data */) |
| 104 | 104 |
| 105 // Fill a password form and prepare field autocomplete for multiple | 105 // Fill a password form and prepare field autocomplete for multiple |
| 106 // matching logins. Lets the renderer know if it should disable the popup | 106 // matching logins. Lets the renderer know if it should disable the popup |
| (...skipping 14 matching lines...) Expand all Loading... |
| 121 IPC_MESSAGE_ROUTED0(AutofillMsg_ClearForm) | 121 IPC_MESSAGE_ROUTED0(AutofillMsg_ClearForm) |
| 122 | 122 |
| 123 // Tells the renderer that the next form will be filled as a preview. | 123 // Tells the renderer that the next form will be filled as a preview. |
| 124 IPC_MESSAGE_ROUTED0(AutofillMsg_SetAutofillActionPreview) | 124 IPC_MESSAGE_ROUTED0(AutofillMsg_SetAutofillActionPreview) |
| 125 | 125 |
| 126 // Tells the renderer that the Autofill previewed form should be cleared. | 126 // Tells the renderer that the Autofill previewed form should be cleared. |
| 127 IPC_MESSAGE_ROUTED0(AutofillMsg_ClearPreviewedForm) | 127 IPC_MESSAGE_ROUTED0(AutofillMsg_ClearPreviewedForm) |
| 128 | 128 |
| 129 // Sets the currently selected node's value. | 129 // Sets the currently selected node's value. |
| 130 IPC_MESSAGE_ROUTED1(AutofillMsg_SetNodeText, | 130 IPC_MESSAGE_ROUTED1(AutofillMsg_SetNodeText, |
| 131 string16 /* new node text */) | 131 base::string16 /* new node text */) |
| 132 | 132 |
| 133 // Sets the currently selected node's value to be the given data list value. | 133 // Sets the currently selected node's value to be the given data list value. |
| 134 IPC_MESSAGE_ROUTED1(AutofillMsg_AcceptDataListSuggestion, | 134 IPC_MESSAGE_ROUTED1(AutofillMsg_AcceptDataListSuggestion, |
| 135 string16 /* accepted data list value */) | 135 base::string16 /* accepted data list value */) |
| 136 | 136 |
| 137 // Tells the renderer to populate the correct password fields with this | 137 // Tells the renderer to populate the correct password fields with this |
| 138 // generated password. | 138 // generated password. |
| 139 IPC_MESSAGE_ROUTED1(AutofillMsg_GeneratedPasswordAccepted, | 139 IPC_MESSAGE_ROUTED1(AutofillMsg_GeneratedPasswordAccepted, |
| 140 string16 /* generated_password */) | 140 base::string16 /* generated_password */) |
| 141 | 141 |
| 142 // Tells the renderer whether password generation is enabled. | 142 // Tells the renderer whether password generation is enabled. |
| 143 IPC_MESSAGE_ROUTED1(AutofillMsg_PasswordGenerationEnabled, | 143 IPC_MESSAGE_ROUTED1(AutofillMsg_PasswordGenerationEnabled, |
| 144 bool /* is_enabled */) | 144 bool /* is_enabled */) |
| 145 | 145 |
| 146 // Tells the renderer that the password field has accept the suggestion. | 146 // Tells the renderer that the password field has accept the suggestion. |
| 147 IPC_MESSAGE_ROUTED1(AutofillMsg_AcceptPasswordAutofillSuggestion, | 147 IPC_MESSAGE_ROUTED1(AutofillMsg_AcceptPasswordAutofillSuggestion, |
| 148 string16 /* username value*/) | 148 base::string16 /* username value*/) |
| 149 | 149 |
| 150 // Tells the renderer that this password form is not blacklisted. A form can | 150 // Tells the renderer that this password form is not blacklisted. A form can |
| 151 // be blacklisted if a user chooses "never save passwords for this site". | 151 // be blacklisted if a user chooses "never save passwords for this site". |
| 152 IPC_MESSAGE_ROUTED1(AutofillMsg_FormNotBlacklisted, | 152 IPC_MESSAGE_ROUTED1(AutofillMsg_FormNotBlacklisted, |
| 153 content::PasswordForm /* form checked */) | 153 content::PasswordForm /* form checked */) |
| 154 | 154 |
| 155 // Sent when requestAutocomplete() finishes (either succesfully or with an | 155 // Sent when requestAutocomplete() finishes (either succesfully or with an |
| 156 // error). If it was a success, the renderer fills the form that requested | 156 // error). If it was a success, the renderer fills the form that requested |
| 157 // autocomplete with the |form_data| values input by the user. | 157 // autocomplete with the |form_data| values input by the user. |
| 158 IPC_MESSAGE_ROUTED2(AutofillMsg_RequestAutocompleteResult, | 158 IPC_MESSAGE_ROUTED2(AutofillMsg_RequestAutocompleteResult, |
| (...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 235 base::TimeTicks /* timestamp */) | 235 base::TimeTicks /* timestamp */) |
| 236 | 236 |
| 237 // Sent when a form receives a request to do interactive autocomplete. | 237 // Sent when a form receives a request to do interactive autocomplete. |
| 238 IPC_MESSAGE_ROUTED2(AutofillHostMsg_RequestAutocomplete, | 238 IPC_MESSAGE_ROUTED2(AutofillHostMsg_RequestAutocomplete, |
| 239 FormData /* form_data */, | 239 FormData /* form_data */, |
| 240 GURL /* frame_url */) | 240 GURL /* frame_url */) |
| 241 | 241 |
| 242 // Instructs the browser to remove the specified Autocomplete entry from the | 242 // Instructs the browser to remove the specified Autocomplete entry from the |
| 243 // database. | 243 // database. |
| 244 IPC_MESSAGE_ROUTED2(AutofillHostMsg_RemoveAutocompleteEntry, | 244 IPC_MESSAGE_ROUTED2(AutofillHostMsg_RemoveAutocompleteEntry, |
| 245 string16 /* field name */, | 245 base::string16 /* field name */, |
| 246 string16 /* value */) | 246 base::string16 /* value */) |
| 247 | 247 |
| 248 // Instructs the browser to show the Autofill dialog. | 248 // Instructs the browser to show the Autofill dialog. |
| 249 IPC_MESSAGE_ROUTED0(AutofillHostMsg_ShowAutofillDialog) | 249 IPC_MESSAGE_ROUTED0(AutofillHostMsg_ShowAutofillDialog) |
| 250 | 250 |
| 251 // Send when a text field is done editing. | 251 // Send when a text field is done editing. |
| 252 IPC_MESSAGE_ROUTED0(AutofillHostMsg_DidEndTextFieldEditing) | 252 IPC_MESSAGE_ROUTED0(AutofillHostMsg_DidEndTextFieldEditing) |
| 253 | 253 |
| 254 // Instructs the browser to hide the Autofill UI. | 254 // Instructs the browser to hide the Autofill UI. |
| 255 IPC_MESSAGE_ROUTED0(AutofillHostMsg_HideAutofillUi) | 255 IPC_MESSAGE_ROUTED0(AutofillHostMsg_HideAutofillUi) |
| 256 | 256 |
| (...skipping 14 matching lines...) Expand all Loading... |
| 271 // Instruct the browser that a password mapping has been found for a field. | 271 // Instruct the browser that a password mapping has been found for a field. |
| 272 IPC_MESSAGE_ROUTED2(AutofillHostMsg_AddPasswordFormMapping, | 272 IPC_MESSAGE_ROUTED2(AutofillHostMsg_AddPasswordFormMapping, |
| 273 FormFieldData, /* the user name field */ | 273 FormFieldData, /* the user name field */ |
| 274 PasswordFormFillData /* password pairings */) | 274 PasswordFormFillData /* password pairings */) |
| 275 | 275 |
| 276 // Instruct the browser to show a popup with the following suggestions from the | 276 // Instruct the browser to show a popup with the following suggestions from the |
| 277 // password manager. | 277 // password manager. |
| 278 IPC_MESSAGE_ROUTED3(AutofillHostMsg_ShowPasswordSuggestions, | 278 IPC_MESSAGE_ROUTED3(AutofillHostMsg_ShowPasswordSuggestions, |
| 279 FormFieldData /* the form field */, | 279 FormFieldData /* the form field */, |
| 280 gfx::RectF /* input field bounds, window-relative */, | 280 gfx::RectF /* input field bounds, window-relative */, |
| 281 std::vector<string16> /* suggestions */) | 281 std::vector<base::string16> /* suggestions */) |
| 282 | 282 |
| 283 // Inform browser of data list values for the curent field. | 283 // Inform browser of data list values for the curent field. |
| 284 IPC_MESSAGE_ROUTED4(AutofillHostMsg_SetDataList, | 284 IPC_MESSAGE_ROUTED4(AutofillHostMsg_SetDataList, |
| 285 std::vector<string16> /* values */, | 285 std::vector<base::string16> /* values */, |
| 286 std::vector<string16> /* labels */, | 286 std::vector<base::string16> /* labels */, |
| 287 std::vector<string16> /* icons */, | 287 std::vector<base::string16> /* icons */, |
| 288 std::vector<int> /* unique ids */) | 288 std::vector<int> /* unique ids */) |
| OLD | NEW |