| Index: cc/layers/layer.h
|
| diff --git a/cc/layers/layer.h b/cc/layers/layer.h
|
| index c88721b0fa6e1e82ad3728900e1d3f93b7cc566b..3e6c0dbcdf4b9f124c4f384813289deb19f73a78 100644
|
| --- a/cc/layers/layer.h
|
| +++ b/cc/layers/layer.h
|
| @@ -174,6 +174,11 @@ class CC_EXPORT Layer : public base::RefCounted<Layer> {
|
| return inputs_.sticky_position_constraint;
|
| }
|
|
|
| + void SetStickyMainThreadOffset(const gfx::Size& offset);
|
| + const gfx::Size sticky_main_thread_offset() const {
|
| + return inputs_.sticky_main_thread_offset;
|
| + }
|
| +
|
| void SetTransform(const gfx::Transform& transform);
|
| const gfx::Transform& transform() const { return inputs_.transform; }
|
|
|
| @@ -577,6 +582,8 @@ class CC_EXPORT Layer : public base::RefCounted<Layer> {
|
| LayerPositionConstraint position_constraint;
|
|
|
| LayerStickyPositionConstraint sticky_position_constraint;
|
| + // Keeps the sticky offset applied locally.
|
| + gfx::Size sticky_main_thread_offset;
|
|
|
| ElementId element_id;
|
|
|
|
|