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

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

Issue 12089102: Make most code on mac compile with enable_web_intents=0 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: ffff Created 7 years, 10 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 | « content/browser/web_contents/web_contents_impl.cc ('k') | content/content_browser.gypi » ('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"
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 #include "webkit/glue/web_intent_service_data.h" 13 #include "webkit/glue/web_intent_service_data.h"
14 14
15 #undef IPC_MESSAGE_EXPORT 15 #undef IPC_MESSAGE_EXPORT
16 #define IPC_MESSAGE_EXPORT CONTENT_EXPORT 16 #define IPC_MESSAGE_EXPORT CONTENT_EXPORT
17 #define IPC_MESSAGE_START IntentsMsgStart 17 #define IPC_MESSAGE_START IntentsMsgStart
18 18
19 IPC_ENUM_TRAITS(webkit_glue::WebIntentReplyType) 19 IPC_ENUM_TRAITS(webkit_glue::WebIntentReplyType)
20 IPC_ENUM_TRAITS(webkit_glue::WebIntentData::DataType) 20 IPC_ENUM_TRAITS(webkit_glue::WebIntentData::DataType)
21 IPC_ENUM_TRAITS(webkit_glue::WebIntentServiceData::Disposition) 21 IPC_ENUM_TRAITS(webkit_glue::WebIntentServiceData::Disposition)
22 22
23 #if defined(ENABLE_WEB_INTENTS)
24
23 IPC_STRUCT_TRAITS_BEGIN(webkit_glue::WebIntentData) 25 IPC_STRUCT_TRAITS_BEGIN(webkit_glue::WebIntentData)
24 IPC_STRUCT_TRAITS_MEMBER(action) 26 IPC_STRUCT_TRAITS_MEMBER(action)
25 IPC_STRUCT_TRAITS_MEMBER(type) 27 IPC_STRUCT_TRAITS_MEMBER(type)
26 IPC_STRUCT_TRAITS_MEMBER(data) 28 IPC_STRUCT_TRAITS_MEMBER(data)
27 IPC_STRUCT_TRAITS_MEMBER(extra_data) 29 IPC_STRUCT_TRAITS_MEMBER(extra_data)
28 IPC_STRUCT_TRAITS_MEMBER(service) 30 IPC_STRUCT_TRAITS_MEMBER(service)
29 IPC_STRUCT_TRAITS_MEMBER(suggestions) 31 IPC_STRUCT_TRAITS_MEMBER(suggestions)
30 IPC_STRUCT_TRAITS_MEMBER(unserialized_data) 32 IPC_STRUCT_TRAITS_MEMBER(unserialized_data)
31 IPC_STRUCT_TRAITS_MEMBER(message_port_ids) 33 IPC_STRUCT_TRAITS_MEMBER(message_port_ids)
32 IPC_STRUCT_TRAITS_MEMBER(blob_file) 34 IPC_STRUCT_TRAITS_MEMBER(blob_file)
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 70
69 // Route the startActivity Intents call from a page to the service picker. 71 // Route the startActivity Intents call from a page to the service picker.
70 IPC_MESSAGE_ROUTED2(IntentsHostMsg_WebIntentDispatch, 72 IPC_MESSAGE_ROUTED2(IntentsHostMsg_WebIntentDispatch,
71 webkit_glue::WebIntentData, 73 webkit_glue::WebIntentData,
72 int /* intent ID */) 74 int /* intent ID */)
73 75
74 // Register a new service for Intents with the given action and type filter. 76 // Register a new service for Intents with the given action and type filter.
75 IPC_MESSAGE_ROUTED2(IntentsHostMsg_RegisterIntentService, 77 IPC_MESSAGE_ROUTED2(IntentsHostMsg_RegisterIntentService,
76 webkit_glue::WebIntentServiceData, 78 webkit_glue::WebIntentServiceData,
77 bool /* user_gesture */) 79 bool /* user_gesture */)
80
81 #endif
OLDNEW
« no previous file with comments | « content/browser/web_contents/web_contents_impl.cc ('k') | content/content_browser.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698