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

Unified Diff: cc/scrollbar_layer.cc

Issue 11550035: Implement pinch-zoom scaling for main-frame scrollbars and pinch-zoom overlay scrollbars. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix impl-side painting issues. Created 7 years, 10 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: cc/scrollbar_layer.cc
diff --git a/cc/scrollbar_layer.cc b/cc/scrollbar_layer.cc
index ded7bf12a9a4f3f7c99066ef7cc33565ab0dc89c..d20de9436b64d927908fc806a9072315e04cc234 100644
--- a/cc/scrollbar_layer.cc
+++ b/cc/scrollbar_layer.cc
@@ -64,6 +64,11 @@ WebKit::WebScrollbar::Orientation ScrollbarLayer::orientation() const
return m_scrollbar->orientation();
}
+bool ScrollbarLayer::isOverlay() const
+{
+ return m_scrollbar->isOverlay();
+}
+
int ScrollbarLayer::maxTextureSize() {
DCHECK(layerTreeHost());
return layerTreeHost()->rendererCapabilities().maxTextureSize;

Powered by Google App Engine
This is Rietveld 408576698