| 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 121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 132 | 132 |
| 133 // Tells the renderer that the password field has accept the suggestion. | 133 // Tells the renderer that the password field has accept the suggestion. |
| 134 IPC_MESSAGE_ROUTED1(AutofillMsg_AcceptPasswordAutofillSuggestion, | 134 IPC_MESSAGE_ROUTED1(AutofillMsg_AcceptPasswordAutofillSuggestion, |
| 135 string16 /* username value*/) | 135 string16 /* username value*/) |
| 136 | 136 |
| 137 // Tells the renderer that this password form is not blacklisted. A form can | 137 // Tells the renderer that this password form is not blacklisted. A form can |
| 138 // be blacklisted if a user chooses "never save passwords for this site". | 138 // be blacklisted if a user chooses "never save passwords for this site". |
| 139 IPC_MESSAGE_ROUTED1(AutofillMsg_FormNotBlacklisted, | 139 IPC_MESSAGE_ROUTED1(AutofillMsg_FormNotBlacklisted, |
| 140 content::PasswordForm /* form checked */) | 140 content::PasswordForm /* form checked */) |
| 141 | 141 |
| 142 // Sent when requestAutocomplete() succeeds. Tells the renderer to Autofill the | 142 // Sent when requestAutocomplete() finishes (either succesfully or with an |
| 143 // form that requested autocomplete with the |form_data| values input by the | 143 // error). If it was a success, the renderer fills the form that requested |
| 144 // user. | 144 // autocomplete with the |form_data| values input by the user. |
| 145 IPC_MESSAGE_ROUTED1(AutofillMsg_RequestAutocompleteSuccess, | 145 IPC_MESSAGE_ROUTED2(AutofillMsg_RequestAutocompleteResult, |
| 146 WebKit::WebFormElement::AutocompleteResult /* result */, |
| 146 FormData /* form_data */) | 147 FormData /* form_data */) |
| 147 | 148 |
| 148 // Sent when requestAutocomplete() fails. Currently, this happens when a form is | |
| 149 // requested to be autocompleted with no input or select tags with autocomplete | |
| 150 // attributes. | |
| 151 IPC_MESSAGE_ROUTED0(AutofillMsg_RequestAutocompleteError) | |
| 152 | |
| 153 // Autofill messages sent from the renderer to the browser. | 149 // Autofill messages sent from the renderer to the browser. |
| 154 | 150 |
| 155 // TODO(creis): check in the browser that the renderer actually has permission | 151 // TODO(creis): check in the browser that the renderer actually has permission |
| 156 // for the URL to avoid compromised renderers talking to the browser. | 152 // for the URL to avoid compromised renderers talking to the browser. |
| 157 | 153 |
| 158 // Notification that forms have been seen that are candidates for | 154 // Notification that forms have been seen that are candidates for |
| 159 // filling/submitting by the AutofillManager. | 155 // filling/submitting by the AutofillManager. |
| 160 IPC_MESSAGE_ROUTED2(AutofillHostMsg_FormsSeen, | 156 IPC_MESSAGE_ROUTED2(AutofillHostMsg_FormsSeen, |
| 161 std::vector<FormData> /* forms */, | 157 std::vector<FormData> /* forms */, |
| 162 base::TimeTicks /* timestamp */) | 158 base::TimeTicks /* timestamp */) |
| (...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 249 FormFieldData /* the form field */, | 245 FormFieldData /* the form field */, |
| 250 gfx::Rect /* input field bounds, window-relative */, | 246 gfx::Rect /* input field bounds, window-relative */, |
| 251 std::vector<string16> /* suggestions */) | 247 std::vector<string16> /* suggestions */) |
| 252 | 248 |
| 253 // Inform browser of data list values for the curent field. | 249 // Inform browser of data list values for the curent field. |
| 254 IPC_MESSAGE_ROUTED4(AutofillHostMsg_SetDataList, | 250 IPC_MESSAGE_ROUTED4(AutofillHostMsg_SetDataList, |
| 255 std::vector<string16> /* values */, | 251 std::vector<string16> /* values */, |
| 256 std::vector<string16> /* labels */, | 252 std::vector<string16> /* labels */, |
| 257 std::vector<string16> /* icons */, | 253 std::vector<string16> /* icons */, |
| 258 std::vector<int> /* unique ids */) | 254 std::vector<int> /* unique ids */) |
| OLD | NEW |