Index: blimp/client/core/compositor/blimp_compositor_manager.h |
diff --git a/blimp/client/core/compositor/blimp_compositor_manager.h b/blimp/client/core/compositor/blimp_compositor_manager.h |
index dc1dfbd13a63e4b235235aff324961e661a0f0e1..fbfe3e67c6e70fe15c162af95dc80e24b3af3035 100644 |
--- a/blimp/client/core/compositor/blimp_compositor_manager.h |
+++ b/blimp/client/core/compositor/blimp_compositor_manager.h |
@@ -36,6 +36,11 @@ class BlimpCompositorManager |
bool OnTouchEvent(const ui::MotionEvent& motion_event); |
+ // Notifies |callback| when all pending commits on the active BlimpCompositor |
+ // have been drawn to the screen. If the active compositor is destroyed or |
+ // becomes hidden |callback| will be notified. |
+ void NotifyWhenDonePendingCommits(base::Closure callback); |
+ |
scoped_refptr<cc::Layer> layer() const { return layer_; } |
protected: |