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

Unified Diff: content/common/intents_messages.h

Issue 12225076: Delete most web intents code. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/common/content_message_generator.h ('k') | content/content_browser.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/intents_messages.h
diff --git a/content/common/intents_messages.h b/content/common/intents_messages.h
deleted file mode 100644
index 3db6a921981523537d4073e7a48ff0e3fade4e5b..0000000000000000000000000000000000000000
--- a/content/common/intents_messages.h
+++ /dev/null
@@ -1,81 +0,0 @@
-// Copyright (c) 2012 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-// Message definition file, included multiple times, hence no include guard.
-
-#include "content/common/content_export.h"
-#include "ipc/ipc_message_macros.h"
-#include "ipc/ipc_message_utils.h"
-#include "ipc/param_traits_macros.h"
-#include "webkit/glue/web_intent_data.h"
-#include "webkit/glue/web_intent_reply_data.h"
-#include "webkit/glue/web_intent_service_data.h"
-
-#undef IPC_MESSAGE_EXPORT
-#define IPC_MESSAGE_EXPORT CONTENT_EXPORT
-#define IPC_MESSAGE_START IntentsMsgStart
-
-IPC_ENUM_TRAITS(webkit_glue::WebIntentReplyType)
-IPC_ENUM_TRAITS(webkit_glue::WebIntentData::DataType)
-IPC_ENUM_TRAITS(webkit_glue::WebIntentServiceData::Disposition)
-
-#if defined(ENABLE_WEB_INTENTS)
-
-IPC_STRUCT_TRAITS_BEGIN(webkit_glue::WebIntentData)
- IPC_STRUCT_TRAITS_MEMBER(action)
- IPC_STRUCT_TRAITS_MEMBER(type)
- IPC_STRUCT_TRAITS_MEMBER(data)
- IPC_STRUCT_TRAITS_MEMBER(extra_data)
- IPC_STRUCT_TRAITS_MEMBER(service)
- IPC_STRUCT_TRAITS_MEMBER(suggestions)
- IPC_STRUCT_TRAITS_MEMBER(unserialized_data)
- IPC_STRUCT_TRAITS_MEMBER(message_port_ids)
- IPC_STRUCT_TRAITS_MEMBER(blob_file)
- IPC_STRUCT_TRAITS_MEMBER(blob_length)
- IPC_STRUCT_TRAITS_MEMBER(mime_data)
- IPC_STRUCT_TRAITS_MEMBER(root_name)
- IPC_STRUCT_TRAITS_MEMBER(filesystem_id)
- IPC_STRUCT_TRAITS_MEMBER(data_type)
-IPC_STRUCT_TRAITS_END()
-
-IPC_STRUCT_TRAITS_BEGIN(webkit_glue::WebIntentReply)
- IPC_STRUCT_TRAITS_MEMBER(type)
- IPC_STRUCT_TRAITS_MEMBER(data)
- IPC_STRUCT_TRAITS_MEMBER(data_file)
- IPC_STRUCT_TRAITS_MEMBER(data_file_size)
- IPC_STRUCT_TRAITS_END()
-
-IPC_STRUCT_TRAITS_BEGIN(webkit_glue::WebIntentServiceData)
- IPC_STRUCT_TRAITS_MEMBER(action)
- IPC_STRUCT_TRAITS_MEMBER(type)
- IPC_STRUCT_TRAITS_MEMBER(scheme)
- IPC_STRUCT_TRAITS_MEMBER(service_url)
- IPC_STRUCT_TRAITS_MEMBER(title)
- IPC_STRUCT_TRAITS_MEMBER(disposition)
-IPC_STRUCT_TRAITS_END()
-
-// Set the intent data to be set on the service page.
-IPC_MESSAGE_ROUTED1(IntentsMsg_SetWebIntentData,
- webkit_glue::WebIntentData)
-
-// Send the service's reply to the client page.
-IPC_MESSAGE_ROUTED2(IntentsMsg_WebIntentReply,
- webkit_glue::WebIntentReply, /* reply */
- int /* intent ID */)
-
-// Notify the container that the service has replied to the client page.
-IPC_MESSAGE_ROUTED1(IntentsHostMsg_WebIntentReply,
- webkit_glue::WebIntentReply /* reply */)
-
-// Route the startActivity Intents call from a page to the service picker.
-IPC_MESSAGE_ROUTED2(IntentsHostMsg_WebIntentDispatch,
- webkit_glue::WebIntentData,
- int /* intent ID */)
-
-// Register a new service for Intents with the given action and type filter.
-IPC_MESSAGE_ROUTED2(IntentsHostMsg_RegisterIntentService,
- webkit_glue::WebIntentServiceData,
- bool /* user_gesture */)
-
-#endif
« no previous file with comments | « content/common/content_message_generator.h ('k') | content/content_browser.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698