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

Side by Side Diff: Source/core/workers/WorkerGlobalScope.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, 3 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 unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2008 Apple Inc. All Rights Reserved. 2 * Copyright (C) 2008 Apple Inc. All Rights Reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 19 matching lines...) Expand all
30 WillBeGarbageCollected 30 WillBeGarbageCollected
31 ] interface WorkerGlobalScope : EventTarget { 31 ] interface WorkerGlobalScope : EventTarget {
32 32
33 // WorkerGlobalScope 33 // WorkerGlobalScope
34 [Replaceable] readonly attribute WorkerGlobalScope self; 34 [Replaceable] readonly attribute WorkerGlobalScope self;
35 [Replaceable] readonly attribute WorkerLocation location; 35 [Replaceable] readonly attribute WorkerLocation location;
36 void close(); 36 void close();
37 attribute EventHandler onerror; 37 attribute EventHandler onerror;
38 [Replaceable] readonly attribute WorkerConsole console; 38 [Replaceable] readonly attribute WorkerConsole console;
39 39
40 40 void requestAnimationFrame(RequestAnimationFrameCallback insert);
41 // WorkerUtils 41 // WorkerUtils
42 [RaisesException] void importScripts(DOMString... urls); 42 [RaisesException] void importScripts(DOMString... urls);
43 [Replaceable] readonly attribute WorkerNavigator navigator; 43 [Replaceable] readonly attribute WorkerNavigator navigator;
44 44
45 // Additional constructors 45 // Additional constructors
46 [MeasureAs=PrefixedWorkerURL] attribute URLConstructor webkitURL; // FIXME: deprecate this. 46 [MeasureAs=PrefixedWorkerURL] attribute URLConstructor webkitURL; // FIXME: deprecate this.
47 }; 47 };
48 48
49 WorkerGlobalScope implements WindowBase64; 49 WorkerGlobalScope implements WindowBase64;
50 WorkerGlobalScope implements WindowTimers; 50 WorkerGlobalScope implements WindowTimers;
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698