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

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: Address Jochen's comments. 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 8d0d6240a61d8eb3e883fd5dd66c0aa0ed071468..28ddc59f50d07b08d3eaed9991f956d16b9b6d39 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_; }
@@ -34,7 +35,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