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

Unified Diff: cc/test/fake_mask_layer_impl.h

Issue 2717533005: cc: RenderSurfaceImpl tile mask layer. (Closed)
Patch Set: Addressing comments. Created 3 years, 10 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
Index: cc/test/fake_mask_layer_impl.h
diff --git a/cc/test/fake_mask_layer_impl.h b/cc/test/fake_mask_layer_impl.h
index b4225bad40249e9f50fa0fcc4e59fbb282771b24..296290c676b06a324cda778f53c3f7ff6f51acdc 100644
--- a/cc/test/fake_mask_layer_impl.h
+++ b/cc/test/fake_mask_layer_impl.h
@@ -5,20 +5,27 @@
#ifndef CC_TEST_FAKE_MASK_LAYER_IMPL_H_
#define CC_TEST_FAKE_MASK_LAYER_IMPL_H_
-#include "cc/layers/layer_impl.h"
+#include "cc/layers/picture_layer_impl.h"
+#include "cc/playback/raster_source.h"
namespace cc {
-class FakeMaskLayerImpl : public LayerImpl {
+class FakeMaskLayerImpl : public PictureLayerImpl {
public:
- static std::unique_ptr<FakeMaskLayerImpl> Create(LayerTreeImpl* tree_impl,
- int id);
+ static std::unique_ptr<FakeMaskLayerImpl> Create(
+ LayerTreeImpl* tree_impl,
+ int id,
+ scoped_refptr<RasterSource> raster_source,
+ Layer::LayerMaskType mask_type);
void GetContentsResourceId(ResourceId* resource_id,
gfx::Size* resource_size) const override;
private:
- FakeMaskLayerImpl(LayerTreeImpl* tree_impl, int id);
+ FakeMaskLayerImpl(LayerTreeImpl* tree_impl,
+ int id,
+ scoped_refptr<RasterSource> raster_source,
+ Layer::LayerMaskType mask_type);
};
} // namespace cc

Powered by Google App Engine
This is Rietveld 408576698