| Index: core/animation/Player.idl
|
| diff --git a/core/html/ime/Composition.idl b/core/animation/Player.idl
|
| similarity index 76%
|
| rename from core/html/ime/Composition.idl
|
| rename to core/animation/Player.idl
|
| index 494d2a06b75f42a4c55b6a01b0069e2701f412a3..1243c39262e12a3bdbfb62ceaed78301a42042af 100644
|
| --- a/core/html/ime/Composition.idl
|
| +++ b/core/animation/Player.idl
|
| @@ -28,12 +28,19 @@
|
| * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
| */
|
|
|
| -// http://www.w3.org/TR/ime-api/
|
| [
|
| - NoInterfaceObject
|
| -] interface Composition {
|
| - readonly attribute DOMString text;
|
| - readonly attribute long selectionStart;
|
| - readonly attribute long selectionEnd;
|
| - sequence<unsigned long> getSegments();
|
| + RuntimeEnabled=WebAnimationsAPI,
|
| +] interface Player {
|
| + attribute TimedItem? source;
|
| + attribute double startTime;
|
| + attribute double currentTime;
|
| + readonly attribute double timeLag;
|
| + attribute double playbackRate;
|
| + readonly attribute boolean paused;
|
| + readonly attribute boolean finished;
|
| + void cancel();
|
| + [RaisesException] void finish();
|
| + void play();
|
| + void pause();
|
| + void reverse();
|
| };
|
|
|