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

Side by Side Diff: third_party/WebCore/Modules/websockets/WebSocket.idl

Issue 10837033: Roll IDL to multivm@733 (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « third_party/WebCore/Modules/webaudio/AudioBuffer.idl ('k') | third_party/WebCore/README » ('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 Google Inc. All rights reserved. 2 * Copyright (C) 2009 Google Inc. All rights reserved.
3 * Copyright (C) 2010, 2011 Apple Inc. All Rights Reserved. 3 * Copyright (C) 2010, 2011 Apple 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 are 6 * modification, are permitted provided that the following conditions are
7 * met: 7 * met:
8 * 8 *
9 * * Redistributions of source code must retain the above copyright 9 * * Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 // FIXME: Use overloading provided by our IDL code generator. 66 // FIXME: Use overloading provided by our IDL code generator.
67 // According to Web IDL specification, overloaded function with DOMStrin g argument 67 // According to Web IDL specification, overloaded function with DOMStrin g argument
68 // should accept anything that can be converted to a string (including n umbers, 68 // should accept anything that can be converted to a string (including n umbers,
69 // booleans, null, undefined and objects except ArrayBuffer and Blob). C urrent code 69 // booleans, null, undefined and objects except ArrayBuffer and Blob). C urrent code
70 // generator does not handle this rule correctly. 70 // generator does not handle this rule correctly.
71 // boolean send(in ArrayBuffer data) raises(DOMException); 71 // boolean send(in ArrayBuffer data) raises(DOMException);
72 // boolean send(in Blob data) raises(DOMException); 72 // boolean send(in Blob data) raises(DOMException);
73 // boolean send(in DOMString data) raises(DOMException); 73 // boolean send(in DOMString data) raises(DOMException);
74 [Custom] boolean send(in DOMString data) raises(DOMException); 74 [Custom] boolean send(in DOMString data) raises(DOMException);
75 75
76 // FIXME: Implement and apply [Clamp] attribute instead of [Custom]. 76 void close(in [Clamp, Optional] unsigned short code, in [Optional] DOMSt ring reason) raises(DOMException);
77 [Custom] void close(in [Optional] unsigned short code, in [Optional] DOM String reason) raises(DOMException);
78 77
79 // EventTarget interface 78 // EventTarget interface
80 void addEventListener(in DOMString type, 79 void addEventListener(in DOMString type,
81 in EventListener listener, 80 in EventListener listener,
82 in [Optional] boolean useCapture); 81 in [Optional] boolean useCapture);
83 void removeEventListener(in DOMString type, 82 void removeEventListener(in DOMString type,
84 in EventListener listener, 83 in EventListener listener,
85 in [Optional] boolean useCapture); 84 in [Optional] boolean useCapture);
86 boolean dispatchEvent(in Event evt) 85 boolean dispatchEvent(in Event evt)
87 raises(EventException); 86 raises(EventException);
88 }; 87 };
89 } 88 }
OLDNEW
« no previous file with comments | « third_party/WebCore/Modules/webaudio/AudioBuffer.idl ('k') | third_party/WebCore/README » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698