Index: ppapi/proxy/ppapi_param_traits.h |
=================================================================== |
--- ppapi/proxy/ppapi_param_traits.h (revision 93228) |
+++ ppapi/proxy/ppapi_param_traits.h (working copy) |
@@ -11,6 +11,7 @@ |
#include "ipc/ipc_message_utils.h" |
#include "ipc/ipc_platform_file.h" |
#include "ppapi/c/pp_completion_callback.h" |
+#include "ppapi/c/pp_input_event.h" |
#include "ppapi/c/pp_rect.h" |
#include "ppapi/c/pp_var.h" |
@@ -61,6 +62,14 @@ |
}; |
template<> |
+struct ParamTraits<PP_InputEvent> { |
+ typedef PP_InputEvent param_type; |
+ static void Write(Message* m, const param_type& p); |
+ static bool Read(const Message* m, void** iter, param_type* r); |
+ static void Log(const param_type& p, std::string* l); |
+}; |
+ |
+template<> |
struct ParamTraits<PP_ObjectProperty> { |
typedef PP_ObjectProperty param_type; |
static void Write(Message* m, const param_type& p); |