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

Unified Diff: public/platform/WebLayer.h

Issue 33413002: scroll: Tell the platform layer whether it can be scrolled by the user. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: tot-merge Created 7 years, 2 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
« no previous file with comments | « Source/web/tests/data/overflow-hidden.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: public/platform/WebLayer.h
diff --git a/public/platform/WebLayer.h b/public/platform/WebLayer.h
index c2c9fcbb5b7777977b376d98ba33f5687ec33d4c..cda0dc579fcc635a5c92edbf7ec1fafda0e7e536 100644
--- a/public/platform/WebLayer.h
+++ b/public/platform/WebLayer.h
@@ -179,6 +179,10 @@ public:
virtual void setScrollable(bool) = 0;
virtual bool scrollable() const = 0;
+ virtual void setUserScrollable(bool horizontal, bool vertical) = 0;
+ virtual bool userScrollableHorizontal() const = 0;
+ virtual bool userScrollableVertical() const = 0;
+
virtual void setHaveWheelEventHandlers(bool) = 0;
virtual bool haveWheelEventHandlers() const = 0;
« no previous file with comments | « Source/web/tests/data/overflow-hidden.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698