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

Unified Diff: ppapi/thunk/ppb_input_event_api.h

Issue 2890323002: Add tilt_x and tilt_y to ppapi touchpoint. (Closed)
Patch Set: Add tilt_x and tilt_y to ppapi touchpoint. Created 3 years, 7 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
Index: ppapi/thunk/ppb_input_event_api.h
diff --git a/ppapi/thunk/ppb_input_event_api.h b/ppapi/thunk/ppb_input_event_api.h
index c2e7d0fe113bf0152b396520aa6e2c3752428051..886637f064f624108659a8371120f9164d8b15bb 100644
--- a/ppapi/thunk/ppb_input_event_api.h
+++ b/ppapi/thunk/ppb_input_event_api.h
@@ -49,6 +49,11 @@ class PPAPI_THUNK_EXPORT PPB_InputEvent_API {
uint32_t index) = 0;
virtual PP_TouchPoint GetTouchById(PP_TouchListType list,
uint32_t id) = 0;
+ virtual PP_FloatPoint GetTouchTiltByIndex(PP_TouchListType list,
+ uint32_t index) = 0;
+
+ virtual PP_FloatPoint GetTouchTiltById(PP_TouchListType list,
+ uint32_t id) = 0;
};
} // namespace thunk

Powered by Google App Engine
This is Rietveld 408576698