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 /** | 6 /** |
7 * This file defines the Input Event interfaces. | 7 * This file defines the Input Event interfaces. |
8 */ | 8 */ |
9 | 9 |
10 label Chrome { | 10 label Chrome { |
(...skipping 872 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
883 * | 883 * |
884 * @param[in] index The index. | 884 * @param[in] index The index. |
885 * | 885 * |
886 * @return A <code>PP_TouchPoint</code> representing the touch-point. | 886 * @return A <code>PP_TouchPoint</code> representing the touch-point. |
887 */ | 887 */ |
888 PP_TouchPoint GetTouchByIndex([in] PP_Resource resource, | 888 PP_TouchPoint GetTouchByIndex([in] PP_Resource resource, |
889 [in] PP_TouchListType list, | 889 [in] PP_TouchListType list, |
890 [in] uint32_t index); | 890 [in] uint32_t index); |
891 | 891 |
892 /** | 892 /** |
893 * Returns the touch-point with the spcified touch-id in the specified list. | 893 * Returns the touch-point with the specified touch-id in the specified list. |
894 * | 894 * |
895 * @param[in] resource A <code>PP_Resource</code> corresponding to a touch | 895 * @param[in] resource A <code>PP_Resource</code> corresponding to a touch |
896 * event. | 896 * event. |
897 * | 897 * |
898 * @param[in] list The list. | 898 * @param[in] list The list. |
899 * | 899 * |
900 * @param[in] touch_id The id of the touch-point. | 900 * @param[in] touch_id The id of the touch-point. |
901 * | 901 * |
902 * @return A <code>PP_TouchPoint</code> representing the touch-point. | 902 * @return A <code>PP_TouchPoint</code> representing the touch-point. |
903 */ | 903 */ |
904 PP_TouchPoint GetTouchById([in] PP_Resource resource, | 904 PP_TouchPoint GetTouchById([in] PP_Resource resource, |
905 [in] PP_TouchListType list, | 905 [in] PP_TouchListType list, |
906 [in] uint32_t touch_id); | 906 [in] uint32_t touch_id); |
907 }; | 907 }; |
OLD | NEW |