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 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
133 [Replaceable] readonly attribute long outerWidth; | 133 [Replaceable] readonly attribute long outerWidth; |
134 [Replaceable] readonly attribute long outerHeight; | 134 [Replaceable] readonly attribute long outerHeight; |
135 [Replaceable] readonly attribute double devicePixelRatio; | 135 [Replaceable] readonly attribute double devicePixelRatio; |
136 | 136 |
137 // Selection API | 137 // Selection API |
138 // http://w3c.github.io/selection-api/#extensions-to-window-interface | 138 // http://w3c.github.io/selection-api/#extensions-to-window-interface |
139 Selection? getSelection(); | 139 Selection? getSelection(); |
140 | 140 |
141 // Console API | 141 // Console API |
142 // https://console.spec.whatwg.org/#console-interface | 142 // https://console.spec.whatwg.org/#console-interface |
143 [Replaceable] readonly attribute Console console; | 143 // [Replaceable] readonly attribute Console console; |
| 144 // Console is installed by v8 inspector when context is created |
| 145 // and is left commented here just for documentation. |
144 | 146 |
145 // Non-standard APIs | 147 // Non-standard APIs |
146 [MeasureAs=WindowClientInformation, Replaceable] readonly attribute Navigato
r clientInformation; | 148 [MeasureAs=WindowClientInformation, Replaceable] readonly attribute Navigato
r clientInformation; |
147 [MeasureAs=WindowEvent, Custom, NotEnumerable] attribute Event event; | 149 [MeasureAs=WindowEvent, Custom, NotEnumerable] attribute Event event; |
148 [MeasureAs=WindowFind] boolean find([Default=Undefined] optional DOMString s
tring, | 150 [MeasureAs=WindowFind] boolean find([Default=Undefined] optional DOMString s
tring, |
149 [Default=Undefined] optional boolean cas
eSensitive, | 151 [Default=Undefined] optional boolean cas
eSensitive, |
150 [Default=Undefined] optional boolean bac
kwards, | 152 [Default=Undefined] optional boolean bac
kwards, |
151 [Default=Undefined] optional boolean wra
p, | 153 [Default=Undefined] optional boolean wra
p, |
152 [Default=Undefined] optional boolean who
leWord, | 154 [Default=Undefined] optional boolean who
leWord, |
153 [Default=Undefined] optional boolean sea
rchInFrames, | 155 [Default=Undefined] optional boolean sea
rchInFrames, |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
201 // FIXME: make this typedef accurate once enough of http://crbug.com/240176 | 203 // FIXME: make this typedef accurate once enough of http://crbug.com/240176 |
202 // is in place. | 204 // is in place. |
203 // FIXME: consider putting this typedef in an .idl file containing spec-wide | 205 // FIXME: consider putting this typedef in an .idl file containing spec-wide |
204 // utility type definitions. | 206 // utility type definitions. |
205 typedef MessagePort Transferable; | 207 typedef MessagePort Transferable; |
206 | 208 |
207 Window implements GlobalEventHandlers; | 209 Window implements GlobalEventHandlers; |
208 Window implements WindowBase64; | 210 Window implements WindowBase64; |
209 Window implements WindowEventHandlers; | 211 Window implements WindowEventHandlers; |
210 Window implements WindowTimers; | 212 Window implements WindowTimers; |
OLD | NEW |