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 |
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
74 ui::HOVER_TYPE_LAST) | 74 ui::HOVER_TYPE_LAST) |
75 IPC_ENUM_TRAITS_MIN_MAX_VALUE(content::ImageAnimationPolicy, | 75 IPC_ENUM_TRAITS_MIN_MAX_VALUE(content::ImageAnimationPolicy, |
76 content::IMAGE_ANIMATION_POLICY_ALLOWED, | 76 content::IMAGE_ANIMATION_POLICY_ALLOWED, |
77 content::IMAGE_ANIMATION_POLICY_NO_ANIMATION) | 77 content::IMAGE_ANIMATION_POLICY_NO_ANIMATION) |
78 IPC_ENUM_TRAITS_MIN_MAX_VALUE(content::ViewportStyle, | 78 IPC_ENUM_TRAITS_MIN_MAX_VALUE(content::ViewportStyle, |
79 content::ViewportStyle::DEFAULT, | 79 content::ViewportStyle::DEFAULT, |
80 content::ViewportStyle::LAST) | 80 content::ViewportStyle::LAST) |
81 IPC_ENUM_TRAITS_MIN_MAX_VALUE( | 81 IPC_ENUM_TRAITS_MIN_MAX_VALUE( |
82 content::AutoplayPolicy, | 82 content::AutoplayPolicy, |
83 content::AutoplayPolicy::kNoUserGestureRequired, | 83 content::AutoplayPolicy::kNoUserGestureRequired, |
84 content::AutoplayPolicy::kUserGestureRequiredForCrossOrigin) | 84 content::AutoplayPolicy::kDocumentUserActivationRequired) |
85 | 85 |
86 IPC_STRUCT_TRAITS_BEGIN(blink::WebPoint) | 86 IPC_STRUCT_TRAITS_BEGIN(blink::WebPoint) |
87 IPC_STRUCT_TRAITS_MEMBER(x) | 87 IPC_STRUCT_TRAITS_MEMBER(x) |
88 IPC_STRUCT_TRAITS_MEMBER(y) | 88 IPC_STRUCT_TRAITS_MEMBER(y) |
89 IPC_STRUCT_TRAITS_END() | 89 IPC_STRUCT_TRAITS_END() |
90 | 90 |
91 IPC_STRUCT_TRAITS_BEGIN(blink::WebRect) | 91 IPC_STRUCT_TRAITS_BEGIN(blink::WebRect) |
92 IPC_STRUCT_TRAITS_MEMBER(x) | 92 IPC_STRUCT_TRAITS_MEMBER(x) |
93 IPC_STRUCT_TRAITS_MEMBER(y) | 93 IPC_STRUCT_TRAITS_MEMBER(y) |
94 IPC_STRUCT_TRAITS_MEMBER(width) | 94 IPC_STRUCT_TRAITS_MEMBER(width) |
(...skipping 190 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
285 IPC_ENUM_TRAITS_MAX_VALUE(ui::AXTextAffinity, ui::AX_TEXT_AFFINITY_LAST) | 285 IPC_ENUM_TRAITS_MAX_VALUE(ui::AXTextAffinity, ui::AX_TEXT_AFFINITY_LAST) |
286 IPC_ENUM_TRAITS_MAX_VALUE(ui::AXEventFrom, ui::AX_EVENT_FROM_LAST) | 286 IPC_ENUM_TRAITS_MAX_VALUE(ui::AXEventFrom, ui::AX_EVENT_FROM_LAST) |
287 | 287 |
288 IPC_STRUCT_TRAITS_BEGIN(ui::AXRelativeBounds) | 288 IPC_STRUCT_TRAITS_BEGIN(ui::AXRelativeBounds) |
289 IPC_STRUCT_TRAITS_MEMBER(offset_container_id) | 289 IPC_STRUCT_TRAITS_MEMBER(offset_container_id) |
290 IPC_STRUCT_TRAITS_MEMBER(bounds) | 290 IPC_STRUCT_TRAITS_MEMBER(bounds) |
291 IPC_STRUCT_TRAITS_MEMBER(transform) | 291 IPC_STRUCT_TRAITS_MEMBER(transform) |
292 IPC_STRUCT_TRAITS_END() | 292 IPC_STRUCT_TRAITS_END() |
293 | 293 |
294 #endif // CONTENT_PUBLIC_COMMON_COMMON_PARAM_TRAITS_MACROS_H_ | 294 #endif // CONTENT_PUBLIC_COMMON_COMMON_PARAM_TRAITS_MACROS_H_ |
OLD | NEW |