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 |
11 #include "content/public/common/console_message_level.h" | 11 #include "content/public/common/console_message_level.h" |
12 #include "content/public/common/page_transition_types.h" | 12 #include "content/public/common/page_transition_types.h" |
13 #include "content/public/common/password_form.h" | 13 #include "content/public/common/password_form.h" |
14 #include "content/public/common/security_style.h" | 14 #include "content/public/common/security_style.h" |
15 #include "content/public/common/ssl_status.h" | 15 #include "content/public/common/ssl_status.h" |
| 16 #include "content/public/common/webplugininfo.h" |
16 #include "ipc/ipc_message_macros.h" | 17 #include "ipc/ipc_message_macros.h" |
17 #include "net/base/request_priority.h" | 18 #include "net/base/request_priority.h" |
18 #include "third_party/WebKit/public/platform/WebPoint.h" | 19 #include "third_party/WebKit/public/platform/WebPoint.h" |
19 #include "third_party/WebKit/public/platform/WebRect.h" | 20 #include "third_party/WebKit/public/platform/WebRect.h" |
20 #include "third_party/WebKit/public/platform/WebReferrerPolicy.h" | 21 #include "third_party/WebKit/public/platform/WebReferrerPolicy.h" |
21 #include "third_party/WebKit/public/platform/WebURLRequest.h" | 22 #include "third_party/WebKit/public/platform/WebURLRequest.h" |
22 #include "ui/base/window_open_disposition.h" | 23 #include "ui/base/window_open_disposition.h" |
23 #include "webkit/common/webpreferences.h" | 24 #include "webkit/common/webpreferences.h" |
24 #include "webkit/plugins/webplugininfo.h" | |
25 | 25 |
26 #undef IPC_MESSAGE_EXPORT | 26 #undef IPC_MESSAGE_EXPORT |
27 #define IPC_MESSAGE_EXPORT CONTENT_EXPORT | 27 #define IPC_MESSAGE_EXPORT CONTENT_EXPORT |
28 | 28 |
29 IPC_ENUM_TRAITS(content::ConsoleMessageLevel) | 29 IPC_ENUM_TRAITS(content::ConsoleMessageLevel) |
30 IPC_ENUM_TRAITS(content::PageTransition) | 30 IPC_ENUM_TRAITS(content::PageTransition) |
31 IPC_ENUM_TRAITS(content::SecurityStyle) | 31 IPC_ENUM_TRAITS(content::SecurityStyle) |
32 IPC_ENUM_TRAITS(WebKit::WebReferrerPolicy) | 32 IPC_ENUM_TRAITS(WebKit::WebReferrerPolicy) |
33 IPC_ENUM_TRAITS(WindowOpenDisposition) | 33 IPC_ENUM_TRAITS(WindowOpenDisposition) |
34 IPC_ENUM_TRAITS(webkit_glue::EditingBehavior) | 34 IPC_ENUM_TRAITS(webkit_glue::EditingBehavior) |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
69 | 69 |
70 IPC_STRUCT_TRAITS_BEGIN(content::SSLStatus) | 70 IPC_STRUCT_TRAITS_BEGIN(content::SSLStatus) |
71 IPC_STRUCT_TRAITS_MEMBER(security_style) | 71 IPC_STRUCT_TRAITS_MEMBER(security_style) |
72 IPC_STRUCT_TRAITS_MEMBER(cert_id) | 72 IPC_STRUCT_TRAITS_MEMBER(cert_id) |
73 IPC_STRUCT_TRAITS_MEMBER(cert_status) | 73 IPC_STRUCT_TRAITS_MEMBER(cert_status) |
74 IPC_STRUCT_TRAITS_MEMBER(security_bits) | 74 IPC_STRUCT_TRAITS_MEMBER(security_bits) |
75 IPC_STRUCT_TRAITS_MEMBER(connection_status) | 75 IPC_STRUCT_TRAITS_MEMBER(connection_status) |
76 IPC_STRUCT_TRAITS_MEMBER(content_status) | 76 IPC_STRUCT_TRAITS_MEMBER(content_status) |
77 IPC_STRUCT_TRAITS_END() | 77 IPC_STRUCT_TRAITS_END() |
78 | 78 |
79 IPC_STRUCT_TRAITS_BEGIN(webkit::WebPluginMimeType) | 79 IPC_STRUCT_TRAITS_BEGIN(content::WebPluginMimeType) |
80 IPC_STRUCT_TRAITS_MEMBER(mime_type) | 80 IPC_STRUCT_TRAITS_MEMBER(mime_type) |
81 IPC_STRUCT_TRAITS_MEMBER(file_extensions) | 81 IPC_STRUCT_TRAITS_MEMBER(file_extensions) |
82 IPC_STRUCT_TRAITS_MEMBER(description) | 82 IPC_STRUCT_TRAITS_MEMBER(description) |
83 IPC_STRUCT_TRAITS_MEMBER(additional_param_names) | 83 IPC_STRUCT_TRAITS_MEMBER(additional_param_names) |
84 IPC_STRUCT_TRAITS_MEMBER(additional_param_values) | 84 IPC_STRUCT_TRAITS_MEMBER(additional_param_values) |
85 IPC_STRUCT_TRAITS_END() | 85 IPC_STRUCT_TRAITS_END() |
86 | 86 |
87 IPC_STRUCT_TRAITS_BEGIN(webkit::WebPluginInfo) | 87 IPC_STRUCT_TRAITS_BEGIN(content::WebPluginInfo) |
88 IPC_STRUCT_TRAITS_MEMBER(name) | 88 IPC_STRUCT_TRAITS_MEMBER(name) |
89 IPC_STRUCT_TRAITS_MEMBER(path) | 89 IPC_STRUCT_TRAITS_MEMBER(path) |
90 IPC_STRUCT_TRAITS_MEMBER(version) | 90 IPC_STRUCT_TRAITS_MEMBER(version) |
91 IPC_STRUCT_TRAITS_MEMBER(desc) | 91 IPC_STRUCT_TRAITS_MEMBER(desc) |
92 IPC_STRUCT_TRAITS_MEMBER(mime_types) | 92 IPC_STRUCT_TRAITS_MEMBER(mime_types) |
93 IPC_STRUCT_TRAITS_MEMBER(type) | 93 IPC_STRUCT_TRAITS_MEMBER(type) |
94 IPC_STRUCT_TRAITS_MEMBER(pepper_permissions) | 94 IPC_STRUCT_TRAITS_MEMBER(pepper_permissions) |
95 IPC_STRUCT_TRAITS_END() | 95 IPC_STRUCT_TRAITS_END() |
96 | 96 |
97 IPC_STRUCT_TRAITS_BEGIN(WebPreferences) | 97 IPC_STRUCT_TRAITS_BEGIN(WebPreferences) |
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
198 IPC_STRUCT_TRAITS_MEMBER(force_enable_zoom) | 198 IPC_STRUCT_TRAITS_MEMBER(force_enable_zoom) |
199 IPC_STRUCT_TRAITS_MEMBER(double_tap_to_zoom_enabled) | 199 IPC_STRUCT_TRAITS_MEMBER(double_tap_to_zoom_enabled) |
200 IPC_STRUCT_TRAITS_MEMBER(user_gesture_required_for_media_playback) | 200 IPC_STRUCT_TRAITS_MEMBER(user_gesture_required_for_media_playback) |
201 IPC_STRUCT_TRAITS_MEMBER(default_video_poster_url) | 201 IPC_STRUCT_TRAITS_MEMBER(default_video_poster_url) |
202 IPC_STRUCT_TRAITS_MEMBER(support_deprecated_target_density_dpi) | 202 IPC_STRUCT_TRAITS_MEMBER(support_deprecated_target_density_dpi) |
203 IPC_STRUCT_TRAITS_MEMBER(use_wide_viewport) | 203 IPC_STRUCT_TRAITS_MEMBER(use_wide_viewport) |
204 #endif | 204 #endif |
205 IPC_STRUCT_TRAITS_END() | 205 IPC_STRUCT_TRAITS_END() |
206 | 206 |
207 #endif // CONTENT_PUBLIC_COMMON_COMMON_PARAM_TRAITS_MACROS_H_ | 207 #endif // CONTENT_PUBLIC_COMMON_COMMON_PARAM_TRAITS_MACROS_H_ |
OLD | NEW |