Index: cc/layers/video_layer.h |
diff --git a/cc/layers/video_layer.h b/cc/layers/video_layer.h |
index dd2c4e149ffadf8dc000ea585b0590f560635d92..b31303e17023ae5afa3ef0940ebbbbc47de3ab44 100644 |
--- a/cc/layers/video_layer.h |
+++ b/cc/layers/video_layer.h |
@@ -8,6 +8,7 @@ |
#include "base/callback.h" |
#include "cc/base/cc_export.h" |
#include "cc/layers/layer.h" |
+#include "media/base/video_rotation.h" |
namespace media { class VideoFrame; } |
@@ -19,7 +20,8 @@ class VideoLayerImpl; |
// A Layer that contains a Video element. |
class CC_EXPORT VideoLayer : public Layer { |
public: |
- static scoped_refptr<VideoLayer> Create(VideoFrameProvider* provider); |
+ static scoped_refptr<VideoLayer> Create(VideoFrameProvider* provider, |
+ media::VideoRotation video_rotation); |
virtual scoped_ptr<LayerImpl> CreateLayerImpl(LayerTreeImpl* tree_impl) |
OVERRIDE; |
@@ -28,13 +30,16 @@ class CC_EXPORT VideoLayer : public Layer { |
const OcclusionTracker<Layer>* occlusion) OVERRIDE; |
private: |
- explicit VideoLayer(VideoFrameProvider* provider); |
+ explicit VideoLayer(VideoFrameProvider* provider, |
scherkus (not reviewing)
2014/08/06 23:06:42
explicit keyword no longer needed
suderman
2014/08/07 00:31:31
Done.
|
+ media::VideoRotation video_rotation); |
virtual ~VideoLayer(); |
// This pointer is only for passing to VideoLayerImpl's constructor. It should |
// never be dereferenced by this class. |
VideoFrameProvider* provider_; |
+ media::VideoRotation video_rotation_; |
+ |
DISALLOW_COPY_AND_ASSIGN(VideoLayer); |
}; |