summaryrefslogtreecommitdiffstats
path: root/ppapi/proxy/ppapi_messages.h
diff options
context:
space:
mode:
authorsadrul@chromium.org <sadrul@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-06-21 23:15:10 +0000
committersadrul@chromium.org <sadrul@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-06-21 23:15:10 +0000
commitcdf4e91a82d97b78c6b217a9423b762192a2fdcc (patch)
tree3eb688bef69938350a158531dac15b493be95ce0 /ppapi/proxy/ppapi_messages.h
parentdc169b24f5c68386dae030501f618cd9b805097a (diff)
downloadchromium_src-cdf4e91a82d97b78c6b217a9423b762192a2fdcc.zip
chromium_src-cdf4e91a82d97b78c6b217a9423b762192a2fdcc.tar.gz
chromium_src-cdf4e91a82d97b78c6b217a9423b762192a2fdcc.tar.bz2
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
Diffstat (limited to 'ppapi/proxy/ppapi_messages.h')
-rw-r--r--ppapi/proxy/ppapi_messages.h11
1 files changed, 11 insertions, 0 deletions
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)