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

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

Issue 11098032: Roll IDL to multivm@937 (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
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 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 53
54 // networking 54 // networking
55 attribute EventListener onopen; 55 attribute EventListener onopen;
56 attribute EventListener onmessage; 56 attribute EventListener onmessage;
57 attribute EventListener onerror; 57 attribute EventListener onerror;
58 attribute EventListener onclose; 58 attribute EventListener onclose;
59 59
60 readonly attribute [TreatReturnedNullStringAs=Undefined] DOMString proto col; 60 readonly attribute [TreatReturnedNullStringAs=Undefined] DOMString proto col;
61 readonly attribute [TreatReturnedNullStringAs=Undefined] DOMString exten sions; 61 readonly attribute [TreatReturnedNullStringAs=Undefined] DOMString exten sions;
62 62
63 attribute [TreatReturnedNullStringAs=Undefined] DOMString binaryType 63 attribute DOMString binaryType;
64 setter raises(DOMException);
65 64
66 // FIXME: Use overloading provided by our IDL code generator. 65 // FIXME: Use overloading provided by our IDL code generator.
67 // According to Web IDL specification, overloaded function with DOMStrin g argument 66 // 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, 67 // 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 68 // booleans, null, undefined and objects except ArrayBuffer and Blob). C urrent code
70 // generator does not handle this rule correctly. 69 // generator does not handle this rule correctly.
71 // boolean send(in ArrayBuffer data) raises(DOMException); 70 // boolean send(in ArrayBuffer data) raises(DOMException);
72 // boolean send(in ArrayBufferView data) raises(DOMException); 71 // boolean send(in ArrayBufferView data) raises(DOMException);
73 // boolean send(in Blob data) raises(DOMException); 72 // boolean send(in Blob data) raises(DOMException);
74 // boolean send(in DOMString data) raises(DOMException); 73 // boolean send(in DOMString data) raises(DOMException);
75 [Custom] boolean send(in DOMString data) raises(DOMException); 74 [Custom] boolean send(in DOMString data) raises(DOMException);
76 75
77 void close(in [Clamp, Optional] unsigned short code, in [Optional] DOMSt ring reason) raises(DOMException); 76 void close(in [Clamp, Optional] unsigned short code, in [Optional] DOMSt ring 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/AudioBufferSourceNode.idl ('k') | third_party/WebCore/README » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698