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

Unified Diff: cc/test/fake_painted_scrollbar_layer.h

Issue 2816063003: Replace layer id with Element id for tracking scrollbar animation controllers (Closed)
Patch Set: Address reviewer comments, pull element_id.h change to another patch Created 3 years, 8 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_painted_scrollbar_layer.h
diff --git a/cc/test/fake_painted_scrollbar_layer.h b/cc/test/fake_painted_scrollbar_layer.h
index bbb38cdfb8fad9c9260b61c0f990e0195f92fedc..fe760b26cd6c0d9a21115875647b9498bb4177f3 100644
--- a/cc/test/fake_painted_scrollbar_layer.h
+++ b/cc/test/fake_painted_scrollbar_layer.h
@@ -21,14 +21,16 @@ class FakePaintedScrollbarLayer : public PaintedScrollbarLayer {
static scoped_refptr<FakePaintedScrollbarLayer> Create(
bool paint_during_update,
bool has_thumb,
- int scrolling_layer_id);
+ int scrolling_layer_id,
+ ElementId scrolling_element_id = ElementId());
static scoped_refptr<FakePaintedScrollbarLayer> Create(
bool paint_during_update,
bool has_thumb,
ScrollbarOrientation orientation,
bool is_left_side_vertical_scrollbar,
bool is_overlay,
- int scrolling_layer_id);
+ int scrolling_layer_id,
+ ElementId scrolling_element_id = ElementId());
int update_count() const { return update_count_; }
void reset_update_count() { update_count_ = 0; }
@@ -56,7 +58,8 @@ class FakePaintedScrollbarLayer : public PaintedScrollbarLayer {
private:
FakePaintedScrollbarLayer(FakeScrollbar* fake_scrollbar,
- int scrolling_layer_id);
+ int scrolling_layer_id,
+ ElementId scrolling_element_id);
~FakePaintedScrollbarLayer() override;
int update_count_;

Powered by Google App Engine
This is Rietveld 408576698