| Index: webkit/tools/test_shell/test_webview_delegate_gtk.cc
|
| diff --git a/webkit/tools/test_shell/test_webview_delegate_gtk.cc b/webkit/tools/test_shell/test_webview_delegate_gtk.cc
|
| index 51cfde37ade444087ddd672e1bfe2cea140b7205..aff8a455ecc8791088c6ba7f6b546be8754ff694 100644
|
| --- a/webkit/tools/test_shell/test_webview_delegate_gtk.cc
|
| +++ b/webkit/tools/test_shell/test_webview_delegate_gtk.cc
|
| @@ -21,15 +21,15 @@
|
| #include "third_party/WebKit/WebKit/chromium/public/WebRect.h"
|
| #include "third_party/WebKit/WebKit/chromium/public/WebString.h"
|
| #include "third_party/WebKit/WebKit/chromium/public/WebView.h"
|
| -#include "webkit/glue/plugins/webplugin.h"
|
| #include "webkit/glue/webcursor.h"
|
| #include "webkit/glue/webdropdata.h"
|
| #include "webkit/glue/webpreferences.h"
|
| #include "webkit/glue/webkit_glue.h"
|
| -#include "webkit/glue/plugins/gtk_plugin_container_manager.h"
|
| -#include "webkit/glue/plugins/plugin_list.h"
|
| #include "webkit/glue/window_open_disposition.h"
|
| -#include "webkit/glue/plugins/webplugin_delegate_impl.h"
|
| +#include "webkit/plugins/npapi/gtk_plugin_container_manager.h"
|
| +#include "webkit/plugins/npapi/plugin_list.h"
|
| +#include "webkit/plugins/npapi/webplugin.h"
|
| +#include "webkit/plugins/npapi/webplugin_delegate_impl.h"
|
| #include "webkit/tools/test_shell/test_navigation_controller.h"
|
| #include "webkit/tools/test_shell/test_shell.h"
|
|
|
| @@ -197,7 +197,7 @@ void TestWebViewDelegate::runModal() {
|
|
|
| // WebPluginPageDelegate ------------------------------------------------------
|
|
|
| -webkit_glue::WebPluginDelegate* TestWebViewDelegate::CreatePluginDelegate(
|
| +webkit::npapi::WebPluginDelegate* TestWebViewDelegate::CreatePluginDelegate(
|
| const FilePath& path,
|
| const std::string& mime_type) {
|
| // TODO(evanm): we probably shouldn't be doing this mapping to X ids at
|
| @@ -205,7 +205,8 @@ webkit_glue::WebPluginDelegate* TestWebViewDelegate::CreatePluginDelegate(
|
| GdkNativeWindow plugin_parent =
|
| GDK_WINDOW_XWINDOW(shell_->webViewHost()->view_handle()->window);
|
|
|
| - return WebPluginDelegateImpl::Create(path, mime_type, plugin_parent);
|
| + return webkit::npapi::WebPluginDelegateImpl::Create(
|
| + path, mime_type, plugin_parent);
|
| }
|
|
|
| void TestWebViewDelegate::CreatedPluginWindow(
|
| @@ -219,9 +220,9 @@ void TestWebViewDelegate::WillDestroyPluginWindow(
|
| }
|
|
|
| void TestWebViewDelegate::DidMovePlugin(
|
| - const webkit_glue::WebPluginGeometry& move) {
|
| + const webkit::npapi::WebPluginGeometry& move) {
|
| WebWidgetHost* host = GetWidgetHost();
|
| - GtkPluginContainerManager* plugin_container_manager =
|
| + webkit::npapi::GtkPluginContainerManager* plugin_container_manager =
|
| static_cast<WebViewHost*>(host)->plugin_container_manager();
|
| plugin_container_manager->MovePluginContainer(move);
|
| }
|
|
|