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

Unified Diff: core/workers/WorkerGlobalScope.idl

Issue 22498002: Roll IDL to multivm@1329 (Closed) Base URL: https://dart.googlecode.com/svn/third_party/WebCore
Patch Set: Created 7 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
« no previous file with comments | « core/workers/WorkerContext.idl ('k') | core/workers/WorkerLocation.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: core/workers/WorkerGlobalScope.idl
diff --git a/core/workers/WorkerContext.idl b/core/workers/WorkerGlobalScope.idl
similarity index 67%
rename from core/workers/WorkerContext.idl
rename to core/workers/WorkerGlobalScope.idl
index 9c4ff2b27ffba21368093bfe629b76dd082dd3ea..e395d34d5074b104fee337f050f4c0fd818d976e 100644
--- a/core/workers/WorkerContext.idl
+++ b/core/workers/WorkerGlobalScope.idl
@@ -20,39 +20,29 @@
* PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
* OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
*/
[
- NoInterfaceObject,
- EventTarget,
+ GlobalContext=WorkerGlobalScope,
CustomToV8,
DoNotGenerateWrap
-] interface WorkerContext {
+] interface WorkerGlobalScope : EventTarget {
// WorkerGlobalScope
- [Replaceable] readonly attribute WorkerContext self;
- [Replaceable] readonly attribute WorkerLocation location;
+ [Replaceable] readonly attribute WorkerGlobalScope self;
+ [Replaceable] readonly attribute WorkerLocation location;
void close();
- attribute EventListener onerror;
+ attribute EventListener onerror;
// WorkerUtils
[Custom] void importScripts(/*[Variadic] in DOMString urls */);
- [Replaceable] readonly attribute WorkerNavigator navigator;
-
- // EventTarget interface
- void addEventListener(DOMString type,
- EventListener listener,
- optional boolean useCapture);
- void removeEventListener(DOMString type,
- EventListener listener,
- optional boolean useCapture);
- [RaisesException] boolean dispatchEvent(Event evt);
+ [Replaceable] readonly attribute WorkerNavigator navigator;
// Additional constructors
attribute URLConstructor webkitURL; // FIXME: deprecate this.
};
-WorkerContext implements WindowTimers;
-
+WorkerGlobalScope implements WindowBase64;
+WorkerGlobalScope implements WindowTimers;
« no previous file with comments | « core/workers/WorkerContext.idl ('k') | core/workers/WorkerLocation.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698