Index: webkit/tools/pepper_test_plugin/pepper_test_factory.cc |
=================================================================== |
--- webkit/tools/pepper_test_plugin/pepper_test_factory.cc (revision 0) |
+++ webkit/tools/pepper_test_plugin/pepper_test_factory.cc (revision 0) |
@@ -0,0 +1,23 @@ |
+// 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. |
+ |
+#include "webkit/glue/plugins/test/plugin_test_factory.h" |
+ |
+#include "webkit/tools/pepper_test_plugin/pepper_3d_test.h" |
+ |
+namespace NPAPIClient { |
+ |
+PluginTest* CreatePluginTest(const std::string& test_name, |
+ NPP instance, |
+ NPNetscapeFuncs* host_functions) { |
+ PluginTest* new_test = NULL; |
+ |
+ if (test_name == "pepper_3d") { |
+ new_test = new Pepper3DTest(instance, host_functions); |
+ } |
+ |
+ return new_test; |
+} |
+ |
+} // namespace NPAPIClient |
Property changes on: webkit\tools\pepper_test_plugin\pepper_test_factory.cc |
___________________________________________________________________ |
Added: svn:eol-style |
+ LF |