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

Unified Diff: ppapi/proxy/resource_creation_proxy.h

Issue 10386145: Add the necessary plumbing mechanisms to ensure proper WebGL support inside the <browser> tag, whic… (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Address comments; remove createOffscreenGraphicsContext3D Created 8 years, 7 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
Index: ppapi/proxy/resource_creation_proxy.h
diff --git a/ppapi/proxy/resource_creation_proxy.h b/ppapi/proxy/resource_creation_proxy.h
index e4fdb52d4766cad287cbfc4cd151e01aec783df3..d2532331cef57ef1d23fbb1c4fdbe0757fca5757 100644
--- a/ppapi/proxy/resource_creation_proxy.h
+++ b/ppapi/proxy/resource_creation_proxy.h
@@ -21,6 +21,12 @@ namespace ppapi {
class HostResource;
+namespace thunk {
+
+class PPB_Graphics3D_API;
+
+} // namespace thunk
piman 2012/05/16 23:38:45 You shouldn't need that since it has to be implici
+
namespace proxy {
class Dispatcher;
@@ -105,11 +111,12 @@ class ResourceCreationProxy : public InterfaceProxy,
const PP_Size& size,
PP_Bool is_always_opaque) OVERRIDE;
virtual PP_Resource CreateGraphics3D(PP_Instance instance,
- PP_Resource share_context,
+ thunk::PPB_Graphics3D_API* share_context,
const int32_t* attrib_list) OVERRIDE;
- virtual PP_Resource CreateGraphics3DRaw(PP_Instance instance,
- PP_Resource share_context,
- const int32_t* attrib_list) OVERRIDE;
+ virtual PP_Resource CreateGraphics3DRaw(
+ PP_Instance instance,
+ thunk::PPB_Graphics3D_API* share_context,
+ const int32_t* attrib_list) OVERRIDE;
virtual PP_Resource CreateHostResolverPrivate(PP_Instance instance) OVERRIDE;
virtual PP_Resource CreateImageData(PP_Instance instance,
PP_ImageDataFormat format,

Powered by Google App Engine
This is Rietveld 408576698