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

Unified Diff: chrome/common/extensions/api/terminalPrivate.json

Issue 9121035: [hterm:crosh] Add support for terminal window resizing to terminal API (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 8 years, 10 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 | « chrome/browser/extensions/extension_function_dispatcher.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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": [
« no previous file with comments | « chrome/browser/extensions/extension_function_dispatcher.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698