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

Unified Diff: cc/layers/scrollbar_layer_impl_base.h

Issue 2918753002: Prevent create ScrollbarAnimationController for Mac Overlay Scrollbar (Closed)
Patch Set: Prevent create ScrollbarAnimationController for Mac Overlay Scrollbar Created 3 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 | « no previous file | cc/layers/scrollbar_layer_impl_base.cc » ('j') | cc/trees/layer_tree_host_impl.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 7becd72c69e4d89ff8984e80c3357b2b2cd72fca..f34fc2cbd4f94641ec94aeea58b5f78126165c6c 100644
--- a/cc/layers/scrollbar_layer_impl_base.h
+++ b/cc/layers/scrollbar_layer_impl_base.h
@@ -61,6 +61,8 @@ class CC_EXPORT ScrollbarLayerImplBase : public LayerImpl {
// on overlay scrollbar layers.
void SetOverlayScrollbarLayerOpacityAnimated(float opacity);
+ virtual bool IsSolidColorScrollbarLayerImpl() const;
aelias_OOO_until_Jul13 2017/06/02 22:02:23 How about instead making scrollbars return one of
chaopeng 2017/06/05 14:52:39 Yes, this would be better.
+
protected:
ScrollbarLayerImplBase(LayerTreeImpl* tree_impl,
int id,
« no previous file with comments | « no previous file | cc/layers/scrollbar_layer_impl_base.cc » ('j') | cc/trees/layer_tree_host_impl.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698