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

Side by Side Diff: content/test/plugin/plugin_create_instance_in_paint.cc

Issue 19697013: Move NPAPI test plugin to content/test/plugin. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 7 years, 5 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
OLDNEW
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_create_instance_in_paint.h" 5 #include "content/test/plugin/plugin_create_instance_in_paint.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "webkit/plugins/npapi/test/plugin_client.h" 8 #include "content/test/plugin/plugin_client.h"
9 9
10 namespace NPAPIClient { 10 namespace NPAPIClient {
11 11
12 CreateInstanceInPaintTest::CreateInstanceInPaintTest( 12 CreateInstanceInPaintTest::CreateInstanceInPaintTest(
13 NPP id, NPNetscapeFuncs *host_functions) 13 NPP id, NPNetscapeFuncs *host_functions)
14 : PluginTest(id, host_functions), 14 : PluginTest(id, host_functions),
15 window_(NULL), created_(false) { 15 window_(NULL), created_(false) {
16 } 16 }
17 17
18 NPError CreateInstanceInPaintTest::SetWindow(NPWindow* pNPWindow) { 18 NPError CreateInstanceInPaintTest::SetWindow(NPWindow* pNPWindow) {
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 this_instance->HostFunctions()->geturlnotify( 70 this_instance->HostFunctions()->geturlnotify(
71 this_instance->id(), "javascript:CreateNewInstance()", NULL, 71 this_instance->id(), "javascript:CreateNewInstance()", NULL,
72 reinterpret_cast<void*>(1)); 72 reinterpret_cast<void*>(1));
73 } 73 }
74 } 74 }
75 75
76 return DefWindowProc(window, message, wparam, lparam); 76 return DefWindowProc(window, message, wparam, lparam);
77 } 77 }
78 78
79 } // namespace NPAPIClient 79 } // namespace NPAPIClient
OLDNEW
« no previous file with comments | « content/test/plugin/plugin_create_instance_in_paint.h ('k') | content/test/plugin/plugin_delete_plugin_in_deallocate_test.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698