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

Unified Diff: cc/test/fake_scrollbar.h

Issue 524373003: Scrollbar ThumbLength is not updated when window size is changed. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Modified Variable Name Created 6 years, 3 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/test/fake_scrollbar.h
diff --git a/cc/test/fake_scrollbar.h b/cc/test/fake_scrollbar.h
index 872b9d95ab7312f5255164e212a42ad24fff6516..4084f9ca93c1ca3a54f536fd3e1fe6895a81b147 100644
--- a/cc/test/fake_scrollbar.h
+++ b/cc/test/fake_scrollbar.h
@@ -36,6 +36,8 @@ class FakeScrollbar : public Scrollbar {
thumb_thickness_ = thumb_thickness;
}
void set_thumb_length(int thumb_length) { thumb_length_ = thumb_length; }
+ void set_has_thumb(bool has_thumb) { has_thumb_ = has_thumb; }
+
SkColor paint_fill_color() const { return SK_ColorBLACK | fill_color_; }
private:
« cc/layers/painted_scrollbar_layer.cc ('K') | « cc/layers/scrollbar_layer_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698