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

Unified Diff: cc/layers/video_layer.h

Issue 1783613004: CC Animation: Erase cc::LayerSettings everywhere. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@eraseandroid
Patch Set: Rebase. Created 4 years, 9 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 | « cc/layers/ui_resource_layer_unittest.cc ('k') | cc/layers/video_layer.cc » ('j') | no next file with comments »
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 fdc975315487ca3d81584db4d6244305a16f57a0..4828468ece6c4fd968cf5bb5a434b55cd62492b5 100644
--- a/cc/layers/video_layer.h
+++ b/cc/layers/video_layer.h
@@ -9,7 +9,6 @@
#include "base/macros.h"
#include "cc/base/cc_export.h"
#include "cc/layers/layer.h"
-#include "cc/layers/layer_settings.h"
#include "media/base/video_rotation.h"
namespace media { class VideoFrame; }
@@ -22,8 +21,7 @@ class VideoLayerImpl;
// A Layer that contains a Video element.
class CC_EXPORT VideoLayer : public Layer {
public:
- static scoped_refptr<VideoLayer> Create(const LayerSettings& settings,
- VideoFrameProvider* provider,
+ static scoped_refptr<VideoLayer> Create(VideoFrameProvider* provider,
media::VideoRotation video_rotation);
scoped_ptr<LayerImpl> CreateLayerImpl(LayerTreeImpl* tree_impl) override;
@@ -31,9 +29,7 @@ class CC_EXPORT VideoLayer : public Layer {
bool Update() override;
private:
- VideoLayer(const LayerSettings& settings,
- VideoFrameProvider* provider,
- media::VideoRotation video_rotation);
+ VideoLayer(VideoFrameProvider* provider, media::VideoRotation video_rotation);
~VideoLayer() override;
// This pointer is only for passing to VideoLayerImpl's constructor. It should
« no previous file with comments | « cc/layers/ui_resource_layer_unittest.cc ('k') | cc/layers/video_layer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698