Index: ui/keyboard/resources/api_adapter.js |
diff --git a/ui/keyboard/resources/api_adapter.js b/ui/keyboard/resources/api_adapter.js |
index ff6192f2a78af1db5c1662b83c0cd3ff0a99ef76..b2cbdd7d64ea7b189627a72325f6b891c08c6cf0 100644 |
--- a/ui/keyboard/resources/api_adapter.js |
+++ b/ui/keyboard/resources/api_adapter.js |
@@ -1,4 +1,4 @@ |
-// Copyright (c) 2013 The Chromium Authors. All rights reserved. |
+// Copyright 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. |
@@ -15,3 +15,7 @@ function insertText(text) { |
function MoveCursor(swipe_direction, swipe_flags) { |
chrome.virtualKeyboardPrivate.moveCursor(swipe_direction, swipe_flags); |
} |
+ |
+function sendKeyEvent(event) { |
+ chrome.virtualKeyboardPrivate.sendKeyEvent(event, logIfError); |
+} |