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 | |
156 [RuntimeEnabled=ApplicationCache, LogActivity=GetterOnly] readonly attribute
ApplicationCache applicationCache; | 151 [RuntimeEnabled=ApplicationCache, LogActivity=GetterOnly] readonly attribute
ApplicationCache applicationCache; |
157 | 152 |
158 [RuntimeEnabled=SessionStorage, LogActivity=GetterOnly, RaisesException=Gett
er] readonly attribute Storage sessionStorage; | 153 [RuntimeEnabled=SessionStorage, LogActivity=GetterOnly, RaisesException=Gett
er] readonly attribute Storage sessionStorage; |
159 [RuntimeEnabled=LocalStorage, LogActivity=GetterOnly, RaisesException=Getter
] readonly attribute Storage localStorage; | 154 [RuntimeEnabled=LocalStorage, LogActivity=GetterOnly, RaisesException=Getter
] readonly attribute Storage localStorage; |
160 | 155 |
161 // This is the interface orientation in degrees. Some examples are: | 156 // This is the interface orientation in degrees. Some examples are: |
162 // 0 is straight up; -90 is when the device is rotated 90 clockwise; | 157 // 0 is straight up; -90 is when the device is rotated 90 clockwise; |
163 // 90 is when rotated counter clockwise. | 158 // 90 is when rotated counter clockwise. |
164 [RuntimeEnabled=OrientationEvent, MeasureAs=WindowOrientation] readonly attr
ibute long orientation; | 159 [RuntimeEnabled=OrientationEvent, MeasureAs=WindowOrientation] readonly attr
ibute long orientation; |
165 | 160 |
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
223 // FIXME: make this typedef accurate once enough of http://crbug.com/240176 | 218 // FIXME: make this typedef accurate once enough of http://crbug.com/240176 |
224 // is in place. | 219 // is in place. |
225 // FIXME: consider putting this typedef in an .idl file containing spec-wide | 220 // FIXME: consider putting this typedef in an .idl file containing spec-wide |
226 // utility type definitions. | 221 // utility type definitions. |
227 typedef MessagePort Transferable; | 222 typedef MessagePort Transferable; |
228 | 223 |
229 Window implements GlobalEventHandlers; | 224 Window implements GlobalEventHandlers; |
230 Window implements WindowBase64; | 225 Window implements WindowBase64; |
231 Window implements WindowEventHandlers; | 226 Window implements WindowEventHandlers; |
232 Window implements WindowTimers; | 227 Window implements WindowTimers; |
OLD | NEW |