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

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

Issue 8333004: Rename InterfaceID to ApiID and move the file. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merged Created 9 years, 2 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/ppb_testing_proxy.cc ('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) 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 #ifndef PPAPI_PPB_TEXT_INPUT_PROXY_H_ 5 #ifndef PPAPI_PPB_TEXT_INPUT_PROXY_H_
6 #define PPAPI_PPB_TEXT_INPUT_PROXY_H_ 6 #define PPAPI_PPB_TEXT_INPUT_PROXY_H_
7 7
8 #include "ppapi/c/pp_instance.h" 8 #include "ppapi/c/pp_instance.h"
9 #include "ppapi/c/pp_rect.h" 9 #include "ppapi/c/pp_rect.h"
10 #include "ppapi/proxy/interface_proxy.h" 10 #include "ppapi/proxy/interface_proxy.h"
(...skipping 19 matching lines...) Expand all
30 virtual void SetTextInputType(PP_Instance instance, 30 virtual void SetTextInputType(PP_Instance instance,
31 PP_TextInput_Type type) OVERRIDE; 31 PP_TextInput_Type type) OVERRIDE;
32 virtual void UpdateCaretPosition(PP_Instance instance, 32 virtual void UpdateCaretPosition(PP_Instance instance,
33 const PP_Rect& caret, 33 const PP_Rect& caret,
34 const PP_Rect& bounding_box) OVERRIDE; 34 const PP_Rect& bounding_box) OVERRIDE;
35 virtual void CancelCompositionText(PP_Instance instance) OVERRIDE; 35 virtual void CancelCompositionText(PP_Instance instance) OVERRIDE;
36 36
37 // InterfaceProxy implementation. 37 // InterfaceProxy implementation.
38 virtual bool OnMessageReceived(const IPC::Message& msg) OVERRIDE; 38 virtual bool OnMessageReceived(const IPC::Message& msg) OVERRIDE;
39 39
40 static const InterfaceID kInterfaceID = INTERFACE_ID_PPB_TEXT_INPUT; 40 static const ApiID kApiID = API_ID_PPB_TEXT_INPUT;
41 41
42 private: 42 private:
43 // Message handlers. 43 // Message handlers.
44 void OnMsgSetTextInputType(PP_Instance instance, PP_TextInput_Type type); 44 void OnMsgSetTextInputType(PP_Instance instance, PP_TextInput_Type type);
45 void OnMsgUpdateCaretPosition(PP_Instance instance, 45 void OnMsgUpdateCaretPosition(PP_Instance instance,
46 PP_Rect caret, 46 PP_Rect caret,
47 PP_Rect bounding_box); 47 PP_Rect bounding_box);
48 void OnMsgCancelCompositionText(PP_Instance instance); 48 void OnMsgCancelCompositionText(PP_Instance instance);
49 49
50 DISALLOW_COPY_AND_ASSIGN(PPB_TextInput_Proxy); 50 DISALLOW_COPY_AND_ASSIGN(PPB_TextInput_Proxy);
51 }; 51 };
52 52
53 } // namespace proxy 53 } // namespace proxy
54 } // namespace ppapi 54 } // namespace ppapi
55 55
56 #endif // PPAPI_PPB_TEXT_INPUT_PROXY_H_ 56 #endif // PPAPI_PPB_TEXT_INPUT_PROXY_H_
OLDNEW
« no previous file with comments | « ppapi/proxy/ppb_testing_proxy.cc ('k') | ppapi/proxy/ppb_text_input_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698