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

Unified Diff: src/shared/ppapi_proxy/plugin_graphics_2d.h

Issue 4210003: Started on Resource class. (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client
Patch Set: Resource->PluginResource Created 10 years, 1 month 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 | « src/shared/ppapi_proxy/plugin_core.cc ('k') | src/shared/ppapi_proxy/plugin_graphics_2d.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/shared/ppapi_proxy/plugin_graphics_2d.h
diff --git a/src/shared/ppapi_proxy/plugin_graphics_2d.h b/src/shared/ppapi_proxy/plugin_graphics_2d.h
index 955a04b69014a3b3ac826410c4f084598f50ed40..a9bfb0a2adb6d6670bb1961152e31551cbbce077 100644
--- a/src/shared/ppapi_proxy/plugin_graphics_2d.h
+++ b/src/shared/ppapi_proxy/plugin_graphics_2d.h
@@ -8,16 +8,18 @@
#define NATIVE_CLIENT_SRC_SHARED_PPAPI_PROXY_PLUGIN_GRAPHICS_2D_H_
#include "native_client/src/include/nacl_macros.h"
+#include "native_client/src/shared/ppapi_proxy/plugin_resource.h"
#include "ppapi/c/ppb_graphics_2d.h"
namespace ppapi_proxy {
// Implements the plugin (i.e., .nexe) side of the PPB_Graphics2D interface.
-class PluginGraphics2D {
+class PluginGraphics2D : public PluginResource {
public:
static const PPB_Graphics2D* GetInterface();
private:
+ IMPLEMENT_RESOURCE(PluginGraphics2D);
NACL_DISALLOW_COPY_AND_ASSIGN(PluginGraphics2D);
};
« no previous file with comments | « src/shared/ppapi_proxy/plugin_core.cc ('k') | src/shared/ppapi_proxy/plugin_graphics_2d.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698