diff options
author | Steve Block <steveblock@google.com> | 2010-02-02 14:57:50 +0000 |
---|---|---|
committer | Steve Block <steveblock@google.com> | 2010-02-04 15:06:55 +0000 |
commit | d0825bca7fe65beaee391d30da42e937db621564 (patch) | |
tree | 7461c49eb5844ffd1f35d1ba2c8b7584c1620823 /WebCore/platform/gtk/KeyEventGtk.cpp | |
parent | 3db770bd97c5a59b6c7574ca80a39e5a51c1defd (diff) | |
download | external_webkit-d0825bca7fe65beaee391d30da42e937db621564.zip external_webkit-d0825bca7fe65beaee391d30da42e937db621564.tar.gz external_webkit-d0825bca7fe65beaee391d30da42e937db621564.tar.bz2 |
Merge webkit.org at r54127 : Initial merge by git
Change-Id: Ib661abb595522f50ea406f72d3a0ce17f7193c82
Diffstat (limited to 'WebCore/platform/gtk/KeyEventGtk.cpp')
-rw-r--r-- | WebCore/platform/gtk/KeyEventGtk.cpp | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/WebCore/platform/gtk/KeyEventGtk.cpp b/WebCore/platform/gtk/KeyEventGtk.cpp index 11ea956..e00ea43 100644 --- a/WebCore/platform/gtk/KeyEventGtk.cpp +++ b/WebCore/platform/gtk/KeyEventGtk.cpp @@ -181,6 +181,23 @@ static int windowsKeyCodeForKeyEvent(unsigned int keycode) case GDK_KP_Divide: return VK_DIVIDE; // (6F) Divide key + case GDK_KP_Page_Up: + return VK_PRIOR; // (21) PAGE UP key + case GDK_KP_Page_Down: + return VK_NEXT; // (22) PAGE DOWN key + case GDK_KP_End: + return VK_END; // (23) END key + case GDK_KP_Home: + return VK_HOME; // (24) HOME key + case GDK_KP_Left: + return VK_LEFT; // (25) LEFT ARROW key + case GDK_KP_Up: + return VK_UP; // (26) UP ARROW key + case GDK_KP_Right: + return VK_RIGHT; // (27) RIGHT ARROW key + case GDK_KP_Down: + return VK_DOWN; // (28) DOWN ARROW key + case GDK_BackSpace: return VK_BACK; // (08) BACKSPACE key case GDK_ISO_Left_Tab: |