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

Unified Diff: chrome/common/ipc_message_macros.h

Issue 1612: Implement "iframe shim" behavior for windowed plugins.... (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: '' Created 12 years, 3 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 | « chrome/browser/render_widget_host_hwnd.cc ('k') | chrome/common/ipc_message_utils.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/ipc_message_macros.h
===================================================================
--- chrome/common/ipc_message_macros.h (revision 2783)
+++ chrome/common/ipc_message_macros.h (working copy)
@@ -56,6 +56,7 @@
#undef IPC_MESSAGE_ROUTED3
#undef IPC_MESSAGE_ROUTED4
#undef IPC_MESSAGE_ROUTED5
+#undef IPC_MESSAGE_ROUTED6
#undef IPC_MESSAGE_EMPTY
#undef IPC_SYNC_MESSAGE_CONTROL0_0
#undef IPC_SYNC_MESSAGE_CONTROL0_1
@@ -146,6 +147,9 @@
#define IPC_MESSAGE_ROUTED5(msg_class, type1, type2, type3, type4, type5) \
msg_class##__ID,
+#define IPC_MESSAGE_ROUTED6(msg_class, type1, type2, type3, type4, type5, type6) \
+ msg_class##__ID,
+
#define IPC_MESSAGE_EMPTY(msg_class) \
msg_class##__ID,
@@ -392,6 +396,9 @@
#define IPC_MESSAGE_ROUTED5(msg_class, type1, type2, type3, type4, type5) \
IPC_MESSAGE_LOG(msg_class)
+#define IPC_MESSAGE_ROUTED6(msg_class, type1, type2, type3, type4, type5, type6) \
+ IPC_MESSAGE_LOG(msg_class)
+
#define IPC_MESSAGE_EMPTY(msg_class) \
IPC_MESSAGE_LOG(msg_class)
@@ -633,6 +640,21 @@
routing_id, ID, MakeTuple(arg1, arg2, arg3, arg4, arg5)) {} \
};
+#define IPC_MESSAGE_ROUTED6(msg_class, type1, type2, type3, type4, type5, \
+ type6) \
+ class msg_class : \
+ public IPC::MessageWithTuple< Tuple6<type1, type2, type3, type4, type5, \
+ type6> > { \
+ public: \
+ enum { ID = msg_class##__ID }; \
+ msg_class(int32 routing_id, const type1& arg1, const type2& arg2, \
+ const type3& arg3, const type4& arg4, const type5& arg5, \
+ const type6& arg6) \
+ : IPC::MessageWithTuple< Tuple6<type1, type2, type3, type4, type5, \
+ type6> >( \
+ routing_id, ID, MakeTuple(arg1, arg2, arg3, arg4, arg5, arg6)) {} \
+ };
+
// Dummy class for now, just to give us the ID field.
#define IPC_MESSAGE_EMPTY(msg_class) \
class msg_class { \
« no previous file with comments | « chrome/browser/render_widget_host_hwnd.cc ('k') | chrome/common/ipc_message_utils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698