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

Side by Side Diff: content/test/plugin/plugin_javascript_open_popup.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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_javascript_open_popup.h" 5 #include "content/test/plugin/plugin_javascript_open_popup.h"
6 6
7 #include "build/build_config.h" 7 #include "build/build_config.h"
8 #include "base/logging.h" 8 #include "base/logging.h"
9 9
10 #if defined(USE_X11) 10 #if defined(USE_X11)
11 #include "third_party/npapi/bindings/npapi_x11.h" 11 #include "third_party/npapi/bindings/npapi_x11.h"
12 #endif 12 #endif
13 #include "webkit/plugins/npapi/test/plugin_client.h" 13 #include "content/test/plugin/plugin_client.h"
14 14
15 namespace NPAPIClient { 15 namespace NPAPIClient {
16 16
17 ExecuteJavascriptOpenPopupWithPluginTest:: 17 ExecuteJavascriptOpenPopupWithPluginTest::
18 ExecuteJavascriptOpenPopupWithPluginTest(NPP id, 18 ExecuteJavascriptOpenPopupWithPluginTest(NPP id,
19 NPNetscapeFuncs *host_functions) 19 NPNetscapeFuncs *host_functions)
20 : PluginTest(id, host_functions), 20 : PluginTest(id, host_functions),
21 popup_window_test_started_(false) { 21 popup_window_test_started_(false) {
22 } 22 }
23 23
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
104 } 104 }
105 #elif defined(OS_MACOSX) 105 #elif defined(OS_MACOSX)
106 bool ExecuteJavascriptPopupWindowTargetPluginTest::CheckWindow( 106 bool ExecuteJavascriptPopupWindowTargetPluginTest::CheckWindow(
107 NPWindow* window) { 107 NPWindow* window) {
108 // TODO(port) scaffolding--replace with a real test once NPWindow is done. 108 // TODO(port) scaffolding--replace with a real test once NPWindow is done.
109 return false; 109 return false;
110 } 110 }
111 #endif 111 #endif
112 112
113 } // namespace NPAPIClient 113 } // namespace NPAPIClient
OLDNEW
« no previous file with comments | « content/test/plugin/plugin_javascript_open_popup.h ('k') | content/test/plugin/plugin_new_fails_test.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698