| 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=DOMWindow, | 33 ImplementedAs=DOMWindow, |
| 34 PrimaryGlobal, | 34 PrimaryGlobal, |
| 35 TypeChecking=Unrestricted, | |
| 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 160 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 206 // FIXME: make this typedef accurate once enough of http://crbug.com/240176 | 205 // FIXME: make this typedef accurate once enough of http://crbug.com/240176 |
| 207 // is in place. | 206 // is in place. |
| 208 // FIXME: consider putting this typedef in an .idl file containing spec-wide | 207 // FIXME: consider putting this typedef in an .idl file containing spec-wide |
| 209 // utility type definitions. | 208 // utility type definitions. |
| 210 typedef MessagePort Transferable; | 209 typedef MessagePort Transferable; |
| 211 | 210 |
| 212 Window implements GlobalEventHandlers; | 211 Window implements GlobalEventHandlers; |
| 213 Window implements WindowBase64; | 212 Window implements WindowBase64; |
| 214 Window implements WindowEventHandlers; | 213 Window implements WindowEventHandlers; |
| 215 Window implements WindowTimers; | 214 Window implements WindowTimers; |
| OLD | NEW |