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

Unified Diff: webkit/tools/pepper_test_plugin/plugin_object.h

Issue 547005: This CL is for Neb. It contains his change 501124, with conflicts merged. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 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
Index: webkit/tools/pepper_test_plugin/plugin_object.h
===================================================================
--- webkit/tools/pepper_test_plugin/plugin_object.h (revision 35905)
+++ webkit/tools/pepper_test_plugin/plugin_object.h (working copy)
@@ -27,11 +27,12 @@
#define WEBKIT_TOOLS_PEPPER_TEST_PLUGIN_PLUGIN_OBJECT_H_
#include "base/basictypes.h"
-#include "base/gfx/size.h"
#include "base/scoped_ptr.h"
+#include "webkit/glue/plugins/nphostapi.h"
+#if !defined(INDEPENDENT_PLUGIN)
#include "gpu/command_buffer/client/gles2_implementation.h"
#include "webkit/tools/pepper_test_plugin/command_buffer_pepper.h"
-#include "webkit/glue/plugins/nphostapi.h"
+#endif
extern NPNetscapeFuncs* browser;
@@ -59,11 +60,14 @@
NPDevice* device2d_;
+#if !defined(INDEPENDENT_PLUGIN)
scoped_ptr<CommandBufferPepper> command_buffer_;
scoped_ptr<gpu::gles2::GLES2CmdHelper> helper_;
scoped_ptr<gpu::gles2::GLES2Implementation> gles2_implementation_;
+#endif
- gfx::Size size_;
+ int width_;
+ int height_;
DISALLOW_COPY_AND_ASSIGN(PluginObject);
};
« no previous file with comments | « webkit/tools/pepper_test_plugin/pepper_test_plugin.gyp ('k') | webkit/tools/pepper_test_plugin/plugin_object.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698