commit | 5243a7ec7958c311012e6a03b688f39524d4d73f | [log] [tgz] |
---|---|---|
author | Peter Kasting <[email protected]> | Tue Nov 27 17:11:53 2018 |
committer | Commit Bot <[email protected]> | Tue Nov 27 17:11:53 2018 |
tree | 0cf02d3c2b64c9f21e63d110844925caa6b7ea36 | |
parent | ba54c0e292a9f2069c8a5e63e16849eecd5ada53 [diff] |
Use root window coords in EventGenerator constructor, screen coords elsewhere. This feels inconsistent to me, but seems to be the best match for existing practice and API documentation. The other choice would be to use screen coords everywhere, but this will require fixing up more tests. This is a necessary precursor to using the configured screen position client by default; right now, root window and screen coords are equivalent, so being inconsistent about this doesn't matter. One side effect here is that when constructed with a root window but no specific starting point, the event generator's initial position will now be the origin of the root window instead of the origin of the screen. Bug: none Change-Id: I9b9138a2fbd44ddf5c585f04db9927c4f052eb00 Reviewed-on: https://chromium-review.googlesource.com/c/1347587 Reviewed-by: Scott Violet <[email protected]> Commit-Queue: Peter Kasting <[email protected]> Cr-Commit-Position: refs/heads/master@{#611154}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .