Chromium Code Reviews| Index: webkit/plugins/npapi/webplugin_delegate_impl.h |
| =================================================================== |
| --- webkit/plugins/npapi/webplugin_delegate_impl.h (revision 81254) |
| +++ webkit/plugins/npapi/webplugin_delegate_impl.h (working copy) |
| @@ -101,6 +101,12 @@ |
| virtual void UpdateGeometry(const gfx::Rect& window_rect, |
| const gfx::Rect& clip_rect); |
| virtual void Paint(WebKit::WebCanvas* canvas, const gfx::Rect& rect); |
| +#if defined(OS_MACOSX) |
| + // FIXME: 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); |
|
stuartmorgan
2011/04/13 15:19:10
This still needs to be moved out of the block of W
_cary
2011/04/13 16:22:43
Done.
|
| +#endif |
| virtual void Print(gfx::NativeDrawingContext context); |
| virtual void SetFocus(bool focused); |
| virtual bool HandleInputEvent(const WebKit::WebInputEvent& event, |