Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(47)

Unified Diff: webkit/tools/test_shell/event_sending_controller.cc

Issue 159299: Add support for the Home and End keys to the keyDown() method.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/tools/test_shell/event_sending_controller.cc
===================================================================
--- webkit/tools/test_shell/event_sending_controller.cc (revision 21432)
+++ webkit/tools/test_shell/event_sending_controller.cc (working copy)
@@ -392,6 +392,10 @@
code = WebCore::VKEY_PRIOR;
} else if (L"pageDown" == code_str) {
code = WebCore::VKEY_NEXT;
+ } else if (L"home" == code_str) {
+ code = WebCore::VKEY_HOME;
+ } else if (L"end" == code_str) {
+ code = WebCore::VKEY_END;
} else {
DCHECK(code_str.length() == 1);
code = code_str[0];
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698