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_PUBLIC_COMMON_COMMON_PARAM_TRAITS_MACROS_H_ | 8 #ifndef CONTENT_PUBLIC_COMMON_COMMON_PARAM_TRAITS_MACROS_H_ |
9 #define CONTENT_PUBLIC_COMMON_COMMON_PARAM_TRAITS_MACROS_H_ | 9 #define CONTENT_PUBLIC_COMMON_COMMON_PARAM_TRAITS_MACROS_H_ |
10 | 10 |
11 #include "build/build_config.h" | 11 #include "build/build_config.h" |
12 #include "content/public/common/console_message_level.h" | 12 #include "content/public/common/console_message_level.h" |
13 #include "content/public/common/referrer.h" | 13 #include "content/public/common/referrer.h" |
14 #include "content/public/common/security_style.h" | 14 #include "content/public/common/security_style.h" |
15 #include "content/public/common/ssl_status.h" | 15 #include "content/public/common/ssl_status.h" |
16 #include "content/public/common/web_preferences.h" | 16 #include "content/public/common/web_preferences.h" |
17 #include "content/public/common/webplugininfo.h" | 17 #include "content/public/common/webplugininfo.h" |
18 #include "ipc/ipc_message_macros.h" | 18 #include "ipc/ipc_message_macros.h" |
19 #include "net/base/network_change_notifier.h" | 19 #include "net/base/network_change_notifier.h" |
20 #include "net/base/request_priority.h" | 20 #include "net/base/request_priority.h" |
21 #include "third_party/WebKit/public/platform/WebPoint.h" | 21 #include "third_party/WebKit/public/platform/WebPoint.h" |
22 #include "third_party/WebKit/public/platform/WebRect.h" | 22 #include "third_party/WebKit/public/platform/WebRect.h" |
23 #include "third_party/WebKit/public/platform/WebReferrerPolicy.h" | 23 #include "third_party/WebKit/public/platform/WebReferrerPolicy.h" |
24 #include "third_party/WebKit/public/platform/WebURLRequest.h" | 24 #include "third_party/WebKit/public/platform/WebURLRequest.h" |
25 #include "third_party/WebKit/public/platform/modules/permissions/permission_stat
us.mojom.h" | 25 #include "third_party/WebKit/public/platform/modules/permissions/permission_stat
us.mojom.h" |
26 #include "third_party/WebKit/public/web/WebFrameSerializerCacheControlPolicy.h" | 26 #include "third_party/WebKit/public/web/WebFrameSerializerCacheControlPolicy.h" |
27 #include "third_party/WebKit/public/web/WebWindowFeatures.h" | 27 #include "third_party/WebKit/public/web/WebWindowFeatures.h" |
| 28 #include "ui/accessibility/ax_enums.h" |
28 #include "ui/accessibility/ax_node_data.h" | 29 #include "ui/accessibility/ax_node_data.h" |
29 #include "ui/accessibility/ax_tree_update.h" | 30 #include "ui/accessibility/ax_tree_update.h" |
30 #include "ui/base/page_transition_types.h" | 31 #include "ui/base/page_transition_types.h" |
31 #include "ui/base/window_open_disposition.h" | 32 #include "ui/base/window_open_disposition.h" |
32 #include "ui/gfx/ipc/geometry/gfx_param_traits.h" | 33 #include "ui/gfx/ipc/geometry/gfx_param_traits.h" |
33 #include "ui/gfx/ipc/gfx_param_traits.h" | 34 #include "ui/gfx/ipc/gfx_param_traits.h" |
34 #include "ui/gfx/ipc/skia/gfx_skia_param_traits.h" | 35 #include "ui/gfx/ipc/skia/gfx_skia_param_traits.h" |
35 | 36 |
36 #undef IPC_MESSAGE_EXPORT | 37 #undef IPC_MESSAGE_EXPORT |
37 #define IPC_MESSAGE_EXPORT CONTENT_EXPORT | 38 #define IPC_MESSAGE_EXPORT CONTENT_EXPORT |
(...skipping 217 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
255 IPC_STRUCT_TRAITS_MEMBER(menuBarVisible) | 256 IPC_STRUCT_TRAITS_MEMBER(menuBarVisible) |
256 IPC_STRUCT_TRAITS_MEMBER(statusBarVisible) | 257 IPC_STRUCT_TRAITS_MEMBER(statusBarVisible) |
257 IPC_STRUCT_TRAITS_MEMBER(toolBarVisible) | 258 IPC_STRUCT_TRAITS_MEMBER(toolBarVisible) |
258 IPC_STRUCT_TRAITS_MEMBER(locationBarVisible) | 259 IPC_STRUCT_TRAITS_MEMBER(locationBarVisible) |
259 IPC_STRUCT_TRAITS_MEMBER(scrollbarsVisible) | 260 IPC_STRUCT_TRAITS_MEMBER(scrollbarsVisible) |
260 IPC_STRUCT_TRAITS_MEMBER(resizable) | 261 IPC_STRUCT_TRAITS_MEMBER(resizable) |
261 IPC_STRUCT_TRAITS_MEMBER(fullscreen) | 262 IPC_STRUCT_TRAITS_MEMBER(fullscreen) |
262 IPC_STRUCT_TRAITS_MEMBER(dialog) | 263 IPC_STRUCT_TRAITS_MEMBER(dialog) |
263 IPC_STRUCT_TRAITS_END() | 264 IPC_STRUCT_TRAITS_END() |
264 | 265 |
| 266 // TODO(tapted): Listing these requires exposing ax_enums.h which is a generated |
| 267 // header. This is problematic since it requires any target including this file |
| 268 // to depend directly on ax_gen to ensure the header exists, before attempting |
| 269 // to compile any files in that target. |
265 IPC_ENUM_TRAITS_MAX_VALUE(ui::AXEvent, ui::AX_EVENT_LAST) | 270 IPC_ENUM_TRAITS_MAX_VALUE(ui::AXEvent, ui::AX_EVENT_LAST) |
266 IPC_ENUM_TRAITS_MAX_VALUE(ui::AXRole, ui::AX_ROLE_LAST) | 271 IPC_ENUM_TRAITS_MAX_VALUE(ui::AXRole, ui::AX_ROLE_LAST) |
267 IPC_ENUM_TRAITS_MAX_VALUE(ui::AXBoolAttribute, ui::AX_BOOL_ATTRIBUTE_LAST) | 272 IPC_ENUM_TRAITS_MAX_VALUE(ui::AXBoolAttribute, ui::AX_BOOL_ATTRIBUTE_LAST) |
268 IPC_ENUM_TRAITS_MAX_VALUE(ui::AXFloatAttribute, ui::AX_FLOAT_ATTRIBUTE_LAST) | 273 IPC_ENUM_TRAITS_MAX_VALUE(ui::AXFloatAttribute, ui::AX_FLOAT_ATTRIBUTE_LAST) |
269 IPC_ENUM_TRAITS_MAX_VALUE(ui::AXIntAttribute, ui::AX_INT_ATTRIBUTE_LAST) | 274 IPC_ENUM_TRAITS_MAX_VALUE(ui::AXIntAttribute, ui::AX_INT_ATTRIBUTE_LAST) |
270 IPC_ENUM_TRAITS_MAX_VALUE(ui::AXIntListAttribute, | 275 IPC_ENUM_TRAITS_MAX_VALUE(ui::AXIntListAttribute, |
271 ui::AX_INT_LIST_ATTRIBUTE_LAST) | 276 ui::AX_INT_LIST_ATTRIBUTE_LAST) |
272 IPC_ENUM_TRAITS_MAX_VALUE(ui::AXStringAttribute, ui::AX_STRING_ATTRIBUTE_LAST) | 277 IPC_ENUM_TRAITS_MAX_VALUE(ui::AXStringAttribute, ui::AX_STRING_ATTRIBUTE_LAST) |
273 | 278 |
274 #endif // CONTENT_PUBLIC_COMMON_COMMON_PARAM_TRAITS_MACROS_H_ | 279 #endif // CONTENT_PUBLIC_COMMON_COMMON_PARAM_TRAITS_MACROS_H_ |
OLD | NEW |