| OLD | NEW |
| 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 30 matching lines...) Expand all Loading... |
| 41 [Replaceable] readonly attribute BarProp personalbar; | 41 [Replaceable] readonly attribute BarProp personalbar; |
| 42 [Replaceable] readonly attribute BarProp scrollbars; | 42 [Replaceable] readonly attribute BarProp scrollbars; |
| 43 [Replaceable] readonly attribute BarProp statusbar; | 43 [Replaceable] readonly attribute BarProp statusbar; |
| 44 [Replaceable] readonly attribute BarProp toolbar; | 44 [Replaceable] readonly attribute BarProp toolbar; |
| 45 [Replaceable, PerWorldBindings, ActivityLog=GetterForIsolatedWorlds] readonl
y attribute Navigator navigator; | 45 [Replaceable, PerWorldBindings, ActivityLog=GetterForIsolatedWorlds] readonl
y attribute Navigator navigator; |
| 46 [Replaceable] readonly attribute Navigator clientInformation; | 46 [Replaceable] readonly attribute Navigator clientInformation; |
| 47 readonly attribute Crypto crypto; | 47 readonly attribute Crypto crypto; |
| 48 [DoNotCheckSecurity, CustomSetter, Unforgeable, Replaceable] readonly attrib
ute Location location; | 48 [DoNotCheckSecurity, CustomSetter, Unforgeable, Replaceable] readonly attrib
ute Location location; |
| 49 [MeasureAs=WindowEvent, NotEnumerable, Replaceable, CustomGetter, CustomSett
er] readonly attribute Event event; | 49 [MeasureAs=WindowEvent, NotEnumerable, Replaceable, CustomGetter, CustomSett
er] readonly attribute Event event; |
| 50 | 50 |
| 51 DOMSelection getSelection(); | 51 Selection getSelection(); |
| 52 | 52 |
| 53 [CheckSecurityForNode] readonly attribute Element frameElement; | 53 [CheckSecurityForNode] readonly attribute Element frameElement; |
| 54 | 54 |
| 55 [DoNotCheckSecurity, CallWith=ScriptExecutionContext] void focus(); | 55 [DoNotCheckSecurity, CallWith=ScriptExecutionContext] void focus(); |
| 56 [DoNotCheckSecurity] void blur(); | 56 [DoNotCheckSecurity] void blur(); |
| 57 [DoNotCheckSecurity, CallWith=ScriptExecutionContext] void close(); | 57 [DoNotCheckSecurity, CallWith=ScriptExecutionContext] void close(); |
| 58 | 58 |
| 59 void print(); | 59 void print(); |
| 60 void stop(); | 60 void stop(); |
| 61 | 61 |
| (...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 175 [MeasureAs=UnprefixedRequestAnimationFrame] long requestAnimationFrame(Reque
stAnimationFrameCallback callback); | 175 [MeasureAs=UnprefixedRequestAnimationFrame] long requestAnimationFrame(Reque
stAnimationFrameCallback callback); |
| 176 void cancelAnimationFrame(long id); | 176 void cancelAnimationFrame(long id); |
| 177 [MeasureAs=PrefixedRequestAnimationFrame] long webkitRequestAnimationFrame(R
equestAnimationFrameCallback 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] readonly attribute DOMWindowCSS CSS; | 185 [Replaceable] readonly attribute CSS CSS; |
| 186 | 186 |
| 187 // Events | 187 // Events |
| 188 attribute EventListener onabort; | 188 attribute EventListener onabort; |
| 189 attribute EventListener onbeforeunload; | 189 attribute EventListener onbeforeunload; |
| 190 attribute EventListener onblur; | 190 attribute EventListener onblur; |
| 191 attribute EventListener oncanplay; | 191 attribute EventListener oncanplay; |
| 192 attribute EventListener oncanplaythrough; | 192 attribute EventListener oncanplaythrough; |
| 193 attribute EventListener onchange; | 193 attribute EventListener onchange; |
| 194 attribute EventListener onclick; | 194 attribute EventListener onclick; |
| 195 attribute EventListener oncontextmenu; | 195 attribute EventListener oncontextmenu; |
| (...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 282 EventListener listener, | 282 EventListener listener, |
| 283 optional boolean useCapture); | 283 optional boolean useCapture); |
| 284 [RaisesException] boolean dispatchEvent(Event evt); | 284 [RaisesException] boolean dispatchEvent(Event evt); |
| 285 | 285 |
| 286 // Additional constructors. | 286 // Additional constructors. |
| 287 attribute TransitionEventConstructor WebKitTransitionEvent; | 287 attribute TransitionEventConstructor WebKitTransitionEvent; |
| 288 [CustomConstructor] attribute HTMLImageElementConstructorConstructor Image;
// Usable with new operator | 288 [CustomConstructor] attribute HTMLImageElementConstructorConstructor Image;
// Usable with new operator |
| 289 // Mozilla has a separate XMLDocument object for XML documents. | 289 // Mozilla has a separate XMLDocument object for XML documents. |
| 290 // We just use Document for this. | 290 // We just use Document for this. |
| 291 attribute DocumentConstructor XMLDocument; | 291 attribute DocumentConstructor XMLDocument; |
| 292 attribute DOMURLConstructor webkitURL; // FIXME: deprecate this. | 292 attribute URLConstructor webkitURL; // FIXME: deprecate this. |
| 293 attribute MutationObserverConstructor WebKitMutationObserver; // FIXME: Add
metrics to determine when we can remove this. | 293 attribute MutationObserverConstructor WebKitMutationObserver; // FIXME: Add
metrics to determine when we can remove this. |
| 294 attribute IDBCursorConstructor webkitIDBCursor; | 294 attribute IDBCursorConstructor webkitIDBCursor; |
| 295 attribute IDBDatabaseConstructor webkitIDBDatabase; | 295 attribute IDBDatabaseConstructor webkitIDBDatabase; |
| 296 attribute IDBFactoryConstructor webkitIDBFactory; | 296 attribute IDBFactoryConstructor webkitIDBFactory; |
| 297 attribute IDBIndexConstructor webkitIDBIndex; | 297 attribute IDBIndexConstructor webkitIDBIndex; |
| 298 attribute IDBKeyRangeConstructor webkitIDBKeyRange; | 298 attribute IDBKeyRangeConstructor webkitIDBKeyRange; |
| 299 attribute IDBObjectStoreConstructor webkitIDBObjectStore; | 299 attribute IDBObjectStoreConstructor webkitIDBObjectStore; |
| 300 attribute IDBRequestConstructor webkitIDBRequest; | 300 attribute IDBRequestConstructor webkitIDBRequest; |
| 301 attribute IDBTransactionConstructor webkitIDBTransaction; | 301 attribute IDBTransactionConstructor webkitIDBTransaction; |
| 302 | 302 |
| (...skipping 30 matching lines...) Expand all Loading... |
| 333 | 333 |
| 334 // Constructors whose name does not match the interface name. | 334 // Constructors whose name does not match the interface name. |
| 335 // FIXME: Remove these once [ImplementedAs] is used and once constructor nam
es match interface names. | 335 // FIXME: Remove these once [ImplementedAs] is used and once constructor nam
es match interface names. |
| 336 attribute ShadowRootConstructor WebKitShadowRoot; | 336 attribute ShadowRootConstructor WebKitShadowRoot; |
| 337 [Conditional=WEB_AUDIO] attribute PannerNodeConstructor webkitAudioPannerNod
e; | 337 [Conditional=WEB_AUDIO] attribute PannerNodeConstructor webkitAudioPannerNod
e; |
| 338 | 338 |
| 339 // window.toString() requires special handling in V8 | 339 // window.toString() requires special handling in V8 |
| 340 [DoNotCheckSignature, DoNotCheckSecurity, Custom, NotEnumerable] DOMString t
oString(); | 340 [DoNotCheckSignature, DoNotCheckSecurity, Custom, NotEnumerable] DOMString t
oString(); |
| 341 }; | 341 }; |
| 342 | 342 |
| OLD | NEW |