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

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

Issue 6823081: Add Skia to CG adapter for plugins. (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: '' Created 9 years, 7 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 | « content/plugin/webplugin_proxy.cc ('k') | 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 85477)
+++ webkit/plugins/npapi/webplugin_delegate_impl.h (working copy)
@@ -177,6 +177,12 @@
// Indicates that it's time to send the plugin a null event.
void FireIdleEvent();
#endif
+
+ // TODO(caryclark): This is a temporary workaround to allow the Darwin / Skia
+ // port to share code with the Darwin / CG port. Later, this will be removed
+ // and all callers will use the Paint defined above.
+ void CGPaint(CGContextRef context, const gfx::Rect& rect);
+
#endif // OS_MACOSX
gfx::PluginWindowHandle windowed_handle() const {
« no previous file with comments | « content/plugin/webplugin_proxy.cc ('k') | webkit/plugins/npapi/webplugin_delegate_impl_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698