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

Unified Diff: ppapi/proxy/ppb_surface_3d_proxy.h

Issue 7623018: Move host resource from the proxy to the shared_impl. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Comments addressed Created 9 years, 4 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_pdf_proxy.cc ('k') | ppapi/proxy/ppb_surface_3d_proxy.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/proxy/ppb_surface_3d_proxy.h
diff --git a/ppapi/proxy/ppb_surface_3d_proxy.h b/ppapi/proxy/ppb_surface_3d_proxy.h
index f44ad7673b95ee18ded3bedaab9d28b5ead022b7..0fa0d4cc04cbc71b5b142a80e89dfb2543a96501 100644
--- a/ppapi/proxy/ppb_surface_3d_proxy.h
+++ b/ppapi/proxy/ppb_surface_3d_proxy.h
@@ -26,7 +26,7 @@ class Context3D;
class Surface3D : public PluginResource,
public ppapi::thunk::PPB_Surface3D_API {
public:
- explicit Surface3D(const HostResource& host_resource);
+ explicit Surface3D(const ppapi::HostResource& host_resource);
virtual ~Surface3D();
// ResourceObjectBase overrides.
@@ -84,13 +84,14 @@ class PPB_Surface3D_Proxy : public InterfaceProxy {
void OnMsgCreate(PP_Instance instance,
PP_Config3D_Dev config,
const std::vector<int32_t>& attribs,
- HostResource* result);
- void OnMsgSwapBuffers(const HostResource& surface);
+ ppapi::HostResource* result);
+ void OnMsgSwapBuffers(const ppapi::HostResource& surface);
// Renderer->plugin message handlers.
- void OnMsgSwapBuffersACK(const HostResource& surface, int32_t pp_error);
+ void OnMsgSwapBuffersACK(const ppapi::HostResource& surface,
+ int32_t pp_error);
void SendSwapBuffersACKToPlugin(int32_t result,
- const HostResource& surface_3d);
+ const ppapi::HostResource& surface_3d);
CompletionCallbackFactory<PPB_Surface3D_Proxy,
ProxyNonThreadSafeRefCount> callback_factory_;
« no previous file with comments | « ppapi/proxy/ppb_pdf_proxy.cc ('k') | ppapi/proxy/ppb_surface_3d_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698