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 "ipc/ipc_message_macros.h" | 7 #include "ipc/ipc_message_macros.h" |
8 #include "ipc/ipc_message_utils.h" | 8 #include "ipc/ipc_message_utils.h" |
9 #include "ipc/param_traits_macros.h" | 9 #include "ipc/param_traits_macros.h" |
10 #include "webkit/glue/web_intent_data.h" | 10 #include "webkit/glue/web_intent_data.h" |
(...skipping 15 matching lines...) Expand all Loading... |
26 | 26 |
27 IPC_MESSAGE_ROUTED3(IntentsMsg_WebIntentReply, | 27 IPC_MESSAGE_ROUTED3(IntentsMsg_WebIntentReply, |
28 webkit_glue::WebIntentReplyType /* reply type */, | 28 webkit_glue::WebIntentReplyType /* reply type */, |
29 string16 /* payload data */, | 29 string16 /* payload data */, |
30 int /* intent ID */) | 30 int /* intent ID */) |
31 | 31 |
32 // Route the startActivity Intents call from a page to the service picker. | 32 // Route the startActivity Intents call from a page to the service picker. |
33 IPC_MESSAGE_ROUTED2(IntentsHostMsg_WebIntentDispatch, | 33 IPC_MESSAGE_ROUTED2(IntentsHostMsg_WebIntentDispatch, |
34 webkit_glue::WebIntentData, | 34 webkit_glue::WebIntentData, |
35 int /* intent ID */) | 35 int /* intent ID */) |
| 36 |
| 37 // Register a new handler for Intents with the given action and type filter. |
| 38 IPC_MESSAGE_ROUTED5(IntentsHostMsg_RegisterIntentHandler, |
| 39 string16 /* action */, |
| 40 string16 /* type */, |
| 41 string16 /* href */, |
| 42 string16 /* title */, |
| 43 string16 /* disposition */) |
OLD | NEW |