| 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 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 125 attribute EventHandler ontransitionend; | 125 attribute EventHandler ontransitionend; |
| 126 attribute EventHandler onwheel; | 126 attribute EventHandler onwheel; |
| 127 | 127 |
| 128 // window.toString() requires special handling in V8 | 128 // window.toString() requires special handling in V8 |
| 129 [DoNotCheckSignature, DoNotCheckSecurity, Custom, NotEnumerable] stringifier
; | 129 [DoNotCheckSignature, DoNotCheckSecurity, Custom, NotEnumerable] stringifier
; |
| 130 | 130 |
| 131 // FIXME(sky): can't remove w/o also removing hacks in bindings generator. | 131 // FIXME(sky): can't remove w/o also removing hacks in bindings generator. |
| 132 [Custom, NotEnumerable] getter Window (DOMString name); | 132 [Custom, NotEnumerable] getter Window (DOMString name); |
| 133 }; | 133 }; |
| 134 | 134 |
| 135 // http://www.whatwg.org/specs/web-apps/current-work/#transferable-objects | |
| 136 // | |
| 137 // Expressing the Transferable typedef in IDL depends on http://crbug.com/240176
. | |
| 138 // The postMessage() methods taking a Transferable array argument have custom | |
| 139 // binding code that is able to handle the Transferables that we currently | |
| 140 // recognize. To be able to declare a postMessage() signature that matches | |
| 141 // the implementation, we provide a Transferable typedef but with an | |
| 142 // incomplete type. | |
| 143 // | |
| 144 // FIXME: make this typedef accurate once enough of http://crbug.com/240176 | |
| 145 // is in place. | |
| 146 // FIXME: consider putting this typedef in an .idl file containing spec-wide | |
| 147 // utility type definitions. | |
| 148 typedef MessagePort Transferable; | |
| 149 | |
| 150 Window implements WindowBase64; | 135 Window implements WindowBase64; |
| 151 Window implements WindowEventHandlers; | 136 Window implements WindowEventHandlers; |
| 152 Window implements WindowTimers; | 137 Window implements WindowTimers; |
| OLD | NEW |