| 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 dev/ppb_text_input_dev.idl modified Wed Sep 14 12:51:46 2011. */ |    6 /* From dev/ppb_text_input_dev.idl modified Tue Sep 27 14:34:33 2011. */ | 
|    7  |    7  | 
|    8 #ifndef PPAPI_C_DEV_PPB_TEXT_INPUT_DEV_H_ |    8 #ifndef PPAPI_C_DEV_PPB_TEXT_INPUT_DEV_H_ | 
|    9 #define PPAPI_C_DEV_PPB_TEXT_INPUT_DEV_H_ |    9 #define PPAPI_C_DEV_PPB_TEXT_INPUT_DEV_H_ | 
|   10  |   10  | 
|   11 #include "ppapi/c/pp_instance.h" |   11 #include "ppapi/c/pp_instance.h" | 
|   12 #include "ppapi/c/pp_macros.h" |   12 #include "ppapi/c/pp_macros.h" | 
|   13 #include "ppapi/c/pp_point.h" |   13 #include "ppapi/c/pp_point.h" | 
|   14 #include "ppapi/c/pp_rect.h" |   14 #include "ppapi/c/pp_rect.h" | 
|   15 #include "ppapi/c/pp_size.h" |   15 #include "ppapi/c/pp_size.h" | 
|   16 #include "ppapi/c/pp_stdint.h" |   16 #include "ppapi/c/pp_stdint.h" | 
| (...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|   77   void (*SetTextInputType)(PP_Instance instance, PP_TextInput_Type type); |   77   void (*SetTextInputType)(PP_Instance instance, PP_TextInput_Type type); | 
|   78   /** |   78   /** | 
|   79    * Informs the browser about the coordinates of the text input caret and the |   79    * Informs the browser about the coordinates of the text input caret and the | 
|   80    * bounding box of the text input area. Typical use of this information in |   80    * bounding box of the text input area. Typical use of this information in | 
|   81    * the browser is to layout IME windows etc. |   81    * the browser is to layout IME windows etc. | 
|   82    */ |   82    */ | 
|   83   void (*UpdateCaretPosition)(PP_Instance instance, |   83   void (*UpdateCaretPosition)(PP_Instance instance, | 
|   84                               const struct PP_Rect* caret, |   84                               const struct PP_Rect* caret, | 
|   85                               const struct PP_Rect* bounding_box); |   85                               const struct PP_Rect* bounding_box); | 
|   86   /** |   86   /** | 
|   87    * Forces to commit the current composition text in IME. |  | 
|   88    */ |  | 
|   89   void (*ConfirmCompositionText)(PP_Instance instance); |  | 
|   90   /** |  | 
|   91    * Cancels the current composition in IME. |   87    * Cancels the current composition in IME. | 
|   92    */ |   88    */ | 
|   93   void (*CancelCompositionText)(PP_Instance instance); |   89   void (*CancelCompositionText)(PP_Instance instance); | 
|   94 }; |   90 }; | 
|   95 /** |   91 /** | 
|   96  * @} |   92  * @} | 
|   97  */ |   93  */ | 
|   98  |   94  | 
|   99 #endif  /* PPAPI_C_DEV_PPB_TEXT_INPUT_DEV_H_ */ |   95 #endif  /* PPAPI_C_DEV_PPB_TEXT_INPUT_DEV_H_ */ | 
|  100  |   96  | 
| OLD | NEW |