| Index: ui/compositor/layer.h
|
| diff --git a/ui/compositor/layer.h b/ui/compositor/layer.h
|
| index 8b9092b4df7ed1b85b12a6f0685e29becf778c07..27743eca83d610e127a320100cf1ce098a5ae3fa 100644
|
| --- a/ui/compositor/layer.h
|
| +++ b/ui/compositor/layer.h
|
| @@ -281,21 +281,6 @@ class COMPOSITOR_EXPORT Layer
|
| void SetTextureFlipped(bool flipped);
|
| bool TextureFlipped() const;
|
|
|
| - // The alpha value applied to the whole texture. The effective value of each
|
| - // pixel is computed as:
|
| - // pixel.a = pixel.a * alpha.
|
| - // Note: This is different from SetOpacity() as it only applies to the
|
| - // texture and child layers are unaffected.
|
| - // TODO(reveman): Remove once components/exo code is using SetShowSurface.
|
| - // crbug.com/610086
|
| - void SetTextureAlpha(float alpha);
|
| -
|
| - // The texture crop rectangle to be used. Empty rectangle means no cropping.
|
| - void SetTextureCrop(const gfx::RectF& crop);
|
| -
|
| - // The texture scale to be used. Defaults to no scaling.
|
| - void SetTextureScale(float x_scale, float y_scale);
|
| -
|
| // Begins showing content from a surface with a particular id.
|
| void SetShowSurface(const cc::SurfaceId& surface_id,
|
| const cc::SurfaceLayer::SatisfyCallback& satisfy_callback,
|
| @@ -534,13 +519,6 @@ class COMPOSITOR_EXPORT Layer
|
| // or SetTextureMailbox was called.
|
| gfx::Size frame_size_in_dip_;
|
|
|
| - // The texture crop rectangle.
|
| - gfx::RectF texture_crop_;
|
| -
|
| - // The texture scale.
|
| - float texture_x_scale_;
|
| - float texture_y_scale_;
|
| -
|
| DISALLOW_COPY_AND_ASSIGN(Layer);
|
| };
|
|
|
|
|