| Index: cc/layers/layer_impl.h
|
| diff --git a/cc/layers/layer_impl.h b/cc/layers/layer_impl.h
|
| index 9d3951b78afe49aeb46c6a24d90f877bad5a446c..1b0ce3cca55a8c53285c8c805acc5ac24dd627c2 100644
|
| --- a/cc/layers/layer_impl.h
|
| +++ b/cc/layers/layer_impl.h
|
| @@ -211,6 +211,17 @@ class CC_EXPORT LayerImpl : LayerAnimationValueObserver {
|
| bool OpacityIsAnimating() const;
|
| bool OpacityIsAnimatingOnImplOnly() const;
|
|
|
| + void SetBlendMode(SkXfermode::Mode);
|
| + SkXfermode::Mode blend_mode() const { return blend_mode_; }
|
| + bool uses_default_blend_mode() const {
|
| + return blend_mode_ == SkXfermode::kSrcOver_Mode;
|
| + }
|
| +
|
| + void SetIsRootForIsolatedGroup(bool root);
|
| + bool is_root_for_isolated_group() const {
|
| + return is_root_for_isolated_group_;
|
| + }
|
| +
|
| void SetPosition(gfx::PointF position);
|
| gfx::PointF position() const { return position_; }
|
|
|
| @@ -567,6 +578,8 @@ class CC_EXPORT LayerImpl : LayerAnimationValueObserver {
|
| bool masks_to_bounds_;
|
| bool contents_opaque_;
|
| float opacity_;
|
| + SkXfermode::Mode blend_mode_;
|
| + bool is_root_for_isolated_group_;
|
| gfx::PointF position_;
|
| bool preserves_3d_;
|
| bool use_parent_backface_visibility_;
|
|
|