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 form (assuming it exists). | |
| 191 // Renderer is expected to respond with the message | |
| 192 // |AutofillHostMsg_FocusedPasswordFormFound|. | |
| 193 IPC_MESSAGE_ROUTED0(AutofillMsg_FindFocusedPasswordForm) | |
| 194 | |
| 190 // Tells the renderer that this password form is not blacklisted. A form can | 195 // 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". | 196 // be blacklisted if a user chooses "never save passwords for this site". |
| 192 IPC_MESSAGE_ROUTED1(AutofillMsg_FormNotBlacklisted, | 197 IPC_MESSAGE_ROUTED1(AutofillMsg_FormNotBlacklisted, |
| 193 autofill::PasswordForm /* form checked */) | 198 autofill::PasswordForm /* form checked */) |
| 194 | 199 |
| 195 // Sent when requestAutocomplete() finishes (either succesfully or with an | 200 // Sent when requestAutocomplete() finishes (either succesfully or with an |
| 196 // error). If it was a success, the renderer fills the form that requested | 201 // 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| | 202 // autocomplete with the |form_data| values input by the user. |message| |
| 198 // is printed to the console if non-empty. | 203 // is printed to the console if non-empty. |
| 199 IPC_MESSAGE_ROUTED3(AutofillMsg_RequestAutocompleteResult, | 204 IPC_MESSAGE_ROUTED3(AutofillMsg_RequestAutocompleteResult, |
| (...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 331 int /* key */, | 336 int /* key */, |
| 332 base::i18n::TextDirection /* text_direction */, | 337 base::i18n::TextDirection /* text_direction */, |
| 333 base::string16 /* username typed by user */, | 338 base::string16 /* username typed by user */, |
| 334 int /* options bitmask of autofill::ShowPasswordSuggestionsOptions */, | 339 int /* options bitmask of autofill::ShowPasswordSuggestionsOptions */, |
| 335 gfx::RectF /* input field bounds, window-relative */) | 340 gfx::RectF /* input field bounds, window-relative */) |
| 336 | 341 |
| 337 // Inform browser of data list values for the curent field. | 342 // Inform browser of data list values for the curent field. |
| 338 IPC_MESSAGE_ROUTED2(AutofillHostMsg_SetDataList, | 343 IPC_MESSAGE_ROUTED2(AutofillHostMsg_SetDataList, |
| 339 std::vector<base::string16> /* values */, | 344 std::vector<base::string16> /* values */, |
| 340 std::vector<base::string16> /* labels */) | 345 std::vector<base::string16> /* labels */) |
| 346 | |
| 347 // Inform the browser which password form is currently focused. | |
|
Mike West
2015/05/29 07:24:49
What does it return if there is not a password for
msramek
2015/05/29 11:57:21
My original intention was that if there is no form
| |
| 348 IPC_MESSAGE_ROUTED1(AutofillHostMsg_FocusedPasswordFormFound, | |
| 349 autofill::PasswordForm) | |
| OLD | NEW |