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

Unified Diff: third_party/WebCore/workers/Worker.idl

Issue 10983049: Roll IDL to multivm@910 (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/WebCore/workers/DedicatedWorkerContext.idl ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebCore/workers/Worker.idl
diff --git a/third_party/WebCore/workers/Worker.idl b/third_party/WebCore/workers/Worker.idl
index 083353c046128378b3a90baa4a29efa733a0d65d..3665af6b082a8ee1e543df3753bee7248d514080 100644
--- a/third_party/WebCore/workers/Worker.idl
+++ b/third_party/WebCore/workers/Worker.idl
@@ -43,8 +43,12 @@ module threads {
#if defined(LANGUAGE_JAVASCRIPT) && LANGUAGE_JAVASCRIPT
[Custom] void postMessage(in SerializedScriptValue message, in [Optional] Array messagePorts)
raises(DOMException);
+
+#if defined(ENABLE_LEGACY_VENDOR_PREFIXES) && ENABLE_LEGACY_VENDOR_PREFIXES
[Custom] void webkitPostMessage(in SerializedScriptValue message, in [Optional] Array messagePorts)
raises(DOMException);
+#endif // defined(ENABLE_LEGACY_VENDOR_PREFIXES) && ENABLE_LEGACY_VENDOR_PREFIXES
+
#else
// There's no good way to expose an array via the ObjC bindings, so for now just allow passing in a single port.
void postMessage(in SerializedScriptValue message, in [Optional] MessagePort messagePort)
« 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