Index: content/common/gpu/media/rendering_helper.h |
diff --git a/content/common/gpu/media/rendering_helper.h b/content/common/gpu/media/rendering_helper.h |
index 826de05ac454b2d14fb54a04d07f46538f23f7a5..a3610f773e53379621b679f8a3c15e167d887b32 100644 |
--- a/content/common/gpu/media/rendering_helper.h |
+++ b/content/common/gpu/media/rendering_helper.h |
@@ -95,6 +95,11 @@ class RenderingHelper { |
void ClearVideoFrames(size_t window_id); |
+ // Sets the callback who will be invoked when all pending video frames has |
+ // been rendered. |
+ void SetWaitRenderingCB(size_t window_id, |
+ const base::Closure& wait_rendering_cb); |
+ |
// Delete |texture_id|. |
void DeleteTexture(uint32 texture_id); |