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

Side by Side Diff: third_party/WebCore/page/DOMWindow.idl

Issue 11000007: Revert "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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2006, 2007, 2008, 2009 Apple Inc. All rights reserved. 2 * Copyright (C) 2006, 2007, 2008, 2009 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 168 matching lines...) Expand 10 before | Expand all | Expand 10 after
179 179
180 attribute [Replaceable] Console console; 180 attribute [Replaceable] Console console;
181 181
182 // cross-document messaging 182 // cross-document messaging
183 #if defined(LANGUAGE_JAVASCRIPT) && LANGUAGE_JAVASCRIPT 183 #if defined(LANGUAGE_JAVASCRIPT) && LANGUAGE_JAVASCRIPT
184 [DoNotCheckSecurity, Custom] void postMessage(in SerializedScriptValue m essage, in DOMString targetOrigin) 184 [DoNotCheckSecurity, Custom] void postMessage(in SerializedScriptValue m essage, in DOMString targetOrigin)
185 raises(DOMException); 185 raises(DOMException);
186 [DoNotCheckSecurity, Custom] void postMessage(in SerializedScriptValue m essage, in DOMString targetOrigin, in Array messagePorts) 186 [DoNotCheckSecurity, Custom] void postMessage(in SerializedScriptValue m essage, in DOMString targetOrigin, in Array messagePorts)
187 raises(DOMException); 187 raises(DOMException);
188 188
189 #if defined(ENABLE_LEGACY_VENDOR_PREFIXES) && ENABLE_LEGACY_VENDOR_PREFIXES
190 [DoNotCheckSecurity, Custom] void webkitPostMessage(in SerializedScriptV alue message, in DOMString targetOrigin) 189 [DoNotCheckSecurity, Custom] void webkitPostMessage(in SerializedScriptV alue message, in DOMString targetOrigin)
191 raises(DOMException); 190 raises(DOMException);
192 [DoNotCheckSecurity, Custom] void webkitPostMessage(in SerializedScriptV alue message, in DOMString targetOrigin, in Array transferList) 191 [DoNotCheckSecurity, Custom] void webkitPostMessage(in SerializedScriptV alue message, in DOMString targetOrigin, in Array transferList)
193 raises(DOMException); 192 raises(DOMException);
194 #endif // defined(ENABLE_LEGACY_VENDOR_PREFIXES) && ENABLE_LEGACY_VENDOR_PREFIXE S
195
196 #else 193 #else
197 // There's no good way to expose an array via the ObjC bindings, so for now just allow passing in a single port. 194 // There's no good way to expose an array via the ObjC bindings, so for now just allow passing in a single port.
198 [DoNotCheckSecurity, Custom] void postMessage(in SerializedScriptValue m essage, in [Optional] MessagePort messagePort, in DOMString targetOrigin) 195 [DoNotCheckSecurity, Custom] void postMessage(in SerializedScriptValue m essage, in [Optional] MessagePort messagePort, in DOMString targetOrigin)
199 raises(DOMException); 196 raises(DOMException);
200 #endif 197 #endif
201 198
202 #if defined(ENABLE_WEB_TIMING) && ENABLE_WEB_TIMING 199 #if defined(ENABLE_WEB_TIMING) && ENABLE_WEB_TIMING
203 attribute [Replaceable] Performance performance; 200 attribute [Replaceable] Performance performance;
204 #endif 201 #endif
205 202
206 // Timers 203 // Timers
207 [Custom] long setTimeout(in [Optional=DefaultIsUndefined] TimeoutHandler handler, 204 [Custom] long setTimeout(in [Optional=DefaultIsUndefined] TimeoutHandler handler,
208 in [Optional=DefaultIsUndefined] long timeout); 205 in [Optional=DefaultIsUndefined] long timeout);
209 // [Custom] long setTimeout(in TimeoutHandler handler, in long timeout, arguments...); 206 // [Custom] long setTimeout(in TimeoutHandler handler, in long timeout, arguments...);
210 // [Custom] long setTimeout(in DOMString code, in long timeout); 207 // [Custom] long setTimeout(in DOMString code, in long timeout);
211 void clearTimeout(in [Optional=DefaultIsUndefined] long handle); 208 void clearTimeout(in [Optional=DefaultIsUndefined] long handle);
212 [Custom] long setInterval(in TimeoutHandler handler, in long timeout); 209 [Custom] long setInterval(in TimeoutHandler handler, in long timeout);
213 // [Custom] long setInterval(in TimeoutHandler handler, in long timeout, arguments...); 210 // [Custom] long setInterval(in TimeoutHandler handler, in long timeout, arguments...);
214 // [Custom] long setInterval(in DOMString code, in long timeout); 211 // [Custom] long setInterval(in DOMString code, in long timeout);
215 void clearInterval(in [Optional=DefaultIsUndefined] long handle); 212 void clearInterval(in [Optional=DefaultIsUndefined] long handle);
216 213
217 #if defined(ENABLE_REQUEST_ANIMATION_FRAME) && ENABLE_REQUEST_ANIMATION_FRAME 214 #if defined(ENABLE_REQUEST_ANIMATION_FRAME)
218 // WebKit animation extensions, being standardized in the WebPerf WG 215 // WebKit animation extensions, being standardized in the WebPerf WG
219 long webkitRequestAnimationFrame(in [Callback] RequestAnimationFrameCall back callback); 216 long webkitRequestAnimationFrame(in [Callback] RequestAnimationFrameCall back callback);
220 void webkitCancelAnimationFrame(in long id); 217 void webkitCancelAnimationFrame(in long id);
221 void webkitCancelRequestAnimationFrame(in long id); // This is a depreca ted alias for webkitCancelAnimationFrame(). Remove this when removing vendor pre fix. 218 void webkitCancelRequestAnimationFrame(in long id); // This is a depreca ted alias for webkitCancelAnimationFrame(). Remove this when removing vendor pre fix.
222 #endif 219 #endif
223 220
224 // Base64 221 // Base64
225 DOMString atob(in [TreatNullAs=NullString,Optional=DefaultIsUndefined] D OMString string) 222 DOMString atob(in [TreatNullAs=NullString,Optional=DefaultIsUndefined] D OMString string)
226 raises(DOMException); 223 raises(DOMException);
227 DOMString btoa(in [TreatNullAs=NullString,Optional=DefaultIsUndefined] D OMString string) 224 DOMString btoa(in [TreatNullAs=NullString,Optional=DefaultIsUndefined] D OMString string)
(...skipping 568 matching lines...) Expand 10 before | Expand all | Expand 10 after
796 #endif // defined(LANGUAGE_JAVASCRIPT) 793 #endif // defined(LANGUAGE_JAVASCRIPT)
797 794
798 #if defined(V8_BINDING) && V8_BINDING 795 #if defined(V8_BINDING) && V8_BINDING
799 // window.toString() requires special handling in V8 796 // window.toString() requires special handling in V8
800 [V8DoNotCheckSignature, DoNotCheckSecurity, Custom, NotEnumerable] DOMSt ring toString(); 797 [V8DoNotCheckSignature, DoNotCheckSecurity, Custom, NotEnumerable] DOMSt ring toString();
801 #endif // defined(V8_BINDING) 798 #endif // defined(V8_BINDING)
802 }; 799 };
803 800
804 } 801 }
805 802
OLDNEW
« no previous file with comments | « third_party/WebCore/html/canvas/CanvasRenderingContext2D.idl ('k') | third_party/WebCore/page/Location.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698