diff options
author | ananta@chromium.org <ananta@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-12-07 23:57:20 +0000 |
---|---|---|
committer | ananta@chromium.org <ananta@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-12-07 23:57:20 +0000 |
commit | c4ae36f2aca531a9d9abf39d1a54b1a267e2c1f1 (patch) | |
tree | d837911a58ec6afdf570426d87186cfa07bc9dc8 /ui/metro_viewer | |
parent | 53e38faa6860a4c8fec6752b36d77ec0c1ff585f (diff) | |
download | chromium_src-c4ae36f2aca531a9d9abf39d1a54b1a267e2c1f1.zip chromium_src-c4ae36f2aca531a9d9abf39d1a54b1a267e2c1f1.tar.gz chromium_src-c4ae36f2aca531a9d9abf39d1a54b1a267e2c1f1.tar.bz2 |
Pass touch events from the chrome viewer process in Metro Ash on Windows 8 to the browser process.
cpu:- Please review everything.
sky:- Please review changes to content\browser, chrome\browser and ui\aura.
This effectively also means that we won't be passing the fake mouse messages generated by Windows for touch events
from the Ash viewer process to chrome.
This only fixes touch handling in Metro Ash. Touch handling for desktop chrome Aura will be fixed in a subsequent CL.
BUG=151718
R=cpu,sky
Review URL: https://codereview.chromium.org/11472013
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@171888 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui/metro_viewer')
-rw-r--r-- | ui/metro_viewer/metro_viewer_messages.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/ui/metro_viewer/metro_viewer_messages.h b/ui/metro_viewer/metro_viewer_messages.h index 3da4cbc..994b40f 100644 --- a/ui/metro_viewer/metro_viewer_messages.h +++ b/ui/metro_viewer/metro_viewer_messages.h @@ -51,3 +51,15 @@ IPC_MESSAGE_CONTROL4(MetroViewerHostMsg_Character, // Informs the browser that the visibiliy of the viewer has changed. IPC_MESSAGE_CONTROL1(MetroViewerHostMsg_VisibilityChanged, bool /* visible */); +IPC_MESSAGE_CONTROL3(MetroViewerHostMsg_TouchDown, + int32, /* x-coordinate */ + int32, /* y-coordinate */ + uint64) /* timestamp */ +IPC_MESSAGE_CONTROL3(MetroViewerHostMsg_TouchUp, + int32, /* x-coordinate */ + int32, /* y-coordinate */ + uint64) /* timestamp */ +IPC_MESSAGE_CONTROL3(MetroViewerHostMsg_TouchMoved, + int32, /* x-coordinate */ + int32, /* y-coordinate */ + uint64) /* timestamp */ |