| 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 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 129 // DOM Level 2 AbstractView Interface | 129 // DOM Level 2 AbstractView Interface |
| 130 readonly attribute Document document; | 130 readonly attribute Document document; |
| 131 | 131 |
| 132 // CSSOM View Module | 132 // CSSOM View Module |
| 133 MediaQueryList matchMedia(DOMString query); | 133 MediaQueryList matchMedia(DOMString query); |
| 134 | 134 |
| 135 // styleMedia has been removed from the CSSOM View specification. | 135 // styleMedia has been removed from the CSSOM View specification. |
| 136 readonly attribute StyleMedia styleMedia; | 136 readonly attribute StyleMedia styleMedia; |
| 137 | 137 |
| 138 // DOM Level 2 Style Interface | 138 // DOM Level 2 Style Interface |
| 139 [TypeChecking=Interface] CSSStyleDeclaration getComputedStyle(Element elemen
t, optional DOMString pseudoElt); | 139 [TypeChecking=Interface] CSSStyleDeclaration getComputedStyle(Element elemen
t, optional DOMString? pseudoElt = null); |
| 140 | 140 |
| 141 // WebKit extensions | 141 // WebKit extensions |
| 142 [DeprecateAs=GetMatchedCSSRules] CSSRuleList getMatchedCSSRules([Default=Und
efined] optional Element element, | 142 [DeprecateAs=GetMatchedCSSRules] CSSRuleList getMatchedCSSRules([Default=Und
efined] optional Element element, |
| 143 [TreatUndefi
nedAs=NullString, Default=Undefined] optional DOMString? pseudoElement); | 143 [TreatUndefi
nedAs=NullString, Default=Undefined] optional DOMString? pseudoElement); |
| 144 | 144 |
| 145 [Replaceable] readonly attribute double devicePixelRatio; | 145 [Replaceable] readonly attribute double devicePixelRatio; |
| 146 | 146 |
| 147 [RuntimeEnabled=ApplicationCache, LogActivity=GetterOnly] readonly attribute
ApplicationCache applicationCache; | 147 [RuntimeEnabled=ApplicationCache, LogActivity=GetterOnly] readonly attribute
ApplicationCache applicationCache; |
| 148 | 148 |
| 149 [RuntimeEnabled=SessionStorage, LogActivity=GetterOnly, RaisesException=Gett
er] readonly attribute Storage sessionStorage; | 149 [RuntimeEnabled=SessionStorage, LogActivity=GetterOnly, RaisesException=Gett
er] readonly attribute Storage sessionStorage; |
| (...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 214 // FIXME: make this typedef accurate once enough of http://crbug.com/240176 | 214 // FIXME: make this typedef accurate once enough of http://crbug.com/240176 |
| 215 // is in place. | 215 // is in place. |
| 216 // FIXME: consider putting this typedef in an .idl file containing spec-wide | 216 // FIXME: consider putting this typedef in an .idl file containing spec-wide |
| 217 // utility type definitions. | 217 // utility type definitions. |
| 218 typedef MessagePort Transferable; | 218 typedef MessagePort Transferable; |
| 219 | 219 |
| 220 Window implements GlobalEventHandlers; | 220 Window implements GlobalEventHandlers; |
| 221 Window implements WindowBase64; | 221 Window implements WindowBase64; |
| 222 Window implements WindowEventHandlers; | 222 Window implements WindowEventHandlers; |
| 223 Window implements WindowTimers; | 223 Window implements WindowTimers; |
| OLD | NEW |