| 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 | 8 |
| 9 #include "base/time/time.h" | 9 #include "base/time/time.h" |
| 10 #include "components/autofill/content/common/autofill_param_traits_macros.h" | 10 #include "components/autofill/content/common/autofill_param_traits_macros.h" |
| (...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 142 IPC_MESSAGE_ROUTED1(AutofillMsg_AcceptPasswordAutofillSuggestion, | 142 IPC_MESSAGE_ROUTED1(AutofillMsg_AcceptPasswordAutofillSuggestion, |
| 143 base::string16 /* username value*/) | 143 base::string16 /* username value*/) |
| 144 | 144 |
| 145 // Tells the renderer that this password form is not blacklisted. A form can | 145 // Tells the renderer that this password form is not blacklisted. A form can |
| 146 // be blacklisted if a user chooses "never save passwords for this site". | 146 // be blacklisted if a user chooses "never save passwords for this site". |
| 147 IPC_MESSAGE_ROUTED1(AutofillMsg_FormNotBlacklisted, | 147 IPC_MESSAGE_ROUTED1(AutofillMsg_FormNotBlacklisted, |
| 148 autofill::PasswordForm /* form checked */) | 148 autofill::PasswordForm /* form checked */) |
| 149 | 149 |
| 150 // Sent when requestAutocomplete() finishes (either succesfully or with an | 150 // Sent when requestAutocomplete() finishes (either succesfully or with an |
| 151 // error). If it was a success, the renderer fills the form that requested | 151 // error). If it was a success, the renderer fills the form that requested |
| 152 // autocomplete with the |form_data| values input by the user. | 152 // autocomplete with the |form_data| values input by the user. |message| |
| 153 IPC_MESSAGE_ROUTED2(AutofillMsg_RequestAutocompleteResult, | 153 // is printed to the console if non-empty. |
| 154 IPC_MESSAGE_ROUTED3(AutofillMsg_RequestAutocompleteResult, |
| 154 blink::WebFormElement::AutocompleteResult /* result */, | 155 blink::WebFormElement::AutocompleteResult /* result */, |
| 156 base::string16 /* message */, |
| 155 autofill::FormData /* form_data */) | 157 autofill::FormData /* form_data */) |
| 156 | 158 |
| 157 // Sent when Autofill manager gets the query response from the Autofill server | 159 // Sent when Autofill manager gets the query response from the Autofill server |
| 158 // and there are fields classified as ACCOUNT_CREATION_PASSWORD in the response. | 160 // and there are fields classified as ACCOUNT_CREATION_PASSWORD in the response. |
| 159 IPC_MESSAGE_ROUTED1(AutofillMsg_AccountCreationFormsDetected, | 161 IPC_MESSAGE_ROUTED1(AutofillMsg_AccountCreationFormsDetected, |
| 160 std::vector<autofill::FormData> /* forms */) | 162 std::vector<autofill::FormData> /* forms */) |
| 161 | 163 |
| 162 // Autofill messages sent from the renderer to the browser. | 164 // Autofill messages sent from the renderer to the browser. |
| 163 | 165 |
| 164 // TODO(creis): check in the browser that the renderer actually has permission | 166 // TODO(creis): check in the browser that the renderer actually has permission |
| (...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 254 IPC_MESSAGE_ROUTED4(AutofillHostMsg_ShowPasswordSuggestions, | 256 IPC_MESSAGE_ROUTED4(AutofillHostMsg_ShowPasswordSuggestions, |
| 255 autofill::FormFieldData /* the form field */, | 257 autofill::FormFieldData /* the form field */, |
| 256 gfx::RectF /* input field bounds, window-relative */, | 258 gfx::RectF /* input field bounds, window-relative */, |
| 257 std::vector<base::string16> /* suggestions */, | 259 std::vector<base::string16> /* suggestions */, |
| 258 std::vector<base::string16> /* realms */) | 260 std::vector<base::string16> /* realms */) |
| 259 | 261 |
| 260 // Inform browser of data list values for the curent field. | 262 // Inform browser of data list values for the curent field. |
| 261 IPC_MESSAGE_ROUTED2(AutofillHostMsg_SetDataList, | 263 IPC_MESSAGE_ROUTED2(AutofillHostMsg_SetDataList, |
| 262 std::vector<base::string16> /* values */, | 264 std::vector<base::string16> /* values */, |
| 263 std::vector<base::string16> /* labels */) | 265 std::vector<base::string16> /* labels */) |
| OLD | NEW |