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

Side by Side Diff: third_party/WebCore/workers/DedicatedWorkerContext.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, 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/testing/Internals.idl ('k') | third_party/WebCore/workers/Worker.idl » ('j') | 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) 2009, 2011 Google Inc. All rights reserved. 2 * Copyright (C) 2009, 2011 Google 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 are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * 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 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 25 matching lines...) Expand all
36 IsWorkerContext, 36 IsWorkerContext,
37 JSGenerateToNativeObject, 37 JSGenerateToNativeObject,
38 JSNoStaticTables, 38 JSNoStaticTables,
39 OmitConstructor 39 OmitConstructor
40 ] DedicatedWorkerContext : WorkerContext { 40 ] DedicatedWorkerContext : WorkerContext {
41 41
42 #if !defined(LANGUAGE_CPP) || !LANGUAGE_CPP 42 #if !defined(LANGUAGE_CPP) || !LANGUAGE_CPP
43 #if defined(LANGUAGE_JAVASCRIPT) && LANGUAGE_JAVASCRIPT 43 #if defined(LANGUAGE_JAVASCRIPT) && LANGUAGE_JAVASCRIPT
44 [Custom] void postMessage(in any message, in [Optional] Array messagePor ts) 44 [Custom] void postMessage(in any message, in [Optional] Array messagePor ts)
45 raises(DOMException); 45 raises(DOMException);
46
47 #if defined(ENABLE_LEGACY_VENDOR_PREFIXES) && ENABLE_LEGACY_VENDOR_PREFIXES
46 [Custom] void webkitPostMessage(in any message, in [Optional] Array tran sferList) 48 [Custom] void webkitPostMessage(in any message, in [Optional] Array tran sferList)
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 DOMString message, in [Optional] MessagePort message Port) 54 void postMessage(in DOMString message, in [Optional] MessagePort message Port)
51 raises(DOMException); 55 raises(DOMException);
52 #endif 56 #endif
53 #endif 57 #endif
54 58
55 attribute EventListener onmessage; 59 attribute EventListener onmessage;
56 60
57 }; 61 };
58 62
59 } 63 }
OLDNEW
« no previous file with comments | « third_party/WebCore/testing/Internals.idl ('k') | third_party/WebCore/workers/Worker.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698