| 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 151 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 162 IPC_MESSAGE_ROUTED0(AutofillMsg_ClearForm) | 162 IPC_MESSAGE_ROUTED0(AutofillMsg_ClearForm) |
| 163 | 163 |
| 164 // Tells the renderer that the Autofill previewed form should be cleared. | 164 // Tells the renderer that the Autofill previewed form should be cleared. |
| 165 IPC_MESSAGE_ROUTED0(AutofillMsg_ClearPreviewedForm) | 165 IPC_MESSAGE_ROUTED0(AutofillMsg_ClearPreviewedForm) |
| 166 | 166 |
| 167 // Sets the currently selected node's value. | 167 // Sets the currently selected node's value. |
| 168 IPC_MESSAGE_ROUTED1(AutofillMsg_FillFieldWithValue, | 168 IPC_MESSAGE_ROUTED1(AutofillMsg_FillFieldWithValue, |
| 169 base::string16 /* value */) | 169 base::string16 /* value */) |
| 170 | 170 |
| 171 // Sets the suggested value for the currently previewed node. | 171 // Sets the suggested value for the currently previewed node. |
| 172 IPC_MESSAGE_ROUTED1(AutofillMsg_PreviewFieldWithValue, | 172 IPC_MESSAGE_ROUTED2(AutofillMsg_PreviewFieldWithValue, |
| 173 base::string16 /* value */) | 173 base::string16 /* value */, |
| 174 int /* suggestion start offset */) |
| 174 | 175 |
| 175 // Sets the currently selected node's value to be the given data list value. | 176 // Sets the currently selected node's value to be the given data list value. |
| 176 IPC_MESSAGE_ROUTED1(AutofillMsg_AcceptDataListSuggestion, | 177 IPC_MESSAGE_ROUTED1(AutofillMsg_AcceptDataListSuggestion, |
| 177 base::string16 /* accepted data list value */) | 178 base::string16 /* accepted data list value */) |
| 178 | 179 |
| 179 // Tells the renderer to populate the correct password fields with this | 180 // Tells the renderer to populate the correct password fields with this |
| 180 // generated password. | 181 // generated password. |
| 181 IPC_MESSAGE_ROUTED1(AutofillMsg_GeneratedPasswordAccepted, | 182 IPC_MESSAGE_ROUTED1(AutofillMsg_GeneratedPasswordAccepted, |
| 182 base::string16 /* generated_password */) | 183 base::string16 /* generated_password */) |
| 183 | 184 |
| 184 // Tells the renderer to fill the username and password with with given | 185 // Tells the renderer to fill the username and password with with given |
| 185 // values. | 186 // values. |
| 186 IPC_MESSAGE_ROUTED2(AutofillMsg_FillPasswordSuggestion, | 187 IPC_MESSAGE_ROUTED2(AutofillMsg_FillPasswordSuggestion, |
| 187 base::string16 /* username */, | 188 base::string16 /* username */, |
| 188 base::string16 /* password */) | 189 base::string16 /* password */) |
| 189 | 190 |
| 190 // Tells the renderer to preview the username and password with the given | 191 // Tells the renderer to preview the username and password with the given |
| 191 // values. | 192 // values. |
| 192 IPC_MESSAGE_ROUTED2(AutofillMsg_PreviewPasswordSuggestion, | 193 IPC_MESSAGE_ROUTED3(AutofillMsg_PreviewPasswordSuggestion, |
| 193 base::string16 /* username */, | 194 base::string16 /* username */, |
| 194 base::string16 /* password */) | 195 base::string16 /* password */, |
| 196 int /* suggestion start offset */) |
| 195 | 197 |
| 196 // Tells the renderer to find the focused password form (assuming it exists). | 198 // Tells the renderer to find the focused password form (assuming it exists). |
| 197 // Renderer is expected to respond with the message | 199 // Renderer is expected to respond with the message |
| 198 // |AutofillHostMsg_FocusedPasswordFormFound|. | 200 // |AutofillHostMsg_FocusedPasswordFormFound|. |
| 199 IPC_MESSAGE_ROUTED0(AutofillMsg_FindFocusedPasswordForm) | 201 IPC_MESSAGE_ROUTED0(AutofillMsg_FindFocusedPasswordForm) |
| 200 | 202 |
| 201 // Tells the renderer that this password form is not blacklisted. A form can | 203 // Tells the renderer that this password form is not blacklisted. A form can |
| 202 // be blacklisted if a user chooses "never save passwords for this site". | 204 // be blacklisted if a user chooses "never save passwords for this site". |
| 203 IPC_MESSAGE_ROUTED1(AutofillMsg_FormNotBlacklisted, | 205 IPC_MESSAGE_ROUTED1(AutofillMsg_FormNotBlacklisted, |
| 204 autofill::PasswordForm /* form checked */) | 206 autofill::PasswordForm /* form checked */) |
| (...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 348 // Inform browser of data list values for the curent field. | 350 // Inform browser of data list values for the curent field. |
| 349 IPC_MESSAGE_ROUTED2(AutofillHostMsg_SetDataList, | 351 IPC_MESSAGE_ROUTED2(AutofillHostMsg_SetDataList, |
| 350 std::vector<base::string16> /* values */, | 352 std::vector<base::string16> /* values */, |
| 351 std::vector<base::string16> /* labels */) | 353 std::vector<base::string16> /* labels */) |
| 352 | 354 |
| 353 // Inform the browser which password form is currently focused, as a response | 355 // Inform the browser which password form is currently focused, as a response |
| 354 // to the |AutofillMsg_FindFocusedPasswordForm| request. If no password form | 356 // to the |AutofillMsg_FindFocusedPasswordForm| request. If no password form |
| 355 // is focused, the response will contain an empty |autofill::PasswordForm|. | 357 // is focused, the response will contain an empty |autofill::PasswordForm|. |
| 356 IPC_MESSAGE_ROUTED1(AutofillHostMsg_FocusedPasswordFormFound, | 358 IPC_MESSAGE_ROUTED1(AutofillHostMsg_FocusedPasswordFormFound, |
| 357 autofill::PasswordForm) | 359 autofill::PasswordForm) |
| OLD | NEW |