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

Unified Diff: cc/test/fake_scrollbar_layer.h

Issue 17550008: Make IsSolidColor() a property on CC scrollbar layers. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 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_layer.h
diff --git a/cc/test/fake_scrollbar_layer.h b/cc/test/fake_scrollbar_layer.h
index f06f752bc8a426944da0d54b2659bc4d3ff6c219..72ea3680126da64ba24e027d62f6bfa2fa5068dd 100644
--- a/cc/test/fake_scrollbar_layer.h
+++ b/cc/test/fake_scrollbar_layer.h
@@ -14,9 +14,10 @@ class FakeScrollbarLayer : public ScrollbarLayer {
public:
static scoped_refptr<FakeScrollbarLayer> Create(bool paint_during_update,
bool has_thumb,
- int scrolling_layer_id) {
+ int scrolling_layer_id,
+ bool is_solid_color) {
return make_scoped_refptr(new FakeScrollbarLayer(
- paint_during_update, has_thumb, scrolling_layer_id));
+ paint_during_update, has_thumb, scrolling_layer_id, is_solid_color));
}
int update_count() const { return update_count_; }
@@ -35,7 +36,8 @@ class FakeScrollbarLayer : public ScrollbarLayer {
private:
FakeScrollbarLayer(bool paint_during_update,
bool has_thumb,
- int scrolling_layer_id);
+ int scrolling_layer_id,
+ bool is_solid_color);
virtual ~FakeScrollbarLayer();
int update_count_;

Powered by Google App Engine
This is Rietveld 408576698