Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(65)

Side by Side Diff: content/public/common/common_param_traits_macros.h

Issue 2922033002: Autoplay: fixes IPC traits for WebPreferences. (Closed)
Patch Set: Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 ui::POINTER_TYPE_LAST) 71 ui::POINTER_TYPE_LAST)
72 IPC_ENUM_TRAITS_MIN_MAX_VALUE(ui::HoverType, 72 IPC_ENUM_TRAITS_MIN_MAX_VALUE(ui::HoverType,
73 ui::HOVER_TYPE_FIRST, 73 ui::HOVER_TYPE_FIRST,
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(content::AutoplayPolicy, 81 IPC_ENUM_TRAITS_MIN_MAX_VALUE(
82 content::AutoplayPolicy::kNoUserGestureRequired, 82 content::AutoplayPolicy,
83 content::AutoplayPolicy::kUserGestureRequired) 83 content::AutoplayPolicy::kNoUserGestureRequired,
84 content::AutoplayPolicy::kUserGestureRequiredForCrossOrigin)
84 85
85 IPC_STRUCT_TRAITS_BEGIN(blink::WebPoint) 86 IPC_STRUCT_TRAITS_BEGIN(blink::WebPoint)
86 IPC_STRUCT_TRAITS_MEMBER(x) 87 IPC_STRUCT_TRAITS_MEMBER(x)
87 IPC_STRUCT_TRAITS_MEMBER(y) 88 IPC_STRUCT_TRAITS_MEMBER(y)
88 IPC_STRUCT_TRAITS_END() 89 IPC_STRUCT_TRAITS_END()
89 90
90 IPC_STRUCT_TRAITS_BEGIN(blink::WebRect) 91 IPC_STRUCT_TRAITS_BEGIN(blink::WebRect)
91 IPC_STRUCT_TRAITS_MEMBER(x) 92 IPC_STRUCT_TRAITS_MEMBER(x)
92 IPC_STRUCT_TRAITS_MEMBER(y) 93 IPC_STRUCT_TRAITS_MEMBER(y)
93 IPC_STRUCT_TRAITS_MEMBER(width) 94 IPC_STRUCT_TRAITS_MEMBER(width)
(...skipping 195 matching lines...) Expand 10 before | Expand all | Expand 10 after
289 IPC_ENUM_TRAITS_MAX_VALUE(ui::AXTextAffinity, ui::AX_TEXT_AFFINITY_LAST) 290 IPC_ENUM_TRAITS_MAX_VALUE(ui::AXTextAffinity, ui::AX_TEXT_AFFINITY_LAST)
290 IPC_ENUM_TRAITS_MAX_VALUE(ui::AXEventFrom, ui::AX_EVENT_FROM_LAST) 291 IPC_ENUM_TRAITS_MAX_VALUE(ui::AXEventFrom, ui::AX_EVENT_FROM_LAST)
291 292
292 IPC_STRUCT_TRAITS_BEGIN(ui::AXRelativeBounds) 293 IPC_STRUCT_TRAITS_BEGIN(ui::AXRelativeBounds)
293 IPC_STRUCT_TRAITS_MEMBER(offset_container_id) 294 IPC_STRUCT_TRAITS_MEMBER(offset_container_id)
294 IPC_STRUCT_TRAITS_MEMBER(bounds) 295 IPC_STRUCT_TRAITS_MEMBER(bounds)
295 IPC_STRUCT_TRAITS_MEMBER(transform) 296 IPC_STRUCT_TRAITS_MEMBER(transform)
296 IPC_STRUCT_TRAITS_END() 297 IPC_STRUCT_TRAITS_END()
297 298
298 #endif // CONTENT_PUBLIC_COMMON_COMMON_PARAM_TRAITS_MACROS_H_ 299 #endif // CONTENT_PUBLIC_COMMON_COMMON_PARAM_TRAITS_MACROS_H_
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698