| Index: ui/keyboard/resources/send_key_event_webui.js
|
| diff --git a/ui/keyboard/resources/send_key_event_webui.js b/ui/keyboard/resources/send_key_event_webui.js
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..e336b25269e114c640fb01129f6f3bd7e6cecf8f
|
| --- /dev/null
|
| +++ b/ui/keyboard/resources/send_key_event_webui.js
|
| @@ -0,0 +1,10 @@
|
| +// Copyright (c) 2013 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +function sendKeyEvent(keyEvent) {
|
| + keyEvent.type = 'keydown';
|
| + chrome.send('sendKeyEvent', [ keyEvent ]);
|
| + keyEvent.type = 'keyup';
|
| + chrome.send('sendKeyEvent', [ keyEvent ]);
|
| +}
|
|
|