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

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: addressed review comments 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
« no previous file with comments | « cc/layers/scrollbar_layer_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/test/fake_scrollbar.h
diff --git a/cc/test/fake_scrollbar.h b/cc/test/fake_scrollbar.h
index 872b9d95ab7312f5255164e212a42ad24fff6516..8e6d4545e01d9bb2fce6d85564a559a9bfcc1c51 100644
--- a/cc/test/fake_scrollbar.h
+++ b/cc/test/fake_scrollbar.h
@@ -36,6 +36,7 @@ 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:
« no previous file with comments | « cc/layers/scrollbar_layer_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698