Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1966)

Unified Diff: content/renderer/render_widget_fullscreen_pepper.h

Issue 19744007: Create a public API around webkit::ppapi::PluginInstance and use it in chrome. After this, webkit/p… (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: review comments and undo checkdeps change Created 7 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/renderer/render_widget.cc ('k') | content/renderer/render_widget_fullscreen_pepper.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/render_widget_fullscreen_pepper.h
===================================================================
--- content/renderer/render_widget_fullscreen_pepper.h (revision 213462)
+++ content/renderer/render_widget_fullscreen_pepper.h (working copy)
@@ -14,7 +14,7 @@
namespace webkit {
namespace ppapi {
-class PluginInstance;
+class PluginInstanceImpl;
} // namespace ppapi
} // namespace webkit
@@ -34,7 +34,7 @@
public:
static RenderWidgetFullscreenPepper* Create(
int32 opener_id,
- webkit::ppapi::PluginInstance* plugin,
+ webkit::ppapi::PluginInstanceImpl* plugin,
const GURL& active_url,
const WebKit::WebScreenInfo& screen_info);
@@ -51,7 +51,7 @@
virtual bool OnMessageReceived(const IPC::Message& msg) OVERRIDE;
// Could be NULL when this widget is closing.
- webkit::ppapi::PluginInstance* plugin() const { return plugin_; }
+ webkit::ppapi::PluginInstanceImpl* plugin() const { return plugin_; }
MouseLockDispatcher* mouse_lock_dispatcher() const {
return mouse_lock_dispatcher_.get();
@@ -60,7 +60,7 @@
bool is_compositing() const { return !!layer_; }
protected:
- RenderWidgetFullscreenPepper(webkit::ppapi::PluginInstance* plugin,
+ RenderWidgetFullscreenPepper(webkit::ppapi::PluginInstanceImpl* plugin,
const GURL& active_url,
const WebKit::WebScreenInfo& screen_info);
virtual ~RenderWidgetFullscreenPepper();
@@ -70,7 +70,7 @@
virtual void DidInitiatePaint() OVERRIDE;
virtual void DidFlushPaint() OVERRIDE;
virtual void Close() OVERRIDE;
- virtual webkit::ppapi::PluginInstance* GetBitmapForOptimizedPluginPaint(
+ virtual webkit::ppapi::PluginInstanceImpl* GetBitmapForOptimizedPluginPaint(
const gfx::Rect& paint_bounds,
TransportDIB** dib,
gfx::Rect* location,
@@ -90,7 +90,7 @@
GURL active_url_;
// The plugin instance this widget wraps.
- webkit::ppapi::PluginInstance* plugin_;
+ webkit::ppapi::PluginInstanceImpl* plugin_;
WebKit::WebLayer* layer_;
« no previous file with comments | « content/renderer/render_widget.cc ('k') | content/renderer/render_widget_fullscreen_pepper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698