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

Unified Diff: content/renderer/webplugin_delegate_proxy.h

Issue 8678037: Render Core Animation plugins through WebKit's compositor rather than (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 1 month 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/webplugin_delegate_proxy.h
===================================================================
--- content/renderer/webplugin_delegate_proxy.h (revision 111400)
+++ content/renderer/webplugin_delegate_proxy.h (working copy)
@@ -187,6 +187,13 @@
void OnAcceleratedSurfaceFreeTransportDIB(TransportDIB::Id dib_id);
void OnAcceleratedSurfaceBuffersSwapped(gfx::PluginWindowHandle window,
uint64 surface_id);
+
+ // New accelerated plugin implementation.
+ void OnAcceleratedPluginEnabledRendering();
+ void OnAcceleratedPluginAllocatedIOSurface(int32 width,
+ int32 height,
+ uint32 surface_id);
+ void OnAcceleratedPluginSwappedIOSurface();
#endif
void OnURLRedirectResponse(bool allow, int resource_id);
@@ -270,6 +277,9 @@
base::WeakPtr<RenderViewImpl> render_view_;
webkit::npapi::WebPlugin* plugin_;
bool uses_shared_bitmaps_;
+#if defined(OS_MACOSX)
+ bool uses_compositor_;
+#endif
gfx::PluginWindowHandle window_;
scoped_refptr<PluginChannelHost> channel_host_;
std::string mime_type_;

Powered by Google App Engine
This is Rietveld 408576698