Index: chrome/renderer/pepper_devices_browsertest.cc |
=================================================================== |
--- chrome/renderer/pepper_devices_browsertest.cc (revision 69765) |
+++ chrome/renderer/pepper_devices_browsertest.cc (working copy) |
@@ -18,9 +18,9 @@ |
#include "third_party/WebKit/WebKit/chromium/public/WebPlugin.h" |
#include "third_party/WebKit/WebKit/chromium/public/WebPluginParams.h" |
#include "third_party/WebKit/WebKit/chromium/public/WebRect.h" |
-#include "webkit/plugins/npapi/plugin_instance.h" |
-#include "webkit/plugins/npapi/plugin_list.h" |
-#include "webkit/plugins/npapi/webplugin_impl.h" |
+#include "webkit/glue/plugins/plugin_instance.h" |
+#include "webkit/glue/plugins/plugin_list.h" |
+#include "webkit/glue/plugins/webplugin_impl.h" |
class PepperDeviceTest; |
@@ -135,9 +135,9 @@ |
virtual void SetUp(); |
virtual void TearDown(); |
- webkit::npapi::PluginVersionInfo version_info_; |
+ NPAPI::PluginVersionInfo version_info_; |
- scoped_ptr<webkit::npapi::WebPluginImpl> plugin_; |
+ scoped_ptr<webkit_glue::WebPluginImpl> plugin_; |
WebPluginDelegatePepper* pepper_plugin_; // FIXME(brettw): check lifetime. |
}; |
@@ -147,7 +147,7 @@ |
version_info_.file_description = ASCIIToWide("Pepper device test plugin"); |
version_info_.file_version = ASCIIToWide("1"); |
version_info_.mime_types = ASCIIToWide(kTestPluginMimeType); |
- webkit::npapi::PluginEntryPoints entry_points = { |
+ NPAPI::PluginEntryPoints entry_points = { |
#if !defined(OS_POSIX) || defined(OS_MACOSX) |
NP_GetEntryPoints, |
#endif |
@@ -163,14 +163,14 @@ |
void PepperDeviceTest::SetUp() { |
RenderViewTest::SetUp(); |
- webkit::npapi::PluginList::Singleton()->RegisterInternalPlugin(version_info_); |
+ NPAPI::PluginList::Singleton()->RegisterInternalPlugin(version_info_); |
// Create the WebKit plugin with no delegates (this seems to work |
// sufficiently for the test). |
WebKit::WebPluginParams params; |
- plugin_.reset(new webkit::npapi::WebPluginImpl( |
+ plugin_.reset(new webkit_glue::WebPluginImpl( |
NULL, params, FilePath(), std::string(), |
- base::WeakPtr<webkit::npapi::WebPluginPageDelegate>())); |
+ base::WeakPtr<webkit_glue::WebPluginPageDelegate>())); |
// Create a pepper plugin for the RenderView. |
pepper_plugin_ = WebPluginDelegatePepper::Create( |
@@ -201,8 +201,7 @@ |
if (pepper_plugin_) |
pepper_plugin_->PluginDestroyed(); |
- webkit::npapi::PluginList::Singleton()->UnregisterInternalPlugin( |
- version_info_.path); |
+ NPAPI::PluginList::Singleton()->UnregisterInternalPlugin(version_info_.path); |
RenderViewTest::TearDown(); |
} |