| Index: ppapi/proxy/ppb_text_input_proxy.h
|
| diff --git a/ppapi/proxy/ppb_text_input_proxy.h b/ppapi/proxy/ppb_text_input_proxy.h
|
| index 92a8b120117bec80d789fe7de8b4e2f4af96b189..24e53c494b22b3bbc49da0cd3668e0e713f6aed3 100644
|
| --- a/ppapi/proxy/ppb_text_input_proxy.h
|
| +++ b/ppapi/proxy/ppb_text_input_proxy.h
|
| @@ -5,6 +5,8 @@
|
| #ifndef PPAPI_PROXY_PPB_TEXT_INPUT_PROXY_H_
|
| #define PPAPI_PROXY_PPB_TEXT_INPUT_PROXY_H_
|
|
|
| +#include <string>
|
| +
|
| #include "ppapi/c/pp_instance.h"
|
| #include "ppapi/c/pp_rect.h"
|
| #include "ppapi/proxy/interface_proxy.h"
|
| @@ -31,6 +33,11 @@ class PPB_TextInput_Proxy
|
| const PP_Rect& caret,
|
| const PP_Rect& bounding_box) OVERRIDE;
|
| virtual void CancelCompositionText(PP_Instance instance) OVERRIDE;
|
| + virtual void SelectionChanged(PP_Instance instance) OVERRIDE;
|
| + virtual void UpdateSurroundingText(PP_Instance instance,
|
| + const char* text,
|
| + uint32_t caret,
|
| + uint32_t anchor) OVERRIDE;
|
|
|
| // InterfaceProxy implementation.
|
| virtual bool OnMessageReceived(const IPC::Message& msg) OVERRIDE;
|
| @@ -44,6 +51,11 @@ class PPB_TextInput_Proxy
|
| PP_Rect caret,
|
| PP_Rect bounding_box);
|
| void OnMsgCancelCompositionText(PP_Instance instance);
|
| + void OnMsgSelectionChanged(PP_Instance instance);
|
| + void OnMsgUpdateSurroundingText(PP_Instance instance,
|
| + const std::string& text,
|
| + uint32_t caret,
|
| + uint32_t anchor);
|
|
|
| DISALLOW_COPY_AND_ASSIGN(PPB_TextInput_Proxy);
|
| };
|
|
|