| Index: ppapi/api/ppb_text_input_controller.idl
|
| diff --git a/ppapi/api/dev/ppb_text_input_dev.idl b/ppapi/api/ppb_text_input_controller.idl
|
| similarity index 78%
|
| copy from ppapi/api/dev/ppb_text_input_dev.idl
|
| copy to ppapi/api/ppb_text_input_controller.idl
|
| index 27704b089ec5b28ab939077ff844aba32c183581..05b36bce905f853e2c6cb71022b4b99b6b5193b1 100644
|
| --- a/ppapi/api/dev/ppb_text_input_dev.idl
|
| +++ b/ppapi/api/ppb_text_input_controller.idl
|
| @@ -4,12 +4,11 @@
|
| */
|
|
|
| /**
|
| - * This file defines the <code>PPB_TextInput_Dev</code> interface.
|
| + * This file defines the <code>PPB_TextInputController</code> interface.
|
| */
|
|
|
| label Chrome {
|
| - M16 = 0.1,
|
| - M19 = 0.2
|
| + M30 = 1.0
|
| };
|
|
|
| /**
|
| @@ -39,11 +38,11 @@ enum PP_TextInput_Type {
|
| };
|
|
|
| /**
|
| - * <code>PPB_TextInput_Dev</code> provides a set of functions for giving hints
|
| - * to the browser about the text input status of plugins, and functions for
|
| - * controlling input method editors (IMEs).
|
| + * <code>PPB_TextInputController</code> provides a set of functions for giving
|
| + * hints to the browser about the text input status of plugins, and functions
|
| + * for controlling input method editors (IMEs).
|
| */
|
| -interface PPB_TextInput_Dev {
|
| +interface PPB_TextInputController {
|
| /**
|
| * Informs the browser about the current text input mode of the plugin.
|
| * Typical use of this information in the browser is to properly
|
| @@ -69,8 +68,7 @@ interface PPB_TextInput_Dev {
|
| void CancelCompositionText([in] PP_Instance instance);
|
|
|
| /**
|
| - * In response to the <code>PPP_TextInput_Dev::RequestSurroundingText</code>
|
| - * call, informs the browser about the current text selection and surrounding
|
| + * Informs the browser about the current text selection and surrounding
|
| * text. <code>text</code> is a UTF-8 string that contains the current range
|
| * of text selection in the plugin. <code>caret</code> is the byte-index of
|
| * the caret position within <code>text</code>. <code>anchor</code> is the
|
| @@ -91,19 +89,8 @@ interface PPB_TextInput_Dev {
|
| * the selection to IME (e.g., when the surrounding text is containing
|
| * password text).
|
| */
|
| - [version=0.2]
|
| void UpdateSurroundingText([in] PP_Instance instance,
|
| [in] str_t text,
|
| [in] uint32_t caret,
|
| [in] uint32_t anchor);
|
| -
|
| - /**
|
| - * Informs the browser when a range of text selection is changed in a plugin.
|
| - * When the browser needs to know the content of the updated selection, it
|
| - * pings back by <code>PPP_TextInput_Dev::RequestSurroundingText</code>. The
|
| - * plugin then should send the information with
|
| - * <code>UpdateSurroundingText</code>.
|
| - */
|
| - [version=0.2]
|
| - void SelectionChanged([in] PP_Instance instance);
|
| };
|
|
|