| 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 26 matching lines...) Expand all Loading... |
| 37 content::SECURITY_STYLE_LAST) | 37 content::SECURITY_STYLE_LAST) |
| 38 IPC_ENUM_TRAITS_MAX_VALUE(blink::WebReferrerPolicy, | 38 IPC_ENUM_TRAITS_MAX_VALUE(blink::WebReferrerPolicy, |
| 39 blink::WebReferrerPolicyLast) | 39 blink::WebReferrerPolicyLast) |
| 40 IPC_ENUM_TRAITS_MAX_VALUE(content::EditingBehavior, | 40 IPC_ENUM_TRAITS_MAX_VALUE(content::EditingBehavior, |
| 41 content::EDITING_BEHAVIOR_LAST) | 41 content::EDITING_BEHAVIOR_LAST) |
| 42 IPC_ENUM_TRAITS_MAX_VALUE(WindowOpenDisposition, | 42 IPC_ENUM_TRAITS_MAX_VALUE(WindowOpenDisposition, |
| 43 WINDOW_OPEN_DISPOSITION_LAST) | 43 WINDOW_OPEN_DISPOSITION_LAST) |
| 44 IPC_ENUM_TRAITS_MAX_VALUE(net::RequestPriority, net::MAXIMUM_PRIORITY) | 44 IPC_ENUM_TRAITS_MAX_VALUE(net::RequestPriority, net::MAXIMUM_PRIORITY) |
| 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_MIN_MAX_VALUE(content::PointerType, |
| 48 content::POINTER_TYPE_FIRST, |
| 49 content::POINTER_TYPE_LAST) |
| 50 IPC_ENUM_TRAITS_MIN_MAX_VALUE(content::HoverType, |
| 51 content::HOVER_TYPE_FIRST, |
| 52 content::HOVER_TYPE_LAST) |
| 47 | 53 |
| 48 IPC_STRUCT_TRAITS_BEGIN(blink::WebPoint) | 54 IPC_STRUCT_TRAITS_BEGIN(blink::WebPoint) |
| 49 IPC_STRUCT_TRAITS_MEMBER(x) | 55 IPC_STRUCT_TRAITS_MEMBER(x) |
| 50 IPC_STRUCT_TRAITS_MEMBER(y) | 56 IPC_STRUCT_TRAITS_MEMBER(y) |
| 51 IPC_STRUCT_TRAITS_END() | 57 IPC_STRUCT_TRAITS_END() |
| 52 | 58 |
| 53 IPC_STRUCT_TRAITS_BEGIN(blink::WebRect) | 59 IPC_STRUCT_TRAITS_BEGIN(blink::WebRect) |
| 54 IPC_STRUCT_TRAITS_MEMBER(x) | 60 IPC_STRUCT_TRAITS_MEMBER(x) |
| 55 IPC_STRUCT_TRAITS_MEMBER(y) | 61 IPC_STRUCT_TRAITS_MEMBER(y) |
| 56 IPC_STRUCT_TRAITS_MEMBER(width) | 62 IPC_STRUCT_TRAITS_MEMBER(width) |
| (...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 156 IPC_STRUCT_TRAITS_MEMBER(allow_running_insecure_content) | 162 IPC_STRUCT_TRAITS_MEMBER(allow_running_insecure_content) |
| 157 IPC_STRUCT_TRAITS_MEMBER(enable_scroll_animator) | 163 IPC_STRUCT_TRAITS_MEMBER(enable_scroll_animator) |
| 158 IPC_STRUCT_TRAITS_MEMBER(password_echo_enabled) | 164 IPC_STRUCT_TRAITS_MEMBER(password_echo_enabled) |
| 159 IPC_STRUCT_TRAITS_MEMBER(should_clear_document_background) | 165 IPC_STRUCT_TRAITS_MEMBER(should_clear_document_background) |
| 160 IPC_STRUCT_TRAITS_MEMBER(region_based_columns_enabled) | 166 IPC_STRUCT_TRAITS_MEMBER(region_based_columns_enabled) |
| 161 IPC_STRUCT_TRAITS_MEMBER(touch_enabled) | 167 IPC_STRUCT_TRAITS_MEMBER(touch_enabled) |
| 162 IPC_STRUCT_TRAITS_MEMBER(device_supports_touch) | 168 IPC_STRUCT_TRAITS_MEMBER(device_supports_touch) |
| 163 IPC_STRUCT_TRAITS_MEMBER(device_supports_mouse) | 169 IPC_STRUCT_TRAITS_MEMBER(device_supports_mouse) |
| 164 IPC_STRUCT_TRAITS_MEMBER(touch_adjustment_enabled) | 170 IPC_STRUCT_TRAITS_MEMBER(touch_adjustment_enabled) |
| 165 IPC_STRUCT_TRAITS_MEMBER(pointer_events_max_touch_points) | 171 IPC_STRUCT_TRAITS_MEMBER(pointer_events_max_touch_points) |
| 172 IPC_STRUCT_TRAITS_MEMBER(available_pointer_types) |
| 173 IPC_STRUCT_TRAITS_MEMBER(primary_pointer_type) |
| 174 IPC_STRUCT_TRAITS_MEMBER(available_hover_types) |
| 175 IPC_STRUCT_TRAITS_MEMBER(primary_hover_type) |
| 166 IPC_STRUCT_TRAITS_MEMBER(sync_xhr_in_documents_enabled) | 176 IPC_STRUCT_TRAITS_MEMBER(sync_xhr_in_documents_enabled) |
| 167 IPC_STRUCT_TRAITS_MEMBER(deferred_image_decoding_enabled) | 177 IPC_STRUCT_TRAITS_MEMBER(deferred_image_decoding_enabled) |
| 168 IPC_STRUCT_TRAITS_MEMBER(should_respect_image_orientation) | 178 IPC_STRUCT_TRAITS_MEMBER(should_respect_image_orientation) |
| 169 IPC_STRUCT_TRAITS_MEMBER(number_of_cpu_cores) | 179 IPC_STRUCT_TRAITS_MEMBER(number_of_cpu_cores) |
| 170 IPC_STRUCT_TRAITS_MEMBER(editing_behavior) | 180 IPC_STRUCT_TRAITS_MEMBER(editing_behavior) |
| 171 IPC_STRUCT_TRAITS_MEMBER(supports_multiple_windows) | 181 IPC_STRUCT_TRAITS_MEMBER(supports_multiple_windows) |
| 172 IPC_STRUCT_TRAITS_MEMBER(viewport_enabled) | 182 IPC_STRUCT_TRAITS_MEMBER(viewport_enabled) |
| 173 IPC_STRUCT_TRAITS_MEMBER(viewport_meta_enabled) | 183 IPC_STRUCT_TRAITS_MEMBER(viewport_meta_enabled) |
| 174 IPC_STRUCT_TRAITS_MEMBER(main_frame_resizes_are_orientation_changes) | 184 IPC_STRUCT_TRAITS_MEMBER(main_frame_resizes_are_orientation_changes) |
| 175 IPC_STRUCT_TRAITS_MEMBER(initialize_at_minimum_page_scale) | 185 IPC_STRUCT_TRAITS_MEMBER(initialize_at_minimum_page_scale) |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 218 IPC_STRUCT_TRAITS_MEMBER(statusBarVisible) | 228 IPC_STRUCT_TRAITS_MEMBER(statusBarVisible) |
| 219 IPC_STRUCT_TRAITS_MEMBER(toolBarVisible) | 229 IPC_STRUCT_TRAITS_MEMBER(toolBarVisible) |
| 220 IPC_STRUCT_TRAITS_MEMBER(locationBarVisible) | 230 IPC_STRUCT_TRAITS_MEMBER(locationBarVisible) |
| 221 IPC_STRUCT_TRAITS_MEMBER(scrollbarsVisible) | 231 IPC_STRUCT_TRAITS_MEMBER(scrollbarsVisible) |
| 222 IPC_STRUCT_TRAITS_MEMBER(resizable) | 232 IPC_STRUCT_TRAITS_MEMBER(resizable) |
| 223 IPC_STRUCT_TRAITS_MEMBER(fullscreen) | 233 IPC_STRUCT_TRAITS_MEMBER(fullscreen) |
| 224 IPC_STRUCT_TRAITS_MEMBER(dialog) | 234 IPC_STRUCT_TRAITS_MEMBER(dialog) |
| 225 IPC_STRUCT_TRAITS_END() | 235 IPC_STRUCT_TRAITS_END() |
| 226 | 236 |
| 227 #endif // CONTENT_PUBLIC_COMMON_COMMON_PARAM_TRAITS_MACROS_H_ | 237 #endif // CONTENT_PUBLIC_COMMON_COMMON_PARAM_TRAITS_MACROS_H_ |
| OLD | NEW |