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

Unified Diff: cc/test/fake_painted_scrollbar_layer.h

Issue 1122393003: CC: Plumb LayerSettings parameter for cc::Layer construction. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 years, 7 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/test/fake_delegated_renderer_layer.cc ('k') | cc/test/fake_painted_scrollbar_layer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/test/fake_painted_scrollbar_layer.h
diff --git a/cc/test/fake_painted_scrollbar_layer.h b/cc/test/fake_painted_scrollbar_layer.h
index 033d92071be3fb8f3ccbfda6d2bdae85021cf737..0f3b991d28803986324f752d56ec098d282e0337 100644
--- a/cc/test/fake_painted_scrollbar_layer.h
+++ b/cc/test/fake_painted_scrollbar_layer.h
@@ -15,8 +15,11 @@ namespace cc {
class FakePaintedScrollbarLayer : public PaintedScrollbarLayer {
public:
- static scoped_refptr<FakePaintedScrollbarLayer>
- Create(bool paint_during_update, bool has_thumb, int scrolling_layer_id);
+ static scoped_refptr<FakePaintedScrollbarLayer> Create(
+ const LayerSettings& settings,
+ bool paint_during_update,
+ bool has_thumb,
+ int scrolling_layer_id);
int update_count() const { return update_count_; }
void reset_update_count() { update_count_ = 0; }
@@ -44,7 +47,8 @@ class FakePaintedScrollbarLayer : public PaintedScrollbarLayer {
using PaintedScrollbarLayer::UpdateThumbAndTrackGeometry;
private:
- FakePaintedScrollbarLayer(FakeScrollbar* fake_scrollbar,
+ FakePaintedScrollbarLayer(const LayerSettings& settings,
+ FakeScrollbar* fake_scrollbar,
int scrolling_layer_id);
~FakePaintedScrollbarLayer() override;
« no previous file with comments | « cc/test/fake_delegated_renderer_layer.cc ('k') | cc/test/fake_painted_scrollbar_layer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698