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 180 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 191 attribute EventHandler onsearch; | 191 attribute EventHandler onsearch; |
| 192 attribute EventHandler ontransitionend; | 192 attribute EventHandler ontransitionend; |
| 193 attribute EventHandler onwebkitanimationend; | 193 attribute EventHandler onwebkitanimationend; |
| 194 attribute EventHandler onwebkitanimationiteration; | 194 attribute EventHandler onwebkitanimationiteration; |
| 195 attribute EventHandler onwebkitanimationstart; | 195 attribute EventHandler onwebkitanimationstart; |
| 196 attribute EventHandler onwebkittransitionend; | 196 attribute EventHandler onwebkittransitionend; |
| 197 attribute EventHandler onwheel; | 197 attribute EventHandler onwheel; |
| 198 | 198 |
| 199 // https://w3c.github.io/webappsec/specs/powerfulfeatures/#monkey-patching-g lobal-object | 199 // https://w3c.github.io/webappsec/specs/powerfulfeatures/#monkey-patching-g lobal-object |
| 200 readonly attribute boolean isSecureContext; | 200 readonly attribute boolean isSecureContext; |
| 201 | |
| 202 readonly attribute DOMMatrixConstructor WebKitCSSMatrix; | |
|
zino
2017/03/17 15:54:31
I think partial interface is better if possible.
foolip
2017/03/21 08:47:30
That would be nice, but if moved up to after the W
| |
| 201 }; | 203 }; |
| 202 | 204 |
| 203 // https://html.spec.whatwg.org/#transferable-objects | 205 // https://html.spec.whatwg.org/#transferable-objects |
| 204 // | 206 // |
| 205 // Expressing the Transferable typedef in IDL depends on https://crbug.com/24017 6. | 207 // Expressing the Transferable typedef in IDL depends on https://crbug.com/24017 6. |
| 206 // The postMessage() methods taking a Transferable array argument have custom | 208 // The postMessage() methods taking a Transferable array argument have custom |
| 207 // binding code that is able to handle the Transferables that we currently | 209 // binding code that is able to handle the Transferables that we currently |
| 208 // recognize. To be able to declare a postMessage() signature that matches | 210 // recognize. To be able to declare a postMessage() signature that matches |
| 209 // the implementation, we provide a Transferable typedef but with an | 211 // the implementation, we provide a Transferable typedef but with an |
| 210 // incomplete type. | 212 // incomplete type. |
| 211 // | 213 // |
| 212 // FIXME: make this typedef accurate once enough of https://crbug.com/240176 | 214 // FIXME: make this typedef accurate once enough of https://crbug.com/240176 |
| 213 // is in place. | 215 // is in place. |
| 214 // FIXME: consider putting this typedef in an .idl file containing spec-wide | 216 // FIXME: consider putting this typedef in an .idl file containing spec-wide |
| 215 // utility type definitions. | 217 // utility type definitions. |
| 216 typedef MessagePort Transferable; | 218 typedef MessagePort Transferable; |
| 217 | 219 |
| 218 Window implements GlobalEventHandlers; | 220 Window implements GlobalEventHandlers; |
| 219 Window implements WindowBase64; | 221 Window implements WindowBase64; |
| 220 Window implements WindowEventHandlers; | 222 Window implements WindowEventHandlers; |
| 221 Window implements WindowTimers; | 223 Window implements WindowTimers; |
| OLD | NEW |