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

Unified Diff: cc/layers/scrollbar_layer_impl_base.h

Issue 2762123004: cc: LayerTreeHostImpl uses element id to tick animations (Closed)
Patch Set: review comments Created 3 years, 9 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_impl_base.h
diff --git a/cc/layers/scrollbar_layer_impl_base.h b/cc/layers/scrollbar_layer_impl_base.h
index 05c289128be39f944652f8939249c7c77c8df54a..0b9b403950bc1f044af3c8ba114e9ef754e271d2 100644
--- a/cc/layers/scrollbar_layer_impl_base.h
+++ b/cc/layers/scrollbar_layer_impl_base.h
@@ -56,6 +56,10 @@ class CC_EXPORT ScrollbarLayerImplBase : public LayerImpl {
virtual int ThumbThickness() const = 0;
+ // TODO(crbug.com/702832): No need for this function once there is element id
+ // on overlay scrollbar layers.
+ void SetOverlayScrollbarLayerOpacityAnimated(float opacity);
+
protected:
ScrollbarLayerImplBase(LayerTreeImpl* tree_impl,
int id,

Powered by Google App Engine
This is Rietveld 408576698