| 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 123 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 134 // CSSOM View Module | 134 // CSSOM View Module |
| 135 MediaQueryList matchMedia(DOMString query); | 135 MediaQueryList matchMedia(DOMString query); |
| 136 | 136 |
| 137 // styleMedia has been removed from the CSSOM View specification. | 137 // styleMedia has been removed from the CSSOM View specification. |
| 138 readonly attribute StyleMedia styleMedia; | 138 readonly attribute StyleMedia styleMedia; |
| 139 | 139 |
| 140 // DOM Level 2 Style Interface | 140 // DOM Level 2 Style Interface |
| 141 [TypeChecking=Interface] CSSStyleDeclaration getComputedStyle(Element elemen
t, optional DOMString pseudoElt); | 141 [TypeChecking=Interface] CSSStyleDeclaration getComputedStyle(Element elemen
t, optional DOMString pseudoElt); |
| 142 | 142 |
| 143 // WebKit extensions | 143 // WebKit extensions |
| 144 [MeasureAs=GetMatchedCSSRules] CSSRuleList getMatchedCSSRules([Default=Undef
ined] optional Element element, | 144 [DeprecateAs=GetMatchedCSSRules] CSSRuleList getMatchedCSSRules([Default=Und
efined] optional Element element, |
| 145 [TreatUndefine
dAs=NullString, Default=Undefined] optional DOMString? pseudoElement); | 145 [TreatUndefi
nedAs=NullString, Default=Undefined] optional DOMString? pseudoElement); |
| 146 | 146 |
| 147 [Replaceable] readonly attribute double devicePixelRatio; | 147 [Replaceable] readonly attribute double devicePixelRatio; |
| 148 | 148 |
| 149 [RuntimeEnabled=ApplicationCache, LogActivity=GetterOnly] readonly attribute
ApplicationCache applicationCache; | 149 [RuntimeEnabled=ApplicationCache, LogActivity=GetterOnly] readonly attribute
ApplicationCache applicationCache; |
| 150 | 150 |
| 151 [RuntimeEnabled=SessionStorage, LogActivity=GetterOnly, RaisesException=Gett
er] readonly attribute Storage sessionStorage; | 151 [RuntimeEnabled=SessionStorage, LogActivity=GetterOnly, RaisesException=Gett
er] readonly attribute Storage sessionStorage; |
| 152 [RuntimeEnabled=LocalStorage, LogActivity=GetterOnly, RaisesException=Getter
] readonly attribute Storage localStorage; | 152 [RuntimeEnabled=LocalStorage, LogActivity=GetterOnly, RaisesException=Getter
] readonly attribute Storage localStorage; |
| 153 | 153 |
| 154 // This is the interface orientation in degrees. Some examples are: | 154 // This is the interface orientation in degrees. Some examples are: |
| 155 // 0 is straight up; -90 is when the device is rotated 90 clockwise; | 155 // 0 is straight up; -90 is when the device is rotated 90 clockwise; |
| (...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 216 // FIXME: make this typedef accurate once enough of http://crbug.com/240176 | 216 // FIXME: make this typedef accurate once enough of http://crbug.com/240176 |
| 217 // is in place. | 217 // is in place. |
| 218 // FIXME: consider putting this typedef in an .idl file containing spec-wide | 218 // FIXME: consider putting this typedef in an .idl file containing spec-wide |
| 219 // utility type definitions. | 219 // utility type definitions. |
| 220 typedef MessagePort Transferable; | 220 typedef MessagePort Transferable; |
| 221 | 221 |
| 222 Window implements GlobalEventHandlers; | 222 Window implements GlobalEventHandlers; |
| 223 Window implements WindowBase64; | 223 Window implements WindowBase64; |
| 224 Window implements WindowEventHandlers; | 224 Window implements WindowEventHandlers; |
| 225 Window implements WindowTimers; | 225 Window implements WindowTimers; |
| OLD | NEW |