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 14 matching lines...) Expand all Loading... |
25 */ | 25 */ |
26 | 26 |
27 // HTML 5 draft spec: | 27 // HTML 5 draft spec: |
28 // http://www.w3.org/html/wg/drafts/html/master/browsers.html#window | 28 // http://www.w3.org/html/wg/drafts/html/master/browsers.html#window |
29 // FIXME: explain all uses of [DoNotCheckSecurity] | 29 // FIXME: explain all uses of [DoNotCheckSecurity] |
30 [ | 30 [ |
31 CheckSecurity=Frame, | 31 CheckSecurity=Frame, |
32 Custom=ToV8, | 32 Custom=ToV8, |
33 ImplementedAs=LocalDOMWindow, | 33 ImplementedAs=LocalDOMWindow, |
34 PrimaryGlobal, | 34 PrimaryGlobal, |
35 WillBeGarbageCollected, | |
36 ] interface Window : EventTarget { | 35 ] interface Window : EventTarget { |
37 // DOM Level 0 | 36 // DOM Level 0 |
38 readonly attribute Screen screen; | 37 readonly attribute Screen screen; |
39 readonly attribute History history; | 38 readonly attribute History history; |
40 [Replaceable, MeasureAs=BarPropLocationbar] readonly attribute BarProp locat
ionbar; | 39 [Replaceable, MeasureAs=BarPropLocationbar] readonly attribute BarProp locat
ionbar; |
41 [Replaceable, MeasureAs=BarPropMenubar] readonly attribute BarProp menubar; | 40 [Replaceable, MeasureAs=BarPropMenubar] readonly attribute BarProp menubar; |
42 [Replaceable, MeasureAs=BarPropPersonalbar] readonly attribute BarProp perso
nalbar; | 41 [Replaceable, MeasureAs=BarPropPersonalbar] readonly attribute BarProp perso
nalbar; |
43 [Replaceable, MeasureAs=BarPropScrollbars] readonly attribute BarProp scroll
bars; | 42 [Replaceable, MeasureAs=BarPropScrollbars] readonly attribute BarProp scroll
bars; |
44 [Replaceable, MeasureAs=BarPropStatusbar] readonly attribute BarProp statusb
ar; | 43 [Replaceable, MeasureAs=BarPropStatusbar] readonly attribute BarProp statusb
ar; |
45 [Replaceable, MeasureAs=BarPropToolbar] readonly attribute BarProp toolbar; | 44 [Replaceable, MeasureAs=BarPropToolbar] readonly attribute BarProp toolbar; |
(...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
218 // FIXME: make this typedef accurate once enough of http://crbug.com/240176 | 217 // FIXME: make this typedef accurate once enough of http://crbug.com/240176 |
219 // is in place. | 218 // is in place. |
220 // FIXME: consider putting this typedef in an .idl file containing spec-wide | 219 // FIXME: consider putting this typedef in an .idl file containing spec-wide |
221 // utility type definitions. | 220 // utility type definitions. |
222 typedef MessagePort Transferable; | 221 typedef MessagePort Transferable; |
223 | 222 |
224 Window implements GlobalEventHandlers; | 223 Window implements GlobalEventHandlers; |
225 Window implements WindowBase64; | 224 Window implements WindowBase64; |
226 Window implements WindowEventHandlers; | 225 Window implements WindowEventHandlers; |
227 Window implements WindowTimers; | 226 Window implements WindowTimers; |
OLD | NEW |