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

Unified Diff: cc/layers/scrollbar_layer_interface.h

Issue 2816063003: Replace layer id with Element id for tracking scrollbar animation controllers (Closed)
Patch Set: Fix flaky LayerTreeHostImplTestScrollbarOpacity.Android 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/layers/scrollbar_layer_interface.h
diff --git a/cc/layers/scrollbar_layer_interface.h b/cc/layers/scrollbar_layer_interface.h
index 30c335ba01134ec0d613f0690281cf5723e23e3a..698f8fc3093e680e56c07056b5408ec88734ed0b 100644
--- a/cc/layers/scrollbar_layer_interface.h
+++ b/cc/layers/scrollbar_layer_interface.h
@@ -14,7 +14,8 @@ namespace cc {
class CC_EXPORT ScrollbarLayerInterface {
public:
virtual int ScrollLayerId() const = 0;
- virtual void SetScrollLayer(int layer_id) = 0;
+ virtual ElementId ScrollElementId() const = 0;
wkorman 2017/04/14 18:17:30 I think cc style is to name straight accessors lik
pdr. 2017/04/15 06:02:00 Thanks for the script, it made this super easy. Do
wkorman 2017/04/17 17:53:36 Glad you got use out of this, learning the Perl in
+ virtual void SetScrollInfo(int layer_id, ElementId element_id) = 0;
virtual ScrollbarOrientation orientation() const = 0;

Powered by Google App Engine
This is Rietveld 408576698