Support multi touch on Windows 8 AURA and ASH.
commitd5bdab63fd2d7c3195de86d7c9f69b9d91b23beb
authorananta@chromium.org <ananta@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Wed, 27 Mar 2013 20:49:17 +0000 (27 20:49 +0000)
committerananta@chromium.org <ananta@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Wed, 27 Mar 2013 20:49:17 +0000 (27 20:49 +0000)
tree5b93ea49dbc6f1de7069ee89757ce4a541d9a6b9
parentde894b004fd9c1aa21ed9cbcf13c7fe463714739
Support multi touch on Windows 8 AURA and ASH.

The touch events coming in from desktop chrome AURA and ASH have hardcoded touch ids
which breaks the gesture recognizer as it is unable to figure out that multiple touch points
are involved.

Fix on desktop Chrome AURA is to use the OS generated touch id mapped to the gesture recognizer range.
For ASH Windows 8 we pass in the mapped touch ids from the metro driver in the touch IPC messages.

Fixes bug https://code.google.com/p/chromium/issues/detail?id=179977

BUG=179977
R=cpu,sky
Review URL: https://codereview.chromium.org/13003004

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@191015 0039d316-1c4b-4281-b951-d872f2087c98
content/browser/renderer_host/render_widget_host_view_aura.cc
ui/aura/remote_root_window_host_win.cc
ui/aura/remote_root_window_host_win.h
ui/metro_viewer/metro_viewer_messages.h
ui/views/win/hwnd_message_handler.cc
win8/metro_driver/chrome_app_view_ash.cc