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 "chrome/common/common_param_traits_macros.h" | 10 #include "chrome/common/common_param_traits_macros.h" |
11 #include "chrome/common/form_data.h" | 11 #include "chrome/common/form_data.h" |
12 #include "chrome/common/form_data_predictions.h" | 12 #include "chrome/common/form_data_predictions.h" |
13 #include "chrome/common/form_field_data.h" | 13 #include "chrome/common/form_field_data.h" |
14 #include "chrome/common/form_field_data_predictions.h" | 14 #include "chrome/common/form_field_data_predictions.h" |
15 #include "chrome/common/password_form_fill_data.h" | 15 #include "chrome/common/password_form_fill_data.h" |
16 #include "content/public/common/password_form.h" | 16 #include "content/public/common/password_form.h" |
17 #include "ipc/ipc_message_macros.h" | 17 #include "ipc/ipc_message_macros.h" |
18 #include "ipc/ipc_message_utils.h" | 18 #include "ipc/ipc_message_utils.h" |
19 #include "ui/gfx/rect.h" | 19 #include "ui/gfx/rect.h" |
20 | 20 |
21 #define IPC_MESSAGE_START AutofillMsgStart | 21 #define IPC_MESSAGE_START AutofillMsgStart |
22 | 22 |
23 IPC_STRUCT_TRAITS_BEGIN(FormFieldData) | 23 IPC_STRUCT_TRAITS_BEGIN(FormFieldData) |
24 IPC_STRUCT_TRAITS_MEMBER(label) | 24 IPC_STRUCT_TRAITS_MEMBER(label) |
25 IPC_STRUCT_TRAITS_MEMBER(name) | 25 IPC_STRUCT_TRAITS_MEMBER(name) |
26 IPC_STRUCT_TRAITS_MEMBER(value) | 26 IPC_STRUCT_TRAITS_MEMBER(value) |
27 IPC_STRUCT_TRAITS_MEMBER(form_control_type) | 27 IPC_STRUCT_TRAITS_MEMBER(form_control_type) |
28 IPC_STRUCT_TRAITS_MEMBER(autocomplete_type) | 28 IPC_STRUCT_TRAITS_MEMBER(autocomplete_attribute) |
29 IPC_STRUCT_TRAITS_MEMBER(max_length) | 29 IPC_STRUCT_TRAITS_MEMBER(max_length) |
30 IPC_STRUCT_TRAITS_MEMBER(is_autofilled) | 30 IPC_STRUCT_TRAITS_MEMBER(is_autofilled) |
31 IPC_STRUCT_TRAITS_MEMBER(is_focusable) | 31 IPC_STRUCT_TRAITS_MEMBER(is_focusable) |
32 IPC_STRUCT_TRAITS_MEMBER(should_autocomplete) | 32 IPC_STRUCT_TRAITS_MEMBER(should_autocomplete) |
33 IPC_STRUCT_TRAITS_MEMBER(option_values) | 33 IPC_STRUCT_TRAITS_MEMBER(option_values) |
34 IPC_STRUCT_TRAITS_MEMBER(option_contents) | 34 IPC_STRUCT_TRAITS_MEMBER(option_contents) |
35 IPC_STRUCT_TRAITS_END() | 35 IPC_STRUCT_TRAITS_END() |
36 | 36 |
37 IPC_STRUCT_TRAITS_BEGIN(FormFieldDataPredictions) | 37 IPC_STRUCT_TRAITS_BEGIN(FormFieldDataPredictions) |
38 IPC_STRUCT_TRAITS_MEMBER(field) | 38 IPC_STRUCT_TRAITS_MEMBER(field) |
(...skipping 186 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
225 FormFieldData /* the form field */, | 225 FormFieldData /* the form field */, |
226 gfx::Rect /* input field bounds, window-relative */, | 226 gfx::Rect /* input field bounds, window-relative */, |
227 std::vector<string16> /* suggestions */) | 227 std::vector<string16> /* suggestions */) |
228 | 228 |
229 // Inform browser of data list values for the curent field. | 229 // Inform browser of data list values for the curent field. |
230 IPC_MESSAGE_ROUTED4(AutofillHostMsg_SetDataList, | 230 IPC_MESSAGE_ROUTED4(AutofillHostMsg_SetDataList, |
231 std::vector<string16> /* values */, | 231 std::vector<string16> /* values */, |
232 std::vector<string16> /* labels */, | 232 std::vector<string16> /* labels */, |
233 std::vector<string16> /* icons */, | 233 std::vector<string16> /* icons */, |
234 std::vector<int> /* unique ids */) | 234 std::vector<int> /* unique ids */) |
OLD | NEW |