| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 // Message definition file, included multiple times, hence no include guard. | 5 // Message definition file, included multiple times, hence no include guard. |
| 6 | 6 |
| 7 #include "content/common/content_export.h" |
| 7 #include "ipc/ipc_message_macros.h" | 8 #include "ipc/ipc_message_macros.h" |
| 8 #include "ipc/ipc_message_utils.h" | 9 #include "ipc/ipc_message_utils.h" |
| 9 #include "ipc/param_traits_macros.h" | 10 #include "ipc/param_traits_macros.h" |
| 10 #include "webkit/glue/web_intent_data.h" | 11 #include "webkit/glue/web_intent_data.h" |
| 11 #include "webkit/glue/web_intent_reply_data.h" | 12 #include "webkit/glue/web_intent_reply_data.h" |
| 12 | 13 |
| 14 #undef IPC_MESSAGE_EXPORT |
| 15 #define IPC_MESSAGE_EXPORT CONTENT_EXPORT |
| 13 #define IPC_MESSAGE_START IntentsMsgStart | 16 #define IPC_MESSAGE_START IntentsMsgStart |
| 14 | 17 |
| 15 IPC_ENUM_TRAITS(webkit_glue::WebIntentReplyType) | 18 IPC_ENUM_TRAITS(webkit_glue::WebIntentReplyType) |
| 16 | 19 |
| 17 IPC_STRUCT_TRAITS_BEGIN(webkit_glue::WebIntentData) | 20 IPC_STRUCT_TRAITS_BEGIN(webkit_glue::WebIntentData) |
| 18 IPC_STRUCT_TRAITS_MEMBER(action) | 21 IPC_STRUCT_TRAITS_MEMBER(action) |
| 19 IPC_STRUCT_TRAITS_MEMBER(type) | 22 IPC_STRUCT_TRAITS_MEMBER(type) |
| 20 IPC_STRUCT_TRAITS_MEMBER(data) | 23 IPC_STRUCT_TRAITS_MEMBER(data) |
| 21 IPC_STRUCT_TRAITS_END() | 24 IPC_STRUCT_TRAITS_END() |
| 22 | 25 |
| (...skipping 17 matching lines...) Expand all Loading... |
| 40 webkit_glue::WebIntentData, | 43 webkit_glue::WebIntentData, |
| 41 int /* intent ID */) | 44 int /* intent ID */) |
| 42 | 45 |
| 43 // Register a new service for Intents with the given action and type filter. | 46 // Register a new service for Intents with the given action and type filter. |
| 44 IPC_MESSAGE_ROUTED5(IntentsHostMsg_RegisterIntentService, | 47 IPC_MESSAGE_ROUTED5(IntentsHostMsg_RegisterIntentService, |
| 45 string16 /* action */, | 48 string16 /* action */, |
| 46 string16 /* type */, | 49 string16 /* type */, |
| 47 string16 /* href */, | 50 string16 /* href */, |
| 48 string16 /* title */, | 51 string16 /* title */, |
| 49 string16 /* disposition */) | 52 string16 /* disposition */) |
| OLD | NEW |