| Index: extensions/common/api/virtual_keyboard_private.json
|
| diff --git a/extensions/common/api/virtual_keyboard_private.json b/extensions/common/api/virtual_keyboard_private.json
|
| index 71bdd0ea4269fba5102784a742229acf3f1e9056..f8dd8268e27b56336a5a527d9ca464d8e083c56c 100644
|
| --- a/extensions/common/api/virtual_keyboard_private.json
|
| +++ b/extensions/common/api/virtual_keyboard_private.json
|
| @@ -39,7 +39,17 @@
|
| "type": "string",
|
| "description": "The value of type attribute of the focused text input box.",
|
| "enum": ["text", "number", "password", "date", "url", "tel", "email"]
|
| - }
|
| + },
|
| + {
|
| + "id": "Bounds",
|
| + "type": "object",
|
| + "properties": {
|
| + "left": {"type": "integer", "description": "The position of the virtual keyboard window's left edge."},
|
| + "top": {"type": "integer", "description": "The position of the virtual keyboard window's top edge."},
|
| + "width": {"type": "integer", "description": "The width of the virtual keyboard window."},
|
| + "height": {"type": "integer", "description": "The height of the virtual keyboard window."}
|
| + }
|
| + }
|
| ],
|
| "functions": [
|
| {
|
| @@ -208,6 +218,18 @@
|
| }
|
| }
|
| ]
|
| + },
|
| + {
|
| + "name": "onBoundsChanged",
|
| + "type": "function",
|
| + "description": "This event is sent when virtual keyboard bounds changed and overscroll/resize is enabled.",
|
| + "parameters": [
|
| + {
|
| + "name": "bounds",
|
| + "description": "The virtual keyboard bounds",
|
| + "$ref": "Bounds"
|
| + }
|
| + ]
|
| }
|
| ]
|
| }
|
|
|