Chromium Code Reviews| Index: cc/layers/video_layer.h |
| diff --git a/cc/layers/video_layer.h b/cc/layers/video_layer.h |
| index dd2c4e149ffadf8dc000ea585b0590f560635d92..3109dbd75252310dab16df592dfa2f5988e2c08b 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; } |
| @@ -27,6 +28,8 @@ class CC_EXPORT VideoLayer : public Layer { |
| virtual bool Update(ResourceUpdateQueue* queue, |
| const OcclusionTracker<Layer>* occlusion) OVERRIDE; |
| + virtual void set_video_rotation(media::VideoRotation video_rotation); |
|
scherkus (not reviewing)
2014/07/11 18:54:07
drop virtual and inline the setter as per style:
|
| + |
| private: |
| explicit VideoLayer(VideoFrameProvider* provider); |
| virtual ~VideoLayer(); |
| @@ -35,6 +38,8 @@ class CC_EXPORT VideoLayer : public Layer { |
| // never be dereferenced by this class. |
| VideoFrameProvider* provider_; |
| + media::VideoRotation video_rotation_; |
| + |
| DISALLOW_COPY_AND_ASSIGN(VideoLayer); |
| }; |