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 123 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
134 | 134 |
135 // Sets the currently selected node's value to be the given data list value. | 135 // Sets the currently selected node's value to be the given data list value. |
136 IPC_MESSAGE_ROUTED1(AutofillMsg_AcceptDataListSuggestion, | 136 IPC_MESSAGE_ROUTED1(AutofillMsg_AcceptDataListSuggestion, |
137 base::string16 /* accepted data list value */) | 137 base::string16 /* accepted data list value */) |
138 | 138 |
139 // Tells the renderer to populate the correct password fields with this | 139 // Tells the renderer to populate the correct password fields with this |
140 // generated password. | 140 // generated password. |
141 IPC_MESSAGE_ROUTED1(AutofillMsg_GeneratedPasswordAccepted, | 141 IPC_MESSAGE_ROUTED1(AutofillMsg_GeneratedPasswordAccepted, |
142 base::string16 /* generated_password */) | 142 base::string16 /* generated_password */) |
143 | 143 |
144 // Tells the renderer that the password field has accept the suggestion. | 144 // Tells the renderer that the user accepted a password autofill suggestion, |
145 IPC_MESSAGE_ROUTED1(AutofillMsg_AcceptPasswordAutofillSuggestion, | 145 // and that renderer should set the username and password to the given values. |
146 base::string16 /* username value*/) | 146 IPC_MESSAGE_ROUTED2(AutofillMsg_AcceptPasswordAutofillSuggestion, |
| 147 base::string16 /* username */, |
| 148 base::string16 /* password */) |
147 | 149 |
148 // 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 |
149 // 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". |
150 IPC_MESSAGE_ROUTED1(AutofillMsg_FormNotBlacklisted, | 152 IPC_MESSAGE_ROUTED1(AutofillMsg_FormNotBlacklisted, |
151 autofill::PasswordForm /* form checked */) | 153 autofill::PasswordForm /* form checked */) |
152 | 154 |
153 // Sent when requestAutocomplete() finishes (either succesfully or with an | 155 // Sent when requestAutocomplete() finishes (either succesfully or with an |
154 // 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 |
155 // autocomplete with the |form_data| values input by the user. |message| | 157 // autocomplete with the |form_data| values input by the user. |message| |
156 // is printed to the console if non-empty. | 158 // is printed to the console if non-empty. |
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
266 IPC_MESSAGE_ROUTED4(AutofillHostMsg_ShowPasswordSuggestions, | 268 IPC_MESSAGE_ROUTED4(AutofillHostMsg_ShowPasswordSuggestions, |
267 autofill::FormFieldData /* the form field */, | 269 autofill::FormFieldData /* the form field */, |
268 gfx::RectF /* input field bounds, window-relative */, | 270 gfx::RectF /* input field bounds, window-relative */, |
269 std::vector<base::string16> /* suggestions */, | 271 std::vector<base::string16> /* suggestions */, |
270 std::vector<base::string16> /* realms */) | 272 std::vector<base::string16> /* realms */) |
271 | 273 |
272 // Inform browser of data list values for the curent field. | 274 // Inform browser of data list values for the curent field. |
273 IPC_MESSAGE_ROUTED2(AutofillHostMsg_SetDataList, | 275 IPC_MESSAGE_ROUTED2(AutofillHostMsg_SetDataList, |
274 std::vector<base::string16> /* values */, | 276 std::vector<base::string16> /* values */, |
275 std::vector<base::string16> /* labels */) | 277 std::vector<base::string16> /* labels */) |
OLD | NEW |