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

Unified Diff: webkit/plugins/ppapi/ppapi_plugin_instance.h

Issue 16290005: Move Pepper to using mailboxes (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: nits Created 7 years, 6 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 | « webkit/plugins/ppapi/plugin_delegate.h ('k') | webkit/plugins/ppapi/ppapi_plugin_instance.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/plugins/ppapi/ppapi_plugin_instance.h
diff --git a/webkit/plugins/ppapi/ppapi_plugin_instance.h b/webkit/plugins/ppapi/ppapi_plugin_instance.h
index 525471a55566017ca7251f3eeac3cd4c46c7b8f7..c4d426764c7a463c12e74673f2f89ae3e6fc0420 100644
--- a/webkit/plugins/ppapi/ppapi_plugin_instance.h
+++ b/webkit/plugins/ppapi/ppapi_plugin_instance.h
@@ -111,8 +111,7 @@ class PPB_URLLoader_Impl;
class WEBKIT_PLUGINS_EXPORT PluginInstance :
public base::RefCounted<PluginInstance>,
public base::SupportsWeakPtr<PluginInstance>,
- public ::ppapi::PPB_Instance_Shared,
- public NON_EXPORTED_BASE(cc::TextureLayerClient) {
+ public ::ppapi::PPB_Instance_Shared {
public:
// Create and return a PluginInstance object which supports the most recent
// version of PPP_Instance possible by querying the given get_plugin_interface
@@ -167,10 +166,6 @@ class WEBKIT_PLUGINS_EXPORT PluginInstance :
// slow path can also be triggered if there is an overlapping frame.
void ScrollRect(int dx, int dy, const gfx::Rect& rect);
- // If the plugin instance is backed by a texture, return its texture ID in the
- // compositor's namespace. Otherwise return 0. Returns 0 by default.
- unsigned GetBackingTextureId();
-
// Commit the backing texture to the screen once the side effects some
// rendering up to an offscreen SwapBuffers are visible.
void CommitBackingTexture();
@@ -484,11 +479,6 @@ class WEBKIT_PLUGINS_EXPORT PluginInstance :
PP_Resource audio_frames,
const PP_DecryptedBlockInfo* block_info) OVERRIDE;
- // TextureLayerClient implementation.
- virtual unsigned PrepareTexture(cc::ResourceUpdateQueue* queue) OVERRIDE;
- virtual WebKit::WebGraphicsContext3D* Context3d() OVERRIDE;
- virtual bool PrepareTextureMailbox(cc::TextureMailbox* mailbox) OVERRIDE;
-
// Reset this instance as proxied. Assigns the instance a new module, resets
// cached interfaces to point to the out-of-process proxy and re-sends
// DidCreate, DidChangeView, and HandleDocumentLoad (if necessary).
« no previous file with comments | « webkit/plugins/ppapi/plugin_delegate.h ('k') | webkit/plugins/ppapi/ppapi_plugin_instance.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698