Chromium Code Reviews| Index: ui/gfx/compositor/compositor.h |
| diff --git a/ui/gfx/compositor/compositor.h b/ui/gfx/compositor/compositor.h |
| index 1251b6a42108ed2a00474e3e958b400244aedbe0..45e539ace0450eaa3376d99e29b6c46d4e8b2eec 100644 |
| --- a/ui/gfx/compositor/compositor.h |
| +++ b/ui/gfx/compositor/compositor.h |
| @@ -107,7 +107,7 @@ class COMPOSITOR_EXPORT Compositor : public base::RefCounted<Compositor> { |
| virtual void Blur(const gfx::Rect& bounds) = 0; |
| // Schedules a redraw of the layer tree associated with this compositor. |
| - void ScheduleDraw() { |
| + virtual void ScheduleDraw() { |
|
Ben Goodger (Google)
2011/10/16 22:39:51
this probably shouldn't be inlined anymore
piman
2011/10/19 17:53:23
Done.
|
| delegate_->ScheduleDraw(); |
| } |
| @@ -150,6 +150,8 @@ class COMPOSITOR_EXPORT Compositor : public base::RefCounted<Compositor> { |
| virtual void OnNotifyEnd() = 0; |
| virtual void OnWidgetSizeChanged() = 0; |
| + virtual void OnRootLayerChanged(); |
| + virtual void DrawTree(); |
| CompositorDelegate* delegate() { return delegate_; } |