| Index: chrome/renderer/render_view.cc
|
| ===================================================================
|
| --- chrome/renderer/render_view.cc (revision 69282)
|
| +++ chrome/renderer/render_view.cc (working copy)
|
| @@ -175,7 +175,6 @@
|
| #include "webkit/glue/media/video_renderer_impl.h"
|
| #include "webkit/glue/password_form_dom_manager.h"
|
| #include "webkit/glue/plugins/default_plugin_shared.h"
|
| -#include "webkit/glue/plugins/pepper_webplugin_impl.h"
|
| #include "webkit/glue/plugins/plugin_list.h"
|
| #include "webkit/glue/plugins/webplugin_delegate.h"
|
| #include "webkit/glue/plugins/webplugin_delegate_impl.h"
|
| @@ -187,6 +186,7 @@
|
| #include "webkit/glue/webdropdata.h"
|
| #include "webkit/glue/webkit_glue.h"
|
| #include "webkit/glue/webmediaplayer_impl.h"
|
| +#include "webkit/plugins/ppapi/webplugin_impl.h"
|
|
|
| #if defined(OS_WIN)
|
| // TODO(port): these files are currently Windows only because they concern:
|
| @@ -843,7 +843,7 @@
|
| if (!found || !info.enabled)
|
| return NULL;
|
|
|
| - scoped_refptr<pepper::PluginModule> pepper_module(
|
| + scoped_refptr<webkit::plugins::ppapi::PluginModule> pepper_module(
|
| pepper_delegate_.CreatePepperPlugin(info.path));
|
| if (pepper_module)
|
| return CreatePepperPlugin(frame, params, info.path, pepper_module.get());
|
| @@ -2126,8 +2126,9 @@
|
| return widget->webwidget();
|
| }
|
|
|
| -pepper::FullscreenContainer* RenderView::CreatePepperFullscreenContainer(
|
| - pepper::PluginInstance* plugin) {
|
| +webkit::plugins::ppapi::FullscreenContainer*
|
| +RenderView::CreatePepperFullscreenContainer(
|
| + webkit::plugins::ppapi::PluginInstance* plugin) {
|
| RenderWidgetFullscreenPepper* widget =
|
| RenderWidgetFullscreenPepper::Create(routing_id_, render_thread_, plugin);
|
| widget->show(WebKit::WebNavigationPolicyIgnore);
|
| @@ -2779,7 +2780,7 @@
|
| if (info.path.value() == kDefaultPluginLibraryName ||
|
| plugin_setting == CONTENT_SETTING_ALLOW ||
|
| host_setting == CONTENT_SETTING_ALLOW) {
|
| - scoped_refptr<pepper::PluginModule> pepper_module(
|
| + scoped_refptr<webkit::plugins::ppapi::PluginModule> pepper_module(
|
| pepper_delegate_.CreatePepperPlugin(info.path));
|
| if (pepper_module)
|
| return CreatePepperPlugin(frame, params, info.path, pepper_module.get());
|
| @@ -4424,11 +4425,12 @@
|
| content_blocked_[i] = false;
|
| }
|
|
|
| -WebPlugin* RenderView::CreatePepperPlugin(WebFrame* frame,
|
| - const WebPluginParams& params,
|
| - const FilePath& path,
|
| - pepper::PluginModule* pepper_module) {
|
| - return new pepper::WebPluginImpl(
|
| +WebPlugin* RenderView::CreatePepperPlugin(
|
| + WebFrame* frame,
|
| + const WebPluginParams& params,
|
| + const FilePath& path,
|
| + webkit::plugins::ppapi::PluginModule* pepper_module) {
|
| + return new webkit::plugins::ppapi::WebPluginImpl(
|
| pepper_module, params, pepper_delegate_.AsWeakPtr());
|
| }
|
|
|
|
|