| 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 156 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 167 [MeasureAs=WindowDefaultstatus, ImplementedAs=defaultStatus] attribute DOMSt
ring defaultstatus; | 167 [MeasureAs=WindowDefaultstatus, ImplementedAs=defaultStatus] attribute DOMSt
ring defaultstatus; |
| 168 [MeasureAs=StyleMedia] readonly attribute StyleMedia styleMedia; | 168 [MeasureAs=StyleMedia] readonly attribute StyleMedia styleMedia; |
| 169 [DeprecateAs=GetMatchedCSSRules, LegacyInterfaceTypeChecking] CSSRuleList ge
tMatchedCSSRules([Default=Undefined] optional Element element, | 169 [DeprecateAs=GetMatchedCSSRules, LegacyInterfaceTypeChecking] CSSRuleList ge
tMatchedCSSRules([Default=Undefined] optional Element element, |
| 170
[Default=Undefined] optional DOMString? pseudoElement); | 170
[Default=Undefined] optional DOMString? pseudoElement); |
| 171 // This is the interface orientation in degrees. Some examples are: | 171 // This is the interface orientation in degrees. Some examples are: |
| 172 // 0 is straight up; -90 is when the device is rotated 90 clockwise; | 172 // 0 is straight up; -90 is when the device is rotated 90 clockwise; |
| 173 // 90 is when rotated counter clockwise. | 173 // 90 is when rotated counter clockwise. |
| 174 [MeasureAs=WindowOrientation, RuntimeEnabled=OrientationEvent] readonly attr
ibute long orientation; | 174 [MeasureAs=WindowOrientation, RuntimeEnabled=OrientationEvent] readonly attr
ibute long orientation; |
| 175 [DeprecateAs=PrefixedRequestAnimationFrame] long webkitRequestAnimationFrame
(FrameRequestCallback callback); | 175 [DeprecateAs=PrefixedRequestAnimationFrame] long webkitRequestAnimationFrame
(FrameRequestCallback callback); |
| 176 [DeprecateAs=PrefixedCancelAnimationFrame, ImplementedAs=cancelAnimationFram
e] void webkitCancelAnimationFrame(long id); | 176 [DeprecateAs=PrefixedCancelAnimationFrame, ImplementedAs=cancelAnimationFram
e] void webkitCancelAnimationFrame(long id); |
| 177 [DeprecateAs=PrefixedCancelRequestAnimationFrame, ImplementedAs=cancelAnimat
ionFrame] void webkitCancelRequestAnimationFrame(long id); | |
| 178 [MeasureAs=PrefixedTransitionEventConstructor] attribute TransitionEventCons
tructor WebKitTransitionEvent; | 177 [MeasureAs=PrefixedTransitionEventConstructor] attribute TransitionEventCons
tructor WebKitTransitionEvent; |
| 179 [Measure] attribute AnimationEventConstructor WebKitAnimationEvent; | 178 [Measure] attribute AnimationEventConstructor WebKitAnimationEvent; |
| 180 [DeprecateAs=PrefixedWindowURL] attribute URLConstructor webkitURL; | 179 [DeprecateAs=PrefixedWindowURL] attribute URLConstructor webkitURL; |
| 181 [MeasureAs=PrefixedMutationObserverConstructor] attribute MutationObserverCo
nstructor WebKitMutationObserver; | 180 [MeasureAs=PrefixedMutationObserverConstructor] attribute MutationObserverCo
nstructor WebKitMutationObserver; |
| 182 | 181 |
| 183 // Event handler attributes | 182 // Event handler attributes |
| 184 attribute EventHandler onanimationend; | 183 attribute EventHandler onanimationend; |
| 185 attribute EventHandler onanimationiteration; | 184 attribute EventHandler onanimationiteration; |
| 186 attribute EventHandler onanimationstart; | 185 attribute EventHandler onanimationstart; |
| 187 [RuntimeEnabled=OrientationEvent] attribute EventHandler onorientationchange
; | 186 [RuntimeEnabled=OrientationEvent] attribute EventHandler onorientationchange
; |
| (...skipping 21 matching lines...) Expand all Loading... |
| 209 // FIXME: make this typedef accurate once enough of http://crbug.com/240176 | 208 // FIXME: make this typedef accurate once enough of http://crbug.com/240176 |
| 210 // is in place. | 209 // is in place. |
| 211 // FIXME: consider putting this typedef in an .idl file containing spec-wide | 210 // FIXME: consider putting this typedef in an .idl file containing spec-wide |
| 212 // utility type definitions. | 211 // utility type definitions. |
| 213 typedef MessagePort Transferable; | 212 typedef MessagePort Transferable; |
| 214 | 213 |
| 215 Window implements GlobalEventHandlers; | 214 Window implements GlobalEventHandlers; |
| 216 Window implements WindowBase64; | 215 Window implements WindowBase64; |
| 217 Window implements WindowEventHandlers; | 216 Window implements WindowEventHandlers; |
| 218 Window implements WindowTimers; | 217 Window implements WindowTimers; |
| OLD | NEW |