DescriptionRefactor accessible focus ring code so the layers are animation observers.
I'd like to make more of the focus ring layers animate, so it will be
simpler if the layers are animation observers and keep track of their own
compositor, rather than storing them all in AccessibilityFocusRingController.
I'm assuming it's not too expensive to have OnAnimationStep() called for a
layer that doesn't need to animate all the time. If that's not true, this
refactoring would make it easier to add StartAnimating and StopAnimating
methods to FocusRingLayer for better efficiency.
BUG=314889
Committed: https://crrev.com/82a45a85f0b2a9292d9524e90cc82ee3da68d876
Cr-Commit-Position: refs/heads/master@{#397825}
Patch Set 1 #
Depends on Patchset: Messages
Total messages: 8 (3 generated)
|