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

Unified Diff: cc/test/fake_scrollbar.h

Issue 2468423004: Left side vertical MD scrollbars grow toward right. (Closed)
Patch Set: Created 4 years, 1 month 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/test/fake_painted_scrollbar_layer.cc ('k') | cc/test/fake_scrollbar.cc » ('j') | 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 6dccdc376e9618368e3d9d3d0d3fa9ad40ba6df6..9ef7e2263e40a7ac2932841d49fc025b5082814f 100644
--- a/cc/test/fake_scrollbar.h
+++ b/cc/test/fake_scrollbar.h
@@ -16,6 +16,11 @@ class FakeScrollbar : public Scrollbar {
public:
FakeScrollbar();
FakeScrollbar(bool paint, bool has_thumb, bool is_overlay);
+ FakeScrollbar(bool paint,
+ bool has_thumb,
+ ScrollbarOrientation orientation,
+ bool is_left_side_vertical_scrollbar,
+ bool is_overlay);
~FakeScrollbar() override;
// Scrollbar implementation.
@@ -53,6 +58,8 @@ class FakeScrollbar : public Scrollbar {
private:
bool paint_;
bool has_thumb_;
+ ScrollbarOrientation orientation_;
+ bool is_left_side_vertical_scrollbar_;
bool is_overlay_;
int thumb_thickness_;
int thumb_length_;
« no previous file with comments | « cc/test/fake_painted_scrollbar_layer.cc ('k') | cc/test/fake_scrollbar.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698