DescriptionPopulates sourceDevice attribute into KeyboardEvent
Since now we have InputDevice information, in this CL we populates sourceDevice
attribute into KeyboardEvent, which has firesTouchEvents set to be false,
because we treat all the keyboard events the same no matter they are from physical
keyboard or virtual keyboard (it sends keyboard events to chromium not touch events).
The Intent-to-Implement: UIEvent.sourceDevice & InputDevice.firesTouchEvents link:
https://groups.google.com/a/chromium.org/forum/#!searchin/blink-dev/inputdevice/blink-dev/wjtZl9jpCpI/xC0JTRKgc9kJ
This CL is depended on Issue 1157173003, which creates the InputDevice class
(https://codereview.chromium.org/1157173003/)
and Issue 1160753005, which Implement UIEvent.sourceDevice
(https://codereview.chromium.org/1160753005/)
BUG=476530
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=197921
Patch Set 1 #
Total comments: 3
Patch Set 2 : Add RuntimeEnabled=InputDevice to idl files #Patch Set 3 : Create new init function #Patch Set 4 : Do not use init&Event #
Total comments: 1
Patch Set 5 : Rebase #
Messages
Total messages: 18 (3 generated)
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||