diff options
author | cpu@chromium.org <cpu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-10-18 20:44:16 +0000 |
---|---|---|
committer | cpu@chromium.org <cpu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-10-18 20:44:16 +0000 |
commit | 9ed88aedad5c7f9865f783f18de257d5e1185612 (patch) | |
tree | 8d527f35600324030076fbe58f8735ae27df4362 /ui/aura/remote_root_window_host_win.h | |
parent | 33204e20863bca9a9857c338400777be6176537a (diff) | |
download | chromium_src-9ed88aedad5c7f9865f783f18de257d5e1185612.zip chromium_src-9ed88aedad5c7f9865f783f18de257d5e1185612.tar.gz chromium_src-9ed88aedad5c7f9865f783f18de257d5e1185612.tar.bz2 |
Add keyboard events to metro aura
This is the first part since there IME are issues
that need to be sorted out before this can fully
work. In particular, InputMethodEventFilter::PreHandleKeyEvent
needs changes not to assume native events.
BUG=151718
TEST=none
Review URL: https://codereview.chromium.org/11194044
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@162781 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui/aura/remote_root_window_host_win.h')
-rw-r--r-- | ui/aura/remote_root_window_host_win.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/ui/aura/remote_root_window_host_win.h b/ui/aura/remote_root_window_host_win.h index 795af0f..c45af18 100644 --- a/ui/aura/remote_root_window_host_win.h +++ b/ui/aura/remote_root_window_host_win.h @@ -22,8 +22,10 @@ class AURA_EXPORT RemoteRootWindowHostWin : public RootWindowHost { static RemoteRootWindowHostWin* Instance(); static RemoteRootWindowHostWin* Create(const gfx::Rect& bounds); - void OnMouseMoved(int x, int y, int extra); - void OnMouseClick(int x, int y, int extra); + void OnMouseMoved(int32 x, int32 y, int32 extra); + void OnMouseClick(int32 x, int32 y, int32 extra); + void OnKeyDown(uint32 vkey, uint32 repeat_count, uint32 scan_code); + void OnKeyUp(uint32 vkey, uint32 repeat_count, uint32 scan_code); private: RemoteRootWindowHostWin(const gfx::Rect& bounds); |