| Index: webkit/plugins/npapi/webplugin_delegate_impl_win.cc
|
| ===================================================================
|
| --- webkit/plugins/npapi/webplugin_delegate_impl_win.cc (revision 0)
|
| +++ webkit/plugins/npapi/webplugin_delegate_impl_win.cc (working copy)
|
| @@ -2,7 +2,7 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -#include "webkit/glue/plugins/webplugin_delegate_impl.h"
|
| +#include "webkit/plugins/npapi/webplugin_delegate_impl.h"
|
|
|
| #include <map>
|
| #include <string>
|
| @@ -22,20 +22,23 @@
|
| #include "base/win/windows_version.h"
|
| #include "skia/ext/platform_canvas.h"
|
| #include "third_party/WebKit/WebKit/chromium/public/WebInputEvent.h"
|
| -#include "webkit/glue/plugins/default_plugin_shared.h"
|
| -#include "webkit/glue/plugins/plugin_constants_win.h"
|
| -#include "webkit/glue/plugins/plugin_instance.h"
|
| -#include "webkit/glue/plugins/plugin_lib.h"
|
| -#include "webkit/glue/plugins/plugin_list.h"
|
| -#include "webkit/glue/plugins/plugin_stream_url.h"
|
| -#include "webkit/glue/plugins/webplugin.h"
|
| #include "webkit/glue/webkit_glue.h"
|
| +#include "webkit/plugins/npapi/default_plugin_shared.h"
|
| +#include "webkit/plugins/npapi/plugin_constants_win.h"
|
| +#include "webkit/plugins/npapi/plugin_instance.h"
|
| +#include "webkit/plugins/npapi/plugin_lib.h"
|
| +#include "webkit/plugins/npapi/plugin_list.h"
|
| +#include "webkit/plugins/npapi/plugin_stream_url.h"
|
| +#include "webkit/plugins/npapi/webplugin.h"
|
|
|
| using WebKit::WebCursorInfo;
|
| using WebKit::WebKeyboardEvent;
|
| using WebKit::WebInputEvent;
|
| using WebKit::WebMouseEvent;
|
|
|
| +namespace webkit {
|
| +namespace npapi {
|
| +
|
| namespace {
|
|
|
| const wchar_t kWebPluginDelegateProperty[] = L"WebPluginDelegateProperty";
|
| @@ -246,7 +249,7 @@
|
|
|
| WebPluginDelegateImpl::WebPluginDelegateImpl(
|
| gfx::PluginWindowHandle containing_view,
|
| - NPAPI::PluginInstance *instance)
|
| + PluginInstance *instance)
|
| : parent_(containing_view),
|
| instance_(instance),
|
| quirks_(0),
|
| @@ -527,7 +530,7 @@
|
| // property. Use an atom so that other processes can access the name of
|
| // the plugin that this window is hosting
|
| if (instance_ != NULL) {
|
| - NPAPI::PluginLib* plugin_lib = instance()->plugin_lib();
|
| + PluginLib* plugin_lib = instance()->plugin_lib();
|
| if (plugin_lib != NULL) {
|
| std::wstring plugin_name = plugin_lib->plugin_info().name;
|
| if (!plugin_name.empty()) {
|
| @@ -1408,3 +1411,6 @@
|
| break;
|
| }
|
| }
|
| +
|
| +} // namespace npapi
|
| +} // namespace webkit
|
|
|