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 24 matching lines...) Expand all Loading... |
35 content::CONSOLE_MESSAGE_LEVEL_LAST) | 35 content::CONSOLE_MESSAGE_LEVEL_LAST) |
36 IPC_ENUM_TRAITS_MAX_VALUE(content::SecurityStyle, | 36 IPC_ENUM_TRAITS_MAX_VALUE(content::SecurityStyle, |
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, |
| 46 content::V8_CACHE_OPTIONS_LAST) |
45 | 47 |
46 IPC_STRUCT_TRAITS_BEGIN(blink::WebPoint) | 48 IPC_STRUCT_TRAITS_BEGIN(blink::WebPoint) |
47 IPC_STRUCT_TRAITS_MEMBER(x) | 49 IPC_STRUCT_TRAITS_MEMBER(x) |
48 IPC_STRUCT_TRAITS_MEMBER(y) | 50 IPC_STRUCT_TRAITS_MEMBER(y) |
49 IPC_STRUCT_TRAITS_END() | 51 IPC_STRUCT_TRAITS_END() |
50 | 52 |
51 IPC_STRUCT_TRAITS_BEGIN(blink::WebRect) | 53 IPC_STRUCT_TRAITS_BEGIN(blink::WebRect) |
52 IPC_STRUCT_TRAITS_MEMBER(x) | 54 IPC_STRUCT_TRAITS_MEMBER(x) |
53 IPC_STRUCT_TRAITS_MEMBER(y) | 55 IPC_STRUCT_TRAITS_MEMBER(y) |
54 IPC_STRUCT_TRAITS_MEMBER(width) | 56 IPC_STRUCT_TRAITS_MEMBER(width) |
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
169 IPC_STRUCT_TRAITS_MEMBER(supports_multiple_windows) | 171 IPC_STRUCT_TRAITS_MEMBER(supports_multiple_windows) |
170 IPC_STRUCT_TRAITS_MEMBER(viewport_enabled) | 172 IPC_STRUCT_TRAITS_MEMBER(viewport_enabled) |
171 IPC_STRUCT_TRAITS_MEMBER(viewport_meta_enabled) | 173 IPC_STRUCT_TRAITS_MEMBER(viewport_meta_enabled) |
172 IPC_STRUCT_TRAITS_MEMBER(use_expanded_heuristics_for_gpu_rasterization) | 174 IPC_STRUCT_TRAITS_MEMBER(use_expanded_heuristics_for_gpu_rasterization) |
173 IPC_STRUCT_TRAITS_MEMBER(main_frame_resizes_are_orientation_changes) | 175 IPC_STRUCT_TRAITS_MEMBER(main_frame_resizes_are_orientation_changes) |
174 IPC_STRUCT_TRAITS_MEMBER(initialize_at_minimum_page_scale) | 176 IPC_STRUCT_TRAITS_MEMBER(initialize_at_minimum_page_scale) |
175 IPC_STRUCT_TRAITS_MEMBER(smart_insert_delete_enabled) | 177 IPC_STRUCT_TRAITS_MEMBER(smart_insert_delete_enabled) |
176 IPC_STRUCT_TRAITS_MEMBER(cookie_enabled) | 178 IPC_STRUCT_TRAITS_MEMBER(cookie_enabled) |
177 IPC_STRUCT_TRAITS_MEMBER(navigate_on_drag_drop) | 179 IPC_STRUCT_TRAITS_MEMBER(navigate_on_drag_drop) |
178 IPC_STRUCT_TRAITS_MEMBER(spatial_navigation_enabled) | 180 IPC_STRUCT_TRAITS_MEMBER(spatial_navigation_enabled) |
| 181 IPC_STRUCT_TRAITS_MEMBER(v8_cache_options) |
179 IPC_STRUCT_TRAITS_MEMBER(pepper_accelerated_video_decode_enabled) | 182 IPC_STRUCT_TRAITS_MEMBER(pepper_accelerated_video_decode_enabled) |
180 #if defined(OS_ANDROID) | 183 #if defined(OS_ANDROID) |
181 IPC_STRUCT_TRAITS_MEMBER(text_autosizing_enabled) | 184 IPC_STRUCT_TRAITS_MEMBER(text_autosizing_enabled) |
182 IPC_STRUCT_TRAITS_MEMBER(font_scale_factor) | 185 IPC_STRUCT_TRAITS_MEMBER(font_scale_factor) |
183 IPC_STRUCT_TRAITS_MEMBER(device_scale_adjustment) | 186 IPC_STRUCT_TRAITS_MEMBER(device_scale_adjustment) |
184 IPC_STRUCT_TRAITS_MEMBER(force_enable_zoom) | 187 IPC_STRUCT_TRAITS_MEMBER(force_enable_zoom) |
185 IPC_STRUCT_TRAITS_MEMBER(fullscreen_supported) | 188 IPC_STRUCT_TRAITS_MEMBER(fullscreen_supported) |
186 IPC_STRUCT_TRAITS_MEMBER(disallow_fullscreen_for_non_media_elements) | 189 IPC_STRUCT_TRAITS_MEMBER(disallow_fullscreen_for_non_media_elements) |
187 IPC_STRUCT_TRAITS_MEMBER(double_tap_to_zoom_enabled) | 190 IPC_STRUCT_TRAITS_MEMBER(double_tap_to_zoom_enabled) |
188 IPC_STRUCT_TRAITS_MEMBER(user_gesture_required_for_media_playback) | 191 IPC_STRUCT_TRAITS_MEMBER(user_gesture_required_for_media_playback) |
(...skipping 25 matching lines...) Expand all Loading... |
214 IPC_STRUCT_TRAITS_MEMBER(statusBarVisible) | 217 IPC_STRUCT_TRAITS_MEMBER(statusBarVisible) |
215 IPC_STRUCT_TRAITS_MEMBER(toolBarVisible) | 218 IPC_STRUCT_TRAITS_MEMBER(toolBarVisible) |
216 IPC_STRUCT_TRAITS_MEMBER(locationBarVisible) | 219 IPC_STRUCT_TRAITS_MEMBER(locationBarVisible) |
217 IPC_STRUCT_TRAITS_MEMBER(scrollbarsVisible) | 220 IPC_STRUCT_TRAITS_MEMBER(scrollbarsVisible) |
218 IPC_STRUCT_TRAITS_MEMBER(resizable) | 221 IPC_STRUCT_TRAITS_MEMBER(resizable) |
219 IPC_STRUCT_TRAITS_MEMBER(fullscreen) | 222 IPC_STRUCT_TRAITS_MEMBER(fullscreen) |
220 IPC_STRUCT_TRAITS_MEMBER(dialog) | 223 IPC_STRUCT_TRAITS_MEMBER(dialog) |
221 IPC_STRUCT_TRAITS_END() | 224 IPC_STRUCT_TRAITS_END() |
222 | 225 |
223 #endif // CONTENT_PUBLIC_COMMON_COMMON_PARAM_TRAITS_MACROS_H_ | 226 #endif // CONTENT_PUBLIC_COMMON_COMMON_PARAM_TRAITS_MACROS_H_ |
OLD | NEW |