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

Unified Diff: webkit/plugins/npapi/webplugin_accelerated_surface_mac.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: webkit/plugins/npapi/webplugin_accelerated_surface_mac.h
===================================================================
--- webkit/plugins/npapi/webplugin_accelerated_surface_mac.h (revision 111400)
+++ webkit/plugins/npapi/webplugin_accelerated_surface_mac.h (working copy)
@@ -25,6 +25,10 @@
// surface.
virtual void SetWindowHandle(gfx::PluginWindowHandle window) = 0;
+ // Indicates whether the new code path which renders the plugins via
+ // the compositor should be used.
+ virtual bool IsComposited() = 0;
+
// Sets the size of the surface.
virtual void SetSize(const gfx::Size& size) = 0;

Powered by Google App Engine
This is Rietveld 408576698