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

Unified Diff: content/renderer/pepper/pepper_graphics_2d_host.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
Index: content/renderer/pepper/pepper_graphics_2d_host.h
===================================================================
--- content/renderer/pepper/pepper_graphics_2d_host.h (revision 213462)
+++ content/renderer/pepper/pepper_graphics_2d_host.h (working copy)
@@ -25,7 +25,7 @@
namespace webkit {
namespace ppapi {
class PPB_ImageData_Impl;
-class PluginInstance;
+class PluginInstanceImpl;
} // namespace ppapi
} // namespace webkit
@@ -58,7 +58,7 @@
virtual bool ReadImageData(PP_Resource image,
const PP_Point* top_left) OVERRIDE;
virtual bool BindToInstance(
- webkit::ppapi::PluginInstance* new_instance) OVERRIDE;
+ webkit::ppapi::PluginInstanceImpl* new_instance) OVERRIDE;
virtual void Paint(WebKit::WebCanvas* canvas,
const gfx::Rect& plugin_rect,
const gfx::Rect& paint_rect) OVERRIDE;
@@ -142,7 +142,7 @@
// Non-owning pointer to the plugin instance this context is currently bound
// to, if any. If the context is currently unbound, this will be NULL.
- webkit::ppapi::PluginInstance* bound_instance_;
+ webkit::ppapi::PluginInstanceImpl* bound_instance_;
// Keeps track of all drawing commands queued before a Flush call.
struct QueuedOperation;
« no previous file with comments | « content/renderer/pepper/pepper_file_system_host.cc ('k') | content/renderer/pepper/pepper_graphics_2d_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698