OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
| 5 #include "webkit/plugins/npapi/test/plugin_arguments_test.h" |
| 6 |
5 #include "base/basictypes.h" | 7 #include "base/basictypes.h" |
6 #include "base/string_util.h" | 8 #include "base/string_util.h" |
7 #include "base/stringprintf.h" | 9 #include "base/stringprintf.h" |
8 | 10 |
9 #include "webkit/glue/plugins/test/plugin_arguments_test.h" | |
10 | |
11 namespace NPAPIClient { | 11 namespace NPAPIClient { |
12 | 12 |
13 PluginArgumentsTest::PluginArgumentsTest(NPP id, | 13 PluginArgumentsTest::PluginArgumentsTest(NPP id, |
14 NPNetscapeFuncs *host_functions) | 14 NPNetscapeFuncs *host_functions) |
15 : PluginTest(id, host_functions) { | 15 : PluginTest(id, host_functions) { |
16 } | 16 } |
17 | 17 |
18 NPError PluginArgumentsTest::New(uint16 mode, int16 argc, | 18 NPError PluginArgumentsTest::New(uint16 mode, int16 argc, |
19 const char* argn[], const char* argv[], | 19 const char* argn[], const char* argv[], |
20 NPSavedData* saved) { | 20 NPSavedData* saved) { |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
59 return PluginTest::New(mode, argc, argn, argv, saved); | 59 return PluginTest::New(mode, argc, argn, argv, saved); |
60 } | 60 } |
61 | 61 |
62 NPError PluginArgumentsTest::SetWindow(NPWindow* pNPWindow) { | 62 NPError PluginArgumentsTest::SetWindow(NPWindow* pNPWindow) { |
63 // This test just tests the arguments. We're done now. | 63 // This test just tests the arguments. We're done now. |
64 this->SignalTestCompleted(); | 64 this->SignalTestCompleted(); |
65 | 65 |
66 return NPERR_NO_ERROR; | 66 return NPERR_NO_ERROR; |
67 } | 67 } |
68 | 68 |
69 } // namespace NPAPIClient | 69 } // namespace NPAPIClient |
OLD | NEW |