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

Side by Side Diff: third_party/WebCore/page/DOMWindow.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
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
189 [DoNotCheckSecurity, Custom] void webkitPostMessage(in SerializedScriptV alue message, in DOMString targetOrigin) 190 [DoNotCheckSecurity, Custom] void webkitPostMessage(in SerializedScriptV alue message, in DOMString targetOrigin)
190 raises(DOMException); 191 raises(DOMException);
191 [DoNotCheckSecurity, Custom] void webkitPostMessage(in SerializedScriptV alue message, in DOMString targetOrigin, in Array transferList) 192 [DoNotCheckSecurity, Custom] void webkitPostMessage(in SerializedScriptV alue message, in DOMString targetOrigin, in Array transferList)
192 raises(DOMException); 193 raises(DOMException);
194 #endif // defined(ENABLE_LEGACY_VENDOR_PREFIXES) && ENABLE_LEGACY_VENDOR_PREFIXE S
195
193 #else 196 #else
194 // There's no good way to expose an array via the ObjC bindings, so for now just allow passing in a single port. 197 // There's no good way to expose an array via the ObjC bindings, so for now just allow passing in a single port.
195 [DoNotCheckSecurity, Custom] void postMessage(in SerializedScriptValue m essage, in [Optional] MessagePort messagePort, in DOMString targetOrigin) 198 [DoNotCheckSecurity, Custom] void postMessage(in SerializedScriptValue m essage, in [Optional] MessagePort messagePort, in DOMString targetOrigin)
196 raises(DOMException); 199 raises(DOMException);
197 #endif 200 #endif
198 201
199 #if defined(ENABLE_WEB_TIMING) && ENABLE_WEB_TIMING 202 #if defined(ENABLE_WEB_TIMING) && ENABLE_WEB_TIMING
200 attribute [Replaceable] Performance performance; 203 attribute [Replaceable] Performance performance;
201 #endif 204 #endif
202 205
203 // Timers 206 // Timers
204 [Custom] long setTimeout(in [Optional=DefaultIsUndefined] TimeoutHandler handler, 207 [Custom] long setTimeout(in [Optional=DefaultIsUndefined] TimeoutHandler handler,
205 in [Optional=DefaultIsUndefined] long timeout); 208 in [Optional=DefaultIsUndefined] long timeout);
206 // [Custom] long setTimeout(in TimeoutHandler handler, in long timeout, arguments...); 209 // [Custom] long setTimeout(in TimeoutHandler handler, in long timeout, arguments...);
207 // [Custom] long setTimeout(in DOMString code, in long timeout); 210 // [Custom] long setTimeout(in DOMString code, in long timeout);
208 void clearTimeout(in [Optional=DefaultIsUndefined] long handle); 211 void clearTimeout(in [Optional=DefaultIsUndefined] long handle);
209 [Custom] long setInterval(in TimeoutHandler handler, in long timeout); 212 [Custom] long setInterval(in TimeoutHandler handler, in long timeout);
210 // [Custom] long setInterval(in TimeoutHandler handler, in long timeout, arguments...); 213 // [Custom] long setInterval(in TimeoutHandler handler, in long timeout, arguments...);
211 // [Custom] long setInterval(in DOMString code, in long timeout); 214 // [Custom] long setInterval(in DOMString code, in long timeout);
212 void clearInterval(in [Optional=DefaultIsUndefined] long handle); 215 void clearInterval(in [Optional=DefaultIsUndefined] long handle);
213 216
214 #if defined(ENABLE_REQUEST_ANIMATION_FRAME) 217 #if defined(ENABLE_REQUEST_ANIMATION_FRAME) && ENABLE_REQUEST_ANIMATION_FRAME
215 // WebKit animation extensions, being standardized in the WebPerf WG 218 // WebKit animation extensions, being standardized in the WebPerf WG
216 long webkitRequestAnimationFrame(in [Callback] RequestAnimationFrameCall back callback); 219 long webkitRequestAnimationFrame(in [Callback] RequestAnimationFrameCall back callback);
217 void webkitCancelAnimationFrame(in long id); 220 void webkitCancelAnimationFrame(in long id);
218 void webkitCancelRequestAnimationFrame(in long id); // This is a depreca ted alias for webkitCancelAnimationFrame(). Remove this when removing vendor pre fix. 221 void webkitCancelRequestAnimationFrame(in long id); // This is a depreca ted alias for webkitCancelAnimationFrame(). Remove this when removing vendor pre fix.
219 #endif 222 #endif
220 223
221 // Base64 224 // Base64
222 DOMString atob(in [TreatNullAs=NullString,Optional=DefaultIsUndefined] D OMString string) 225 DOMString atob(in [TreatNullAs=NullString,Optional=DefaultIsUndefined] D OMString string)
223 raises(DOMException); 226 raises(DOMException);
224 DOMString btoa(in [TreatNullAs=NullString,Optional=DefaultIsUndefined] D OMString string) 227 DOMString btoa(in [TreatNullAs=NullString,Optional=DefaultIsUndefined] D OMString string)
(...skipping 568 matching lines...) Expand 10 before | Expand all | Expand 10 after
793 #endif // defined(LANGUAGE_JAVASCRIPT) 796 #endif // defined(LANGUAGE_JAVASCRIPT)
794 797
795 #if defined(V8_BINDING) && V8_BINDING 798 #if defined(V8_BINDING) && V8_BINDING
796 // window.toString() requires special handling in V8 799 // window.toString() requires special handling in V8
797 [V8DoNotCheckSignature, DoNotCheckSecurity, Custom, NotEnumerable] DOMSt ring toString(); 800 [V8DoNotCheckSignature, DoNotCheckSecurity, Custom, NotEnumerable] DOMSt ring toString();
798 #endif // defined(V8_BINDING) 801 #endif // defined(V8_BINDING)
799 }; 802 };
800 803
801 } 804 }
802 805
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