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

Unified Diff: cc/layers/solid_color_scrollbar_layer_impl.h

Issue 106733005: Update overlay scrollbars (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add IsThumbResizable() method to allow PaintedScrollbarLayerImpl to avoid paint damage when ratio c… 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
Index: cc/layers/solid_color_scrollbar_layer_impl.h
diff --git a/cc/layers/solid_color_scrollbar_layer_impl.h b/cc/layers/solid_color_scrollbar_layer_impl.h
index 56cbacd888cb6406fe965b242d0dbef4aec2337b..b725ed5b17cdf1fae1f08caeedd7a1d65ad3e764 100644
--- a/cc/layers/solid_color_scrollbar_layer_impl.h
+++ b/cc/layers/solid_color_scrollbar_layer_impl.h
@@ -41,6 +41,7 @@ class CC_EXPORT SolidColorScrollbarLayerImpl : public ScrollbarLayerImplBase {
virtual int ThumbLength() const OVERRIDE;
virtual float TrackLength() const OVERRIDE;
virtual int TrackStart() const OVERRIDE;
+ virtual bool IsThumbResizable() const OVERRIDE;
private:
int thumb_thickness_;

Powered by Google App Engine
This is Rietveld 408576698