| 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 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 88 | 88 |
| 89 // HTML obsolete features | 89 // HTML obsolete features |
| 90 // https://html.spec.whatwg.org/#Window-partial | 90 // https://html.spec.whatwg.org/#Window-partial |
| 91 [MeasureAs=WindowCaptureEvents] void captureEvents(); | 91 [MeasureAs=WindowCaptureEvents] void captureEvents(); |
| 92 [MeasureAs=WindowReleaseEvents] void releaseEvents(); | 92 [MeasureAs=WindowReleaseEvents] void releaseEvents(); |
| 93 | 93 |
| 94 // CSS Object Model (CSSOM) | 94 // CSS Object Model (CSSOM) |
| 95 // http://dev.w3.org/csswg/cssom/#extensions-to-the-window-interface | 95 // http://dev.w3.org/csswg/cssom/#extensions-to-the-window-interface |
| 96 // FIXME: The optional pseudoElt argument should have no default. | 96 // FIXME: The optional pseudoElt argument should have no default. |
| 97 [NewObject, TypeChecking=Interface] CSSStyleDeclaration getComputedStyle(Ele
ment elt, optional DOMString? pseudoElt = null); | 97 [NewObject, TypeChecking=Interface] CSSStyleDeclaration getComputedStyle(Ele
ment elt, optional DOMString? pseudoElt = null); |
| 98 // http://dev.w3.org/csswg/cssom/#utility-apis | 98 |
| 99 // CSS Conditional Rules Module |
| 100 // http://dev.w3.org/csswg/css-conditional/#the-css-interface |
| 99 // FIXME: CSS should be an interface with static members, in which | 101 // FIXME: CSS should be an interface with static members, in which |
| 100 // case this getter would not be needed. | 102 // case this getter would not be needed. |
| 101 [Replaceable] readonly attribute CSS CSS; | 103 [Replaceable] readonly attribute CSS CSS; |
| 102 | 104 |
| 103 // CSSOM View Module | 105 // CSSOM View Module |
| 104 // http://dev.w3.org/csswg/cssom-view/#extensions-to-the-window-interface | 106 // http://dev.w3.org/csswg/cssom-view/#extensions-to-the-window-interface |
| 105 [NewObject] MediaQueryList matchMedia(DOMString query); | 107 [NewObject] MediaQueryList matchMedia(DOMString query); |
| 106 [SameObject] readonly attribute Screen screen; | 108 [SameObject] readonly attribute Screen screen; |
| 107 | 109 |
| 108 // browsing context | 110 // browsing context |
| (...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 207 // FIXME: make this typedef accurate once enough of http://crbug.com/240176 | 209 // FIXME: make this typedef accurate once enough of http://crbug.com/240176 |
| 208 // is in place. | 210 // is in place. |
| 209 // FIXME: consider putting this typedef in an .idl file containing spec-wide | 211 // FIXME: consider putting this typedef in an .idl file containing spec-wide |
| 210 // utility type definitions. | 212 // utility type definitions. |
| 211 typedef MessagePort Transferable; | 213 typedef MessagePort Transferable; |
| 212 | 214 |
| 213 Window implements GlobalEventHandlers; | 215 Window implements GlobalEventHandlers; |
| 214 Window implements WindowBase64; | 216 Window implements WindowBase64; |
| 215 Window implements WindowEventHandlers; | 217 Window implements WindowEventHandlers; |
| 216 Window implements WindowTimers; | 218 Window implements WindowTimers; |
| OLD | NEW |