Chromium Code Reviews
DescriptionConvert Devtools protocol Input timestamp to monotonic clock.
Devtools protocol specifies input timestamp as a unix epoch time [1]. While
chrome internally expects a monotonic timestamp that is measured since system
start time.
The current patch satisfies both contracts by converting received value from
wall clock (base::Time) to monotonic clock (base::TimeTicks) before using it for
|WebInputInput.timeStampSeconds|.
[1] https://developer.chrome.com/devtools/docs/protocol/1.1/input
BUG=590837
Committed: https://crrev.com/9ca5a011a3c5b1ff2856a17f60b30f7d5e977584
Cr-Commit-Position: refs/heads/master@{#380201}
Patch Set 1 #Patch Set 2 : Add conversion for touch events #
Total comments: 2
Patch Set 3 : Fix compile issue #Patch Set 4 : Add a layout tests #Patch Set 5 : #
Total comments: 6
Patch Set 6 : Address feedback #
Messages
Total messages: 24 (7 generated)
|
||||||||||||||||||||||||||||||||||||||||||||||