Index: content/shell/renderer/test_runner/event_sender.cc |
diff --git a/content/shell/renderer/test_runner/event_sender.cc b/content/shell/renderer/test_runner/event_sender.cc |
index dc8e47383a1e86f0f8d74981de708f909335f226..f78f134b753457cce86bfc58b309b2bc5f5e50ba 100644 |
--- a/content/shell/renderer/test_runner/event_sender.cc |
+++ b/content/shell/renderer/test_runner/event_sender.cc |
@@ -1270,6 +1270,10 @@ void EventSender::KeyDown(const std::string& code_str, |
code = ui::VKEY_BACK; |
} else if ("escape" == code_str) { |
code = ui::VKEY_ESCAPE; |
+ } else if ("scrollLock" == code_str) { |
apavlov
2014/11/12 08:56:32
is this a drive-by change?
Habib Virji
2014/11/24 15:13:09
Actually these changes are not needed any more, it
|
+ code = ui::VKEY_SCROLL; |
+ } else if ("pause" == code_str) { |
+ code = ui::VKEY_PAUSE; |
} 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 |