Index: cc/layers/layer_impl.h |
diff --git a/cc/layers/layer_impl.h b/cc/layers/layer_impl.h |
index 65143ab514c386de3cc217c8f73cbd467dfab298..280781edefcf4c5cf14909c3bf2ff2f118131f38 100644 |
--- a/cc/layers/layer_impl.h |
+++ b/cc/layers/layer_impl.h |
@@ -384,7 +384,8 @@ class CC_EXPORT LayerImpl : public LayerAnimationValueObserver, |
gfx::Vector2d MaxScrollOffset() const; |
gfx::Vector2dF ClampScrollToMaxScrollOffset(); |
void SetScrollbarPosition(ScrollbarLayerImplBase* scrollbar_layer, |
- LayerImpl* scrollbar_clip_layer) const; |
+ LayerImpl* scrollbar_clip_layer, |
+ bool on_resize) const; |
void SetScrollDelta(const gfx::Vector2dF& scroll_delta); |
gfx::Vector2dF ScrollDelta() const; |
@@ -511,7 +512,7 @@ class CC_EXPORT LayerImpl : public LayerAnimationValueObserver, |
void AddScrollbar(ScrollbarLayerImplBase* layer); |
void RemoveScrollbar(ScrollbarLayerImplBase* layer); |
bool HasScrollbar(ScrollbarOrientation orientation) const; |
- void ScrollbarParametersDidChange(); |
+ void ScrollbarParametersDidChange(bool on_resize = false); |
aelias_OOO_until_Jul13
2014/09/30 18:55:28
Because you can remove the argument in SetScrollba
MuVen
2014/10/01 16:45:51
Done.
|
int clip_height() { |
return scroll_clip_layer_ ? scroll_clip_layer_->bounds().height() : 0; |
} |