DescriptionIntroduce KeyframeEffectReadOnly interface
The Web Animations spec includes a KeyframeEffect interface which inherits from
KeyframeEffectReadOnly which in turn inherits from AnimationEffectReadOnly.
(http://w3c.github.io/web-animations/#the-keyframeeffect-interfaces). Blink
currently does not implement KeyframeEffectReadOnly; KeyframeEffect inherits
directly from AnimationEffectReadOnly.
This patch adds the KeyframeEffectReadOnly interface and corresponding
implementation. Since KeyframeEffectReadOnly objects are never actually used
in the code, and we only need to provide a read-only view on a KeyframeEffect
object, the KeyframeEffectReadOnly::create functions simply pass through to the
KeyframeEffect::create functions.
Note that these interfaces are only exposed behind the
experimental-web-platform-features flag.
Several expectations are correspondingly updated for the web-animations suite of
the imported web platform tests.
BUG=624639, 600248
Committed: https://crrev.com/3120c553f66737e082fe12cace7ca25743f1dfe8
Cr-Commit-Position: refs/heads/master@{#422009}
Patch Set 1 #
Total comments: 5
Patch Set 2 : Update references to Priority, response to review #
Total comments: 4
Patch Set 3 : Move Priority back to KeyframeEffect #Patch Set 4 : Move destructor #
Total comments: 1
Patch Set 5 : Use short form of copyright message #Messages
Total messages: 32 (18 generated)
|