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 11 matching lines...) Expand all Loading... | |
22 #include "googleurl/src/gurl.h" | 22 #include "googleurl/src/gurl.h" |
23 #include "ipc/ipc_message_macros.h" | 23 #include "ipc/ipc_message_macros.h" |
24 #include "ipc/ipc_message_utils.h" | 24 #include "ipc/ipc_message_utils.h" |
25 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFormElement.h" | 25 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFormElement.h" |
26 #include "ui/gfx/rect.h" | 26 #include "ui/gfx/rect.h" |
27 | 27 |
28 #define IPC_MESSAGE_START AutofillMsgStart | 28 #define IPC_MESSAGE_START AutofillMsgStart |
29 | 29 |
30 IPC_ENUM_TRAITS(autofill::AutocheckoutStatus) | 30 IPC_ENUM_TRAITS(autofill::AutocheckoutStatus) |
31 IPC_ENUM_TRAITS(autofill::FormsSeenState) | 31 IPC_ENUM_TRAITS(autofill::FormsSeenState) |
32 IPC_ENUM_TRAITS(base::i18n::TextDirection) | |
jln (very slow on Chromium)
2013/06/10 20:49:55
IPC_ENUM_TRAITS() is now deprecated. Please use IP
csharp
2013/06/11 14:14:58
Done.
| |
32 | 33 |
33 IPC_STRUCT_TRAITS_BEGIN(autofill::WebElementDescriptor) | 34 IPC_STRUCT_TRAITS_BEGIN(autofill::WebElementDescriptor) |
34 IPC_STRUCT_TRAITS_MEMBER(descriptor) | 35 IPC_STRUCT_TRAITS_MEMBER(descriptor) |
35 IPC_STRUCT_TRAITS_MEMBER(retrieval_method) | 36 IPC_STRUCT_TRAITS_MEMBER(retrieval_method) |
36 IPC_STRUCT_TRAITS_END() | 37 IPC_STRUCT_TRAITS_END() |
37 | 38 |
38 IPC_ENUM_TRAITS(autofill::WebElementDescriptor::RetrievalMethod) | 39 IPC_ENUM_TRAITS(autofill::WebElementDescriptor::RetrievalMethod) |
39 | 40 |
40 IPC_STRUCT_TRAITS_BEGIN(autofill::FormFieldData) | 41 IPC_STRUCT_TRAITS_BEGIN(autofill::FormFieldData) |
41 IPC_STRUCT_TRAITS_MEMBER(label) | 42 IPC_STRUCT_TRAITS_MEMBER(label) |
42 IPC_STRUCT_TRAITS_MEMBER(name) | 43 IPC_STRUCT_TRAITS_MEMBER(name) |
43 IPC_STRUCT_TRAITS_MEMBER(value) | 44 IPC_STRUCT_TRAITS_MEMBER(value) |
44 IPC_STRUCT_TRAITS_MEMBER(form_control_type) | 45 IPC_STRUCT_TRAITS_MEMBER(form_control_type) |
45 IPC_STRUCT_TRAITS_MEMBER(autocomplete_attribute) | 46 IPC_STRUCT_TRAITS_MEMBER(autocomplete_attribute) |
46 IPC_STRUCT_TRAITS_MEMBER(max_length) | 47 IPC_STRUCT_TRAITS_MEMBER(max_length) |
47 IPC_STRUCT_TRAITS_MEMBER(is_autofilled) | 48 IPC_STRUCT_TRAITS_MEMBER(is_autofilled) |
48 IPC_STRUCT_TRAITS_MEMBER(is_checked) | 49 IPC_STRUCT_TRAITS_MEMBER(is_checked) |
49 IPC_STRUCT_TRAITS_MEMBER(is_checkable) | 50 IPC_STRUCT_TRAITS_MEMBER(is_checkable) |
50 IPC_STRUCT_TRAITS_MEMBER(is_focusable) | 51 IPC_STRUCT_TRAITS_MEMBER(is_focusable) |
51 IPC_STRUCT_TRAITS_MEMBER(should_autocomplete) | 52 IPC_STRUCT_TRAITS_MEMBER(should_autocomplete) |
53 IPC_STRUCT_TRAITS_MEMBER(text_direction) | |
52 IPC_STRUCT_TRAITS_MEMBER(option_values) | 54 IPC_STRUCT_TRAITS_MEMBER(option_values) |
53 IPC_STRUCT_TRAITS_MEMBER(option_contents) | 55 IPC_STRUCT_TRAITS_MEMBER(option_contents) |
54 IPC_STRUCT_TRAITS_END() | 56 IPC_STRUCT_TRAITS_END() |
55 | 57 |
56 IPC_STRUCT_TRAITS_BEGIN(autofill::FormFieldDataPredictions) | 58 IPC_STRUCT_TRAITS_BEGIN(autofill::FormFieldDataPredictions) |
57 IPC_STRUCT_TRAITS_MEMBER(field) | 59 IPC_STRUCT_TRAITS_MEMBER(field) |
58 IPC_STRUCT_TRAITS_MEMBER(signature) | 60 IPC_STRUCT_TRAITS_MEMBER(signature) |
59 IPC_STRUCT_TRAITS_MEMBER(heuristic_type) | 61 IPC_STRUCT_TRAITS_MEMBER(heuristic_type) |
60 IPC_STRUCT_TRAITS_MEMBER(server_type) | 62 IPC_STRUCT_TRAITS_MEMBER(server_type) |
61 IPC_STRUCT_TRAITS_MEMBER(overall_type) | 63 IPC_STRUCT_TRAITS_MEMBER(overall_type) |
(...skipping 227 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
289 autofill::FormFieldData /* the form field */, | 291 autofill::FormFieldData /* the form field */, |
290 gfx::RectF /* input field bounds, window-relative */, | 292 gfx::RectF /* input field bounds, window-relative */, |
291 std::vector<base::string16> /* suggestions */) | 293 std::vector<base::string16> /* suggestions */) |
292 | 294 |
293 // Inform browser of data list values for the curent field. | 295 // Inform browser of data list values for the curent field. |
294 IPC_MESSAGE_ROUTED4(AutofillHostMsg_SetDataList, | 296 IPC_MESSAGE_ROUTED4(AutofillHostMsg_SetDataList, |
295 std::vector<base::string16> /* values */, | 297 std::vector<base::string16> /* values */, |
296 std::vector<base::string16> /* labels */, | 298 std::vector<base::string16> /* labels */, |
297 std::vector<base::string16> /* icons */, | 299 std::vector<base::string16> /* icons */, |
298 std::vector<int> /* unique ids */) | 300 std::vector<int> /* unique ids */) |
OLD | NEW |