diff options
author | cpu@chromium.org <cpu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-11-05 21:22:12 +0000 |
---|---|---|
committer | cpu@chromium.org <cpu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-11-05 21:22:12 +0000 |
commit | 884cef8f1a6f00d95f686e5cdba9b147ab4aa8a9 (patch) | |
tree | d875a3c455224c8569cd642926792cb4504d40d7 /win8/metro_driver/chrome_app_view_ash.h | |
parent | e99cd4dca809897000378a6a4c567ab7aa8dce2b (diff) | |
download | chromium_src-884cef8f1a6f00d95f686e5cdba9b147ab4aa8a9.zip chromium_src-884cef8f1a6f00d95f686e5cdba9b147ab4aa8a9.tar.gz chromium_src-884cef8f1a6f00d95f686e5cdba9b147ab4aa8a9.tar.bz2 |
Better mouse support for metro aura
-Wheel, r-click and l-click now discriminated
-More efficient, clean mouse event handling
Note; wheel event not properly handled. That is a bigger CL
that will come later.
BUG=151718
TEST= right click and left click
Review URL: https://codereview.chromium.org/11312025
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@166034 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'win8/metro_driver/chrome_app_view_ash.h')
-rw-r--r-- | win8/metro_driver/chrome_app_view_ash.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/win8/metro_driver/chrome_app_view_ash.h b/win8/metro_driver/chrome_app_view_ash.h index 7730bcb..88e8749 100644 --- a/win8/metro_driver/chrome_app_view_ash.h +++ b/win8/metro_driver/chrome_app_view_ash.h @@ -44,6 +44,9 @@ class ChromeAppViewAsh HRESULT OnPointerReleased(winui::Core::ICoreWindow* sender, winui::Core::IPointerEventArgs* args); + HRESULT OnWheel(winui::Core::ICoreWindow* sender, + winui::Core::IPointerEventArgs* args); + HRESULT OnKeyDown(winui::Core::ICoreWindow* sender, winui::Core::IKeyEventArgs* args); @@ -59,6 +62,7 @@ class ChromeAppViewAsh EventRegistrationToken pointermoved_token_; EventRegistrationToken pointerpressed_token_; EventRegistrationToken pointerreleased_token_; + EventRegistrationToken wheel_token_; EventRegistrationToken keydown_token_; EventRegistrationToken keyup_token_; EventRegistrationToken character_received_token_; |