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

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

Issue 8527020: Cleanup: Remove unneeded forward declarations in ppapi. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 1 month 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_surface_3d_proxy.h ('k') | ppapi/proxy/ppb_var_deprecated_proxy.h » ('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_PROXY_PPB_TEXT_INPUT_PROXY_H_
6 #define PPAPI_PPB_TEXT_INPUT_PROXY_H_ 6 #define PPAPI_PROXY_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"
11 #include "ppapi/thunk/ppb_text_input_api.h" 11 #include "ppapi/thunk/ppb_text_input_api.h"
12 12
13 struct PPB_TextInput_Dev;
14
15 namespace ppapi { 13 namespace ppapi {
16 namespace proxy { 14 namespace proxy {
17 15
18 class PPB_TextInput_Proxy 16 class PPB_TextInput_Proxy
19 : public InterfaceProxy, 17 : public InterfaceProxy,
20 public ppapi::thunk::PPB_TextInput_FunctionAPI { 18 public ppapi::thunk::PPB_TextInput_FunctionAPI {
21 public: 19 public:
22 PPB_TextInput_Proxy(Dispatcher* dispatcher); 20 explicit PPB_TextInput_Proxy(Dispatcher* dispatcher);
23 virtual ~PPB_TextInput_Proxy(); 21 virtual ~PPB_TextInput_Proxy();
24 22
25 // FunctionGroupBase overrides. 23 // FunctionGroupBase overrides.
26 ppapi::thunk::PPB_TextInput_FunctionAPI* AsPPB_TextInput_FunctionAPI() 24 ppapi::thunk::PPB_TextInput_FunctionAPI* AsPPB_TextInput_FunctionAPI()
27 OVERRIDE; 25 OVERRIDE;
28 26
29 // PPB_TextInput_FunctionAPI implementation. 27 // PPB_TextInput_FunctionAPI implementation.
30 virtual void SetTextInputType(PP_Instance instance, 28 virtual void SetTextInputType(PP_Instance instance,
31 PP_TextInput_Type type) OVERRIDE; 29 PP_TextInput_Type type) OVERRIDE;
32 virtual void UpdateCaretPosition(PP_Instance instance, 30 virtual void UpdateCaretPosition(PP_Instance instance,
(...skipping 13 matching lines...) Expand all
46 PP_Rect caret, 44 PP_Rect caret,
47 PP_Rect bounding_box); 45 PP_Rect bounding_box);
48 void OnMsgCancelCompositionText(PP_Instance instance); 46 void OnMsgCancelCompositionText(PP_Instance instance);
49 47
50 DISALLOW_COPY_AND_ASSIGN(PPB_TextInput_Proxy); 48 DISALLOW_COPY_AND_ASSIGN(PPB_TextInput_Proxy);
51 }; 49 };
52 50
53 } // namespace proxy 51 } // namespace proxy
54 } // namespace ppapi 52 } // namespace ppapi
55 53
56 #endif // PPAPI_PPB_TEXT_INPUT_PROXY_H_ 54 #endif // PPAPI_PROXY_PPB_TEXT_INPUT_PROXY_H_
OLDNEW
« no previous file with comments | « ppapi/proxy/ppb_surface_3d_proxy.h ('k') | ppapi/proxy/ppb_var_deprecated_proxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698