diff options
author | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-12-16 18:15:52 +0000 |
---|---|---|
committer | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-12-16 18:15:52 +0000 |
commit | 0bd753681a82634f322d4867b19148474c25566b (patch) | |
tree | 2f96cb4494c075ddee5a3e42e6b41c096a5357a9 /chrome/renderer/render_widget_fullscreen_pepper.h | |
parent | d1d0afe664ff43825a4585f88ee8ce412eab0194 (diff) | |
download | chromium_src-0bd753681a82634f322d4867b19148474c25566b.zip chromium_src-0bd753681a82634f322d4867b19148474c25566b.tar.gz chromium_src-0bd753681a82634f322d4867b19148474c25566b.tar.bz2 |
Move the Pepper implementation from webkit/glue/plugins/pepper_* to
webkit/plugins/ppapi/*. This renamed the files and interface implementation
classes from foo.cc/Foo to ppb_foo_impl/PPB_Foo_Impl to match the proxy
ppb_foo_proxy/PPB_Foo_Proxy.
This moves plugin_switches.* from webkit/glue/plugins to webkit/plugins.
Review URL: http://codereview.chromium.org/5828003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69424 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/renderer/render_widget_fullscreen_pepper.h')
-rw-r--r-- | chrome/renderer/render_widget_fullscreen_pepper.h | 20 |
1 files changed, 13 insertions, 7 deletions
diff --git a/chrome/renderer/render_widget_fullscreen_pepper.h b/chrome/renderer/render_widget_fullscreen_pepper.h index 862d57d..4d74b1d 100644 --- a/chrome/renderer/render_widget_fullscreen_pepper.h +++ b/chrome/renderer/render_widget_fullscreen_pepper.h @@ -8,10 +8,14 @@ #include "chrome/renderer/render_widget_fullscreen.h" #include "third_party/WebKit/WebKit/chromium/public/WebWidget.h" -namespace pepper { +namespace webkit { +namespace ppapi { + class PluginInstance; class FullscreenContainer; -} + +} // namespace ppapi +} // namespace webkit // A RenderWidget that hosts a fullscreen pepper plugin. This provides a // FullscreenContainer that the plugin instance can callback into to e.g. @@ -21,7 +25,7 @@ class RenderWidgetFullscreenPepper : public RenderWidgetFullscreen { static RenderWidgetFullscreenPepper* Create( int32 opener_id, RenderThreadBase* render_thread, - pepper::PluginInstance* plugin); + webkit::ppapi::PluginInstance* plugin); // Asks the browser to close this view, which will tear off the window and // close this widget. @@ -30,11 +34,13 @@ class RenderWidgetFullscreenPepper : public RenderWidgetFullscreen { // Invalidate the whole widget to force a redraw. void GenerateFullRepaint(); - pepper::FullscreenContainer* container() const { return container_.get(); } + webkit::ppapi::FullscreenContainer* container() const { + return container_.get(); + } protected: RenderWidgetFullscreenPepper(RenderThreadBase* render_thread, - pepper::PluginInstance* plugin); + webkit::ppapi::PluginInstance* plugin); virtual ~RenderWidgetFullscreenPepper(); // RenderWidget API. @@ -52,10 +58,10 @@ class RenderWidgetFullscreenPepper : public RenderWidgetFullscreen { private: // The plugin instance this widget wraps. - pepper::PluginInstance* plugin_; + webkit::ppapi::PluginInstance* plugin_; // The FullscreenContainer that the plugin instance can callback into. - scoped_ptr<pepper::FullscreenContainer> container_; + scoped_ptr<webkit::ppapi::FullscreenContainer> container_; DISALLOW_COPY_AND_ASSIGN(RenderWidgetFullscreenPepper); }; |