Chromium Code Reviews| Index: ppapi/api/ppb_input_event.idl |
| diff --git a/ppapi/api/ppb_input_event.idl b/ppapi/api/ppb_input_event.idl |
| index 25d2afb4f1c20840f82ae2a49ebf9f0b97bc1cd6..de237436d3298a8f296e8b88772e75ca3cd62e3e 100644 |
| --- a/ppapi/api/ppb_input_event.idl |
| +++ b/ppapi/api/ppb_input_event.idl |
| @@ -962,6 +962,42 @@ interface PPB_TouchInputEvent { |
| PP_TouchPoint GetTouchById([in] PP_Resource resource, |
| [in] PP_TouchListType list, |
| [in] uint32_t touch_id); |
| + |
| + /** |
| + * Returns the touch-tilt with the specified index in the specified list. |
| + * |
| + * @param[in] resource A <code>PP_Resource</code> corresponding to a touch |
| + * event. |
| + * |
| + * @param[in] list The list. |
| + * |
| + * @param[in] touch_id The id of the touch-point. |
|
bbudge
2017/05/23 18:28:46
this should be 'index'
jkwang
2017/05/23 22:07:57
Done.
|
| + * |
| + * @return A <code>PP_FloatPoint</code> representing the tilt of the |
| + * touch-point. |
| + */ |
| + [version=1.1] |
| + PP_FloatPoint GetTouchTiltByIndex([in] PP_Resource resource, |
| + [in] PP_TouchListType list, |
| + [in] uint32_t index); |
| + |
| + /** |
| + * Returns the touch-tilt with the specified touch-id in the specified list. |
| + * |
| + * @param[in] resource A <code>PP_Resource</code> corresponding to a touch |
| + * event. |
| + * |
| + * @param[in] list The list. |
| + * |
| + * @param[in] touch_id The id of the touch-point. |
| + * |
| + * @return A <code>PP_FloatPoint</code> representing the tilt of the |
| + * touch-point. |
| + */ |
| + [version=1.1] |
| + PP_FloatPoint GetTouchTiltById([in] PP_Resource resource, |
| + [in] PP_TouchListType list, |
| + [in] uint32_t touch_id); |
| }; |
| [macro="PPB_IME_INPUT_EVENT_INTERFACE"] |