| 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 { |
| 11 M13 = 1.0, | 11 M13 = 1.0, |
| 12 M14 = 1.1, | 12 M14 = 1.1, |
| 13 M34 = 1.2 | 13 M34 = 1.2, |
| 14 M39 = 1.3 |
| 14 }; | 15 }; |
| 15 | 16 |
| 16 /** | 17 /** |
| 17 * This enumeration contains the types of input events. | 18 * This enumeration contains the types of input events. |
| 18 */ | 19 */ |
| 19 [assert_size(4)] | 20 [assert_size(4)] |
| 20 enum PP_InputEvent_Type { | 21 enum PP_InputEvent_Type { |
| 21 PP_INPUTEVENT_TYPE_UNDEFINED = -1, | 22 PP_INPUTEVENT_TYPE_UNDEFINED = -1, |
| 22 | 23 |
| 23 /** | 24 /** |
| (...skipping 820 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 844 /** | 845 /** |
| 845 * The list of all TouchPoints whose state has changed since the last | 846 * The list of all TouchPoints whose state has changed since the last |
| 846 * TouchInputEvent. | 847 * TouchInputEvent. |
| 847 */ | 848 */ |
| 848 PP_TOUCHLIST_TYPE_CHANGEDTOUCHES = 1, | 849 PP_TOUCHLIST_TYPE_CHANGEDTOUCHES = 1, |
| 849 | 850 |
| 850 /** | 851 /** |
| 851 * The list of all TouchPoints which are targeting this plugin. This is a | 852 * The list of all TouchPoints which are targeting this plugin. This is a |
| 852 * subset of Touches. | 853 * subset of Touches. |
| 853 */ | 854 */ |
| 855 [deprecate=1.3] |
| 854 PP_TOUCHLIST_TYPE_TARGETTOUCHES = 2 | 856 PP_TOUCHLIST_TYPE_TARGETTOUCHES = 2 |
| 855 }; | 857 }; |
| 856 | 858 |
| 857 /** | 859 /** |
| 858 * The <code>PPB_TouchInputEvent</code> interface contains pointers to several | 860 * The <code>PPB_TouchInputEvent</code> interface contains pointers to several |
| 859 * functions related to touch events. | 861 * functions related to touch events. |
| 860 */ | 862 */ |
| 861 [version=1.0, macro="PPB_TOUCH_INPUT_EVENT_INTERFACE"] | 863 [version=1.0, macro="PPB_TOUCH_INPUT_EVENT_INTERFACE"] |
| 862 interface PPB_TouchInputEvent { | 864 interface PPB_TouchInputEvent { |
| 863 /** | 865 /** |
| (...skipping 214 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1078 * event. | 1080 * event. |
| 1079 * | 1081 * |
| 1080 * @param[out] start The start position of the current selection. | 1082 * @param[out] start The start position of the current selection. |
| 1081 * | 1083 * |
| 1082 * @param[out] end The end position of the current selection. | 1084 * @param[out] end The end position of the current selection. |
| 1083 */ | 1085 */ |
| 1084 void GetSelection([in] PP_Resource ime_event, | 1086 void GetSelection([in] PP_Resource ime_event, |
| 1085 [out] uint32_t start, | 1087 [out] uint32_t start, |
| 1086 [out] uint32_t end); | 1088 [out] uint32_t end); |
| 1087 }; | 1089 }; |
| OLD | NEW |