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 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
141 // DOM Level 2 Style Interface | 141 // DOM Level 2 Style Interface |
142 CSSStyleDeclaration getComputedStyle([Default=Undefined] optional Element el
ement, | 142 CSSStyleDeclaration getComputedStyle([Default=Undefined] optional Element el
ement, |
143 [TreatUndefinedAs=NullString, Default=U
ndefined] optional DOMString? pseudoElement); | 143 [TreatUndefinedAs=NullString, Default=U
ndefined] optional DOMString? pseudoElement); |
144 | 144 |
145 // WebKit extensions | 145 // WebKit extensions |
146 [MeasureAs=GetMatchedCSSRules] CSSRuleList getMatchedCSSRules([Default=Undef
ined] optional Element element, | 146 [MeasureAs=GetMatchedCSSRules] CSSRuleList getMatchedCSSRules([Default=Undef
ined] optional Element element, |
147 [TreatUndefine
dAs=NullString, Default=Undefined] optional DOMString? pseudoElement); | 147 [TreatUndefine
dAs=NullString, Default=Undefined] optional DOMString? pseudoElement); |
148 | 148 |
149 [Replaceable] readonly attribute double devicePixelRatio; | 149 [Replaceable] readonly attribute double devicePixelRatio; |
150 | 150 |
| 151 [MeasureAs=PrefixedConvertPointFromPageToNode] WebKitPoint webkitConvertPoin
tFromPageToNode([Default=Undefined] optional Node node, |
| 152
[Default=Undefined] optional WebKitPoint p); |
| 153 [MeasureAs=PrefixedConvertPointFromNodeToPage] WebKitPoint webkitConvertPoin
tFromNodeToPage([Default=Undefined] optional Node node, |
| 154
[Default=Undefined] optional WebKitPoint p); |
| 155 |
151 [RuntimeEnabled=ApplicationCache, LogActivity=GetterOnly] readonly attribute
ApplicationCache applicationCache; | 156 [RuntimeEnabled=ApplicationCache, LogActivity=GetterOnly] readonly attribute
ApplicationCache applicationCache; |
152 | 157 |
153 [RuntimeEnabled=SessionStorage, LogActivity=GetterOnly, RaisesException=Gett
er] readonly attribute Storage sessionStorage; | 158 [RuntimeEnabled=SessionStorage, LogActivity=GetterOnly, RaisesException=Gett
er] readonly attribute Storage sessionStorage; |
154 [RuntimeEnabled=LocalStorage, LogActivity=GetterOnly, RaisesException=Getter
] readonly attribute Storage localStorage; | 159 [RuntimeEnabled=LocalStorage, LogActivity=GetterOnly, RaisesException=Getter
] readonly attribute Storage localStorage; |
155 | 160 |
156 // This is the interface orientation in degrees. Some examples are: | 161 // This is the interface orientation in degrees. Some examples are: |
157 // 0 is straight up; -90 is when the device is rotated 90 clockwise; | 162 // 0 is straight up; -90 is when the device is rotated 90 clockwise; |
158 // 90 is when rotated counter clockwise. | 163 // 90 is when rotated counter clockwise. |
159 [RuntimeEnabled=OrientationEvent, MeasureAs=WindowOrientation] readonly attr
ibute long orientation; | 164 [RuntimeEnabled=OrientationEvent, MeasureAs=WindowOrientation] readonly attr
ibute long orientation; |
160 | 165 |
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
218 // FIXME: make this typedef accurate once enough of http://crbug.com/240176 | 223 // FIXME: make this typedef accurate once enough of http://crbug.com/240176 |
219 // is in place. | 224 // is in place. |
220 // FIXME: consider putting this typedef in an .idl file containing spec-wide | 225 // FIXME: consider putting this typedef in an .idl file containing spec-wide |
221 // utility type definitions. | 226 // utility type definitions. |
222 typedef MessagePort Transferable; | 227 typedef MessagePort Transferable; |
223 | 228 |
224 Window implements GlobalEventHandlers; | 229 Window implements GlobalEventHandlers; |
225 Window implements WindowBase64; | 230 Window implements WindowBase64; |
226 Window implements WindowEventHandlers; | 231 Window implements WindowEventHandlers; |
227 Window implements WindowTimers; | 232 Window implements WindowTimers; |
OLD | NEW |