Chromium Code Reviews| 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 169 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 180 IPC_MESSAGE_ROUTED2(AutofillMsg_FillPasswordSuggestion, | 180 IPC_MESSAGE_ROUTED2(AutofillMsg_FillPasswordSuggestion, |
| 181 base::string16 /* username */, | 181 base::string16 /* username */, |
| 182 base::string16 /* password */) | 182 base::string16 /* password */) |
| 183 | 183 |
| 184 // Tells the renderer to preview the username and password with the given | 184 // Tells the renderer to preview the username and password with the given |
| 185 // values. | 185 // values. |
| 186 IPC_MESSAGE_ROUTED2(AutofillMsg_PreviewPasswordSuggestion, | 186 IPC_MESSAGE_ROUTED2(AutofillMsg_PreviewPasswordSuggestion, |
| 187 base::string16 /* username */, | 187 base::string16 /* username */, |
| 188 base::string16 /* password */) | 188 base::string16 /* password */) |
| 189 | 189 |
| 190 // Tells the renderer to find the focused password field, so that the password | |
| 191 // can be saved. | |
|
vabr (Chromium)
2015/05/28 19:41:23
Perhaps rather than "so that the password can be s
msramek
2015/05/28 20:28:28
Done.
| |
| 192 IPC_MESSAGE_ROUTED0(AutofillMsg_ForceSavePassword) | |
|
vabr (Chromium)
2015/05/28 19:41:23
Also, the name of the message, and the associated
msramek
2015/05/28 20:28:28
Done.
| |
| 193 | |
| 190 // Tells the renderer that this password form is not blacklisted. A form can | 194 // Tells the renderer that this password form is not blacklisted. A form can |
| 191 // be blacklisted if a user chooses "never save passwords for this site". | 195 // be blacklisted if a user chooses "never save passwords for this site". |
| 192 IPC_MESSAGE_ROUTED1(AutofillMsg_FormNotBlacklisted, | 196 IPC_MESSAGE_ROUTED1(AutofillMsg_FormNotBlacklisted, |
| 193 autofill::PasswordForm /* form checked */) | 197 autofill::PasswordForm /* form checked */) |
| 194 | 198 |
| 195 // Sent when requestAutocomplete() finishes (either succesfully or with an | 199 // Sent when requestAutocomplete() finishes (either succesfully or with an |
| 196 // error). If it was a success, the renderer fills the form that requested | 200 // error). If it was a success, the renderer fills the form that requested |
| 197 // autocomplete with the |form_data| values input by the user. |message| | 201 // autocomplete with the |form_data| values input by the user. |message| |
| 198 // is printed to the console if non-empty. | 202 // is printed to the console if non-empty. |
| 199 IPC_MESSAGE_ROUTED3(AutofillMsg_RequestAutocompleteResult, | 203 IPC_MESSAGE_ROUTED3(AutofillMsg_RequestAutocompleteResult, |
| (...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 331 int /* key */, | 335 int /* key */, |
| 332 base::i18n::TextDirection /* text_direction */, | 336 base::i18n::TextDirection /* text_direction */, |
| 333 base::string16 /* username typed by user */, | 337 base::string16 /* username typed by user */, |
| 334 int /* options bitmask of autofill::ShowPasswordSuggestionsOptions */, | 338 int /* options bitmask of autofill::ShowPasswordSuggestionsOptions */, |
| 335 gfx::RectF /* input field bounds, window-relative */) | 339 gfx::RectF /* input field bounds, window-relative */) |
| 336 | 340 |
| 337 // Inform browser of data list values for the curent field. | 341 // Inform browser of data list values for the curent field. |
| 338 IPC_MESSAGE_ROUTED2(AutofillHostMsg_SetDataList, | 342 IPC_MESSAGE_ROUTED2(AutofillHostMsg_SetDataList, |
| 339 std::vector<base::string16> /* values */, | 343 std::vector<base::string16> /* values */, |
| 340 std::vector<base::string16> /* labels */) | 344 std::vector<base::string16> /* labels */) |
| 345 | |
| 346 // Inform the browser which password form contains the focused password element | |
| 347 // and should be saved. | |
| 348 IPC_MESSAGE_ROUTED1(AutofillHostMsg_PasswordFormForceSaveRequested, | |
| 349 autofill::PasswordForm) | |
| OLD | NEW |