ash: ozone: apply transformation to events outside the root window
commit164046d3753535889d3ba1f0060a0280a94bc1c7
authorlionel.g.landwerlin <lionel.g.landwerlin@intel.com>
Wed, 3 Dec 2014 16:46:56 +0000 (3 08:46 -0800)
committerCommit bot <commit-bot@chromium.org>
Wed, 3 Dec 2014 16:47:24 +0000 (3 16:47 +0000)
tree87f44023922fa59e2433946ec2b2e6748b815c06
parente2e9de9c4c933898fe503cec2848701fff08a3cf
ash: ozone: apply transformation to events outside the root window

When dragging windows from one screen to another, events need to be
captured and send to the window where the drag started. As a result we
also need to translate event back into the original window's location.

BUG=423383
TEST=none

Review URL: https://codereview.chromium.org/657603002

Cr-Commit-Position: refs/heads/master@{#306623}
ash/ash.gyp
ash/host/ash_window_tree_host.cc [new file with mode: 0644]
ash/host/ash_window_tree_host.h
ash/host/ash_window_tree_host_ozone.cc
ash/host/ash_window_tree_host_x11.cc
ui/aura/window_tree_host_ozone.cc
ui/aura/window_tree_host_ozone.h