diff options
author | miletus@chromium.org <miletus@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-04-19 03:39:34 +0000 |
---|---|---|
committer | miletus@chromium.org <miletus@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-04-19 03:39:34 +0000 |
commit | a1c0601dc65636bb6dca44dceef36b8823791fa0 (patch) | |
tree | 1e9b0febb49f34390a294762307253afd98cfe30 /ash/shell.cc | |
parent | 69cdc4e9c6f58514a6088dbf307be9f66341a5bf (diff) | |
download | chromium_src-a1c0601dc65636bb6dca44dceef36b8823791fa0.zip chromium_src-a1c0601dc65636bb6dca44dceef36b8823791fa0.tar.gz chromium_src-a1c0601dc65636bb6dca44dceef36b8823791fa0.tar.bz2 |
Scale TouchEvent's radius when touchscreen is in mirror mode
TouchEvent's radius on Pixel is reported in the touchscreen's
native resolution. When Pixel is connected to an external screen
and running in mirror mode, the radius value is too large for
the external screen's low display resolution. The radius value
needs to be scaled properly in this case.
BUG=229932
TEST=Switching to mirror mode when connecting Pixel to a low
resolution external display, following the test in the issue
and make sure the radius has a sensible value.
Review URL: https://chromiumcodereview.appspot.com/14279002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@195075 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ash/shell.cc')
-rw-r--r-- | ash/shell.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ash/shell.cc b/ash/shell.cc index a2f7e0a..04be582 100644 --- a/ash/shell.cc +++ b/ash/shell.cc @@ -249,6 +249,7 @@ Shell::~Shell() { if (mouse_cursor_filter_) RemovePreTargetHandler(mouse_cursor_filter_.get()); RemovePreTargetHandler(system_gesture_filter_.get()); + RemovePreTargetHandler(event_transformation_handler_.get()); #if !defined(OS_MACOSX) RemovePreTargetHandler(accelerator_filter_.get()); #endif |