Chromium Code Reviews| 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..8e4df60e8e74d1dbc2213835d09e99690fd88d80 100644 |
| --- a/ppapi/proxy/ppb_text_input_proxy.h |
| +++ b/ppapi/proxy/ppb_text_input_proxy.h |
| @@ -5,6 +5,7 @@ |
| #ifndef PPAPI_PROXY_PPB_TEXT_INPUT_PROXY_H_ |
| #define PPAPI_PROXY_PPB_TEXT_INPUT_PROXY_H_ |
| +#include <string> |
|
yzshen1
2012/03/08 07:51:43
a blank line below it, please.
kinaba
2012/03/14 04:28:54
Done.
|
| #include "ppapi/c/pp_instance.h" |
| #include "ppapi/c/pp_rect.h" |
| #include "ppapi/proxy/interface_proxy.h" |
| @@ -31,6 +32,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 +50,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); |
| }; |