diff options
Diffstat (limited to 'chrome/common/extensions/api/extension_api.json')
-rwxr-xr-x | chrome/common/extensions/api/extension_api.json | 19 |
1 files changed, 18 insertions, 1 deletions
diff --git a/chrome/common/extensions/api/extension_api.json b/chrome/common/extensions/api/extension_api.json index 30b3f12..51434bc 100755 --- a/chrome/common/extensions/api/extension_api.json +++ b/chrome/common/extensions/api/extension_api.json @@ -2710,7 +2710,24 @@ ] } ], - "events": [] + "events": [ + { + "name": "onMessage", + "type": "function", + "unprivileged": true, + "description": "Used to test sending messages to extensions.", + "parameters": [ + { + "type": "object", + "name": "info", + "properties": { + "data": { "type": "string", "description": "Additional information." }, + "lastMessage": { "type": "boolean", "description": "True if this was the last message for this test" } + } + } + ] + } + ] }, { "namespace": "experimental.clipboard", |