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

Unified Diff: cc/scrollbar_layer_impl.h

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: Revised architecture - complete cl for comments on approach. 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_impl.h
diff --git a/cc/scrollbar_layer_impl.h b/cc/scrollbar_layer_impl.h
index f37dd050ce855026fa1f832d84b5b545ef792688..749917cc4bca04cea4c7da97d1652c90d061475b 100644
--- a/cc/scrollbar_layer_impl.h
+++ b/cc/scrollbar_layer_impl.h
@@ -31,6 +31,8 @@ public:
void setForeTrackResourceId(ResourceProvider::ResourceId id) { m_foreTrackResourceId = id; }
void setThumbResourceId(ResourceProvider::ResourceId id) { m_thumbResourceId = id; }
+ void setIsPinchZoomScrollbar(bool isPinchZoomScrollbar) { m_isPinchZoomScrollbar = isPinchZoomScrollbar; }
+ bool isPinchZoomScrollbar() { return m_isPinchZoomScrollbar; }
// ScrollbarLayerImplBase implementation.
virtual float currentPos() const OVERRIDE;
@@ -114,6 +116,7 @@ private:
bool m_enabled;
bool m_isCustomScrollbar;
bool m_isOverlayScrollbar;
+ bool m_isPinchZoomScrollbar;
};
}
« cc/scrollbar_layer.h ('K') | « cc/scrollbar_layer.cc ('k') | cc/scrollbar_layer_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698