| 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 174 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 185 IPC_MESSAGE_ROUTED2(AutofillMsg_FillPasswordSuggestion, | 185 IPC_MESSAGE_ROUTED2(AutofillMsg_FillPasswordSuggestion, |
| 186 base::string16 /* username */, | 186 base::string16 /* username */, |
| 187 base::string16 /* password */) | 187 base::string16 /* password */) |
| 188 | 188 |
| 189 // Tells the renderer to preview the username and password with the given | 189 // Tells the renderer to preview the username and password with the given |
| 190 // values. | 190 // values. |
| 191 IPC_MESSAGE_ROUTED2(AutofillMsg_PreviewPasswordSuggestion, | 191 IPC_MESSAGE_ROUTED2(AutofillMsg_PreviewPasswordSuggestion, |
| 192 base::string16 /* username */, | 192 base::string16 /* username */, |
| 193 base::string16 /* password */) | 193 base::string16 /* password */) |
| 194 | 194 |
| 195 // Tells the renderer to find the focused password form (assuming it exists). |
| 196 // Renderer is expected to respond with the message |
| 197 // |AutofillHostMsg_FocusedPasswordFormFound|. |
| 198 IPC_MESSAGE_ROUTED0(AutofillMsg_FindFocusedPasswordForm) |
| 199 |
| 195 // Tells the renderer that this password form is not blacklisted. A form can | 200 // Tells the renderer that this password form is not blacklisted. A form can |
| 196 // be blacklisted if a user chooses "never save passwords for this site". | 201 // be blacklisted if a user chooses "never save passwords for this site". |
| 197 IPC_MESSAGE_ROUTED1(AutofillMsg_FormNotBlacklisted, | 202 IPC_MESSAGE_ROUTED1(AutofillMsg_FormNotBlacklisted, |
| 198 autofill::PasswordForm /* form checked */) | 203 autofill::PasswordForm /* form checked */) |
| 199 | 204 |
| 200 // Sent when requestAutocomplete() finishes (either succesfully or with an | 205 // Sent when requestAutocomplete() finishes (either succesfully or with an |
| 201 // error). If it was a success, the renderer fills the form that requested | 206 // error). If it was a success, the renderer fills the form that requested |
| 202 // autocomplete with the |form_data| values input by the user. |message| | 207 // autocomplete with the |form_data| values input by the user. |message| |
| 203 // is printed to the console if non-empty. | 208 // is printed to the console if non-empty. |
| 204 IPC_MESSAGE_ROUTED3(AutofillMsg_RequestAutocompleteResult, | 209 IPC_MESSAGE_ROUTED3(AutofillMsg_RequestAutocompleteResult, |
| (...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 336 int /* key */, | 341 int /* key */, |
| 337 base::i18n::TextDirection /* text_direction */, | 342 base::i18n::TextDirection /* text_direction */, |
| 338 base::string16 /* username typed by user */, | 343 base::string16 /* username typed by user */, |
| 339 int /* options bitmask of autofill::ShowPasswordSuggestionsOptions */, | 344 int /* options bitmask of autofill::ShowPasswordSuggestionsOptions */, |
| 340 gfx::RectF /* input field bounds, window-relative */) | 345 gfx::RectF /* input field bounds, window-relative */) |
| 341 | 346 |
| 342 // Inform browser of data list values for the curent field. | 347 // Inform browser of data list values for the curent field. |
| 343 IPC_MESSAGE_ROUTED2(AutofillHostMsg_SetDataList, | 348 IPC_MESSAGE_ROUTED2(AutofillHostMsg_SetDataList, |
| 344 std::vector<base::string16> /* values */, | 349 std::vector<base::string16> /* values */, |
| 345 std::vector<base::string16> /* labels */) | 350 std::vector<base::string16> /* labels */) |
| 351 |
| 352 // Inform the browser which password form is currently focused, as a response |
| 353 // to the |AutofillMsg_FindFocusedPasswordForm| request. If no password form |
| 354 // is focused, the response will contain an empty |autofill::PasswordForm|. |
| 355 IPC_MESSAGE_ROUTED1(AutofillHostMsg_FocusedPasswordFormFound, |
| 356 autofill::PasswordForm) |
| OLD | NEW |