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

Unified Diff: cc/layers/video_layer.h

Issue 388643002: Rotation into Video Layer + Content Transform (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Formatting Created 6 years, 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | cc/layers/video_layer.cc » ('j') | cc/layers/video_layer.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
};
« no previous file with comments | « no previous file | cc/layers/video_layer.cc » ('j') | cc/layers/video_layer.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698