| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 | 8 |
| 9 #include "base/time.h" | 9 #include "base/time.h" |
| 10 #include "components/autofill/common/autocheckout_status.h" | 10 #include "components/autofill/common/autocheckout_status.h" |
| (...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 77 IPC_STRUCT_TRAITS_MEMBER(fields) | 77 IPC_STRUCT_TRAITS_MEMBER(fields) |
| 78 IPC_STRUCT_TRAITS_END() | 78 IPC_STRUCT_TRAITS_END() |
| 79 | 79 |
| 80 IPC_STRUCT_TRAITS_BEGIN(autofill::UsernamesCollectionKey) | 80 IPC_STRUCT_TRAITS_BEGIN(autofill::UsernamesCollectionKey) |
| 81 IPC_STRUCT_TRAITS_MEMBER(username) | 81 IPC_STRUCT_TRAITS_MEMBER(username) |
| 82 IPC_STRUCT_TRAITS_MEMBER(password) | 82 IPC_STRUCT_TRAITS_MEMBER(password) |
| 83 IPC_STRUCT_TRAITS_END() | 83 IPC_STRUCT_TRAITS_END() |
| 84 | 84 |
| 85 IPC_STRUCT_TRAITS_BEGIN(autofill::PasswordFormFillData) | 85 IPC_STRUCT_TRAITS_BEGIN(autofill::PasswordFormFillData) |
| 86 IPC_STRUCT_TRAITS_MEMBER(basic_data) | 86 IPC_STRUCT_TRAITS_MEMBER(basic_data) |
| 87 IPC_STRUCT_TRAITS_MEMBER(preferred_realm) |
| 87 IPC_STRUCT_TRAITS_MEMBER(additional_logins) | 88 IPC_STRUCT_TRAITS_MEMBER(additional_logins) |
| 88 IPC_STRUCT_TRAITS_MEMBER(other_possible_usernames) | 89 IPC_STRUCT_TRAITS_MEMBER(other_possible_usernames) |
| 89 IPC_STRUCT_TRAITS_MEMBER(wait_for_username) | 90 IPC_STRUCT_TRAITS_MEMBER(wait_for_username) |
| 90 IPC_STRUCT_TRAITS_END() | 91 IPC_STRUCT_TRAITS_END() |
| 91 | 92 |
| 93 IPC_STRUCT_TRAITS_BEGIN(autofill::PasswordAndRealm) |
| 94 IPC_STRUCT_TRAITS_MEMBER(password) |
| 95 IPC_STRUCT_TRAITS_MEMBER(realm) |
| 96 IPC_STRUCT_TRAITS_END() |
| 97 |
| 92 IPC_ENUM_TRAITS(WebKit::WebFormElement::AutocompleteResult) | 98 IPC_ENUM_TRAITS(WebKit::WebFormElement::AutocompleteResult) |
| 93 | 99 |
| 94 // Autofill messages sent from the browser to the renderer. | 100 // Autofill messages sent from the browser to the renderer. |
| 95 | 101 |
| 96 // Request to parse all the forms without field count limit. | 102 // Request to parse all the forms without field count limit. |
| 97 IPC_MESSAGE_ROUTED0(AutofillMsg_GetAllForms) | 103 IPC_MESSAGE_ROUTED0(AutofillMsg_GetAllForms) |
| 98 | 104 |
| 99 // Reply to the AutofillHostMsg_QueryFormFieldAutofill message with the | 105 // Reply to the AutofillHostMsg_QueryFormFieldAutofill message with the |
| 100 // Autofill suggestions. | 106 // Autofill suggestions. |
| 101 IPC_MESSAGE_ROUTED5(AutofillMsg_SuggestionsReturned, | 107 IPC_MESSAGE_ROUTED5(AutofillMsg_SuggestionsReturned, |
| (...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 278 int /* max length of the password */, | 284 int /* max length of the password */, |
| 279 content::PasswordForm) | 285 content::PasswordForm) |
| 280 | 286 |
| 281 // Instruct the browser that a password mapping has been found for a field. | 287 // Instruct the browser that a password mapping has been found for a field. |
| 282 IPC_MESSAGE_ROUTED2(AutofillHostMsg_AddPasswordFormMapping, | 288 IPC_MESSAGE_ROUTED2(AutofillHostMsg_AddPasswordFormMapping, |
| 283 autofill::FormFieldData, /* the user name field */ | 289 autofill::FormFieldData, /* the user name field */ |
| 284 autofill::PasswordFormFillData /* password pairings */) | 290 autofill::PasswordFormFillData /* password pairings */) |
| 285 | 291 |
| 286 // Instruct the browser to show a popup with the following suggestions from the | 292 // Instruct the browser to show a popup with the following suggestions from the |
| 287 // password manager. | 293 // password manager. |
| 288 IPC_MESSAGE_ROUTED3(AutofillHostMsg_ShowPasswordSuggestions, | 294 IPC_MESSAGE_ROUTED4(AutofillHostMsg_ShowPasswordSuggestions, |
| 289 autofill::FormFieldData /* the form field */, | 295 autofill::FormFieldData /* the form field */, |
| 290 gfx::RectF /* input field bounds, window-relative */, | 296 gfx::RectF /* input field bounds, window-relative */, |
| 291 std::vector<base::string16> /* suggestions */) | 297 std::vector<base::string16> /* suggestions */, |
| 298 std::vector<base::string16> /* suggestions realms */) |
| 292 | 299 |
| 293 // Inform browser of data list values for the curent field. | 300 // Inform browser of data list values for the curent field. |
| 294 IPC_MESSAGE_ROUTED4(AutofillHostMsg_SetDataList, | 301 IPC_MESSAGE_ROUTED4(AutofillHostMsg_SetDataList, |
| 295 std::vector<base::string16> /* values */, | 302 std::vector<base::string16> /* values */, |
| 296 std::vector<base::string16> /* labels */, | 303 std::vector<base::string16> /* labels */, |
| 297 std::vector<base::string16> /* icons */, | 304 std::vector<base::string16> /* icons */, |
| 298 std::vector<int> /* unique ids */) | 305 std::vector<int> /* unique ids */) |
| OLD | NEW |