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