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 160 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
171 IPC_MESSAGE_ROUTED2(AutofillMsg_FillPasswordSuggestion, | 171 IPC_MESSAGE_ROUTED2(AutofillMsg_FillPasswordSuggestion, |
172 base::string16 /* username */, | 172 base::string16 /* username */, |
173 base::string16 /* password */) | 173 base::string16 /* password */) |
174 | 174 |
175 // Tells the renderer to preview the username and password with the given | 175 // Tells the renderer to preview the username and password with the given |
176 // values. | 176 // values. |
177 IPC_MESSAGE_ROUTED2(AutofillMsg_PreviewPasswordSuggestion, | 177 IPC_MESSAGE_ROUTED2(AutofillMsg_PreviewPasswordSuggestion, |
178 base::string16 /* username */, | 178 base::string16 /* username */, |
179 base::string16 /* password */) | 179 base::string16 /* password */) |
180 | 180 |
| 181 // Sent when a password form is initially detected and suggestions should be |
| 182 // shown. Used by the fill-on-select experiment. |
| 183 IPC_MESSAGE_ROUTED2(AutofillMsg_ShowInitialPasswordAccountSuggestions, |
| 184 int /* key */, |
| 185 autofill::PasswordFormFillData /* the fill form data */) |
| 186 |
181 // Tells the renderer to find the focused password form (assuming it exists). | 187 // Tells the renderer to find the focused password form (assuming it exists). |
182 // Renderer is expected to respond with the message | 188 // Renderer is expected to respond with the message |
183 // |AutofillHostMsg_FocusedPasswordFormFound|. | 189 // |AutofillHostMsg_FocusedPasswordFormFound|. |
184 IPC_MESSAGE_ROUTED0(AutofillMsg_FindFocusedPasswordForm) | 190 IPC_MESSAGE_ROUTED0(AutofillMsg_FindFocusedPasswordForm) |
185 | 191 |
186 // Tells the renderer to find a focused element, and if it is a password field | 192 // Tells the renderer to find a focused element, and if it is a password field |
187 // eligible for generation then to trigger generation by responding to the | 193 // eligible for generation then to trigger generation by responding to the |
188 // browser with the message |AutofillHostMsg_ShowPasswordGenerationPopup|. | 194 // browser with the message |AutofillHostMsg_ShowPasswordGenerationPopup|. |
189 IPC_MESSAGE_ROUTED0(AutofillMsg_UserTriggeredGeneratePassword) | 195 IPC_MESSAGE_ROUTED0(AutofillMsg_UserTriggeredGeneratePassword) |
190 | 196 |
(...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
339 // Inform browser of data list values for the curent field. | 345 // Inform browser of data list values for the curent field. |
340 IPC_MESSAGE_ROUTED2(AutofillHostMsg_SetDataList, | 346 IPC_MESSAGE_ROUTED2(AutofillHostMsg_SetDataList, |
341 std::vector<base::string16> /* values */, | 347 std::vector<base::string16> /* values */, |
342 std::vector<base::string16> /* labels */) | 348 std::vector<base::string16> /* labels */) |
343 | 349 |
344 // Inform the browser which password form is currently focused, as a response | 350 // Inform the browser which password form is currently focused, as a response |
345 // to the |AutofillMsg_FindFocusedPasswordForm| request. If no password form | 351 // to the |AutofillMsg_FindFocusedPasswordForm| request. If no password form |
346 // is focused, the response will contain an empty |autofill::PasswordForm|. | 352 // is focused, the response will contain an empty |autofill::PasswordForm|. |
347 IPC_MESSAGE_ROUTED1(AutofillHostMsg_FocusedPasswordFormFound, | 353 IPC_MESSAGE_ROUTED1(AutofillHostMsg_FocusedPasswordFormFound, |
348 autofill::PasswordForm) | 354 autofill::PasswordForm) |
OLD | NEW |