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

Unified Diff: webkit/glue/plugins/test/plugin_windowless_test.h

Issue 1073003: Added a test for pepper3d. It ensures that we can successfully load a pepper ... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 9 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/glue/plugins/test/plugin_windowless_test.h
===================================================================
--- webkit/glue/plugins/test/plugin_windowless_test.h (revision 42644)
+++ webkit/glue/plugins/test/plugin_windowless_test.h (working copy)
@@ -14,8 +14,11 @@
class WindowlessPluginTest : public PluginTest {
public:
// Constructor.
- WindowlessPluginTest(NPP id, NPNetscapeFuncs *host_functions,
- const std::string& test_name);
+ WindowlessPluginTest(NPP id, NPNetscapeFuncs *host_functions);
+
+ // These tests run in windowless plugin mode.
+ virtual bool IsWindowless() const { return true; }
+
// NPAPI HandleEvent handler
virtual int16 HandleEvent(void* event);
@@ -25,9 +28,6 @@
void ExecuteScriptDeleteInPaint(NPNetscapeFuncs* browser);
void MultipleInstanceSyncCalls(NPNetscapeFuncs* browser);
void ConvertPoint(NPNetscapeFuncs* browser);
-
- private:
- std::string test_name_;
};
} // namespace NPAPIClient
« no previous file with comments | « webkit/glue/plugins/test/plugin_windowed_test.cc ('k') | webkit/glue/plugins/test/plugin_windowless_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698