Chromium Code Reviews| Index: cc/layers/video_frame_provider.h |
| diff --git a/cc/layers/video_frame_provider.h b/cc/layers/video_frame_provider.h |
| index ff632f6546dea421dac7d7e9d6d2ddf07aa7711a..992cd1d5c6891afcc7de63b1cdfb542835f29de2 100644 |
| --- a/cc/layers/video_frame_provider.h |
| +++ b/cc/layers/video_frame_provider.h |
| @@ -67,6 +67,8 @@ class CC_EXPORT VideoFrameProvider { |
| virtual bool UpdateCurrentFrame(base::TimeTicks deadline_min, |
| base::TimeTicks deadline_max) = 0; |
| + virtual bool HasCurrentFrame() const = 0; |
|
danakj
2015/05/18 18:15:45
can you comment what this is?
hendrikw
2015/05/18 18:33:59
Done.
|
| + |
| // Returns the current frame, which may have been updated by a recent call to |
| // UpdateCurrentFrame(). A call to this method does not ensure that the frame |
| // will be rendered. A subsequent call to PutCurrentFrame() must be made if |