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

Unified Diff: public/platform/WebLayer.h

Issue 138453004: Pinch/Zoom Infrastructure & Plumbing CL (Prequel) (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Use setContentsRect() instead of directly accessing contentLayer bounds. Created 6 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
« no previous file with comments | « Source/web/tests/GraphicsLayerTest.cpp ('k') | public/platform/WebScrollbarLayer.h » ('j') | 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 ebe248a5357d4983ff749f29ebf6e390fa6fe5c7..9bbbba4f23f7b7d558cd7971c3d83a22f68f78db 100644
--- a/public/platform/WebLayer.h
+++ b/public/platform/WebLayer.h
@@ -170,10 +170,15 @@ public:
virtual void setScrollPosition(WebPoint) = 0;
virtual WebPoint scrollPosition() const = 0;
+ // TODO(wjmaclean) Remove next line once https://codereview.chromium.org/23983047 lands.
virtual void setMaxScrollPosition(WebSize) = 0;
virtual WebSize maxScrollPosition() const = 0;
+ // TODO(wjmaclean) Remove next line once https://codereview.chromium.org/23983047 lands.
virtual void setScrollable(bool) = 0;
+ // To set a WebLayer as scrollable we must specify the corresponding clip layer.
+ // TODO(wjmaclean) Make this pure virtual once https://codereview.chromium.org/23983047 lands.
+ virtual void setScrollClipLayer(WebLayer*) { }
virtual bool scrollable() const = 0;
virtual void setUserScrollable(bool horizontal, bool vertical) = 0;
« no previous file with comments | « Source/web/tests/GraphicsLayerTest.cpp ('k') | public/platform/WebScrollbarLayer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698