Index: ui/gfx/compositor/compositor.h |
diff --git a/ui/gfx/compositor/compositor.h b/ui/gfx/compositor/compositor.h |
index 2b41553d391e6bf43de20aceacfef77249e9f45b..e3d59b765b088781a0b6311eb2c4c93ea95d2412 100644 |
--- a/ui/gfx/compositor/compositor.h |
+++ b/ui/gfx/compositor/compositor.h |
@@ -182,6 +182,7 @@ class COMPOSITOR_EXPORT Compositor : public base::RefCounted<Compositor> { |
virtual void OnWidgetSizeChanged() = 0; |
virtual void OnRootLayerChanged(); |
virtual void DrawTree(); |
+ virtual bool CompositesAsynchronously(); |
CompositorDelegate* delegate() { return delegate_; } |
@@ -190,14 +191,14 @@ class COMPOSITOR_EXPORT Compositor : public base::RefCounted<Compositor> { |
static void SwizzleRGBAToBGRAAndFlip(unsigned char* pixels, |
const gfx::Size& image_size); |
+ // Notifies the compositor that compositing is complete. |
+ void NotifyEnd(); |
+ |
private: |
// Notifies the compositor that compositing is about to start. See Draw() for |
// notes about |force_clear|. |
void NotifyStart(bool force_clear); |
- // Notifies the compositor that compositing is complete. |
- void NotifyEnd(); |
- |
CompositorDelegate* delegate_; |
gfx::Size size_; |