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

Unified Diff: public/platform/WebLayer.h

Issue 139923006: [Cleanup] Follow Up of Pinch/Zoom Infrastucture & Plumbing CL (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: nit work. 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/PinchViewports.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 2ffb901f23ca5afd6cc164b69ad6fc3d0e69bfdf..33ae3abe9ab8ab1d43ad43611064189d4d4250ee 100644
--- a/public/platform/WebLayer.h
+++ b/public/platform/WebLayer.h
@@ -173,10 +173,8 @@ public:
virtual WebSize maxScrollPosition() const = 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 void setScrollClipLayer(WebLayer*) = 0;
virtual bool scrollable() const = 0;
-
virtual void setUserScrollable(bool horizontal, bool vertical) = 0;
virtual bool userScrollableHorizontal() const = 0;
virtual bool userScrollableVertical() const = 0;
@@ -216,10 +214,6 @@ public:
virtual bool isOrphan() const = 0;
virtual void setWebLayerClient(WebLayerClient*) = 0;
-
- // TODO(wjmaclean) Remove next two lines once https://codereview.chromium.org/23983047 lands.
- virtual void setMaxScrollPosition(WebSize) { }
- virtual void setScrollable(bool) { }
};
} // namespace blink
« no previous file with comments | « Source/web/PinchViewports.cpp ('k') | public/platform/WebScrollbarLayer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698