Chromium Code Reviews| 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 10 matching lines...) Expand all Loading... | |
| 21 * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY | 21 * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY |
| 22 * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | 22 * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
| 23 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | 23 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
| 24 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 24 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 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 PrimaryGlobal, | |
|
Nils Barth (inactive)
2014/05/07 01:55:57
Alphabetical order please.
Inactive
2014/05/07 15:45:12
Done.
| |
| 31 CheckSecurity=Frame, | 32 CheckSecurity=Frame, |
| 32 Custom=ToV8, | 33 Custom=ToV8, |
| 33 ImplementedAs=DOMWindow, | 34 ImplementedAs=DOMWindow, |
| 34 WillBeGarbageCollected, | 35 WillBeGarbageCollected, |
| 35 ] interface Window : EventTarget { | 36 ] interface Window : EventTarget { |
| 36 // DOM Level 0 | 37 // DOM Level 0 |
| 37 [Replaceable] readonly attribute Screen screen; | 38 [Replaceable] readonly attribute Screen screen; |
| 38 readonly attribute History history; | 39 readonly attribute History history; |
| 39 [Replaceable, MeasureAs=BarPropLocationbar] readonly attribute BarProp locat ionbar; | 40 [Replaceable, MeasureAs=BarPropLocationbar] readonly attribute BarProp locat ionbar; |
| 40 [Replaceable, MeasureAs=BarPropMenubar] readonly attribute BarProp menubar; | 41 [Replaceable, MeasureAs=BarPropMenubar] readonly attribute BarProp menubar; |
| (...skipping 192 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 233 | 234 |
| 234 [NotEnumerable] getter Window (unsigned long index); | 235 [NotEnumerable] getter Window (unsigned long index); |
| 235 [Custom, NotEnumerable] getter Window (DOMString name); | 236 [Custom, NotEnumerable] getter Window (DOMString name); |
| 236 }; | 237 }; |
| 237 | 238 |
| 238 Window implements GlobalEventHandlers; | 239 Window implements GlobalEventHandlers; |
| 239 Window implements ImageBitmapFactories; | 240 Window implements ImageBitmapFactories; |
| 240 Window implements WindowBase64; | 241 Window implements WindowBase64; |
| 241 Window implements WindowEventHandlers; | 242 Window implements WindowEventHandlers; |
| 242 Window implements WindowTimers; | 243 Window implements WindowTimers; |
| OLD | NEW |