Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(964)

Unified Diff: core/animation/Player.idl

Issue 206333004: Update IDL to 1847 (Closed) Base URL: https://dart.googlecode.com/svn/third_party/WebCore
Patch Set: Add new files Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « core/animation/ElementAnimation.idl ('k') | core/animation/TimedItem.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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();
};
« no previous file with comments | « core/animation/ElementAnimation.idl ('k') | core/animation/TimedItem.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698