| Index: chrome/common/extensions/api/terminalPrivate.json
|
| diff --git a/chrome/common/extensions/api/terminalPrivate.json b/chrome/common/extensions/api/terminalPrivate.json
|
| index 42107e7424252198953de3a0e4cd076f3dc6213a..74d8cb67a5ecc1711aafe1ed2bd037001cd6a1a9 100644
|
| --- a/chrome/common/extensions/api/terminalPrivate.json
|
| +++ b/chrome/common/extensions/api/terminalPrivate.json
|
| @@ -82,6 +82,40 @@
|
| ]
|
| }
|
| ]
|
| + },
|
| + {
|
| + "name": "onTerminalResize",
|
| + "type": "function",
|
| + "description": "Notify the process with the id pid that terminal window size has changed.",
|
| + "parameters": [
|
| + {
|
| + "name": "pid",
|
| + "type": "integer",
|
| + "description": "The pid of the process."
|
| + },
|
| + {
|
| + "name": "width",
|
| + "type": "integer",
|
| + "description": "New window width (as column count)."
|
| + },
|
| + {
|
| + "name": "height",
|
| + "type": "integer",
|
| + "description": "New window height (as row count)."
|
| + },
|
| + {
|
| + "name": "callback",
|
| + "type": "function",
|
| + "optional": true,
|
| + "description": "Callback that will be called when sendInput method ends. Returns success.",
|
| + "parameters": [
|
| + {
|
| + "name": "success",
|
| + "type": "boolean"
|
| + }
|
| + ]
|
| + }
|
| + ]
|
| }
|
| ],
|
| "events": [
|
|
|