| 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 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 131 // DOM Level 2 AbstractView Interface | 131 // DOM Level 2 AbstractView Interface |
| 132 readonly attribute Document document; | 132 readonly attribute Document document; |
| 133 | 133 |
| 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([Default=Undef
ined] optional Element element, | 141 [TypeChecking=Interface] CSSStyleDeclaration getComputedStyle(Element elemen
t, optional DOMString pseudoElt); |
| 142 [TreatUndefined
As=NullString, Default=Undefined] optional DOMString? pseudoElement); | |
| 143 | 142 |
| 144 // WebKit extensions | 143 // WebKit extensions |
| 145 [MeasureAs=GetMatchedCSSRules] CSSRuleList getMatchedCSSRules([Default=Undef
ined] optional Element element, | 144 [MeasureAs=GetMatchedCSSRules] CSSRuleList getMatchedCSSRules([Default=Undef
ined] optional Element element, |
| 146 [TreatUndefine
dAs=NullString, Default=Undefined] optional DOMString? pseudoElement); | 145 [TreatUndefine
dAs=NullString, Default=Undefined] optional DOMString? pseudoElement); |
| 147 | 146 |
| 148 [Replaceable] readonly attribute double devicePixelRatio; | 147 [Replaceable] readonly attribute double devicePixelRatio; |
| 149 | 148 |
| 150 [RuntimeEnabled=ApplicationCache, LogActivity=GetterOnly] readonly attribute
ApplicationCache applicationCache; | 149 [RuntimeEnabled=ApplicationCache, LogActivity=GetterOnly] readonly attribute
ApplicationCache applicationCache; |
| 151 | 150 |
| 152 [RuntimeEnabled=SessionStorage, LogActivity=GetterOnly, RaisesException=Gett
er] readonly attribute Storage sessionStorage; | 151 [RuntimeEnabled=SessionStorage, LogActivity=GetterOnly, RaisesException=Gett
er] readonly attribute Storage sessionStorage; |
| (...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 217 // 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 |
| 218 // is in place. | 217 // is in place. |
| 219 // 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 |
| 220 // utility type definitions. | 219 // utility type definitions. |
| 221 typedef MessagePort Transferable; | 220 typedef MessagePort Transferable; |
| 222 | 221 |
| 223 Window implements GlobalEventHandlers; | 222 Window implements GlobalEventHandlers; |
| 224 Window implements WindowBase64; | 223 Window implements WindowBase64; |
| 225 Window implements WindowEventHandlers; | 224 Window implements WindowEventHandlers; |
| 226 Window implements WindowTimers; | 225 Window implements WindowTimers; |
| OLD | NEW |