| OLD | NEW |
| 1 /* Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 /* Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 * Use of this source code is governed by a BSD-style license that can be | 2 * Use of this source code is governed by a BSD-style license that can be |
| 3 * found in the LICENSE file. | 3 * found in the LICENSE file. |
| 4 */ | 4 */ |
| 5 | 5 |
| 6 /* From ppb_input_event.idl modified Mon Nov 26 19:51:21 2012. */ | 6 /* From ppb_input_event.idl modified Thu Mar 28 10:51:06 2013. */ |
| 7 | 7 |
| 8 #ifndef PPAPI_C_PPB_INPUT_EVENT_H_ | 8 #ifndef PPAPI_C_PPB_INPUT_EVENT_H_ |
| 9 #define PPAPI_C_PPB_INPUT_EVENT_H_ | 9 #define PPAPI_C_PPB_INPUT_EVENT_H_ |
| 10 | 10 |
| 11 #include "ppapi/c/pp_bool.h" | 11 #include "ppapi/c/pp_bool.h" |
| 12 #include "ppapi/c/pp_instance.h" | 12 #include "ppapi/c/pp_instance.h" |
| 13 #include "ppapi/c/pp_macros.h" | 13 #include "ppapi/c/pp_macros.h" |
| 14 #include "ppapi/c/pp_point.h" | 14 #include "ppapi/c/pp_point.h" |
| 15 #include "ppapi/c/pp_resource.h" | 15 #include "ppapi/c/pp_resource.h" |
| 16 #include "ppapi/c/pp_stdint.h" | 16 #include "ppapi/c/pp_stdint.h" |
| (...skipping 848 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 865 * @param[in] list The list. | 865 * @param[in] list The list. |
| 866 * | 866 * |
| 867 * @param[in] index The index. | 867 * @param[in] index The index. |
| 868 * | 868 * |
| 869 * @return A <code>PP_TouchPoint</code> representing the touch-point. | 869 * @return A <code>PP_TouchPoint</code> representing the touch-point. |
| 870 */ | 870 */ |
| 871 struct PP_TouchPoint (*GetTouchByIndex)(PP_Resource resource, | 871 struct PP_TouchPoint (*GetTouchByIndex)(PP_Resource resource, |
| 872 PP_TouchListType list, | 872 PP_TouchListType list, |
| 873 uint32_t index); | 873 uint32_t index); |
| 874 /** | 874 /** |
| 875 * Returns the touch-point with the spcified touch-id in the specified list. | 875 * Returns the touch-point with the specified touch-id in the specified list. |
| 876 * | 876 * |
| 877 * @param[in] resource A <code>PP_Resource</code> corresponding to a touch | 877 * @param[in] resource A <code>PP_Resource</code> corresponding to a touch |
| 878 * event. | 878 * event. |
| 879 * | 879 * |
| 880 * @param[in] list The list. | 880 * @param[in] list The list. |
| 881 * | 881 * |
| 882 * @param[in] touch_id The id of the touch-point. | 882 * @param[in] touch_id The id of the touch-point. |
| 883 * | 883 * |
| 884 * @return A <code>PP_TouchPoint</code> representing the touch-point. | 884 * @return A <code>PP_TouchPoint</code> representing the touch-point. |
| 885 */ | 885 */ |
| 886 struct PP_TouchPoint (*GetTouchById)(PP_Resource resource, | 886 struct PP_TouchPoint (*GetTouchById)(PP_Resource resource, |
| 887 PP_TouchListType list, | 887 PP_TouchListType list, |
| 888 uint32_t touch_id); | 888 uint32_t touch_id); |
| 889 }; | 889 }; |
| 890 | 890 |
| 891 typedef struct PPB_TouchInputEvent_1_0 PPB_TouchInputEvent; | 891 typedef struct PPB_TouchInputEvent_1_0 PPB_TouchInputEvent; |
| 892 /** | 892 /** |
| 893 * @} | 893 * @} |
| 894 */ | 894 */ |
| 895 | 895 |
| 896 #endif /* PPAPI_C_PPB_INPUT_EVENT_H_ */ | 896 #endif /* PPAPI_C_PPB_INPUT_EVENT_H_ */ |
| 897 | 897 |
| OLD | NEW |