OLD | NEW |
---|---|
(Empty) | |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 #ifndef PPAPI_PPB_GLES_CHROMIUM_TEXTURE_MAPPING_PROXY_H_ | |
6 #define PPAPI_PPB_GLES_CHROMIUM_TEXTURE_MAPPING_PROXY_H_ | |
7 | |
8 #include "ppapi/proxy/interface_proxy.h" | |
9 | |
10 struct PPB_GLESChromiumTextureMapping_Dev; | |
11 | |
12 namespace pp { | |
13 namespace proxy { | |
14 | |
15 class PPB_GLESChromiumTextureMapping_Proxy : public InterfaceProxy { | |
16 public: | |
17 PPB_GLESChromiumTextureMapping_Proxy(Dispatcher* dispatcher, | |
18 const void* target_interface); | |
19 virtual ~PPB_GLESChromiumTextureMapping_Proxy(); | |
20 | |
21 const PPB_GLESChromiumTextureMapping_Dev* | |
22 ppb_gles_chromium_tm_target() const { | |
23 return reinterpret_cast<const PPB_GLESChromiumTextureMapping_Dev*>( | |
24 target_interface()); | |
25 } | |
26 | |
27 // InterfaceProxy implementation. | |
28 virtual const void* GetSourceInterface() const; | |
29 virtual InterfaceID GetInterfaceId() const; | |
30 virtual bool OnMessageReceived(const IPC::Message& msg); | |
31 | |
32 private: | |
brettw
2011/01/31 18:51:29
Maybe just delete this?
piman
2011/01/31 19:34:29
Done.
| |
33 }; | |
34 | |
35 } // namespace proxy | |
36 } // namespace pp | |
37 | |
38 #endif // PPAPI_PPB_GLES_CHROMIUM_TEXTURE_MAPPING_PROXY_H_ | |
OLD | NEW |