summaryrefslogtreecommitdiffstats
path: root/base/test/perf_log.cc
diff options
context:
space:
mode:
authorSadrul Habib Chowdhury <sadrul@chromium.org>2015-01-15 08:05:28 -0500
committerSadrul Habib Chowdhury <sadrul@chromium.org>2015-01-15 13:06:47 +0000
commit9af9ccd01bb33f591fa6dcdc94393ff0377c4a3a (patch)
treeaddf45f6bcef04fcb6d5344ed297eeafcb40bdaa /base/test/perf_log.cc
parent1929e5b5cfeb4b4ba3e5393be10512fcb8da9508 (diff)
downloadchromium_src-9af9ccd01bb33f591fa6dcdc94393ff0377c4a3a.zip
chromium_src-9af9ccd01bb33f591fa6dcdc94393ff0377c4a3a.tar.gz
chromium_src-9af9ccd01bb33f591fa6dcdc94393ff0377c4a3a.tar.bz2
aura: Fix event dispatch when a 'held' event triggers a menu.
A 'held' event can trigger a menu (and a nested message loop), e.g. when right-clicking while a menu is already showing. In such scenario, the subsequent events that come in while the latest menu is up are not transformed correctly, because the WindowEventDispatcher notices that a held event is in the process of being dispatched. As a result, the events have incorrect coordinates (especially when device scale factor is not 1, or when the display is rotated). To fix this, instead of simply tracking whether a 'held' event is being dispatched or not, we track the 'held' event itself, and transform all the non-held events. BUG=425407 R=sky@chromium.org Review URL: https://codereview.chromium.org/829353005 Cr-Commit-Position: refs/heads/master@{#311651}
Diffstat (limited to 'base/test/perf_log.cc')
0 files changed, 0 insertions, 0 deletions