| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_CLIENT_IMPL_H_ | 5 #ifndef CC_LAYERS_VIDEO_FRAME_PROVIDER_CLIENT_IMPL_H_ |
| 6 #define CC_LAYERS_VIDEO_FRAME_PROVIDER_CLIENT_IMPL_H_ | 6 #define CC_LAYERS_VIDEO_FRAME_PROVIDER_CLIENT_IMPL_H_ |
| 7 | 7 |
| 8 #include "base/macros.h" | 8 #include "base/macros.h" |
| 9 #include "base/memory/ref_counted.h" | 9 #include "base/memory/ref_counted.h" |
| 10 #include "base/synchronization/lock.h" | 10 #include "base/synchronization/lock.h" |
| 11 #include "base/threading/thread_checker.h" | 11 #include "base/threading/thread_checker.h" |
| 12 #include "cc/base/cc_export.h" | 12 #include "cc/cc_export.h" |
| 13 #include "cc/layers/video_frame_provider.h" | 13 #include "cc/layers/video_frame_provider.h" |
| 14 #include "cc/scheduler/video_frame_controller.h" | 14 #include "cc/scheduler/video_frame_controller.h" |
| 15 #include "ui/gfx/transform.h" | 15 #include "ui/gfx/transform.h" |
| 16 | 16 |
| 17 namespace media { class VideoFrame; } | 17 namespace media { class VideoFrame; } |
| 18 | 18 |
| 19 namespace cc { | 19 namespace cc { |
| 20 class VideoLayerImpl; | 20 class VideoLayerImpl; |
| 21 | 21 |
| 22 // VideoFrameProviderClientImpl liasons with the VideoFrameProvider and the | 22 // VideoFrameProviderClientImpl liasons with the VideoFrameProvider and the |
| (...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 81 // from returning until the frame controller is done using the frame. | 81 // from returning until the frame controller is done using the frame. |
| 82 base::Lock provider_lock_; | 82 base::Lock provider_lock_; |
| 83 base::ThreadChecker thread_checker_; | 83 base::ThreadChecker thread_checker_; |
| 84 | 84 |
| 85 DISALLOW_COPY_AND_ASSIGN(VideoFrameProviderClientImpl); | 85 DISALLOW_COPY_AND_ASSIGN(VideoFrameProviderClientImpl); |
| 86 }; | 86 }; |
| 87 | 87 |
| 88 } // namespace cc | 88 } // namespace cc |
| 89 | 89 |
| 90 #endif // CC_LAYERS_VIDEO_FRAME_PROVIDER_CLIENT_IMPL_H_ | 90 #endif // CC_LAYERS_VIDEO_FRAME_PROVIDER_CLIENT_IMPL_H_ |
| OLD | NEW |