diff options
Diffstat (limited to 'chrome/renderer/pepper_plugin_delegate_impl.h')
-rw-r--r-- | chrome/renderer/pepper_plugin_delegate_impl.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/chrome/renderer/pepper_plugin_delegate_impl.h b/chrome/renderer/pepper_plugin_delegate_impl.h index 2edb4dd..c7a106e 100644 --- a/chrome/renderer/pepper_plugin_delegate_impl.h +++ b/chrome/renderer/pepper_plugin_delegate_impl.h @@ -18,6 +18,14 @@ namespace pepper { class PluginInstance; } +namespace skia { +class PlatformCanvas; +} + +namespace gfx { +class Rect; +} + class PepperPluginDelegateImpl : public pepper::PluginDelegate, public base::SupportsWeakPtr<PepperPluginDelegateImpl> { @@ -29,6 +37,9 @@ class PepperPluginDelegateImpl void ViewInitiatedPaint(); void ViewFlushedPaint(); + bool OptimizedPluginPaintInRect(skia::PlatformCanvas* canvas, + const gfx::Rect& rect); + // pepper::PluginDelegate implementation. virtual void InstanceCreated(pepper::PluginInstance* instance); virtual void InstanceDeleted(pepper::PluginInstance* instance); |