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

Side by Side Diff: third_party/WebCore/dom/MessagePort.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/dom/Element.idl ('k') | third_party/WebCore/fileapi/Blob.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) 2008 Apple Inc. All Rights Reserved. 2 * Copyright (C) 2008 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 21 matching lines...) Expand all
32 JSGenerateIsReachable=Impl, 32 JSGenerateIsReachable=Impl,
33 ActiveDOMObject, 33 ActiveDOMObject,
34 EventTarget, 34 EventTarget,
35 JSNoStaticTables 35 JSNoStaticTables
36 ] MessagePort { 36 ] MessagePort {
37 // We need to have something as an ObjC binding, because MessagePort is used in MessageEvent, which already has one, 37 // We need to have something as an ObjC binding, because MessagePort is used in MessageEvent, which already has one,
38 // but we don't want to actually expose the API while it is in flux. 38 // but we don't want to actually expose the API while it is in flux.
39 #if defined(LANGUAGE_JAVASCRIPT) && LANGUAGE_JAVASCRIPT 39 #if defined(LANGUAGE_JAVASCRIPT) && LANGUAGE_JAVASCRIPT
40 [Custom] void postMessage(in any message, in [Optional] Array messagePor ts) 40 [Custom] void postMessage(in any message, in [Optional] Array messagePor ts)
41 raises(DOMException); 41 raises(DOMException);
42
43 #if defined(ENABLE_LEGACY_VENDOR_PREFIXES) && ENABLE_LEGACY_VENDOR_PREFIXES
42 [Custom] void webkitPostMessage(in any message, in [Optional] Array tran sfer) 44 [Custom] void webkitPostMessage(in any message, in [Optional] Array tran sfer)
43 raises(DOMException); 45 raises(DOMException);
46 #endif // defined(ENABLE_LEGACY_VENDOR_PREFIXES) && ENABLE_LEGACY_VENDOR_PREFIXE S
47
44 void start(); 48 void start();
45 void close(); 49 void close();
46 50
47 // event handler attributes 51 // event handler attributes
48 attribute EventListener onmessage; 52 attribute EventListener onmessage;
49 53
50 // EventTarget interface 54 // EventTarget interface
51 void addEventListener(in DOMString type, 55 void addEventListener(in DOMString type,
52 in EventListener listener, 56 in EventListener listener,
53 in [Optional] boolean useCapture); 57 in [Optional] boolean useCapture);
54 void removeEventListener(in DOMString type, 58 void removeEventListener(in DOMString type,
55 in EventListener listener, 59 in EventListener listener,
56 in [Optional] boolean useCapture); 60 in [Optional] boolean useCapture);
57 boolean dispatchEvent(in Event evt) 61 boolean dispatchEvent(in Event evt)
58 raises(EventException); 62 raises(EventException);
59 #endif 63 #endif
60 }; 64 };
61 65
62 } 66 }
OLDNEW
« no previous file with comments | « third_party/WebCore/dom/Element.idl ('k') | third_party/WebCore/fileapi/Blob.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698