| 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" | |
| 14 #include "content/public/common/security_style.h" | 13 #include "content/public/common/security_style.h" |
| 15 #include "content/public/common/ssl_status.h" | 14 #include "content/public/common/ssl_status.h" |
| 16 #include "content/public/common/webplugininfo.h" | 15 #include "content/public/common/webplugininfo.h" |
| 17 #include "ipc/ipc_message_macros.h" | 16 #include "ipc/ipc_message_macros.h" |
| 18 #include "net/base/request_priority.h" | 17 #include "net/base/request_priority.h" |
| 19 #include "third_party/WebKit/public/platform/WebPoint.h" | 18 #include "third_party/WebKit/public/platform/WebPoint.h" |
| 20 #include "third_party/WebKit/public/platform/WebRect.h" | 19 #include "third_party/WebKit/public/platform/WebRect.h" |
| 21 #include "third_party/WebKit/public/platform/WebReferrerPolicy.h" | 20 #include "third_party/WebKit/public/platform/WebReferrerPolicy.h" |
| 22 #include "third_party/WebKit/public/platform/WebURLRequest.h" | 21 #include "third_party/WebKit/public/platform/WebURLRequest.h" |
| 23 #include "third_party/WebKit/public/web/WebWindowFeatures.h" | 22 #include "third_party/WebKit/public/web/WebWindowFeatures.h" |
| 24 #include "ui/base/window_open_disposition.h" | 23 #include "ui/base/window_open_disposition.h" |
| 25 #include "webkit/common/webpreferences.h" | 24 #include "webkit/common/webpreferences.h" |
| 26 | 25 |
| 27 #undef IPC_MESSAGE_EXPORT | 26 #undef IPC_MESSAGE_EXPORT |
| 28 #define IPC_MESSAGE_EXPORT CONTENT_EXPORT | 27 #define IPC_MESSAGE_EXPORT CONTENT_EXPORT |
| 29 | 28 |
| 30 IPC_ENUM_TRAITS(content::ConsoleMessageLevel) | 29 IPC_ENUM_TRAITS(content::ConsoleMessageLevel) |
| 31 IPC_ENUM_TRAITS(content::PageTransition) | 30 IPC_ENUM_TRAITS(content::PageTransition) |
| 32 IPC_ENUM_TRAITS(content::SecurityStyle) | 31 IPC_ENUM_TRAITS(content::SecurityStyle) |
| 33 IPC_ENUM_TRAITS(WebKit::WebReferrerPolicy) | 32 IPC_ENUM_TRAITS(WebKit::WebReferrerPolicy) |
| 34 IPC_ENUM_TRAITS(WindowOpenDisposition) | 33 IPC_ENUM_TRAITS(WindowOpenDisposition) |
| 35 IPC_ENUM_TRAITS(webkit_glue::EditingBehavior) | 34 IPC_ENUM_TRAITS(webkit_glue::EditingBehavior) |
| 36 IPC_ENUM_TRAITS(content::PasswordForm::Type) | |
| 37 IPC_ENUM_TRAITS(net::RequestPriority) | 35 IPC_ENUM_TRAITS(net::RequestPriority) |
| 38 | 36 |
| 39 IPC_STRUCT_TRAITS_BEGIN(WebKit::WebPoint) | 37 IPC_STRUCT_TRAITS_BEGIN(WebKit::WebPoint) |
| 40 IPC_STRUCT_TRAITS_MEMBER(x) | 38 IPC_STRUCT_TRAITS_MEMBER(x) |
| 41 IPC_STRUCT_TRAITS_MEMBER(y) | 39 IPC_STRUCT_TRAITS_MEMBER(y) |
| 42 IPC_STRUCT_TRAITS_END() | 40 IPC_STRUCT_TRAITS_END() |
| 43 | 41 |
| 44 IPC_STRUCT_TRAITS_BEGIN(WebKit::WebRect) | 42 IPC_STRUCT_TRAITS_BEGIN(WebKit::WebRect) |
| 45 IPC_STRUCT_TRAITS_MEMBER(x) | 43 IPC_STRUCT_TRAITS_MEMBER(x) |
| 46 IPC_STRUCT_TRAITS_MEMBER(y) | 44 IPC_STRUCT_TRAITS_MEMBER(y) |
| 47 IPC_STRUCT_TRAITS_MEMBER(width) | 45 IPC_STRUCT_TRAITS_MEMBER(width) |
| 48 IPC_STRUCT_TRAITS_MEMBER(height) | 46 IPC_STRUCT_TRAITS_MEMBER(height) |
| 49 IPC_STRUCT_TRAITS_END() | 47 IPC_STRUCT_TRAITS_END() |
| 50 | 48 |
| 51 IPC_STRUCT_TRAITS_BEGIN(content::PasswordForm) | |
| 52 IPC_STRUCT_TRAITS_MEMBER(signon_realm) | |
| 53 IPC_STRUCT_TRAITS_MEMBER(origin) | |
| 54 IPC_STRUCT_TRAITS_MEMBER(action) | |
| 55 IPC_STRUCT_TRAITS_MEMBER(submit_element) | |
| 56 IPC_STRUCT_TRAITS_MEMBER(username_element) | |
| 57 IPC_STRUCT_TRAITS_MEMBER(username_value) | |
| 58 IPC_STRUCT_TRAITS_MEMBER(other_possible_usernames) | |
| 59 IPC_STRUCT_TRAITS_MEMBER(password_element) | |
| 60 IPC_STRUCT_TRAITS_MEMBER(password_value) | |
| 61 IPC_STRUCT_TRAITS_MEMBER(password_autocomplete_set) | |
| 62 IPC_STRUCT_TRAITS_MEMBER(old_password_element) | |
| 63 IPC_STRUCT_TRAITS_MEMBER(old_password_value) | |
| 64 IPC_STRUCT_TRAITS_MEMBER(ssl_valid) | |
| 65 IPC_STRUCT_TRAITS_MEMBER(preferred) | |
| 66 IPC_STRUCT_TRAITS_MEMBER(blacklisted_by_user) | |
| 67 IPC_STRUCT_TRAITS_MEMBER(type) | |
| 68 IPC_STRUCT_TRAITS_MEMBER(times_used) | |
| 69 IPC_STRUCT_TRAITS_END() | |
| 70 | |
| 71 IPC_STRUCT_TRAITS_BEGIN(content::SSLStatus) | 49 IPC_STRUCT_TRAITS_BEGIN(content::SSLStatus) |
| 72 IPC_STRUCT_TRAITS_MEMBER(security_style) | 50 IPC_STRUCT_TRAITS_MEMBER(security_style) |
| 73 IPC_STRUCT_TRAITS_MEMBER(cert_id) | 51 IPC_STRUCT_TRAITS_MEMBER(cert_id) |
| 74 IPC_STRUCT_TRAITS_MEMBER(cert_status) | 52 IPC_STRUCT_TRAITS_MEMBER(cert_status) |
| 75 IPC_STRUCT_TRAITS_MEMBER(security_bits) | 53 IPC_STRUCT_TRAITS_MEMBER(security_bits) |
| 76 IPC_STRUCT_TRAITS_MEMBER(connection_status) | 54 IPC_STRUCT_TRAITS_MEMBER(connection_status) |
| 77 IPC_STRUCT_TRAITS_MEMBER(content_status) | 55 IPC_STRUCT_TRAITS_MEMBER(content_status) |
| 78 IPC_STRUCT_TRAITS_END() | 56 IPC_STRUCT_TRAITS_END() |
| 79 | 57 |
| 80 IPC_STRUCT_TRAITS_BEGIN(content::WebPluginMimeType) | 58 IPC_STRUCT_TRAITS_BEGIN(content::WebPluginMimeType) |
| (...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 220 IPC_STRUCT_TRAITS_MEMBER(statusBarVisible) | 198 IPC_STRUCT_TRAITS_MEMBER(statusBarVisible) |
| 221 IPC_STRUCT_TRAITS_MEMBER(toolBarVisible) | 199 IPC_STRUCT_TRAITS_MEMBER(toolBarVisible) |
| 222 IPC_STRUCT_TRAITS_MEMBER(locationBarVisible) | 200 IPC_STRUCT_TRAITS_MEMBER(locationBarVisible) |
| 223 IPC_STRUCT_TRAITS_MEMBER(scrollbarsVisible) | 201 IPC_STRUCT_TRAITS_MEMBER(scrollbarsVisible) |
| 224 IPC_STRUCT_TRAITS_MEMBER(resizable) | 202 IPC_STRUCT_TRAITS_MEMBER(resizable) |
| 225 IPC_STRUCT_TRAITS_MEMBER(fullscreen) | 203 IPC_STRUCT_TRAITS_MEMBER(fullscreen) |
| 226 IPC_STRUCT_TRAITS_MEMBER(dialog) | 204 IPC_STRUCT_TRAITS_MEMBER(dialog) |
| 227 IPC_STRUCT_TRAITS_END() | 205 IPC_STRUCT_TRAITS_END() |
| 228 | 206 |
| 229 #endif // CONTENT_PUBLIC_COMMON_COMMON_PARAM_TRAITS_MACROS_H_ | 207 #endif // CONTENT_PUBLIC_COMMON_COMMON_PARAM_TRAITS_MACROS_H_ |
| OLD | NEW |