| 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 /** | 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 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 100 * | 100 * |
| 101 * Register for this event using the PP_INPUTEVENT_CLASS_MOUSE class. | 101 * Register for this event using the PP_INPUTEVENT_CLASS_MOUSE class. |
| 102 */ | 102 */ |
| 103 PP_INPUTEVENT_TYPE_CONTEXTMENU = 10, | 103 PP_INPUTEVENT_TYPE_CONTEXTMENU = 10, |
| 104 | 104 |
| 105 /** | 105 /** |
| 106 * Notification that an input method composition process has just started. | 106 * Notification that an input method composition process has just started. |
| 107 * | 107 * |
| 108 * Register for this event using the PP_INPUTEVENT_CLASS_IME class. | 108 * Register for this event using the PP_INPUTEVENT_CLASS_IME class. |
| 109 */ | 109 */ |
| 110 PP_INPUTEVENT_TYPE_COMPOSITION_START = 11, | 110 PP_INPUTEVENT_TYPE_IME_COMPOSITION_START = 11, |
| 111 | 111 |
| 112 /** | 112 /** |
| 113 * Notification that the input method composition string is updated. | 113 * Notification that the input method composition string is updated. |
| 114 * | 114 * |
| 115 * Register for this event using the PP_INPUTEVENT_CLASS_IME class. | 115 * Register for this event using the PP_INPUTEVENT_CLASS_IME class. |
| 116 */ | 116 */ |
| 117 PP_INPUTEVENT_TYPE_COMPOSITION_UPDATE = 12, | 117 PP_INPUTEVENT_TYPE_IME_COMPOSITION_UPDATE = 12, |
| 118 | 118 |
| 119 /** | 119 /** |
| 120 * Notification that an input method composition process has completed. | 120 * Notification that an input method composition process has completed. |
| 121 * | 121 * |
| 122 * Register for this event using the PP_INPUTEVENT_CLASS_IME class. | 122 * Register for this event using the PP_INPUTEVENT_CLASS_IME class. |
| 123 */ | 123 */ |
| 124 PP_INPUTEVENT_TYPE_COMPOSITION_END = 13, | 124 PP_INPUTEVENT_TYPE_IME_COMPOSITION_END = 13, |
| 125 | 125 |
| 126 /** | 126 /** |
| 127 * Notification that an input method committed a string. | 127 * Notification that an input method committed a string. |
| 128 * | 128 * |
| 129 * Register for this event using the PP_INPUTEVENT_CLASS_IME class. | 129 * Register for this event using the PP_INPUTEVENT_CLASS_IME class. |
| 130 */ | 130 */ |
| 131 PP_INPUTEVENT_TYPE_IME_TEXT = 14 | 131 PP_INPUTEVENT_TYPE_IME_TEXT = 14 |
| 132 }; | 132 }; |
| 133 | 133 |
| 134 /** | 134 /** |
| (...skipping 587 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 722 * @param[in] character_event A <code>PP_Resource</code> corresponding to a | 722 * @param[in] character_event A <code>PP_Resource</code> corresponding to a |
| 723 * keyboard event. | 723 * keyboard event. |
| 724 * | 724 * |
| 725 * @return A string var representing a single typed character for character | 725 * @return A string var representing a single typed character for character |
| 726 * input events. For non-character input events the return value will be an | 726 * input events. For non-character input events the return value will be an |
| 727 * undefined var. | 727 * undefined var. |
| 728 */ | 728 */ |
| 729 PP_Var GetCharacterText([in] PP_Resource character_event); | 729 PP_Var GetCharacterText([in] PP_Resource character_event); |
| 730 }; | 730 }; |
| 731 | 731 |
| OLD | NEW |