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

Side by Side Diff: third_party/WebCore/workers/Worker.idl

Issue 10993053: Roll IDL to multivm@910, Take #2 (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Fix for indexeddb Created 8 years, 2 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 | Annotate | Revision Log
« no previous file with comments | « third_party/WebCore/workers/DedicatedWorkerContext.idl ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2008, 2010 Apple Inc. All Rights Reserved. 2 * Copyright (C) 2008, 2010 Apple Inc. All Rights Reserved.
3 * Copyright (C) 2011 Google Inc. All Rights Reserved. 3 * Copyright (C) 2011 Google Inc. All Rights Reserved.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions 6 * modification, are permitted provided that the following conditions
7 * are met: 7 * are met:
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 25 matching lines...) Expand all
36 ConstructorRaisesException, 36 ConstructorRaisesException,
37 JSGenerateToNativeObject, 37 JSGenerateToNativeObject,
38 JSGenerateToJSObject 38 JSGenerateToJSObject
39 ] Worker : AbstractWorker { 39 ] Worker : AbstractWorker {
40 40
41 attribute EventListener onmessage; 41 attribute EventListener onmessage;
42 42
43 #if defined(LANGUAGE_JAVASCRIPT) && LANGUAGE_JAVASCRIPT 43 #if defined(LANGUAGE_JAVASCRIPT) && LANGUAGE_JAVASCRIPT
44 [Custom] void postMessage(in SerializedScriptValue message, in [Optional ] Array messagePorts) 44 [Custom] void postMessage(in SerializedScriptValue message, in [Optional ] Array messagePorts)
45 raises(DOMException); 45 raises(DOMException);
46
47 #if defined(ENABLE_LEGACY_VENDOR_PREFIXES) && ENABLE_LEGACY_VENDOR_PREFIXES
46 [Custom] void webkitPostMessage(in SerializedScriptValue message, in [Op tional] Array messagePorts) 48 [Custom] void webkitPostMessage(in SerializedScriptValue message, in [Op tional] Array messagePorts)
47 raises(DOMException); 49 raises(DOMException);
50 #endif // defined(ENABLE_LEGACY_VENDOR_PREFIXES) && ENABLE_LEGACY_VENDOR_PREFIXE S
51
48 #else 52 #else
49 // There's no good way to expose an array via the ObjC bindings, so for now just allow passing in a single port. 53 // There's no good way to expose an array via the ObjC bindings, so for now just allow passing in a single port.
50 void postMessage(in SerializedScriptValue message, in [Optional] Message Port messagePort) 54 void postMessage(in SerializedScriptValue message, in [Optional] Message Port messagePort)
51 raises(DOMException); 55 raises(DOMException);
52 #endif 56 #endif
53 57
54 void terminate(); 58 void terminate();
55 }; 59 };
56 60
57 } 61 }
OLDNEW
« no previous file with comments | « third_party/WebCore/workers/DedicatedWorkerContext.idl ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698