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

Unified Diff: Source/core/wawwa/MockAnimationPlayer.idl

Issue 491053004: Expose Web Animations API to Web Workers (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 4 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
Index: Source/core/wawwa/MockAnimationPlayer.idl
diff --git a/Source/modules/quota/StorageInfo.idl b/Source/core/wawwa/MockAnimationPlayer.idl
similarity index 83%
copy from Source/modules/quota/StorageInfo.idl
copy to Source/core/wawwa/MockAnimationPlayer.idl
index 112f4a472efd8fb27b9517619d4fe513efa3cca7..a378a9d3396f55c65672c70735c62e577d48c623 100644
--- a/Source/modules/quota/StorageInfo.idl
+++ b/Source/core/wawwa/MockAnimationPlayer.idl
@@ -28,11 +28,18 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+
[
- GarbageCollected,
- NoInterfaceObject,
- RuntimeEnabled=QuotaPromise
-] interface StorageInfo {
- readonly attribute unsigned long long usage;
- readonly attribute unsigned long long quota;
+ Exposed=MockAnimationPlayer,
+ Exposed=Worker,
+ WillBeGarbageCollected
+] interface MockAnimationPlayer {
+ [RaisesException] void pause();
+ [RaisesException] void play();
+ [RaisesException] void cancel();
+ [RaisesException] void finish();
+ [RaisesException] void reverse();
};
+
+/*
+*/

Powered by Google App Engine
This is Rietveld 408576698