Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(163)

Side by Side Diff: cc/layers/video_layer_impl.h

Issue 485043003: cc: Use correct message loop proxy in BlockingTaskRunner (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Nits. Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « cc/layers/tiled_layer_unittest.cc ('k') | cc/layers/video_layer_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 "cc/base/cc_export.h" 10 #include "cc/base/cc_export.h"
11 #include "cc/layers/layer_impl.h" 11 #include "cc/layers/layer_impl.h"
12 #include "cc/resources/release_callback.h" 12 #include "cc/resources/release_callback_impl.h"
13 #include "cc/resources/video_resource_updater.h" 13 #include "cc/resources/video_resource_updater.h"
14 #include "media/base/video_rotation.h" 14 #include "media/base/video_rotation.h"
15 15
16 namespace media { 16 namespace media {
17 class VideoFrame; 17 class VideoFrame;
18 } 18 }
19 19
20 namespace cc { 20 namespace cc {
21 class VideoFrameProvider; 21 class VideoFrameProvider;
22 class VideoFrameProviderClientImpl; 22 class VideoFrameProviderClientImpl;
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 media::VideoRotation video_rotation_; 63 media::VideoRotation video_rotation_;
64 64
65 scoped_ptr<VideoResourceUpdater> updater_; 65 scoped_ptr<VideoResourceUpdater> updater_;
66 VideoFrameExternalResources::ResourceType frame_resource_type_; 66 VideoFrameExternalResources::ResourceType frame_resource_type_;
67 std::vector<ResourceProvider::ResourceId> frame_resources_; 67 std::vector<ResourceProvider::ResourceId> frame_resources_;
68 68
69 // TODO(danakj): Remove these, hide software path inside ResourceProvider and 69 // TODO(danakj): Remove these, hide software path inside ResourceProvider and
70 // ExternalResource (aka TextureMailbox) classes. 70 // ExternalResource (aka TextureMailbox) classes.
71 std::vector<unsigned> software_resources_; 71 std::vector<unsigned> software_resources_;
72 // Called once for each software resource. 72 // Called once for each software resource.
73 ReleaseCallback software_release_callback_; 73 ReleaseCallbackImpl software_release_callback_;
74 74
75 DISALLOW_COPY_AND_ASSIGN(VideoLayerImpl); 75 DISALLOW_COPY_AND_ASSIGN(VideoLayerImpl);
76 }; 76 };
77 77
78 } // namespace cc 78 } // namespace cc
79 79
80 #endif // CC_LAYERS_VIDEO_LAYER_IMPL_H_ 80 #endif // CC_LAYERS_VIDEO_LAYER_IMPL_H_
OLDNEW
« no previous file with comments | « cc/layers/tiled_layer_unittest.cc ('k') | cc/layers/video_layer_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698