OLD | NEW |
1 // Copyright 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 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_LAYER_IMPL_H_ | 5 #ifndef CC_LAYERS_VIDEO_LAYER_IMPL_H_ |
6 #define CC_LAYERS_VIDEO_LAYER_IMPL_H_ | 6 #define CC_LAYERS_VIDEO_LAYER_IMPL_H_ |
7 | 7 |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
| 10 #include "base/macros.h" |
10 #include "cc/base/cc_export.h" | 11 #include "cc/base/cc_export.h" |
11 #include "cc/layers/layer_impl.h" | 12 #include "cc/layers/layer_impl.h" |
12 #include "cc/resources/release_callback_impl.h" | 13 #include "cc/resources/release_callback_impl.h" |
13 #include "cc/resources/video_resource_updater.h" | 14 #include "cc/resources/video_resource_updater.h" |
14 #include "media/base/video_rotation.h" | 15 #include "media/base/video_rotation.h" |
15 | 16 |
16 namespace media { | 17 namespace media { |
17 class VideoFrame; | 18 class VideoFrame; |
18 } | 19 } |
19 | 20 |
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
80 std::vector<unsigned> software_resources_; | 81 std::vector<unsigned> software_resources_; |
81 // Called once for each software resource. | 82 // Called once for each software resource. |
82 ReleaseCallbackImpl software_release_callback_; | 83 ReleaseCallbackImpl software_release_callback_; |
83 | 84 |
84 DISALLOW_COPY_AND_ASSIGN(VideoLayerImpl); | 85 DISALLOW_COPY_AND_ASSIGN(VideoLayerImpl); |
85 }; | 86 }; |
86 | 87 |
87 } // namespace cc | 88 } // namespace cc |
88 | 89 |
89 #endif // CC_LAYERS_VIDEO_LAYER_IMPL_H_ | 90 #endif // CC_LAYERS_VIDEO_LAYER_IMPL_H_ |
OLD | NEW |