Index: chrome/common/extensions/api/virtual_keyboard_private.json |
diff --git a/chrome/common/extensions/api/virtual_keyboard_private.json b/chrome/common/extensions/api/virtual_keyboard_private.json |
index 12024fd24353a17bd54f2779fbd0024e42d3826b..35129cdb8ab714c4da4f99242adb92d6dddd6d70 100644 |
--- a/chrome/common/extensions/api/virtual_keyboard_private.json |
+++ b/chrome/common/extensions/api/virtual_keyboard_private.json |
@@ -45,7 +45,7 @@ |
{ "name": "swipe_direction", |
"type": "integer", |
"discription": "The direction of the cursor movement." |
- }, |
+ }, |
{ "name": "modifier_flags", |
"type": "integer", |
"description": "Bitmask representing the state of the system modifier keys." |
@@ -56,7 +56,7 @@ |
"decription": "called when the swipe movement is completed.", |
"parameters": [] |
} |
- ] |
+ ] |
}, |
{ |
"name": "sendKeyEvent", |
@@ -74,6 +74,19 @@ |
"parameters": [] |
} |
] |
+ }, |
+ { |
+ "name": "hideKeyboard", |
+ "type": "function", |
+ "description": "Hides the virtual keyboard.", |
+ "parameters": [ |
+ { "type": "function", |
+ "name": "callback", |
+ "optional": true, |
+ "description": "Called when the keyboard is hidden.", |
+ "parameters": [] |
+ } |
+ ] |
} |
] |
} |