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 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
82 IPC_STRUCT_TRAITS_MEMBER(fields) | 82 IPC_STRUCT_TRAITS_MEMBER(fields) |
83 IPC_STRUCT_TRAITS_END() | 83 IPC_STRUCT_TRAITS_END() |
84 | 84 |
85 IPC_STRUCT_TRAITS_BEGIN(autofill::UsernamesCollectionKey) | 85 IPC_STRUCT_TRAITS_BEGIN(autofill::UsernamesCollectionKey) |
86 IPC_STRUCT_TRAITS_MEMBER(username) | 86 IPC_STRUCT_TRAITS_MEMBER(username) |
87 IPC_STRUCT_TRAITS_MEMBER(password) | 87 IPC_STRUCT_TRAITS_MEMBER(password) |
88 IPC_STRUCT_TRAITS_END() | 88 IPC_STRUCT_TRAITS_END() |
89 | 89 |
90 IPC_STRUCT_TRAITS_BEGIN(autofill::PasswordFormFillData) | 90 IPC_STRUCT_TRAITS_BEGIN(autofill::PasswordFormFillData) |
91 IPC_STRUCT_TRAITS_MEMBER(basic_data) | 91 IPC_STRUCT_TRAITS_MEMBER(basic_data) |
92 IPC_STRUCT_TRAITS_MEMBER(preferred_realm) | |
92 IPC_STRUCT_TRAITS_MEMBER(additional_logins) | 93 IPC_STRUCT_TRAITS_MEMBER(additional_logins) |
93 IPC_STRUCT_TRAITS_MEMBER(other_possible_usernames) | 94 IPC_STRUCT_TRAITS_MEMBER(other_possible_usernames) |
94 IPC_STRUCT_TRAITS_MEMBER(wait_for_username) | 95 IPC_STRUCT_TRAITS_MEMBER(wait_for_username) |
95 IPC_STRUCT_TRAITS_END() | 96 IPC_STRUCT_TRAITS_END() |
96 | 97 |
98 IPC_STRUCT_TRAITS_BEGIN(autofill::PasswordAndRealm) | |
99 IPC_STRUCT_TRAITS_MEMBER(password) | |
100 IPC_STRUCT_TRAITS_MEMBER(realm) | |
101 IPC_STRUCT_TRAITS_END() | |
102 | |
97 IPC_ENUM_TRAITS(WebKit::WebFormElement::AutocompleteResult) | 103 IPC_ENUM_TRAITS(WebKit::WebFormElement::AutocompleteResult) |
98 | 104 |
99 // Autofill messages sent from the browser to the renderer. | 105 // Autofill messages sent from the browser to the renderer. |
100 | 106 |
101 // Request to parse all the forms without field count limit. | 107 // Request to parse all the forms without field count limit. |
102 IPC_MESSAGE_ROUTED0(AutofillMsg_GetAllForms) | 108 IPC_MESSAGE_ROUTED0(AutofillMsg_GetAllForms) |
103 | 109 |
104 // Reply to the AutofillHostMsg_QueryFormFieldAutofill message with the | 110 // Reply to the AutofillHostMsg_QueryFormFieldAutofill message with the |
105 // Autofill suggestions. | 111 // Autofill suggestions. |
106 IPC_MESSAGE_ROUTED5(AutofillMsg_SuggestionsReturned, | 112 IPC_MESSAGE_ROUTED5(AutofillMsg_SuggestionsReturned, |
(...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
287 int /* max length of the password */, | 293 int /* max length of the password */, |
288 content::PasswordForm) | 294 content::PasswordForm) |
289 | 295 |
290 // Instruct the browser that a password mapping has been found for a field. | 296 // Instruct the browser that a password mapping has been found for a field. |
291 IPC_MESSAGE_ROUTED2(AutofillHostMsg_AddPasswordFormMapping, | 297 IPC_MESSAGE_ROUTED2(AutofillHostMsg_AddPasswordFormMapping, |
292 autofill::FormFieldData, /* the user name field */ | 298 autofill::FormFieldData, /* the user name field */ |
293 autofill::PasswordFormFillData /* password pairings */) | 299 autofill::PasswordFormFillData /* password pairings */) |
294 | 300 |
295 // Instruct the browser to show a popup with the following suggestions from the | 301 // Instruct the browser to show a popup with the following suggestions from the |
296 // password manager. | 302 // password manager. |
297 IPC_MESSAGE_ROUTED3(AutofillHostMsg_ShowPasswordSuggestions, | 303 IPC_MESSAGE_ROUTED4(AutofillHostMsg_ShowPasswordSuggestions, |
298 autofill::FormFieldData /* the form field */, | 304 autofill::FormFieldData /* the form field */, |
299 gfx::RectF /* input field bounds, window-relative */, | 305 gfx::RectF /* input field bounds, window-relative */, |
300 std::vector<base::string16> /* suggestions */) | 306 std::vector<base::string16> /* suggestions */, |
307 std::vector<base::string16> /* suggestions realms */) | |
Ilya Sherman
2013/06/19 09:40:54
nit: Though not all of the code in this file does
nyquist
2013/06/19 22:56:06
Done.
| |
301 | 308 |
302 // Inform browser of data list values for the curent field. | 309 // Inform browser of data list values for the curent field. |
303 IPC_MESSAGE_ROUTED4(AutofillHostMsg_SetDataList, | 310 IPC_MESSAGE_ROUTED4(AutofillHostMsg_SetDataList, |
304 std::vector<base::string16> /* values */, | 311 std::vector<base::string16> /* values */, |
305 std::vector<base::string16> /* labels */, | 312 std::vector<base::string16> /* labels */, |
306 std::vector<base::string16> /* icons */, | 313 std::vector<base::string16> /* icons */, |
307 std::vector<int> /* unique ids */) | 314 std::vector<int> /* unique ids */) |
OLD | NEW |