Touch emulator: overwrite timestamps from mouse event with current time.
On some platfroms, mouse events come with a bad timestamp, which leads to awkward time-dependent gestures. For example, fling animation may be almost instant. Using base::TimeTicks::Now() is good enough for emulation purposes, because emulator spawns new events itself. BUG=367156 Review URL: https://codereview.chromium.org/250923005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@266548 0039d316-1c4b-4281-b951-d872f2087c98
Showing
Please register or sign in to comment