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

Unified Diff: o3d/gpu_plugin/gpu_plugin_object.h

Issue 196032: Replaced BaseNPObject with DefaultNPObject because...... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 3 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 | « o3d/gpu_plugin/gpu_plugin.gyp ('k') | o3d/gpu_plugin/gpu_plugin_object.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: o3d/gpu_plugin/gpu_plugin_object.h
===================================================================
--- o3d/gpu_plugin/gpu_plugin_object.h (revision 25348)
+++ o3d/gpu_plugin/gpu_plugin_object.h (working copy)
@@ -19,7 +19,8 @@
namespace gpu_plugin {
// The scriptable object for the GPU plugin.
-class GPUPluginObject : public DispatchedNPObject, public PluginObject {
+class GPUPluginObject : public DefaultNPObject<NPObject>,
+ public PluginObject {
public:
static const NPUTF8 kPluginType[];
@@ -45,8 +46,7 @@
// Initializes and returns the command buffer object.
NPObjectPointer<NPObject> OpenCommandBuffer();
- protected:
- NP_UTILS_BEGIN_DISPATCHER_CHAIN(GPUPluginObject, DispatchedNPObject)
+ NP_UTILS_BEGIN_DISPATCHER_CHAIN(GPUPluginObject, DefaultNPObject<NPObject>)
NP_UTILS_DISPATCHER(OpenCommandBuffer, NPObjectPointer<NPObject>())
NP_UTILS_END_DISPATCHER_CHAIN
@@ -59,6 +59,7 @@
DESTROYED,
};
+ NPP npp_;
Status status_;
NPWindow window_;
NPObjectPointer<CommandBuffer> command_buffer_object_;
« no previous file with comments | « o3d/gpu_plugin/gpu_plugin.gyp ('k') | o3d/gpu_plugin/gpu_plugin_object.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698