Index: webkit/compositor_bindings/WebLayerImpl.cpp |
diff --git a/webkit/compositor_bindings/WebLayerImpl.cpp b/webkit/compositor_bindings/WebLayerImpl.cpp |
index 4b25479e638965d0bd107c7516fba999eb78ba63..84f5e5ae87d9357456ba1198e2c2836ff0cbc7e6 100644 |
--- a/webkit/compositor_bindings/WebLayerImpl.cpp |
+++ b/webkit/compositor_bindings/WebLayerImpl.cpp |
@@ -334,6 +334,16 @@ void WebLayerImpl::setScrollPosition(WebPoint position) |
m_layer->setScrollPosition(position); |
} |
+WebPoint WebLayerImpl::scrollPosition() const |
+{ |
+ return m_layer->scrollPosition(); |
+} |
+ |
+void WebLayerImpl::setMaxScrollPosition(WebSize maxScrollPosition) |
+{ |
+ m_layer->setMaxScrollPosition(maxScrollPosition); |
+} |
+ |
void WebLayerImpl::setScrollable(bool scrollable) |
{ |
m_layer->setScrollable(scrollable); |
@@ -370,6 +380,11 @@ void WebLayerImpl::setFixedToContainerLayer(bool enable) |
m_layer->setFixedToContainerLayer(enable); |
} |
+void WebLayerImpl::setScrollClient(WebLayerScrollClient* scrollClient) |
+{ |
+ m_layer->setLayerScrollClient(scrollClient); |
+} |
+ |
LayerChromium* WebLayerImpl::layer() const |
{ |
return m_layer.get(); |