Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(101)

Side by Side Diff: ppapi/proxy/ppb_text_input_proxy.h

Issue 10053017: Request text context in the plugin process (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Review comment Created 8 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « ppapi/proxy/ppapi_messages.h ('k') | ppapi/proxy/ppb_text_input_proxy.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 #ifndef PPAPI_PROXY_PPB_TEXT_INPUT_PROXY_H_ 5 #ifndef PPAPI_PROXY_PPB_TEXT_INPUT_PROXY_H_
6 #define PPAPI_PROXY_PPB_TEXT_INPUT_PROXY_H_ 6 #define PPAPI_PROXY_PPB_TEXT_INPUT_PROXY_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "ppapi/c/pp_instance.h" 10 #include "ppapi/c/pp_instance.h"
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 44
45 static const ApiID kApiID = API_ID_PPB_TEXT_INPUT; 45 static const ApiID kApiID = API_ID_PPB_TEXT_INPUT;
46 46
47 private: 47 private:
48 // Message handlers. 48 // Message handlers.
49 void OnMsgSetTextInputType(PP_Instance instance, PP_TextInput_Type type); 49 void OnMsgSetTextInputType(PP_Instance instance, PP_TextInput_Type type);
50 void OnMsgUpdateCaretPosition(PP_Instance instance, 50 void OnMsgUpdateCaretPosition(PP_Instance instance,
51 PP_Rect caret, 51 PP_Rect caret,
52 PP_Rect bounding_box); 52 PP_Rect bounding_box);
53 void OnMsgCancelCompositionText(PP_Instance instance); 53 void OnMsgCancelCompositionText(PP_Instance instance);
54 void OnMsgSelectionChanged(PP_Instance instance);
55 void OnMsgUpdateSurroundingText(PP_Instance instance, 54 void OnMsgUpdateSurroundingText(PP_Instance instance,
56 const std::string& text, 55 const std::string& text,
57 uint32_t caret, 56 uint32_t caret,
58 uint32_t anchor); 57 uint32_t anchor);
59 58
60 DISALLOW_COPY_AND_ASSIGN(PPB_TextInput_Proxy); 59 DISALLOW_COPY_AND_ASSIGN(PPB_TextInput_Proxy);
61 }; 60 };
62 61
63 } // namespace proxy 62 } // namespace proxy
64 } // namespace ppapi 63 } // namespace ppapi
65 64
66 #endif // PPAPI_PROXY_PPB_TEXT_INPUT_PROXY_H_ 65 #endif // PPAPI_PROXY_PPB_TEXT_INPUT_PROXY_H_
OLDNEW
« no previous file with comments | « ppapi/proxy/ppapi_messages.h ('k') | ppapi/proxy/ppb_text_input_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698