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 133 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
144 // generated password. | 144 // generated password. |
145 IPC_MESSAGE_ROUTED1(AutofillMsg_GeneratedPasswordAccepted, | 145 IPC_MESSAGE_ROUTED1(AutofillMsg_GeneratedPasswordAccepted, |
146 base::string16 /* generated_password */) | 146 base::string16 /* generated_password */) |
147 | 147 |
148 // Tells the renderer that the user accepted a password autofill suggestion, | 148 // Tells the renderer that the user accepted a password autofill suggestion, |
149 // and that renderer should set the username and password to the given values. | 149 // and that renderer should set the username and password to the given values. |
150 IPC_MESSAGE_ROUTED2(AutofillMsg_AcceptPasswordAutofillSuggestion, | 150 IPC_MESSAGE_ROUTED2(AutofillMsg_AcceptPasswordAutofillSuggestion, |
151 base::string16 /* username */, | 151 base::string16 /* username */, |
152 base::string16 /* password */) | 152 base::string16 /* password */) |
153 | 153 |
| 154 // Tells the renderer to preview the username and password with the given |
| 155 // values. |
| 156 IPC_MESSAGE_ROUTED2(AutofillMsg_PreviewPasswordAutofillSuggestion, |
| 157 base::string16 /* username */, |
| 158 base::string16 /* password */) |
| 159 |
154 // Tells the renderer that this password form is not blacklisted. A form can | 160 // Tells the renderer that this password form is not blacklisted. A form can |
155 // be blacklisted if a user chooses "never save passwords for this site". | 161 // be blacklisted if a user chooses "never save passwords for this site". |
156 IPC_MESSAGE_ROUTED1(AutofillMsg_FormNotBlacklisted, | 162 IPC_MESSAGE_ROUTED1(AutofillMsg_FormNotBlacklisted, |
157 autofill::PasswordForm /* form checked */) | 163 autofill::PasswordForm /* form checked */) |
158 | 164 |
159 // Sent when requestAutocomplete() finishes (either succesfully or with an | 165 // Sent when requestAutocomplete() finishes (either succesfully or with an |
160 // error). If it was a success, the renderer fills the form that requested | 166 // error). If it was a success, the renderer fills the form that requested |
161 // autocomplete with the |form_data| values input by the user. |message| | 167 // autocomplete with the |form_data| values input by the user. |message| |
162 // is printed to the console if non-empty. | 168 // is printed to the console if non-empty. |
163 IPC_MESSAGE_ROUTED3(AutofillMsg_RequestAutocompleteResult, | 169 IPC_MESSAGE_ROUTED3(AutofillMsg_RequestAutocompleteResult, |
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
272 IPC_MESSAGE_ROUTED4(AutofillHostMsg_ShowPasswordSuggestions, | 278 IPC_MESSAGE_ROUTED4(AutofillHostMsg_ShowPasswordSuggestions, |
273 autofill::FormFieldData /* the form field */, | 279 autofill::FormFieldData /* the form field */, |
274 gfx::RectF /* input field bounds, window-relative */, | 280 gfx::RectF /* input field bounds, window-relative */, |
275 std::vector<base::string16> /* suggestions */, | 281 std::vector<base::string16> /* suggestions */, |
276 std::vector<base::string16> /* realms */) | 282 std::vector<base::string16> /* realms */) |
277 | 283 |
278 // Inform browser of data list values for the curent field. | 284 // Inform browser of data list values for the curent field. |
279 IPC_MESSAGE_ROUTED2(AutofillHostMsg_SetDataList, | 285 IPC_MESSAGE_ROUTED2(AutofillHostMsg_SetDataList, |
280 std::vector<base::string16> /* values */, | 286 std::vector<base::string16> /* values */, |
281 std::vector<base::string16> /* labels */) | 287 std::vector<base::string16> /* labels */) |
OLD | NEW |