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 154 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
165 | 165 |
166 [Replaceable] readonly attribute Console console; | 166 [Replaceable] readonly attribute Console console; |
167 | 167 |
168 // cross-document messaging | 168 // cross-document messaging |
169 [DoNotCheckSecurity, Custom, RaisesException] void postMessage(SerializedScr
iptValue message, DOMString targetOrigin, optional MessagePort[] messagePorts); | 169 [DoNotCheckSecurity, Custom, RaisesException] void postMessage(SerializedScr
iptValue message, DOMString targetOrigin, optional MessagePort[] messagePorts); |
170 | 170 |
171 [Replaceable] readonly attribute Performance performance; | 171 [Replaceable] readonly attribute Performance performance; |
172 | 172 |
173 [MeasureAs=UnprefixedRequestAnimationFrame] long requestAnimationFrame(Reque
stAnimationFrameCallback callback); | 173 [MeasureAs=UnprefixedRequestAnimationFrame] long requestAnimationFrame(Reque
stAnimationFrameCallback callback); |
174 void cancelAnimationFrame(long id); | 174 void cancelAnimationFrame(long id); |
175 [MeasureAs=PrefixedRequestAnimationFrame] long webkitRequestAnimationFrame(R
equestAnimationFrameCallback callback); | 175 [DeprecateAs=PrefixedRequestAnimationFrame] long webkitRequestAnimationFrame
(RequestAnimationFrameCallback callback); |
176 [ImplementedAs=cancelAnimationFrame] void webkitCancelAnimationFrame(long id
); | 176 [DeprecateAs=PrefixedCancelAnimationFrame, ImplementedAs=cancelAnimationFram
e] void webkitCancelAnimationFrame(long id); |
177 [ImplementedAs=cancelAnimationFrame] void webkitCancelRequestAnimationFrame(
long id); // This is a deprecated alias for webkitCancelAnimationFrame(). Remove
this when removing vendor prefix. | 177 [DeprecateAs=PrefixedCancelRequestAnimationFrame, ImplementedAs=cancelAnimat
ionFrame] void webkitCancelRequestAnimationFrame(long id); |
178 | 178 |
179 [Replaceable] readonly attribute CSS CSS; | 179 [Replaceable] readonly attribute CSS CSS; |
180 | 180 |
181 // Event handler attributes | 181 // Event handler attributes |
182 [RuntimeEnabled=CSSAnimationUnprefixed] attribute EventHandler onanimationen
d; | 182 [RuntimeEnabled=CSSAnimationUnprefixed] attribute EventHandler onanimationen
d; |
183 [RuntimeEnabled=CSSAnimationUnprefixed] attribute EventHandler onanimationit
eration; | 183 [RuntimeEnabled=CSSAnimationUnprefixed] attribute EventHandler onanimationit
eration; |
184 [RuntimeEnabled=CSSAnimationUnprefixed] attribute EventHandler onanimationst
art; | 184 [RuntimeEnabled=CSSAnimationUnprefixed] attribute EventHandler onanimationst
art; |
185 [RuntimeEnabled=OrientationEvent] attribute EventHandler onorientationchange
; | 185 [RuntimeEnabled=OrientationEvent] attribute EventHandler onorientationchange
; |
186 attribute EventHandler onsearch; | 186 attribute EventHandler onsearch; |
187 [RuntimeEnabled=Touch] attribute EventHandler ontouchcancel; | 187 [RuntimeEnabled=Touch] attribute EventHandler ontouchcancel; |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
241 | 241 |
242 [NotEnumerable] getter Window (unsigned long index); | 242 [NotEnumerable] getter Window (unsigned long index); |
243 [Custom, NotEnumerable] getter Window (DOMString name); | 243 [Custom, NotEnumerable] getter Window (DOMString name); |
244 }; | 244 }; |
245 | 245 |
246 Window implements GlobalEventHandlers; | 246 Window implements GlobalEventHandlers; |
247 Window implements ImageBitmapFactories; | 247 Window implements ImageBitmapFactories; |
248 Window implements WindowBase64; | 248 Window implements WindowBase64; |
249 Window implements WindowEventHandlers; | 249 Window implements WindowEventHandlers; |
250 Window implements WindowTimers; | 250 Window implements WindowTimers; |
OLD | NEW |