Index: webkit/glue/plugins/webplugin_delegate_impl_gtk.cc |
diff --git a/webkit/plugins/npapi/webplugin_delegate_impl_gtk.cc b/webkit/glue/plugins/webplugin_delegate_impl_gtk.cc |
similarity index 97% |
rename from webkit/plugins/npapi/webplugin_delegate_impl_gtk.cc |
rename to webkit/glue/plugins/webplugin_delegate_impl_gtk.cc |
index ab69e6922092a3c34d5afe4287ed5dcdcce81486..609b41eca3619814c4e9d663b078c66491b95a0f 100644 |
--- a/webkit/plugins/npapi/webplugin_delegate_impl_gtk.cc |
+++ b/webkit/glue/plugins/webplugin_delegate_impl_gtk.cc |
@@ -1,8 +1,8 @@ |
-// Copyright (c) 2010 The Chromium Authors. All rights reserved. |
+// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-#include "webkit/plugins/npapi/webplugin_delegate_impl.h" |
+#include "webkit/glue/plugins/webplugin_delegate_impl.h" |
#include <string> |
#include <vector> |
@@ -20,14 +20,14 @@ |
#include "skia/ext/platform_canvas.h" |
#include "third_party/WebKit/WebKit/chromium/public/WebCursorInfo.h" |
#include "third_party/WebKit/WebKit/chromium/public/WebInputEvent.h" |
+#include "webkit/glue/plugins/gtk_plugin_container.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/gtk_plugin_container.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" |
#include "third_party/npapi/bindings/npapi_x11.h" |
@@ -36,12 +36,9 @@ using WebKit::WebKeyboardEvent; |
using WebKit::WebInputEvent; |
using WebKit::WebMouseEvent; |
-namespace webkit { |
-namespace npapi { |
- |
WebPluginDelegateImpl::WebPluginDelegateImpl( |
gfx::PluginWindowHandle containing_view, |
- PluginInstance *instance) |
+ NPAPI::PluginInstance *instance) |
: windowed_handle_(0), |
windowed_did_set_window_(false), |
windowless_(false), |
@@ -768,6 +765,3 @@ bool WebPluginDelegateImpl::PlatformHandleInputEvent( |
return ret; |
} |
- |
-} // namespace npapi |
-} // namespace webkit |