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 18 matching lines...) Expand all Loading... |
29 // FIXME: explain all uses of [DoNotCheckSecurity] | 29 // FIXME: explain all uses of [DoNotCheckSecurity] |
30 [ | 30 [ |
31 CheckSecurity=Receiver, | 31 CheckSecurity=Receiver, |
32 ImplementedAs=DOMWindow, | 32 ImplementedAs=DOMWindow, |
33 PrimaryGlobal, | 33 PrimaryGlobal, |
34 ] interface Window : EventTarget { | 34 ] interface Window : EventTarget { |
35 // the current browsing context | 35 // the current browsing context |
36 // FIXME: The spec uses the WindowProxy type for this and many other attribu
tes. | 36 // FIXME: The spec uses the WindowProxy type for this and many other attribu
tes. |
37 [Unforgeable, DoNotCheckSecurity] readonly attribute Window window; | 37 [Unforgeable, DoNotCheckSecurity] readonly attribute Window window; |
38 [Replaceable, DoNotCheckSecurity] readonly attribute Window self; | 38 [Replaceable, DoNotCheckSecurity] readonly attribute Window self; |
39 [Unforgeable] readonly attribute Document document; | 39 [Unforgeable, CachedAccessor] readonly attribute Document document; |
40 attribute DOMString name; | 40 attribute DOMString name; |
41 [PutForwards=href, Unforgeable, DoNotCheckSecurity] readonly attribute Locat
ion location; | 41 [PutForwards=href, Unforgeable, DoNotCheckSecurity] readonly attribute Locat
ion location; |
42 readonly attribute History history; | 42 readonly attribute History history; |
43 [Replaceable, MeasureAs=BarPropLocationbar] readonly attribute BarProp locat
ionbar; | 43 [Replaceable, MeasureAs=BarPropLocationbar] readonly attribute BarProp locat
ionbar; |
44 [Replaceable, MeasureAs=BarPropMenubar] readonly attribute BarProp menubar; | 44 [Replaceable, MeasureAs=BarPropMenubar] readonly attribute BarProp menubar; |
45 [Replaceable, MeasureAs=BarPropPersonalbar] readonly attribute BarProp perso
nalbar; | 45 [Replaceable, MeasureAs=BarPropPersonalbar] readonly attribute BarProp perso
nalbar; |
46 [Replaceable, MeasureAs=BarPropScrollbars] readonly attribute BarProp scroll
bars; | 46 [Replaceable, MeasureAs=BarPropScrollbars] readonly attribute BarProp scroll
bars; |
47 [Replaceable, MeasureAs=BarPropStatusbar] readonly attribute BarProp statusb
ar; | 47 [Replaceable, MeasureAs=BarPropStatusbar] readonly attribute BarProp statusb
ar; |
48 [Replaceable, MeasureAs=BarPropToolbar] readonly attribute BarProp toolbar; | 48 [Replaceable, MeasureAs=BarPropToolbar] readonly attribute BarProp toolbar; |
49 attribute DOMString status; | 49 attribute DOMString status; |
(...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
209 // FIXME: make this typedef accurate once enough of http://crbug.com/240176 | 209 // FIXME: make this typedef accurate once enough of http://crbug.com/240176 |
210 // is in place. | 210 // is in place. |
211 // FIXME: consider putting this typedef in an .idl file containing spec-wide | 211 // FIXME: consider putting this typedef in an .idl file containing spec-wide |
212 // utility type definitions. | 212 // utility type definitions. |
213 typedef MessagePort Transferable; | 213 typedef MessagePort Transferable; |
214 | 214 |
215 Window implements GlobalEventHandlers; | 215 Window implements GlobalEventHandlers; |
216 Window implements WindowBase64; | 216 Window implements WindowBase64; |
217 Window implements WindowEventHandlers; | 217 Window implements WindowEventHandlers; |
218 Window implements WindowTimers; | 218 Window implements WindowTimers; |
OLD | NEW |