| 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 // Custom elements | 89 // Custom elements |
| 90 // http://w3c.github.io/webcomponents/spec/custom/#custom-elements-api | 90 // http://w3c.github.io/webcomponents/spec/custom/#custom-elements-api |
| 91 [RuntimeEnabled=CustomElementsV1, CallWith=ScriptState] readonly attribute C
ustomElementsRegistry customElements; | 91 [RuntimeEnabled=CustomElementsV1, CallWith=ScriptState] readonly attribute C
ustomElementsRegistry customElements; |
| 92 | 92 |
| 93 // HTML obsolete features | 93 // HTML obsolete features |
| 94 // https://html.spec.whatwg.org/#Window-partial | 94 // https://html.spec.whatwg.org/#Window-partial |
| 95 [MeasureAs=WindowCaptureEvents] void captureEvents(); | 95 [MeasureAs=WindowCaptureEvents] void captureEvents(); |
| 96 [MeasureAs=WindowReleaseEvents] void releaseEvents(); | 96 [MeasureAs=WindowReleaseEvents] void releaseEvents(); |
| 97 | 97 |
| 98 [Replaceable, SameObject] readonly attribute External external; |
| 99 |
| 98 // CSS Object Model (CSSOM) | 100 // CSS Object Model (CSSOM) |
| 99 // http://dev.w3.org/csswg/cssom/#extensions-to-the-window-interface | 101 // http://dev.w3.org/csswg/cssom/#extensions-to-the-window-interface |
| 100 // FIXME: The optional pseudoElt argument should have no default. | 102 // FIXME: The optional pseudoElt argument should have no default. |
| 101 [NewObject] CSSStyleDeclaration getComputedStyle(Element elt, optional DOMSt
ring? pseudoElt = null); | 103 [NewObject] CSSStyleDeclaration getComputedStyle(Element elt, optional DOMSt
ring? pseudoElt = null); |
| 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, Replaceable] readonly attribute Screen screen; | 108 [SameObject, Replaceable] readonly attribute Screen screen; |
| 107 | 109 |
| (...skipping 99 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 |