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

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

Issue 3130029: Lands http://codereview.chromium.org/3153008 for bryeung: (Closed)
Patch Set: YAM Created 10 years, 4 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/chrome_tests.gypi ('k') | chrome/renderer/resources/renderer_extension_bindings.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/extensions/api/extension_api.json
diff --git a/chrome/common/extensions/api/extension_api.json b/chrome/common/extensions/api/extension_api.json
index 5004d848492c2a029e5750353ead8036ece8b819..7f9bc3c817addf76f7bb0322cd3c879d9432faa3 100644
--- a/chrome/common/extensions/api/extension_api.json
+++ b/chrome/common/extensions/api/extension_api.json
@@ -2200,6 +2200,61 @@
"events": []
},
{
+ "namespace": "experimental.input",
+ "nodoc": true,
+ "types": [],
+ "functions": [
+ {
+ "name": "sendKeyboardEvent",
+ "type": "function",
+ "description": "Send a keyboard event to Chrome.",
+ "parameters": [
+ { "type": "object",
+ "name": "event",
+ "properties": {
+ "type": {
+ "type": "string",
+ "description": "One of 'keyup' or 'keydown'."
+ },
+ "keyIdentifier": {
+ "type": "string",
+ "description": "See http://www.w3.org/TR/2003/NOTE-DOM-Level-3-Events-20031107/keyset.html#KeySet-Set"
+ },
+ "altKey": {
+ "type": "boolean",
+ "optional": true,
+ "description": "Whether or not the ALT key is pressed."
+ },
+ "ctrlKey": {
+ "type": "boolean",
+ "optional": true,
+ "description": "Whether or not the CTRL key is pressed."
+ },
+ "metaKey": {
+ "type": "boolean",
+ "optional": true,
+ "description": "Whether or not the META key is pressed."
+ },
+ "shiftKey": {
+ "type": "boolean",
+ "optional": true,
+ "description": "Whether or not the SHIFT key is pressed."
+ }
+ },
+ "description": "The keyboard event to be sent."
+ },
+ { "type": "function",
+ "name": "callback",
+ "optional": true,
+ "description": "This function is called when the event processing is completed.",
+ "parameters": []
+ }
+ ]
+ }
+ ],
+ "events": []
+ },
+ {
"namespace": "experimental.popup",
"nodoc": true,
"types": [],
« no previous file with comments | « chrome/chrome_tests.gypi ('k') | chrome/renderer/resources/renderer_extension_bindings.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698