OLD | NEW |
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 Loading... |
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 |
OLD | NEW |