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

Side by Side Diff: webkit/glue/plugins/test/plugin_arguments_test.cc

Issue 1661: port some parts of webkit/glue/plugins/test to Linux... (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: '' Created 12 years, 3 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « webkit/glue/plugins/test/npapi_test.cc ('k') | webkit/glue/plugins/test/plugin_client.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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 "base/basictypes.h"
6
7 #if defined(OS_WIN)
5 #define STRSAFE_NO_DEPRECATE 8 #define STRSAFE_NO_DEPRECATE
6 #include <strsafe.h> 9 #include <strsafe.h>
10 #endif
11
7 #include "webkit/glue/plugins/test/plugin_arguments_test.h" 12 #include "webkit/glue/plugins/test/plugin_arguments_test.h"
8 13
9 namespace NPAPIClient { 14 namespace NPAPIClient {
10 15
11 PluginArgumentsTest::PluginArgumentsTest(NPP id, 16 PluginArgumentsTest::PluginArgumentsTest(NPP id,
12 NPNetscapeFuncs *host_functions) 17 NPNetscapeFuncs *host_functions)
13 : PluginTest(id, host_functions) { 18 : PluginTest(id, host_functions) {
14 } 19 }
15 20
16 NPError PluginArgumentsTest::New(uint16 mode, int16 argc, 21 NPError PluginArgumentsTest::New(uint16 mode, int16 argc,
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 64
60 NPError PluginArgumentsTest::SetWindow(NPWindow* pNPWindow) { 65 NPError PluginArgumentsTest::SetWindow(NPWindow* pNPWindow) {
61 // This test just tests the arguments. We're done now. 66 // This test just tests the arguments. We're done now.
62 this->SignalTestCompleted(); 67 this->SignalTestCompleted();
63 68
64 return NPERR_NO_ERROR; 69 return NPERR_NO_ERROR;
65 } 70 }
66 71
67 } // namespace NPAPIClient 72 } // namespace NPAPIClient
68 73
OLDNEW
« no previous file with comments | « webkit/glue/plugins/test/npapi_test.cc ('k') | webkit/glue/plugins/test/plugin_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698