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_VIDEO_FRAME_PROVIDER_CLIENT_IMPL_H_ | 5 #ifndef CC_LAYERS_VIDEO_FRAME_PROVIDER_CLIENT_IMPL_H_ |
6 #define CC_VIDEO_FRAME_PROVIDER_CLIENT_IMPL_H_ | 6 #define CC_LAYERS_VIDEO_FRAME_PROVIDER_CLIENT_IMPL_H_ |
7 | 7 |
8 #include "base/memory/ref_counted.h" | 8 #include "base/memory/ref_counted.h" |
9 #include "base/synchronization/lock.h" | 9 #include "base/synchronization/lock.h" |
10 #include "cc/video_frame_provider.h" | 10 #include "cc/layers/video_frame_provider.h" |
11 #include "ui/gfx/transform.h" | 11 #include "ui/gfx/transform.h" |
12 | 12 |
13 namespace media { class VideoFrame; } | 13 namespace media { class VideoFrame; } |
14 | 14 |
15 namespace cc { | 15 namespace cc { |
16 class VideoLayerImpl; | 16 class VideoLayerImpl; |
17 | 17 |
18 class VideoFrameProviderClientImpl | 18 class VideoFrameProviderClientImpl |
19 : public VideoFrameProvider::Client, | 19 : public VideoFrameProvider::Client, |
20 public base::RefCounted<VideoFrameProviderClientImpl> { | 20 public base::RefCounted<VideoFrameProviderClientImpl> { |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
53 base::Lock provider_lock_; | 53 base::Lock provider_lock_; |
54 VideoFrameProvider* provider_; | 54 VideoFrameProvider* provider_; |
55 | 55 |
56 gfx::Transform stream_texture_matrix_; | 56 gfx::Transform stream_texture_matrix_; |
57 | 57 |
58 DISALLOW_COPY_AND_ASSIGN(VideoFrameProviderClientImpl); | 58 DISALLOW_COPY_AND_ASSIGN(VideoFrameProviderClientImpl); |
59 }; | 59 }; |
60 | 60 |
61 } // namespace cc | 61 } // namespace cc |
62 | 62 |
63 #endif // CC_VIDEO_FRAME_PROVIDER_CLIENT_IMPL_H_ | 63 #endif // CC_LAYERS_VIDEO_FRAME_PROVIDER_CLIENT_IMPL_H_ |
OLD | NEW |