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": [], |