| OLD | NEW |
| 1 /* Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 /* Copyright (c) 2011 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 Wed Sep 14 12:46:14 2011. */ | 6 /* From ppb_input_event.idl modified Tue Sep 20 15:26:44 2011. */ |
| 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 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 116 * TODO(brettw) when is this used? | 116 * TODO(brettw) when is this used? |
| 117 * | 117 * |
| 118 * Register for this event using the PP_INPUTEVENT_CLASS_MOUSE class. | 118 * Register for this event using the PP_INPUTEVENT_CLASS_MOUSE class. |
| 119 */ | 119 */ |
| 120 PP_INPUTEVENT_TYPE_CONTEXTMENU = 10, | 120 PP_INPUTEVENT_TYPE_CONTEXTMENU = 10, |
| 121 /** | 121 /** |
| 122 * Notification that an input method composition process has just started. | 122 * Notification that an input method composition process has just started. |
| 123 * | 123 * |
| 124 * Register for this event using the PP_INPUTEVENT_CLASS_IME class. | 124 * Register for this event using the PP_INPUTEVENT_CLASS_IME class. |
| 125 */ | 125 */ |
| 126 PP_INPUTEVENT_TYPE_COMPOSITION_START = 11, | 126 PP_INPUTEVENT_TYPE_IME_COMPOSITION_START = 11, |
| 127 /** | 127 /** |
| 128 * Notification that the input method composition string is updated. | 128 * Notification that the input method composition string is updated. |
| 129 * | 129 * |
| 130 * Register for this event using the PP_INPUTEVENT_CLASS_IME class. | 130 * Register for this event using the PP_INPUTEVENT_CLASS_IME class. |
| 131 */ | 131 */ |
| 132 PP_INPUTEVENT_TYPE_COMPOSITION_UPDATE = 12, | 132 PP_INPUTEVENT_TYPE_IME_COMPOSITION_UPDATE = 12, |
| 133 /** | 133 /** |
| 134 * Notification that an input method composition process has completed. | 134 * Notification that an input method composition process has completed. |
| 135 * | 135 * |
| 136 * Register for this event using the PP_INPUTEVENT_CLASS_IME class. | 136 * Register for this event using the PP_INPUTEVENT_CLASS_IME class. |
| 137 */ | 137 */ |
| 138 PP_INPUTEVENT_TYPE_COMPOSITION_END = 13, | 138 PP_INPUTEVENT_TYPE_IME_COMPOSITION_END = 13, |
| 139 /** | 139 /** |
| 140 * Notification that an input method committed a string. | 140 * Notification that an input method committed a string. |
| 141 * | 141 * |
| 142 * Register for this event using the PP_INPUTEVENT_CLASS_IME class. | 142 * Register for this event using the PP_INPUTEVENT_CLASS_IME class. |
| 143 */ | 143 */ |
| 144 PP_INPUTEVENT_TYPE_IME_TEXT = 14 | 144 PP_INPUTEVENT_TYPE_IME_TEXT = 14 |
| 145 } PP_InputEvent_Type; | 145 } PP_InputEvent_Type; |
| 146 PP_COMPILE_ASSERT_SIZE_IN_BYTES(PP_InputEvent_Type, 4); | 146 PP_COMPILE_ASSERT_SIZE_IN_BYTES(PP_InputEvent_Type, 4); |
| 147 | 147 |
| 148 /** | 148 /** |
| (...skipping 548 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 697 * undefined var. | 697 * undefined var. |
| 698 */ | 698 */ |
| 699 struct PP_Var (*GetCharacterText)(PP_Resource character_event); | 699 struct PP_Var (*GetCharacterText)(PP_Resource character_event); |
| 700 }; | 700 }; |
| 701 /** | 701 /** |
| 702 * @} | 702 * @} |
| 703 */ | 703 */ |
| 704 | 704 |
| 705 #endif /* PPAPI_C_PPB_INPUT_EVENT_H_ */ | 705 #endif /* PPAPI_C_PPB_INPUT_EVENT_H_ */ |
| 706 | 706 |
| OLD | NEW |