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

Unified Diff: ppapi/proxy/ppb_gles_chromium_texture_mapping_proxy.h

Issue 6400007: Implement proxy for 3d-related interfaces (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 9 years, 11 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ppapi/proxy/ppb_context_3d_proxy.cc ('k') | ppapi/proxy/ppb_gles_chromium_texture_mapping_proxy.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..eff9b4efc0f2dd7ce1657fbb09cb830af2d16939
--- /dev/null
+++ b/ppapi/proxy/ppb_gles_chromium_texture_mapping_proxy.h
@@ -0,0 +1,36 @@
+// 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);
+};
+
+} // namespace proxy
+} // namespace pp
+
+#endif // PPAPI_PPB_GLES_CHROMIUM_TEXTURE_MAPPING_PROXY_H_
« no previous file with comments | « ppapi/proxy/ppb_context_3d_proxy.cc ('k') | ppapi/proxy/ppb_gles_chromium_texture_mapping_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698