Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(598)

Unified Diff: webkit/compositor_bindings/web_layer_impl.cc

Issue 11975007: Implement one-page-at-a-time mousewheel scrolling in the impl thread. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: webkit/compositor_bindings/web_layer_impl.cc
diff --git a/webkit/compositor_bindings/web_layer_impl.cc b/webkit/compositor_bindings/web_layer_impl.cc
index 3e44860fb24cd14ceb308f1b4b93db30dd7ff35f..fff10ac5b9cc823acf2c9327dae08b95c4e75ade 100644
--- a/webkit/compositor_bindings/web_layer_impl.cc
+++ b/webkit/compositor_bindings/web_layer_impl.cc
@@ -340,6 +340,16 @@ WebSize WebLayerImpl::maxScrollPosition() const
return m_layer->maxScrollOffset();
}
+void WebLayerImpl::setVisibleScrollArea(WebSize scrollArea)
+{
+ m_layer->setVisibleScrollArea(scrollArea);
+}
+
+WebSize WebLayerImpl::visibleScrollArea() const
+{
+ return m_layer->visibleScrollArea();
+}
+
void WebLayerImpl::setScrollable(bool scrollable)
{
m_layer->setScrollable(scrollable);

Powered by Google App Engine
This is Rietveld 408576698