| 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_windowed_test.h" | 5 #include "content/test/plugin/plugin_windowed_test.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 WindowedPluginTest::WindowedPluginTest(NPP id, NPNetscapeFuncs *host_functions) | 12 WindowedPluginTest::WindowedPluginTest(NPP id, NPNetscapeFuncs *host_functions) |
| 13 : PluginTest(id, host_functions), | 13 : PluginTest(id, host_functions), |
| 14 window_(NULL), done_(false) { | 14 window_(NULL), done_(false) { |
| 15 } | 15 } |
| 16 | 16 |
| 17 WindowedPluginTest::~WindowedPluginTest() { | 17 WindowedPluginTest::~WindowedPluginTest() { |
| 18 if (window_) | 18 if (window_) |
| (...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 137 | 137 |
| 138 if (this_ptr->done_) { | 138 if (this_ptr->done_) { |
| 139 ::RemoveProp(window, L"Plugin_Instance"); | 139 ::RemoveProp(window, L"Plugin_Instance"); |
| 140 } | 140 } |
| 141 } | 141 } |
| 142 | 142 |
| 143 return DefWindowProc(window, message, wparam, lparam); | 143 return DefWindowProc(window, message, wparam, lparam); |
| 144 } | 144 } |
| 145 | 145 |
| 146 } // namespace NPAPIClient | 146 } // namespace NPAPIClient |
| OLD | NEW |