From cdf4e91a82d97b78c6b217a9423b762192a2fdcc Mon Sep 17 00:00:00 2001 From: "sadrul@chromium.org" Date: Thu, 21 Jun 2012 23:15:10 +0000 Subject: ppapi: Add support for touch events. The corresponding webkit side patch is at https://bugs.webkit.org/show_bug.cgi?id=89089 BUG=128236 TEST=manually, using the browser-plugin Review URL: https://chromiumcodereview.appspot.com/10543159 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@143486 0039d316-1c4b-4281-b951-d872f2087c98 --- ppapi/proxy/ppapi_messages.h | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'ppapi/proxy/ppapi_messages.h') diff --git a/ppapi/proxy/ppapi_messages.h b/ppapi/proxy/ppapi_messages.h index 759459f..69005e5 100644 --- a/ppapi/proxy/ppapi_messages.h +++ b/ppapi/proxy/ppapi_messages.h @@ -146,6 +146,14 @@ IPC_STRUCT_TRAITS_BEGIN(ppapi::ViewData) IPC_STRUCT_TRAITS_MEMBER(clip_rect) IPC_STRUCT_TRAITS_END() +IPC_STRUCT_TRAITS_BEGIN(PP_TouchPoint) + IPC_STRUCT_TRAITS_MEMBER(id) + IPC_STRUCT_TRAITS_MEMBER(position) + IPC_STRUCT_TRAITS_MEMBER(radius) + IPC_STRUCT_TRAITS_MEMBER(rotation_angle) + IPC_STRUCT_TRAITS_MEMBER(pressure) +IPC_STRUCT_TRAITS_END() + IPC_STRUCT_TRAITS_BEGIN(ppapi::Preferences) IPC_STRUCT_TRAITS_MEMBER(standard_font_family_map) IPC_STRUCT_TRAITS_MEMBER(fixed_font_family_map) @@ -177,6 +185,9 @@ IPC_STRUCT_TRAITS_BEGIN(ppapi::InputEventData) IPC_STRUCT_TRAITS_MEMBER(composition_target_segment) IPC_STRUCT_TRAITS_MEMBER(composition_selection_start) IPC_STRUCT_TRAITS_MEMBER(composition_selection_end) + IPC_STRUCT_TRAITS_MEMBER(touches) + IPC_STRUCT_TRAITS_MEMBER(changed_touches) + IPC_STRUCT_TRAITS_MEMBER(target_touches) IPC_STRUCT_TRAITS_END() IPC_STRUCT_TRAITS_BEGIN(ppapi::HostPortPair) -- cgit v1.1