| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CC_LAYERS_VIDEO_FRAME_PROVIDER_H_ | 5 #ifndef CC_LAYERS_VIDEO_FRAME_PROVIDER_H_ |
| 6 #define CC_LAYERS_VIDEO_FRAME_PROVIDER_H_ | 6 #define CC_LAYERS_VIDEO_FRAME_PROVIDER_H_ |
| 7 | 7 |
| 8 #include "base/memory/ref_counted.h" | 8 #include "base/memory/ref_counted.h" |
| 9 #include "base/time/time.h" | 9 #include "base/time/time.h" |
| 10 #include "cc/base/cc_export.h" | 10 #include "cc/cc_export.h" |
| 11 | 11 |
| 12 namespace media { | 12 namespace media { |
| 13 class VideoFrame; | 13 class VideoFrame; |
| 14 } | 14 } |
| 15 | 15 |
| 16 namespace cc { | 16 namespace cc { |
| 17 | 17 |
| 18 // VideoFrameProvider and VideoFrameProvider::Client define the relationship by | 18 // VideoFrameProvider and VideoFrameProvider::Client define the relationship by |
| 19 // which video frames are exchanged between a provider and client. | 19 // which video frames are exchanged between a provider and client. |
| 20 // | 20 // |
| (...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 82 // frame missed its intended deadline. | 82 // frame missed its intended deadline. |
| 83 virtual void PutCurrentFrame() = 0; | 83 virtual void PutCurrentFrame() = 0; |
| 84 | 84 |
| 85 protected: | 85 protected: |
| 86 virtual ~VideoFrameProvider() {} | 86 virtual ~VideoFrameProvider() {} |
| 87 }; | 87 }; |
| 88 | 88 |
| 89 } // namespace cc | 89 } // namespace cc |
| 90 | 90 |
| 91 #endif // CC_LAYERS_VIDEO_FRAME_PROVIDER_H_ | 91 #endif // CC_LAYERS_VIDEO_FRAME_PROVIDER_H_ |
| OLD | NEW |