Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 // https://w3c.github.io/uievents/#interface-inputevent | 5 // Interface in UIEvents: |
| 6 // https://w3c.github.io/uievents/#idl-inputevent | |
| 6 | 7 |
| 7 // Input Events | 8 // Partial interface in Input Events Level 1: |
| 8 // https://w3c.github.io/input-events/#interface-InputEvent | 9 // https://www.w3.org/TR/2017/WD-input-events-1-20170321/#interface-InputEvent |
|
foolip
2017/04/04 04:15:01
Can you put this inside the interface and match th
chongz
2017/04/04 15:33:21
Done.
| |
| 9 [ | 10 [ |
| 10 Constructor(DOMString type, optional InputEventInit eventInitDict), | 11 Constructor(DOMString type, optional InputEventInit eventInitDict), |
| 11 RuntimeEnabled=InputEvent, | 12 RuntimeEnabled=InputEvent, |
| 12 ] interface InputEvent : UIEvent { | 13 ] interface InputEvent : UIEvent { |
| 13 readonly attribute DOMString inputType; | 14 readonly attribute DOMString inputType; |
| 14 readonly attribute DOMString? data; | 15 readonly attribute DOMString? data; |
| 15 readonly attribute DataTransfer? dataTransfer; | 16 readonly attribute DataTransfer? dataTransfer; |
| 16 readonly attribute boolean isComposing; | 17 readonly attribute boolean isComposing; |
| 17 sequence<StaticRange> getTargetRanges(); | 18 sequence<StaticRange> getTargetRanges(); |
| 18 }; | 19 }; |
| OLD | NEW |