OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2009 Apple Inc. All rights reserved. | 2 * Copyright (C) 2009 Apple Inc. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
6 * are met: | 6 * are met: |
7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
(...skipping 15 matching lines...) Expand all Loading... |
26 // https://w3c.github.io/uievents/#interface-CompositionEvent | 26 // https://w3c.github.io/uievents/#interface-CompositionEvent |
27 | 27 |
28 [ | 28 [ |
29 Constructor(DOMString type, optional CompositionEventInit eventInitDict), | 29 Constructor(DOMString type, optional CompositionEventInit eventInitDict), |
30 ] interface CompositionEvent : UIEvent { | 30 ] interface CompositionEvent : UIEvent { |
31 readonly attribute DOMString data; | 31 readonly attribute DOMString data; |
32 | 32 |
33 // https://w3c.github.io/uievents/#idl-interface-CompositionEvent-initialize
rs | 33 // https://w3c.github.io/uievents/#idl-interface-CompositionEvent-initialize
rs |
34 // TODO(philipj): None of the initCompositionEvent() arguments should be | 34 // TODO(philipj): None of the initCompositionEvent() arguments should be |
35 // optional, and the spec has a locale argument after data. | 35 // optional, and the spec has a locale argument after data. |
36 [Measure] void initCompositionEvent([Default=Undefined] optional DOMString t
ype, | 36 [Measure, LegacyInterfaceTypeChecking] void initCompositionEvent([Default=Un
defined] optional DOMString type, |
37 [Default=Undefined] optional boolean bub
bles, | 37 [Default=Un
defined] optional boolean bubbles, |
38 [Default=Undefined] optional boolean can
celable, | 38 [Default=Un
defined] optional boolean cancelable, |
39 [Default=Undefined] optional Window? vie
w, | 39 [Default=Un
defined] optional Window? view, |
40 [Default=Undefined] optional DOMString d
ata); | 40 [Default=Un
defined] optional DOMString data); |
41 }; | 41 }; |
OLD | NEW |