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 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 | 98 // CSS Conditional Rules Module |
99 // http://dev.w3.org/csswg/css-conditional/#the-css-interface | 99 // http://dev.w3.org/csswg/css-conditional/#the-css-interface |
100 // FIXME: CSS should be an interface with static members, in which | 100 // FIXME: CSS should be an interface with static members, in which |
101 // case this getter would not be needed. | 101 // case this getter would not be needed. crbug.com/496369 |
102 [Replaceable] readonly attribute CSS CSS; | 102 [Replaceable] readonly attribute CSS CSS; |
103 | 103 |
104 // CSSOM View Module | 104 // CSSOM View Module |
105 // http://dev.w3.org/csswg/cssom-view/#extensions-to-the-window-interface | 105 // http://dev.w3.org/csswg/cssom-view/#extensions-to-the-window-interface |
106 [NewObject] MediaQueryList matchMedia(DOMString query); | 106 [NewObject] MediaQueryList matchMedia(DOMString query); |
107 [SameObject, Replaceable] readonly attribute Screen screen; | 107 [SameObject, Replaceable] readonly attribute Screen screen; |
108 | 108 |
109 // browsing context | 109 // browsing context |
110 // FIXME: The x and y arguments should not be optional. crbug.com/453421 | 110 // FIXME: The x and y arguments should not be optional. crbug.com/453421 |
111 void moveTo(optional long x, optional long y); | 111 void moveTo(optional long x, optional long y); |
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
207 // FIXME: make this typedef accurate once enough of http://crbug.com/240176 | 207 // FIXME: make this typedef accurate once enough of http://crbug.com/240176 |
208 // is in place. | 208 // is in place. |
209 // FIXME: consider putting this typedef in an .idl file containing spec-wide | 209 // FIXME: consider putting this typedef in an .idl file containing spec-wide |
210 // utility type definitions. | 210 // utility type definitions. |
211 typedef MessagePort Transferable; | 211 typedef MessagePort Transferable; |
212 | 212 |
213 Window implements GlobalEventHandlers; | 213 Window implements GlobalEventHandlers; |
214 Window implements WindowBase64; | 214 Window implements WindowBase64; |
215 Window implements WindowEventHandlers; | 215 Window implements WindowEventHandlers; |
216 Window implements WindowTimers; | 216 Window implements WindowTimers; |
OLD | NEW |