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

Unified Diff: cc/layers/scrollbar_layer_impl_base.h

Issue 2930763002: Prevent create ScrollbarAnimationController for Mac Overlay Scrollbar (Closed)
Patch Set: Created 3 years, 6 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/layers/painted_scrollbar_layer_impl.cc ('k') | cc/layers/scrollbar_layer_impl_base.cc » ('j') | no next file with comments »
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..e6bb9b4e482e81ab6bf4e0416d11ba7e65ac4ff1 100644
--- a/cc/layers/scrollbar_layer_impl_base.h
+++ b/cc/layers/scrollbar_layer_impl_base.h
@@ -11,6 +11,7 @@
#include "cc/input/scrollbar.h"
#include "cc/layers/layer.h"
#include "cc/layers/layer_impl.h"
+#include "cc/trees/layer_tree_settings.h"
namespace cc {
@@ -61,6 +62,8 @@ class CC_EXPORT ScrollbarLayerImplBase : public LayerImpl {
// on overlay scrollbar layers.
void SetOverlayScrollbarLayerOpacityAnimated(float opacity);
+ virtual LayerTreeSettings::ScrollbarAnimator GetScrollbarAnimator() const;
+
protected:
ScrollbarLayerImplBase(LayerTreeImpl* tree_impl,
int id,
« no previous file with comments | « cc/layers/painted_scrollbar_layer_impl.cc ('k') | cc/layers/scrollbar_layer_impl_base.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698