OLD | NEW |
(Empty) | |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #include "webkit/glue/plugins/test/plugin_test_factory.h" |
| 6 |
| 7 #include "webkit/tools/pepper_test_plugin/pepper_3d_test.h" |
| 8 |
| 9 namespace NPAPIClient { |
| 10 |
| 11 PluginTest* CreatePluginTest(const std::string& test_name, |
| 12 NPP instance, |
| 13 NPNetscapeFuncs* host_functions) { |
| 14 PluginTest* new_test = NULL; |
| 15 |
| 16 if (test_name == "pepper_3d") { |
| 17 new_test = new Pepper3DTest(instance, host_functions); |
| 18 } |
| 19 |
| 20 return new_test; |
| 21 } |
| 22 |
| 23 } // namespace NPAPIClient |
OLD | NEW |