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

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

Issue 3037053: A quick fix for Bug 51036... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 4 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 55518)
+++ webkit/tools/test_shell/event_sending_controller.cc (working copy)
@@ -564,6 +564,8 @@
code = base::VKEY_LEFT;
} else if (L"upArrow" == code_str) {
code = base::VKEY_UP;
+ } else if (L"insert" == code_str) {
+ code = base::VKEY_INSERT;
} else if (L"delete" == code_str) {
code = base::VKEY_BACK;
} else if (L"pageUp" == code_str) {
@@ -574,6 +576,8 @@
code = base::VKEY_HOME;
} else if (L"end" == code_str) {
code = base::VKEY_END;
+ } else if (L"printScreen" == code_str) {
+ code = base::VKEY_SNAPSHOT;
} else {
// Compare the input string with the function-key names defined by the
// DOM spec (i.e. "F1",...,"F24"). If the input string is a function-key
« 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