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

Unified Diff: cc/layers/solid_color_scrollbar_layer.h

Issue 234603002: Add support for setting TrackStart on solid color layers. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix more unit test compile Created 6 years, 8 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 | « cc/layers/scrollbar_layer_unittest.cc ('k') | cc/layers/solid_color_scrollbar_layer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layers/solid_color_scrollbar_layer.h
diff --git a/cc/layers/solid_color_scrollbar_layer.h b/cc/layers/solid_color_scrollbar_layer.h
index 67d4ae7b36d92f9d4900330c02384fea37e9e8e5..654a6a6ae744add082134e5bffd089160e894b0f 100644
--- a/cc/layers/solid_color_scrollbar_layer.h
+++ b/cc/layers/solid_color_scrollbar_layer.h
@@ -20,6 +20,7 @@ class CC_EXPORT SolidColorScrollbarLayer : public ScrollbarLayerInterface,
static scoped_refptr<SolidColorScrollbarLayer> Create(
ScrollbarOrientation orientation,
int thumb_thickness,
+ int track_start,
bool is_left_side_vertical_scrollbar,
int scroll_layer_id);
@@ -42,6 +43,7 @@ class CC_EXPORT SolidColorScrollbarLayer : public ScrollbarLayerInterface,
protected:
SolidColorScrollbarLayer(ScrollbarOrientation orientation,
int thumb_thickness,
+ int track_start,
bool is_left_side_vertical_scrollbar,
int scroll_layer_id);
virtual ~SolidColorScrollbarLayer();
@@ -51,6 +53,7 @@ class CC_EXPORT SolidColorScrollbarLayer : public ScrollbarLayerInterface,
int clip_layer_id_;
ScrollbarOrientation orientation_;
int thumb_thickness_;
+ int track_start_;
bool is_left_side_vertical_scrollbar_;
DISALLOW_COPY_AND_ASSIGN(SolidColorScrollbarLayer);
« no previous file with comments | « cc/layers/scrollbar_layer_unittest.cc ('k') | cc/layers/solid_color_scrollbar_layer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698