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

Side by Side Diff: Source/core/page/DOMWindow.idl

Issue 14384004: Get rid of [Callback] extended attribute for parameters in IDL files (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fix whitespace issue in generated bindings Created 7 years, 7 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
« no previous file with comments | « Source/core/dom/DataTransferItem.idl ('k') | Source/modules/filesystem/DOMWindowFileSystem.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) 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 154 matching lines...) Expand 10 before | Expand all | Expand 10 after
165 [DoNotCheckSecurity, Custom, RaisesException] void postMessage(SerializedScr iptValue message, DOMString targetOrigin, optional Array messagePorts); 165 [DoNotCheckSecurity, Custom, RaisesException] void postMessage(SerializedScr iptValue message, DOMString targetOrigin, optional Array messagePorts);
166 166
167 [Replaceable] readonly attribute Performance performance; 167 [Replaceable] readonly attribute Performance performance;
168 168
169 // Timers 169 // Timers
170 [Custom] long setTimeout(any handler, [Default=Undefined] optional long time out); 170 [Custom] long setTimeout(any handler, [Default=Undefined] optional long time out);
171 void clearTimeout([Default=Undefined] optional long handle); 171 void clearTimeout([Default=Undefined] optional long handle);
172 [Custom] long setInterval(any handler, [Default=Undefined] optional long tim eout); 172 [Custom] long setInterval(any handler, [Default=Undefined] optional long tim eout);
173 void clearInterval([Default=Undefined] optional long handle); 173 void clearInterval([Default=Undefined] optional long handle);
174 174
175 [MeasureAs=UnprefixedRequestAnimationFrame] long requestAnimationFrame([Call back] RequestAnimationFrameCallback callback); 175 [MeasureAs=UnprefixedRequestAnimationFrame] long requestAnimationFrame(Reque stAnimationFrameCallback callback);
176 void cancelAnimationFrame(long id); 176 void cancelAnimationFrame(long id);
177 [MeasureAs=PrefixedRequestAnimationFrame] long webkitRequestAnimationFrame([ Callback] RequestAnimationFrameCallback callback); 177 [MeasureAs=PrefixedRequestAnimationFrame] long webkitRequestAnimationFrame(R equestAnimationFrameCallback callback);
178 [ImplementedAs=cancelAnimationFrame] void webkitCancelAnimationFrame(long id ); 178 [ImplementedAs=cancelAnimationFrame] void webkitCancelAnimationFrame(long id );
179 [ImplementedAs=cancelAnimationFrame] void webkitCancelRequestAnimationFrame( long id); // This is a deprecated alias for webkitCancelAnimationFrame(). Remove this when removing vendor prefix. 179 [ImplementedAs=cancelAnimationFrame] void webkitCancelRequestAnimationFrame( long id); // This is a deprecated alias for webkitCancelAnimationFrame(). Remove this when removing vendor prefix.
180 180
181 // Base64 181 // Base64
182 [RaisesException] DOMString atob([TreatNullAs=NullString,Default=Undefined] optional DOMString string); 182 [RaisesException] DOMString atob([TreatNullAs=NullString,Default=Undefined] optional DOMString string);
183 [RaisesException] DOMString btoa([TreatNullAs=NullString,Default=Undefined] optional DOMString string); 183 [RaisesException] DOMString btoa([TreatNullAs=NullString,Default=Undefined] optional DOMString string);
184 184
185 [Replaceable] attribute DOMWindowCSS CSS; 185 [Replaceable] attribute DOMWindowCSS CSS;
186 186
187 // Events 187 // Events
(...skipping 560 matching lines...) Expand 10 before | Expand all | Expand 10 after
748 attribute MutationRecordConstructor MutationRecord; 748 attribute MutationRecordConstructor MutationRecord;
749 749
750 [EnabledAtRuntime=mediaSource] attribute MediaSourceConstructor WebKitMediaS ource; 750 [EnabledAtRuntime=mediaSource] attribute MediaSourceConstructor WebKitMediaS ource;
751 [EnabledAtRuntime=mediaSource] attribute SourceBufferConstructor WebKitSourc eBuffer; 751 [EnabledAtRuntime=mediaSource] attribute SourceBufferConstructor WebKitSourc eBuffer;
752 [EnabledAtRuntime=mediaSource] attribute SourceBufferListConstructor WebKitS ourceBufferList; 752 [EnabledAtRuntime=mediaSource] attribute SourceBufferListConstructor WebKitS ourceBufferList;
753 753
754 // window.toString() requires special handling in V8 754 // window.toString() requires special handling in V8
755 [DoNotCheckSignature, DoNotCheckSecurity, Custom, NotEnumerable] DOMString t oString(); 755 [DoNotCheckSignature, DoNotCheckSecurity, Custom, NotEnumerable] DOMString t oString();
756 }; 756 };
757 757
OLDNEW
« no previous file with comments | « Source/core/dom/DataTransferItem.idl ('k') | Source/modules/filesystem/DOMWindowFileSystem.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698