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

Unified Diff: ui/keyboard/resources/api_adapter.js

Issue 20526005: Implement virtual keyboard hiding. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: rebase yet again Created 7 years, 3 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 | « ui/keyboard/keyboard_ui_handler.cc ('k') | ui/keyboard/resources/webui/api_adapter.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/keyboard/resources/api_adapter.js
diff --git a/ui/keyboard/resources/api_adapter.js b/ui/keyboard/resources/api_adapter.js
index b2cbdd7d64ea7b189627a72325f6b891c08c6cf0..80a000d517bd5b96408f399436cf65f35526c4c6 100644
--- a/ui/keyboard/resources/api_adapter.js
+++ b/ui/keyboard/resources/api_adapter.js
@@ -19,3 +19,7 @@ function MoveCursor(swipe_direction, swipe_flags) {
function sendKeyEvent(event) {
chrome.virtualKeyboardPrivate.sendKeyEvent(event, logIfError);
}
+
+function hideKeyboard() {
+ chrome.virtualKeyboardPrivate.hideKeyboard(logIfError);
+}
« no previous file with comments | « ui/keyboard/keyboard_ui_handler.cc ('k') | ui/keyboard/resources/webui/api_adapter.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698