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

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

Issue 10541125: Add "scheme" field to WebIntentServiceData object. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Add scheme to IPC traits. Created 8 years, 5 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
« no previous file with comments | « chrome/chrome_tests.gypi ('k') | webkit/glue/web_intent_service_data.h » ('j') | no next file with comments »
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"
(...skipping 19 matching lines...) Expand all
30 IPC_STRUCT_TRAITS_MEMBER(unserialized_data) 30 IPC_STRUCT_TRAITS_MEMBER(unserialized_data)
31 IPC_STRUCT_TRAITS_MEMBER(message_port_ids) 31 IPC_STRUCT_TRAITS_MEMBER(message_port_ids)
32 IPC_STRUCT_TRAITS_MEMBER(blob_file) 32 IPC_STRUCT_TRAITS_MEMBER(blob_file)
33 IPC_STRUCT_TRAITS_MEMBER(blob_length) 33 IPC_STRUCT_TRAITS_MEMBER(blob_length)
34 IPC_STRUCT_TRAITS_MEMBER(root_path) 34 IPC_STRUCT_TRAITS_MEMBER(root_path)
35 IPC_STRUCT_TRAITS_MEMBER(filesystem_id) 35 IPC_STRUCT_TRAITS_MEMBER(filesystem_id)
36 IPC_STRUCT_TRAITS_MEMBER(data_type) 36 IPC_STRUCT_TRAITS_MEMBER(data_type)
37 IPC_STRUCT_TRAITS_END() 37 IPC_STRUCT_TRAITS_END()
38 38
39 IPC_STRUCT_TRAITS_BEGIN(webkit_glue::WebIntentServiceData) 39 IPC_STRUCT_TRAITS_BEGIN(webkit_glue::WebIntentServiceData)
40 IPC_STRUCT_TRAITS_MEMBER(service_url)
41 IPC_STRUCT_TRAITS_MEMBER(action) 40 IPC_STRUCT_TRAITS_MEMBER(action)
42 IPC_STRUCT_TRAITS_MEMBER(type) 41 IPC_STRUCT_TRAITS_MEMBER(type)
42 IPC_STRUCT_TRAITS_MEMBER(scheme)
43 IPC_STRUCT_TRAITS_MEMBER(service_url)
43 IPC_STRUCT_TRAITS_MEMBER(title) 44 IPC_STRUCT_TRAITS_MEMBER(title)
44 IPC_STRUCT_TRAITS_MEMBER(disposition) 45 IPC_STRUCT_TRAITS_MEMBER(disposition)
45 IPC_STRUCT_TRAITS_END() 46 IPC_STRUCT_TRAITS_END()
46 47
47 // Set the intent data to be set on the service page. 48 // Set the intent data to be set on the service page.
48 IPC_MESSAGE_ROUTED1(IntentsMsg_SetWebIntentData, 49 IPC_MESSAGE_ROUTED1(IntentsMsg_SetWebIntentData,
49 webkit_glue::WebIntentData) 50 webkit_glue::WebIntentData)
50 51
51 // Send the service's reply to the client page. 52 // Send the service's reply to the client page.
52 IPC_MESSAGE_ROUTED3(IntentsMsg_WebIntentReply, 53 IPC_MESSAGE_ROUTED3(IntentsMsg_WebIntentReply,
53 webkit_glue::WebIntentReplyType /* reply type */, 54 webkit_glue::WebIntentReplyType /* reply type */,
54 string16 /* payload data */, 55 string16 /* payload data */,
55 int /* intent ID */) 56 int /* intent ID */)
56 57
57 // Notify the container that the service has replied to the client page. 58 // Notify the container that the service has replied to the client page.
58 IPC_MESSAGE_ROUTED2(IntentsHostMsg_WebIntentReply, 59 IPC_MESSAGE_ROUTED2(IntentsHostMsg_WebIntentReply,
59 webkit_glue::WebIntentReplyType /* reply type */, 60 webkit_glue::WebIntentReplyType /* reply type */,
60 string16 /* payload data */) 61 string16 /* payload data */)
61 62
62 // Route the startActivity Intents call from a page to the service picker. 63 // Route the startActivity Intents call from a page to the service picker.
63 IPC_MESSAGE_ROUTED2(IntentsHostMsg_WebIntentDispatch, 64 IPC_MESSAGE_ROUTED2(IntentsHostMsg_WebIntentDispatch,
64 webkit_glue::WebIntentData, 65 webkit_glue::WebIntentData,
65 int /* intent ID */) 66 int /* intent ID */)
66 67
67 // Register a new service for Intents with the given action and type filter. 68 // Register a new service for Intents with the given action and type filter.
68 IPC_MESSAGE_ROUTED2(IntentsHostMsg_RegisterIntentService, 69 IPC_MESSAGE_ROUTED2(IntentsHostMsg_RegisterIntentService,
69 webkit_glue::WebIntentServiceData, 70 webkit_glue::WebIntentServiceData,
70 bool /* user_gesture */) 71 bool /* user_gesture */)
OLDNEW
« no previous file with comments | « chrome/chrome_tests.gypi ('k') | webkit/glue/web_intent_service_data.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698