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

Unified Diff: ppapi/thunk/ppb_input_event_thunk.cc

Issue 10634017: ppapi: Add ResourceCreationAPI::CreateTouchInputEvent for creating touch-events. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 6 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 | « ppapi/shared_impl/ppb_input_event_shared.cc ('k') | ppapi/thunk/resource_creation_api.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/thunk/ppb_input_event_thunk.cc
diff --git a/ppapi/thunk/ppb_input_event_thunk.cc b/ppapi/thunk/ppb_input_event_thunk.cc
index 7d527a6ef540f3afdcd9be715a491ecc1e1f1836..27a7027f4ca4ad6b7026a404382790fe603e8f35 100644
--- a/ppapi/thunk/ppb_input_event_thunk.cc
+++ b/ppapi/thunk/ppb_input_event_thunk.cc
@@ -388,8 +388,8 @@ PP_Resource CreateTouchInputEvent(PP_Instance instance,
EnterResourceCreation enter(instance);
if (enter.failed())
return 0;
- // TODO(sad):
- return 0;
+ return enter.functions()->CreateTouchInputEvent(instance, type, time_stamp,
+ modifiers);
}
void AddTouchPoint(PP_Resource touch_event,
« no previous file with comments | « ppapi/shared_impl/ppb_input_event_shared.cc ('k') | ppapi/thunk/resource_creation_api.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698