Index: webkit/glue/plugins/test/plugin_setup_test.h |
diff --git a/webkit/glue/plugins/test/plugin_setup_test.h b/webkit/glue/plugins/test/plugin_setup_test.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..b01bc421de09bb50d4262e6e011100672a26d444 |
--- /dev/null |
+++ b/webkit/glue/plugins/test/plugin_setup_test.h |
@@ -0,0 +1,24 @@ |
+// Copyright (c) 2010 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#ifndef WEBKIT_GLUE_PLUGINS_TEST_PLUGIN_SETUP_TEST_H__ |
+#define WEBKIT_GLUE_PLUGINS_TEST_PLUGIN_SETUP_TEST_H__ |
+ |
+#include "webkit/glue/plugins/test/plugin_test.h" |
+ |
+namespace NPAPIClient { |
+ |
+// A very simple test that just sets up a new plug-in. |
+class PluginSetupTest : public PluginTest { |
+ public: |
+ // Constructor. |
+ PluginSetupTest(NPP id, NPNetscapeFuncs *host_functions); |
+ |
+ // NPAPI SetWindow handler. |
+ virtual NPError SetWindow(NPWindow* pNPWindow); |
+}; |
+ |
+} // namespace NPAPIClient |
+ |
+#endif // WEBKIT_GLUE_PLUGINS_TEST_PLUGIN_SETUP_TEST_H__ |