Index: cc/layers/surface_layer_impl.h |
diff --git a/cc/layers/surface_layer_impl.h b/cc/layers/surface_layer_impl.h |
index 90c0f4565c68d04a207e58f660658048fc7c3d84..b190b3af94088d432587a828998f9d1e639c00d6 100644 |
--- a/cc/layers/surface_layer_impl.h |
+++ b/cc/layers/surface_layer_impl.h |
@@ -20,6 +20,8 @@ class CC_EXPORT SurfaceLayerImpl : public LayerImpl { |
~SurfaceLayerImpl() override; |
void SetSurfaceId(SurfaceId surface_id); |
+ void SetSurfaceScale(float scale); |
+ void SetSurfaceSize(const gfx::Size& size); |
// LayerImpl overrides. |
scoped_ptr<LayerImpl> CreateLayerImpl(LayerTreeImpl* tree_impl) override; |
@@ -36,6 +38,8 @@ class CC_EXPORT SurfaceLayerImpl : public LayerImpl { |
const char* LayerTypeAsString() const override; |
SurfaceId surface_id_; |
+ gfx::Size surface_size_; |
+ float surface_scale_; |
DISALLOW_COPY_AND_ASSIGN(SurfaceLayerImpl); |
}; |