OLD | NEW |
---|---|
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. |
bbudge
2011/08/16 22:40:49
2011
| |
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_CHAR_SET_PROXY_H_ | 5 #ifndef PPAPI_PROXY_PPB_CHAR_SET_PROXY_H_ |
6 #define PPAPI_PROXY_PPB_CHAR_SET_PROXY_H_ | 6 #define PPAPI_PROXY_PPB_CHAR_SET_PROXY_H_ |
7 | 7 |
8 #include "ppapi/c/pp_instance.h" | 8 #include "ppapi/c/pp_instance.h" |
9 #include "ppapi/c/pp_resource.h" | 9 #include "ppapi/c/pp_resource.h" |
10 #include "ppapi/proxy/interface_proxy.h" | 10 #include "ppapi/proxy/interface_proxy.h" |
11 #include "ppapi/shared_impl/function_group_base.h" | 11 #include "ppapi/shared_impl/function_group_base.h" |
12 #include "ppapi/thunk/ppb_char_set_api.h" | 12 #include "ppapi/thunk/ppb_char_set_api.h" |
13 | 13 |
14 struct PPB_CharSet_Dev; | 14 struct PPB_CharSet_Dev; |
15 struct PPB_Core; | 15 struct PPB_Core; |
16 | 16 |
17 namespace pp { | 17 namespace ppapi { |
18 namespace proxy { | 18 namespace proxy { |
19 | 19 |
20 class SerializedVarReturnValue; | 20 class SerializedVarReturnValue; |
21 | 21 |
22 class PPB_CharSet_Proxy : public ppapi::FunctionGroupBase, | 22 class PPB_CharSet_Proxy : public ppapi::FunctionGroupBase, |
23 public ppapi::thunk::PPB_CharSet_FunctionAPI, | 23 public ppapi::thunk::PPB_CharSet_FunctionAPI, |
24 public InterfaceProxy { | 24 public InterfaceProxy { |
25 public: | 25 public: |
26 PPB_CharSet_Proxy(Dispatcher* dispatcher, const void* target_interface); | 26 PPB_CharSet_Proxy(Dispatcher* dispatcher, const void* target_interface); |
27 virtual ~PPB_CharSet_Proxy(); | 27 virtual ~PPB_CharSet_Proxy(); |
(...skipping 21 matching lines...) Expand all Loading... | |
49 virtual bool OnMessageReceived(const IPC::Message& msg) OVERRIDE; | 49 virtual bool OnMessageReceived(const IPC::Message& msg) OVERRIDE; |
50 | 50 |
51 private: | 51 private: |
52 void OnMsgGetDefaultCharSet(PP_Instance instance, | 52 void OnMsgGetDefaultCharSet(PP_Instance instance, |
53 SerializedVarReturnValue result); | 53 SerializedVarReturnValue result); |
54 | 54 |
55 DISALLOW_COPY_AND_ASSIGN(PPB_CharSet_Proxy); | 55 DISALLOW_COPY_AND_ASSIGN(PPB_CharSet_Proxy); |
56 }; | 56 }; |
57 | 57 |
58 } // namespace proxy | 58 } // namespace proxy |
59 } // namespace pp | 59 } // namespace ppapi |
60 | 60 |
61 #endif // PPAPI_PROXY_PPB_CHAR_SET_PROXY_H_ | 61 #endif // PPAPI_PROXY_PPB_CHAR_SET_PROXY_H_ |
OLD | NEW |