| Index: ui/gfx/animation/animation.h
|
| diff --git a/ui/gfx/animation/animation.h b/ui/gfx/animation/animation.h
|
| index 44823b0366f1ae220835a9c97ab1d3ebdca0b701..8d8b4d0335b33046a3fb851e5673d50f7083b8f3 100644
|
| --- a/ui/gfx/animation/animation.h
|
| +++ b/ui/gfx/animation/animation.h
|
| @@ -64,6 +64,11 @@ class GFX_EXPORT Animation : public AnimationContainerElement {
|
| // to give guidance for heavy animations such as "start download" arrow.
|
| static bool ShouldRenderRichAnimation();
|
|
|
| + // Determines on a per-platform basis whether scroll animations (e.g. produced
|
| + // by home/end key) should be enabled. Should only be called from the browser
|
| + // process.
|
| + static bool ScrollAnimationsEnabledBySystem();
|
| +
|
| protected:
|
| // Invoked from Start to allow subclasses to prepare for the animation.
|
| virtual void AnimationStarted() {}
|
|
|