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

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

Issue 491053004: Expose Web Animations API to Web Workers (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Exposing the Web Animations API to Web Workers 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/AnimatableElement.idl
diff --git a/Source/bindings/tests/idls/TestInterfaceWillBeGarbageCollected.idl b/Source/core/wawwa/AnimatableElement.idl
similarity index 83%
copy from Source/bindings/tests/idls/TestInterfaceWillBeGarbageCollected.idl
copy to Source/core/wawwa/AnimatableElement.idl
index be955b036e9a15db6af2329cc3ba4a15dc9f73ed..7f59a1e9858876c58d2867fbb00b679ba6bf4c3c 100644
--- a/Source/bindings/tests/idls/TestInterfaceWillBeGarbageCollected.idl
+++ b/Source/core/wawwa/AnimatableElement.idl
@@ -28,11 +28,13 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+
[
- Constructor(DOMString str),
- NamedConstructor=TestInterface(DOMString str),
+ Exposed=AnimatableElement,
dstockwell 2014/08/29 01:05:44 What does this do?
nainar1 2014/08/29 06:01:39 Exposes this class on the WorkerGlobalScope under
+ Exposed=Worker,
WillBeGarbageCollected,
-] interface TestInterfaceWillBeGarbageCollected : EventTarget { // Inherit from EventTarget to test order of internal fields
- attribute TestInterfaceWillBeGarbageCollected attr1;
- void func(TestInterfaceWillBeGarbageCollected arg);
+ Constructor(DOMString inputID)
+] interface AnimatableElement {
+ AnimatableElement clone();
+ [RaisesException] RemotePlayer animate(sequence<Dictionary> keyframeDictionaryVector, Dictionary timingInputDictionary, DedicatedWorkerGlobalScope workerGlobalScope);
};

Powered by Google App Engine
This is Rietveld 408576698