| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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 "webkit/glue/plugins/test/plugin_windowed_test.h" |
| 6 #include "webkit/plugins/npapi/test/plugin_client.h" | 6 #include "webkit/glue/plugins/test/plugin_client.h" |
| 7 | 7 |
| 8 namespace NPAPIClient { | 8 namespace NPAPIClient { |
| 9 | 9 |
| 10 WindowedPluginTest::WindowedPluginTest(NPP id, NPNetscapeFuncs *host_functions) | 10 WindowedPluginTest::WindowedPluginTest(NPP id, NPNetscapeFuncs *host_functions) |
| 11 : PluginTest(id, host_functions), | 11 : PluginTest(id, host_functions), |
| 12 window_(NULL), done_(false) { | 12 window_(NULL), done_(false) { |
| 13 } | 13 } |
| 14 | 14 |
| 15 WindowedPluginTest::~WindowedPluginTest() { | 15 WindowedPluginTest::~WindowedPluginTest() { |
| 16 if (window_) | 16 if (window_) |
| (...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 141 | 141 |
| 142 if (this_ptr->done_) { | 142 if (this_ptr->done_) { |
| 143 ::RemoveProp(window, L"Plugin_Instance"); | 143 ::RemoveProp(window, L"Plugin_Instance"); |
| 144 } | 144 } |
| 145 } | 145 } |
| 146 | 146 |
| 147 return DefWindowProc(window, message, wparam, lparam); | 147 return DefWindowProc(window, message, wparam, lparam); |
| 148 } | 148 } |
| 149 | 149 |
| 150 } // namespace NPAPIClient | 150 } // namespace NPAPIClient |
| OLD | NEW |