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

Unified Diff: cc/layers/solid_color_scrollbar_layer_impl.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/solid_color_scrollbar_layer.cc ('k') | cc/layers/solid_color_scrollbar_layer_impl.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_impl.h
diff --git a/cc/layers/solid_color_scrollbar_layer_impl.h b/cc/layers/solid_color_scrollbar_layer_impl.h
index 205496a6e72be02418bfea8356296c6aa3611e31..4cea04b4abc707f708de822614dcc7d2b04a623b 100644
--- a/cc/layers/solid_color_scrollbar_layer_impl.h
+++ b/cc/layers/solid_color_scrollbar_layer_impl.h
@@ -17,6 +17,7 @@ class CC_EXPORT SolidColorScrollbarLayerImpl : public ScrollbarLayerImplBase {
int id,
ScrollbarOrientation orientation,
int thumb_thickness,
+ int track_start,
bool is_left_side_vertical_scrollbar,
bool is_overlay);
virtual ~SolidColorScrollbarLayerImpl();
@@ -35,6 +36,7 @@ class CC_EXPORT SolidColorScrollbarLayerImpl : public ScrollbarLayerImplBase {
int id,
ScrollbarOrientation orientation,
int thumb_thickness,
+ int track_start,
bool is_left_side_vertical_scrollbar,
bool is_overlay);
@@ -47,6 +49,7 @@ class CC_EXPORT SolidColorScrollbarLayerImpl : public ScrollbarLayerImplBase {
private:
int thumb_thickness_;
+ int track_start_;
SkColor color_;
};
« no previous file with comments | « cc/layers/solid_color_scrollbar_layer.cc ('k') | cc/layers/solid_color_scrollbar_layer_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698