Chromium Code Reviews| Index: cc/layers/layer_impl.h |
| diff --git a/cc/layers/layer_impl.h b/cc/layers/layer_impl.h |
| index 1e8fa63d3f5ef29db059bd1ec911522a361afb66..4a6e8fde0a2752fb2310190739f1cc394d036fe6 100644 |
| --- a/cc/layers/layer_impl.h |
| +++ b/cc/layers/layer_impl.h |
| @@ -365,6 +365,8 @@ class CC_EXPORT LayerImpl : public LayerAnimationValueObserver, |
| void SetBounds(const gfx::Size& bounds); |
| gfx::Size bounds() const; |
| + // Like bounds() but doesn't snap to int. |
|
danakj
2014/10/10 19:52:02
Can you also mention that this is lossy for large
bokan
2014/10/10 19:55:58
Done.
|
| + gfx::SizeF BoundsForScrolling() const; |
| void SetBoundsDelta(const gfx::Vector2dF& bounds_delta); |
| gfx::Vector2dF bounds_delta() const { return bounds_delta_; } |