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