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 // Singly or Multiply-included shared traits file depending on circumstances. | 5 // Singly or Multiply-included shared traits file depending on circumstances. |
6 // This allows the use of IPC serialization macros in more than one IPC message | 6 // This allows the use of IPC serialization macros in more than one IPC message |
7 // file. | 7 // file. |
8 #ifndef CONTENT_COMMON_CONTENT_PARAM_TRAITS_MACROS_H_ | 8 #ifndef CONTENT_COMMON_CONTENT_PARAM_TRAITS_MACROS_H_ |
9 #define CONTENT_COMMON_CONTENT_PARAM_TRAITS_MACROS_H_ | 9 #define CONTENT_COMMON_CONTENT_PARAM_TRAITS_MACROS_H_ |
10 | 10 |
11 #include "content/common/content_export.h" | 11 #include "content/common/content_export.h" |
12 #include "content/common/download/mhtml_save_status.h" | 12 #include "content/common/download/mhtml_save_status.h" |
13 #include "content/common/input/input_event_ack_state.h" | 13 #include "content/common/input/input_event_ack_state.h" |
14 #include "content/public/common/request_context_frame_type.h" | 14 #include "content/public/common/request_context_frame_type.h" |
15 #include "content/public/common/request_context_type.h" | 15 #include "content/public/common/request_context_type.h" |
16 #include "content/public/common/resource_type.h" | 16 #include "content/public/common/resource_type.h" |
17 #include "ipc/ipc_message_macros.h" | 17 #include "ipc/ipc_message_macros.h" |
18 #include "third_party/WebKit/public/platform/WebAddressSpace.h" | 18 #include "third_party/WebKit/public/platform/WebAddressSpace.h" |
| 19 #include "third_party/WebKit/public/platform/WebContentSecurityPolicy.h" |
19 #include "third_party/WebKit/public/platform/WebInputEvent.h" | 20 #include "third_party/WebKit/public/platform/WebInputEvent.h" |
20 #include "third_party/WebKit/public/platform/WebPageVisibilityState.h" | 21 #include "third_party/WebKit/public/platform/WebPageVisibilityState.h" |
21 #include "third_party/WebKit/public/web/WebCompositionUnderline.h" | 22 #include "third_party/WebKit/public/web/WebCompositionUnderline.h" |
22 #include "third_party/WebKit/public/web/WebContentSecurityPolicy.h" | |
23 #include "third_party/WebKit/public/web/WebSharedWorkerCreationContextType.h" | 23 #include "third_party/WebKit/public/web/WebSharedWorkerCreationContextType.h" |
24 #include "ui/gfx/gpu_memory_buffer.h" | 24 #include "ui/gfx/gpu_memory_buffer.h" |
25 | 25 |
26 #undef IPC_MESSAGE_EXPORT | 26 #undef IPC_MESSAGE_EXPORT |
27 #define IPC_MESSAGE_EXPORT CONTENT_EXPORT | 27 #define IPC_MESSAGE_EXPORT CONTENT_EXPORT |
28 | 28 |
29 IPC_ENUM_TRAITS_MAX_VALUE(content::InputEventAckState, | 29 IPC_ENUM_TRAITS_MAX_VALUE(content::InputEventAckState, |
30 content::INPUT_EVENT_ACK_STATE_MAX) | 30 content::INPUT_EVENT_ACK_STATE_MAX) |
31 IPC_ENUM_TRAITS_MAX_VALUE(content::ResourceType, | 31 IPC_ENUM_TRAITS_MAX_VALUE(content::ResourceType, |
32 content::RESOURCE_TYPE_LAST_TYPE - 1) | 32 content::RESOURCE_TYPE_LAST_TYPE - 1) |
(...skipping 18 matching lines...) Expand all Loading... |
51 | 51 |
52 IPC_STRUCT_TRAITS_BEGIN(blink::WebCompositionUnderline) | 52 IPC_STRUCT_TRAITS_BEGIN(blink::WebCompositionUnderline) |
53 IPC_STRUCT_TRAITS_MEMBER(startOffset) | 53 IPC_STRUCT_TRAITS_MEMBER(startOffset) |
54 IPC_STRUCT_TRAITS_MEMBER(endOffset) | 54 IPC_STRUCT_TRAITS_MEMBER(endOffset) |
55 IPC_STRUCT_TRAITS_MEMBER(color) | 55 IPC_STRUCT_TRAITS_MEMBER(color) |
56 IPC_STRUCT_TRAITS_MEMBER(thick) | 56 IPC_STRUCT_TRAITS_MEMBER(thick) |
57 IPC_STRUCT_TRAITS_MEMBER(backgroundColor) | 57 IPC_STRUCT_TRAITS_MEMBER(backgroundColor) |
58 IPC_STRUCT_TRAITS_END() | 58 IPC_STRUCT_TRAITS_END() |
59 | 59 |
60 #endif // CONTENT_COMMON_CONTENT_PARAM_TRAITS_MACROS_H_ | 60 #endif // CONTENT_COMMON_CONTENT_PARAM_TRAITS_MACROS_H_ |
OLD | NEW |