Chromium Code Reviews| Index: content/public/renderer/android/synchronous_compositor.h |
| diff --git a/content/public/renderer/android/synchronous_compositor.h b/content/public/renderer/android/synchronous_compositor.h |
| index f0c380d07af84e97862475125f3e04ff666f21ed..f044e1f9bb57e1d54dfb4e3a88304a849c6372dc 100644 |
| --- a/content/public/renderer/android/synchronous_compositor.h |
| +++ b/content/public/renderer/android/synchronous_compositor.h |
| @@ -5,6 +5,8 @@ |
| #ifndef CONTENT_PUBLIC_RENDERER_ANDROID_SYNCHRONOUS_COMPOSTIOR_ |
| #define CONTENT_PUBLIC_RENDERER_ANDROID_SYNCHRONOUS_COMPOSITOR_ |
| +#include "ui/gfx/rect.h" |
| + |
| class SkCanvas; |
| namespace content { |
| @@ -26,6 +28,9 @@ class SynchronousCompositor { |
| // and clip set there-in). |
| virtual bool DemandDrawSw(SkCanvas* canvas) = 0; |
| + // "On demand" hardware draw. |
| + virtual void DemandDrawHw(gfx::Rect damage_rect) = 0; |
|
joth
2013/05/03 01:26:26
return bool, for consistency
|
| + |
| protected: |
| virtual ~SynchronousCompositor() {} |
| }; |