diff options
Diffstat (limited to 'cc/animation/animation_registrar.h')
-rw-r--r-- | cc/animation/animation_registrar.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/cc/animation/animation_registrar.h b/cc/animation/animation_registrar.h index 579b11f..36c45c7 100644 --- a/cc/animation/animation_registrar.h +++ b/cc/animation/animation_registrar.h @@ -51,12 +51,20 @@ class CC_EXPORT AnimationRegistrar { return all_animation_controllers_; } + void set_supports_scroll_animations(bool supports_scroll_animations) { + supports_scroll_animations_ = supports_scroll_animations; + } + + bool supports_scroll_animations() { return supports_scroll_animations_; } + private: AnimationRegistrar(); AnimationControllerMap active_animation_controllers_; AnimationControllerMap all_animation_controllers_; + bool supports_scroll_animations_; + DISALLOW_COPY_AND_ASSIGN(AnimationRegistrar); }; |