Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(188)

Side by Side Diff: content/common/intents_messages.h

Issue 10268014: Add constructor to get extras, service, ports from WebIntent object. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | webkit/glue/web_intent_data.h » ('j') | webkit/glue/web_intent_data.cc » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 // 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 "content/common/content_export.h"
8 #include "ipc/ipc_message_macros.h" 8 #include "ipc/ipc_message_macros.h"
9 #include "ipc/ipc_message_utils.h" 9 #include "ipc/ipc_message_utils.h"
10 #include "ipc/param_traits_macros.h" 10 #include "ipc/param_traits_macros.h"
11 #include "webkit/glue/web_intent_data.h" 11 #include "webkit/glue/web_intent_data.h"
12 #include "webkit/glue/web_intent_reply_data.h" 12 #include "webkit/glue/web_intent_reply_data.h"
13 13
14 #undef IPC_MESSAGE_EXPORT 14 #undef IPC_MESSAGE_EXPORT
15 #define IPC_MESSAGE_EXPORT CONTENT_EXPORT 15 #define IPC_MESSAGE_EXPORT CONTENT_EXPORT
16 #define IPC_MESSAGE_START IntentsMsgStart 16 #define IPC_MESSAGE_START IntentsMsgStart
17 17
18 IPC_ENUM_TRAITS(webkit_glue::WebIntentReplyType) 18 IPC_ENUM_TRAITS(webkit_glue::WebIntentReplyType)
19 IPC_ENUM_TRAITS(webkit_glue::WebIntentData::DataType) 19 IPC_ENUM_TRAITS(webkit_glue::WebIntentData::DataType)
20 20
21 IPC_STRUCT_TRAITS_BEGIN(webkit_glue::WebIntentData) 21 IPC_STRUCT_TRAITS_BEGIN(webkit_glue::WebIntentData)
22 IPC_STRUCT_TRAITS_MEMBER(action) 22 IPC_STRUCT_TRAITS_MEMBER(action)
23 IPC_STRUCT_TRAITS_MEMBER(type) 23 IPC_STRUCT_TRAITS_MEMBER(type)
24 IPC_STRUCT_TRAITS_MEMBER(data) 24 IPC_STRUCT_TRAITS_MEMBER(data)
25 IPC_STRUCT_TRAITS_MEMBER(extra_data) 25 IPC_STRUCT_TRAITS_MEMBER(extra_data)
26 IPC_STRUCT_TRAITS_MEMBER(service) 26 IPC_STRUCT_TRAITS_MEMBER(service)
27 IPC_STRUCT_TRAITS_MEMBER(unserialized_data) 27 IPC_STRUCT_TRAITS_MEMBER(unserialized_data)
28 IPC_STRUCT_TRAITS_MEMBER(message_port_ids)
28 IPC_STRUCT_TRAITS_MEMBER(blob_file) 29 IPC_STRUCT_TRAITS_MEMBER(blob_file)
29 IPC_STRUCT_TRAITS_MEMBER(blob_length) 30 IPC_STRUCT_TRAITS_MEMBER(blob_length)
30 IPC_STRUCT_TRAITS_MEMBER(data_type) 31 IPC_STRUCT_TRAITS_MEMBER(data_type)
31 IPC_STRUCT_TRAITS_END() 32 IPC_STRUCT_TRAITS_END()
32 33
33 // Set the intent data to be set on the service page. 34 // Set the intent data to be set on the service page.
34 IPC_MESSAGE_ROUTED1(IntentsMsg_SetWebIntentData, 35 IPC_MESSAGE_ROUTED1(IntentsMsg_SetWebIntentData,
35 webkit_glue::WebIntentData) 36 webkit_glue::WebIntentData)
36 37
37 // Send the service's reply to the client page. 38 // Send the service's reply to the client page.
(...skipping 12 matching lines...) Expand all
50 webkit_glue::WebIntentData, 51 webkit_glue::WebIntentData,
51 int /* intent ID */) 52 int /* intent ID */)
52 53
53 // Register a new service for Intents with the given action and type filter. 54 // Register a new service for Intents with the given action and type filter.
54 IPC_MESSAGE_ROUTED5(IntentsHostMsg_RegisterIntentService, 55 IPC_MESSAGE_ROUTED5(IntentsHostMsg_RegisterIntentService,
55 string16 /* action */, 56 string16 /* action */,
56 string16 /* type */, 57 string16 /* type */,
57 string16 /* href */, 58 string16 /* href */,
58 string16 /* title */, 59 string16 /* title */,
59 string16 /* disposition */) 60 string16 /* disposition */)
OLDNEW
« no previous file with comments | « no previous file | webkit/glue/web_intent_data.h » ('j') | webkit/glue/web_intent_data.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698