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 125 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
136 CSSRuleList getMatchedCSSRules([Default=Undefined] optional Element element, | 136 CSSRuleList getMatchedCSSRules([Default=Undefined] optional Element element, |
137 [TreatNullAs=NullString, TreatUndefinedAs=Nul
lString,Default=Undefined] optional DOMString pseudoElement); | 137 [TreatNullAs=NullString, TreatUndefinedAs=Nul
lString,Default=Undefined] optional DOMString pseudoElement); |
138 | 138 |
139 [Replaceable] readonly attribute double devicePixelRatio; | 139 [Replaceable] readonly attribute double devicePixelRatio; |
140 | 140 |
141 WebKitPoint webkitConvertPointFromPageToNode([Default=Undefined] optional No
de node, | 141 WebKitPoint webkitConvertPointFromPageToNode([Default=Undefined] optional No
de node, |
142 [Default=Undefined] optional We
bKitPoint p); | 142 [Default=Undefined] optional We
bKitPoint p); |
143 WebKitPoint webkitConvertPointFromNodeToPage([Default=Undefined] optional No
de node, | 143 WebKitPoint webkitConvertPointFromNodeToPage([Default=Undefined] optional No
de node, |
144 [Default=Undefined] optional We
bKitPoint p); | 144 [Default=Undefined] optional We
bKitPoint p); |
145 | 145 |
146 [EnabledAtRuntime, PerWorldBindings, ActivityLog=GetterForIsolatedWorlds] re
adonly attribute DOMApplicationCache applicationCache; | 146 [EnabledAtRuntime, PerWorldBindings, ActivityLog=GetterForIsolatedWorlds] re
adonly attribute ApplicationCache applicationCache; |
147 | 147 |
148 [EnabledAtRuntime, PerWorldBindings, ActivityLog=GetterForIsolatedWorlds, Ge
tterRaisesException] readonly attribute Storage sessionStorage; | 148 [EnabledAtRuntime, PerWorldBindings, ActivityLog=GetterForIsolatedWorlds, Ge
tterRaisesException] readonly attribute Storage sessionStorage; |
149 [EnabledAtRuntime, PerWorldBindings, ActivityLog=GetterForIsolatedWorlds, Ge
tterRaisesException] readonly attribute Storage localStorage; | 149 [EnabledAtRuntime, PerWorldBindings, ActivityLog=GetterForIsolatedWorlds, Ge
tterRaisesException] readonly attribute Storage localStorage; |
150 | 150 |
151 // This is the interface orientation in degrees. Some examples are: | 151 // This is the interface orientation in degrees. Some examples are: |
152 // 0 is straight up; -90 is when the device is rotated 90 clockwise; | 152 // 0 is straight up; -90 is when the device is rotated 90 clockwise; |
153 // 90 is when rotated counter clockwise. | 153 // 90 is when rotated counter clockwise. |
154 [Conditional=ORIENTATION_EVENTS] readonly attribute long orientation; | 154 [Conditional=ORIENTATION_EVENTS] readonly attribute long orientation; |
155 | 155 |
156 [Replaceable] readonly attribute Console console; | 156 [Replaceable] readonly attribute Console console; |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
201 attribute EventHandler onloadedmetadata; | 201 attribute EventHandler onloadedmetadata; |
202 attribute EventHandler onloadstart; | 202 attribute EventHandler onloadstart; |
203 attribute EventHandler onmessage; | 203 attribute EventHandler onmessage; |
204 [PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attribute EventHandl
er onmousedown; | 204 [PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attribute EventHandl
er onmousedown; |
205 [PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attribute EventHandl
er onmouseenter; | 205 [PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attribute EventHandl
er onmouseenter; |
206 [PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attribute EventHandl
er onmouseleave; | 206 [PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attribute EventHandl
er onmouseleave; |
207 [PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attribute EventHandl
er onmousemove; | 207 [PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attribute EventHandl
er onmousemove; |
208 [PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attribute EventHandl
er onmouseout; | 208 [PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attribute EventHandl
er onmouseout; |
209 [PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attribute EventHandl
er onmouseover; | 209 [PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attribute EventHandl
er onmouseover; |
210 [PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attribute EventHandl
er onmouseup; | 210 [PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attribute EventHandl
er onmouseup; |
211 [PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attribute EventHandl
er onmousewheel; | 211 [PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attribute EventHandl
er onmousewheel; // Deprecated in favor of onwheel. |
| 212 [PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attribute EventHandl
er onwheel; |
212 attribute EventHandler onoffline; | 213 attribute EventHandler onoffline; |
213 attribute EventHandler ononline; | 214 attribute EventHandler ononline; |
214 attribute EventHandler onpagehide; | 215 attribute EventHandler onpagehide; |
215 attribute EventHandler onpageshow; | 216 attribute EventHandler onpageshow; |
216 attribute EventHandler onpause; | 217 attribute EventHandler onpause; |
217 attribute EventHandler onplay; | 218 attribute EventHandler onplay; |
218 attribute EventHandler onplaying; | 219 attribute EventHandler onplaying; |
219 attribute EventHandler onpopstate; | 220 attribute EventHandler onpopstate; |
220 attribute EventHandler onprogress; | 221 attribute EventHandler onprogress; |
221 attribute EventHandler onratechange; | 222 attribute EventHandler onratechange; |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
256 [EnabledAtRuntime=touch] attribute EventHandler ontouchcancel; | 257 [EnabledAtRuntime=touch] attribute EventHandler ontouchcancel; |
257 | 258 |
258 [EnabledAtRuntime=deviceMotion] attribute EventHandler ondevicemotion; | 259 [EnabledAtRuntime=deviceMotion] attribute EventHandler ondevicemotion; |
259 [EnabledAtRuntime=deviceOrientation] attribute EventHandler ondeviceorientat
ion; | 260 [EnabledAtRuntime=deviceOrientation] attribute EventHandler ondeviceorientat
ion; |
260 | 261 |
261 [DeprecateAs=CaptureEvents] void captureEvents(); | 262 [DeprecateAs=CaptureEvents] void captureEvents(); |
262 [DeprecateAs=ReleaseEvents] void releaseEvents(); | 263 [DeprecateAs=ReleaseEvents] void releaseEvents(); |
263 | 264 |
264 // Additional constructors. | 265 // Additional constructors. |
265 attribute TransitionEventConstructor WebKitTransitionEvent; | 266 attribute TransitionEventConstructor WebKitTransitionEvent; |
| 267 [EnabledAtRuntime=cssAnimationUnprefixed] attribute WebKitAnimationEventCons
tructor AnimationEvent; |
266 [CustomConstructor] attribute HTMLImageElementConstructorConstructor Image;
// Usable with new operator | 268 [CustomConstructor] attribute HTMLImageElementConstructorConstructor Image;
// Usable with new operator |
267 // Mozilla has a separate XMLDocument object for XML documents. | 269 // Mozilla has a separate XMLDocument object for XML documents. |
268 // We just use Document for this. | 270 // We just use Document for this. |
269 attribute DocumentConstructor XMLDocument; | 271 attribute DocumentConstructor XMLDocument; |
270 attribute URLConstructor webkitURL; // FIXME: deprecate this. | 272 attribute URLConstructor webkitURL; // FIXME: deprecate this. |
271 attribute MutationObserverConstructor WebKitMutationObserver; // FIXME: Add
metrics to determine when we can remove this. | 273 attribute MutationObserverConstructor WebKitMutationObserver; // FIXME: Add
metrics to determine when we can remove this. |
272 attribute IDBCursorConstructor webkitIDBCursor; | 274 attribute IDBCursorConstructor webkitIDBCursor; |
273 attribute IDBDatabaseConstructor webkitIDBDatabase; | 275 attribute IDBDatabaseConstructor webkitIDBDatabase; |
274 attribute IDBFactoryConstructor webkitIDBFactory; | 276 attribute IDBFactoryConstructor webkitIDBFactory; |
275 attribute IDBIndexConstructor webkitIDBIndex; | 277 attribute IDBIndexConstructor webkitIDBIndex; |
(...skipping 25 matching lines...) Expand all Loading... |
301 // window.toString() requires special handling in V8 | 303 // window.toString() requires special handling in V8 |
302 [DoNotCheckSignature, DoNotCheckSecurity, Custom, NotEnumerable] DOMString t
oString(); | 304 [DoNotCheckSignature, DoNotCheckSecurity, Custom, NotEnumerable] DOMString t
oString(); |
303 | 305 |
304 [ImplementedAs=anonymousIndexedGetter, NotEnumerable] getter Window(unsigned
long index); | 306 [ImplementedAs=anonymousIndexedGetter, NotEnumerable] getter Window(unsigned
long index); |
305 [Custom, NotEnumerable] getter Window (DOMString name); | 307 [Custom, NotEnumerable] getter Window (DOMString name); |
306 }; | 308 }; |
307 | 309 |
308 Window implements ImageBitmapFactories; | 310 Window implements ImageBitmapFactories; |
309 Window implements WindowTimers; | 311 Window implements WindowTimers; |
310 Window implements WindowBase64; | 312 Window implements WindowBase64; |
OLD | NEW |