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

Unified Diff: webkit/plugins/npapi/webplugin_delegate_impl.h

Issue 7746009: [Mac] Support windowless Flash plugin rendering directly to the context for single-process apps (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: '' Created 9 years, 4 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 | « no previous file | webkit/plugins/npapi/webplugin_delegate_impl_mac.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/plugins/npapi/webplugin_delegate_impl.h
===================================================================
--- webkit/plugins/npapi/webplugin_delegate_impl.h (revision 98412)
+++ webkit/plugins/npapi/webplugin_delegate_impl.h (working copy)
@@ -176,6 +176,10 @@
// Informs the delegate that the plugin set a Cocoa NSCursor.
void SetNSCursor(NSCursor* cursor);
+ // Indicates that the windowless plugins will draw directly to the window
+ // context instead of a buffer context.
+ void SetNoBufferContext();
+
#ifndef NP_NO_CARBON
// Indicates that it's time to send the plugin a null event.
void FireIdleEvent();
@@ -428,6 +432,7 @@
void UpdateIdleEventRate();
#endif // !NP_NO_CARBON
+ bool use_buffer_context_;
CGContextRef buffer_context_; // Weak ref.
#ifndef NP_NO_CARBON
« no previous file with comments | « no previous file | webkit/plugins/npapi/webplugin_delegate_impl_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698