Chromium Code Reviews| Index: ppapi/proxy/ppb_gles_chromium_texture_mapping_proxy.h |
| diff --git a/ppapi/proxy/ppb_gles_chromium_texture_mapping_proxy.h b/ppapi/proxy/ppb_gles_chromium_texture_mapping_proxy.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..382001e19a0bc1644349e35fe78c51a131add715 |
| --- /dev/null |
| +++ b/ppapi/proxy/ppb_gles_chromium_texture_mapping_proxy.h |
| @@ -0,0 +1,38 @@ |
| +// Copyright (c) 2010 The Chromium Authors. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +#ifndef PPAPI_PPB_GLES_CHROMIUM_TEXTURE_MAPPING_PROXY_H_ |
| +#define PPAPI_PPB_GLES_CHROMIUM_TEXTURE_MAPPING_PROXY_H_ |
| + |
| +#include "ppapi/proxy/interface_proxy.h" |
| + |
| +struct PPB_GLESChromiumTextureMapping_Dev; |
| + |
| +namespace pp { |
| +namespace proxy { |
| + |
| +class PPB_GLESChromiumTextureMapping_Proxy : public InterfaceProxy { |
| + public: |
| + PPB_GLESChromiumTextureMapping_Proxy(Dispatcher* dispatcher, |
| + const void* target_interface); |
| + virtual ~PPB_GLESChromiumTextureMapping_Proxy(); |
| + |
| + const PPB_GLESChromiumTextureMapping_Dev* |
| + ppb_gles_chromium_tm_target() const { |
| + return reinterpret_cast<const PPB_GLESChromiumTextureMapping_Dev*>( |
| + target_interface()); |
| + } |
| + |
| + // InterfaceProxy implementation. |
| + virtual const void* GetSourceInterface() const; |
| + virtual InterfaceID GetInterfaceId() const; |
| + virtual bool OnMessageReceived(const IPC::Message& msg); |
| + |
| + private: |
|
brettw
2011/01/31 18:51:29
Maybe just delete this?
piman
2011/01/31 19:34:29
Done.
|
| +}; |
| + |
| +} // namespace proxy |
| +} // namespace pp |
| + |
| +#endif // PPAPI_PPB_GLES_CHROMIUM_TEXTURE_MAPPING_PROXY_H_ |