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

Unified Diff: webkit/plugins/npapi/webplugin_impl.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_impl.h
===================================================================
--- webkit/plugins/npapi/webplugin_impl.h (revision 111400)
+++ webkit/plugins/npapi/webplugin_impl.h (working copy)
@@ -109,6 +109,13 @@
virtual std::string GetCookies(const GURL& url,
const GURL& first_party_for_cookies) OVERRIDE;
virtual void URLRedirectResponse(bool allow, int resource_id) OVERRIDE;
+#if defined(OS_MACOSX)
+ virtual void AcceleratedPluginEnabledRendering();
+ virtual void AcceleratedPluginAllocatedIOSurface(int32 width,
+ int32 height,
+ uint32 surface_id);
+ virtual void AcceleratedPluginSwappedIOSurface();
+#endif
// Given a (maybe partial) url, completes using the base url.
GURL CompleteURL(const char* url);
@@ -255,6 +262,12 @@
bool windowless_;
gfx::PluginWindowHandle window_;
+#if defined(OS_MACOSX)
+ bool next_io_surface_allocated_;
+ int32 next_io_surface_width_;
+ int32 next_io_surface_height_;
+ uint32 next_io_surface_id_;
+#endif
bool accepts_input_events_;
base::WeakPtr<WebPluginPageDelegate> page_delegate_;
WebKit::WebFrame* webframe_;

Powered by Google App Engine
This is Rietveld 408576698