| 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 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 131 [Replaceable] readonly attribute long screenX; | 131 [Replaceable] readonly attribute long screenX; |
| 132 [Replaceable] readonly attribute long screenY; | 132 [Replaceable] readonly attribute long screenY; |
| 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 | |
| 142 // https://console.spec.whatwg.org/#console-interface | |
| 143 [Replaceable] readonly attribute Console console; | |
| 144 | |
| 145 // Non-standard APIs | 141 // Non-standard APIs |
| 146 [MeasureAs=WindowClientInformation, Replaceable] readonly attribute Navigato
r clientInformation; | 142 [MeasureAs=WindowClientInformation, Replaceable] readonly attribute Navigato
r clientInformation; |
| 147 [MeasureAs=WindowEvent, Custom, NotEnumerable] attribute Event event; | 143 [MeasureAs=WindowEvent, Custom, NotEnumerable] attribute Event event; |
| 148 [MeasureAs=WindowFind] boolean find([Default=Undefined] optional DOMString s
tring, | 144 [MeasureAs=WindowFind] boolean find([Default=Undefined] optional DOMString s
tring, |
| 149 [Default=Undefined] optional boolean cas
eSensitive, | 145 [Default=Undefined] optional boolean cas
eSensitive, |
| 150 [Default=Undefined] optional boolean bac
kwards, | 146 [Default=Undefined] optional boolean bac
kwards, |
| 151 [Default=Undefined] optional boolean wra
p, | 147 [Default=Undefined] optional boolean wra
p, |
| 152 [Default=Undefined] optional boolean who
leWord, | 148 [Default=Undefined] optional boolean who
leWord, |
| 153 [Default=Undefined] optional boolean sea
rchInFrames, | 149 [Default=Undefined] optional boolean sea
rchInFrames, |
| 154 [Default=Undefined] optional boolean sho
wDialog); | 150 [Default=Undefined] optional boolean sho
wDialog); |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 201 // FIXME: make this typedef accurate once enough of http://crbug.com/240176 | 197 // FIXME: make this typedef accurate once enough of http://crbug.com/240176 |
| 202 // is in place. | 198 // is in place. |
| 203 // FIXME: consider putting this typedef in an .idl file containing spec-wide | 199 // FIXME: consider putting this typedef in an .idl file containing spec-wide |
| 204 // utility type definitions. | 200 // utility type definitions. |
| 205 typedef MessagePort Transferable; | 201 typedef MessagePort Transferable; |
| 206 | 202 |
| 207 Window implements GlobalEventHandlers; | 203 Window implements GlobalEventHandlers; |
| 208 Window implements WindowBase64; | 204 Window implements WindowBase64; |
| 209 Window implements WindowEventHandlers; | 205 Window implements WindowEventHandlers; |
| 210 Window implements WindowTimers; | 206 Window implements WindowTimers; |
| OLD | NEW |