| 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 <code>PPB_TextInput_Dev</code> interface. | 7 * This file defines the <code>PPB_TextInput_Dev</code> interface. |
| 8 */ | 8 */ |
| 9 | 9 |
| 10 label Chrome { | 10 label Chrome { |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 54 [in] PP_TextInput_Type type); | 54 [in] PP_TextInput_Type type); |
| 55 | 55 |
| 56 /** | 56 /** |
| 57 * Informs the browser about the coordinates of the text input caret and the | 57 * Informs the browser about the coordinates of the text input caret and the |
| 58 * bounding box of the text input area. Typical use of this information in | 58 * bounding box of the text input area. Typical use of this information in |
| 59 * the browser is to layout IME windows etc. | 59 * the browser is to layout IME windows etc. |
| 60 */ | 60 */ |
| 61 void UpdateCaretPosition([in] PP_Instance instance, | 61 void UpdateCaretPosition([in] PP_Instance instance, |
| 62 [in] PP_Rect caret, | 62 [in] PP_Rect caret, |
| 63 [in] PP_Rect bounding_box); | 63 [in] PP_Rect bounding_box); |
| 64 /** | |
| 65 * Forces to commit the current composition text in IME. | |
| 66 */ | |
| 67 void ConfirmCompositionText([in] PP_Instance instance); | |
| 68 | 64 |
| 69 /** | 65 /** |
| 70 * Cancels the current composition in IME. | 66 * Cancels the current composition in IME. |
| 71 */ | 67 */ |
| 72 void CancelCompositionText([in] PP_Instance instance); | 68 void CancelCompositionText([in] PP_Instance instance); |
| 73 }; | 69 }; |
| OLD | NEW |