| 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 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 45 IPC_ENUM_TRAITS_MAX_VALUE(content::V8CacheOptions, | 45 IPC_ENUM_TRAITS_MAX_VALUE(content::V8CacheOptions, |
| 46 content::V8_CACHE_OPTIONS_LAST) | 46 content::V8_CACHE_OPTIONS_LAST) |
| 47 IPC_ENUM_TRAITS_MAX_VALUE(content::V8ScriptStreamingMode, | 47 IPC_ENUM_TRAITS_MAX_VALUE(content::V8ScriptStreamingMode, |
| 48 content::V8_SCRIPT_STREAMING_MODE_LAST) | 48 content::V8_SCRIPT_STREAMING_MODE_LAST) |
| 49 IPC_ENUM_TRAITS_MIN_MAX_VALUE(ui::PointerType, | 49 IPC_ENUM_TRAITS_MIN_MAX_VALUE(ui::PointerType, |
| 50 ui::POINTER_TYPE_FIRST, | 50 ui::POINTER_TYPE_FIRST, |
| 51 ui::POINTER_TYPE_LAST) | 51 ui::POINTER_TYPE_LAST) |
| 52 IPC_ENUM_TRAITS_MIN_MAX_VALUE(ui::HoverType, | 52 IPC_ENUM_TRAITS_MIN_MAX_VALUE(ui::HoverType, |
| 53 ui::HOVER_TYPE_FIRST, | 53 ui::HOVER_TYPE_FIRST, |
| 54 ui::HOVER_TYPE_LAST) | 54 ui::HOVER_TYPE_LAST) |
| 55 #if defined(ENABLE_EXTENSIONS) |
| 56 IPC_ENUM_TRAITS_MIN_MAX_VALUE(content::ImageAnimationPolicy, |
| 57 content::IMAGE_ANIMATION_POLICY_ALLOWED, |
| 58 content::IMAGE_ANIMATION_POLICY_NO_ANIMATION) |
| 59 #endif |
| 55 | 60 |
| 56 IPC_STRUCT_TRAITS_BEGIN(blink::WebPoint) | 61 IPC_STRUCT_TRAITS_BEGIN(blink::WebPoint) |
| 57 IPC_STRUCT_TRAITS_MEMBER(x) | 62 IPC_STRUCT_TRAITS_MEMBER(x) |
| 58 IPC_STRUCT_TRAITS_MEMBER(y) | 63 IPC_STRUCT_TRAITS_MEMBER(y) |
| 59 IPC_STRUCT_TRAITS_END() | 64 IPC_STRUCT_TRAITS_END() |
| 60 | 65 |
| 61 IPC_STRUCT_TRAITS_BEGIN(blink::WebRect) | 66 IPC_STRUCT_TRAITS_BEGIN(blink::WebRect) |
| 62 IPC_STRUCT_TRAITS_MEMBER(x) | 67 IPC_STRUCT_TRAITS_MEMBER(x) |
| 63 IPC_STRUCT_TRAITS_MEMBER(y) | 68 IPC_STRUCT_TRAITS_MEMBER(y) |
| 64 IPC_STRUCT_TRAITS_MEMBER(width) | 69 IPC_STRUCT_TRAITS_MEMBER(width) |
| (...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 191 IPC_STRUCT_TRAITS_MEMBER(initialize_at_minimum_page_scale) | 196 IPC_STRUCT_TRAITS_MEMBER(initialize_at_minimum_page_scale) |
| 192 IPC_STRUCT_TRAITS_MEMBER(smart_insert_delete_enabled) | 197 IPC_STRUCT_TRAITS_MEMBER(smart_insert_delete_enabled) |
| 193 IPC_STRUCT_TRAITS_MEMBER(cookie_enabled) | 198 IPC_STRUCT_TRAITS_MEMBER(cookie_enabled) |
| 194 IPC_STRUCT_TRAITS_MEMBER(navigate_on_drag_drop) | 199 IPC_STRUCT_TRAITS_MEMBER(navigate_on_drag_drop) |
| 195 IPC_STRUCT_TRAITS_MEMBER(spatial_navigation_enabled) | 200 IPC_STRUCT_TRAITS_MEMBER(spatial_navigation_enabled) |
| 196 IPC_STRUCT_TRAITS_MEMBER(v8_cache_options) | 201 IPC_STRUCT_TRAITS_MEMBER(v8_cache_options) |
| 197 IPC_STRUCT_TRAITS_MEMBER(v8_script_streaming_enabled) | 202 IPC_STRUCT_TRAITS_MEMBER(v8_script_streaming_enabled) |
| 198 IPC_STRUCT_TRAITS_MEMBER(v8_script_streaming_mode) | 203 IPC_STRUCT_TRAITS_MEMBER(v8_script_streaming_mode) |
| 199 IPC_STRUCT_TRAITS_MEMBER(slimming_paint_enabled) | 204 IPC_STRUCT_TRAITS_MEMBER(slimming_paint_enabled) |
| 200 IPC_STRUCT_TRAITS_MEMBER(pepper_accelerated_video_decode_enabled) | 205 IPC_STRUCT_TRAITS_MEMBER(pepper_accelerated_video_decode_enabled) |
| 206 #if defined(ENABLE_EXTENSIONS) |
| 207 IPC_STRUCT_TRAITS_MEMBER(animation_policy) |
| 208 #endif |
| 201 #if defined(OS_ANDROID) | 209 #if defined(OS_ANDROID) |
| 202 IPC_STRUCT_TRAITS_MEMBER(text_autosizing_enabled) | 210 IPC_STRUCT_TRAITS_MEMBER(text_autosizing_enabled) |
| 203 IPC_STRUCT_TRAITS_MEMBER(font_scale_factor) | 211 IPC_STRUCT_TRAITS_MEMBER(font_scale_factor) |
| 204 IPC_STRUCT_TRAITS_MEMBER(device_scale_adjustment) | 212 IPC_STRUCT_TRAITS_MEMBER(device_scale_adjustment) |
| 205 IPC_STRUCT_TRAITS_MEMBER(force_enable_zoom) | 213 IPC_STRUCT_TRAITS_MEMBER(force_enable_zoom) |
| 206 IPC_STRUCT_TRAITS_MEMBER(fullscreen_supported) | 214 IPC_STRUCT_TRAITS_MEMBER(fullscreen_supported) |
| 207 IPC_STRUCT_TRAITS_MEMBER(double_tap_to_zoom_enabled) | 215 IPC_STRUCT_TRAITS_MEMBER(double_tap_to_zoom_enabled) |
| 208 IPC_STRUCT_TRAITS_MEMBER(user_gesture_required_for_media_playback) | 216 IPC_STRUCT_TRAITS_MEMBER(user_gesture_required_for_media_playback) |
| 209 IPC_STRUCT_TRAITS_MEMBER(default_video_poster_url) | 217 IPC_STRUCT_TRAITS_MEMBER(default_video_poster_url) |
| 210 IPC_STRUCT_TRAITS_MEMBER(support_deprecated_target_density_dpi) | 218 IPC_STRUCT_TRAITS_MEMBER(support_deprecated_target_density_dpi) |
| (...skipping 26 matching lines...) Expand all Loading... |
| 237 IPC_STRUCT_TRAITS_MEMBER(statusBarVisible) | 245 IPC_STRUCT_TRAITS_MEMBER(statusBarVisible) |
| 238 IPC_STRUCT_TRAITS_MEMBER(toolBarVisible) | 246 IPC_STRUCT_TRAITS_MEMBER(toolBarVisible) |
| 239 IPC_STRUCT_TRAITS_MEMBER(locationBarVisible) | 247 IPC_STRUCT_TRAITS_MEMBER(locationBarVisible) |
| 240 IPC_STRUCT_TRAITS_MEMBER(scrollbarsVisible) | 248 IPC_STRUCT_TRAITS_MEMBER(scrollbarsVisible) |
| 241 IPC_STRUCT_TRAITS_MEMBER(resizable) | 249 IPC_STRUCT_TRAITS_MEMBER(resizable) |
| 242 IPC_STRUCT_TRAITS_MEMBER(fullscreen) | 250 IPC_STRUCT_TRAITS_MEMBER(fullscreen) |
| 243 IPC_STRUCT_TRAITS_MEMBER(dialog) | 251 IPC_STRUCT_TRAITS_MEMBER(dialog) |
| 244 IPC_STRUCT_TRAITS_END() | 252 IPC_STRUCT_TRAITS_END() |
| 245 | 253 |
| 246 #endif // CONTENT_PUBLIC_COMMON_COMMON_PARAM_TRAITS_MACROS_H_ | 254 #endif // CONTENT_PUBLIC_COMMON_COMMON_PARAM_TRAITS_MACROS_H_ |
| OLD | NEW |