diff --git a/src/schema/imported/commands.json b/src/schema/imported/commands.json index d7d3e2fb558..4008ad3efe4 100644 --- a/src/schema/imported/commands.json +++ b/src/schema/imported/commands.json @@ -15,6 +15,36 @@ "type": "string" } ] + }, + { + "name": "onChanged", + "description": "Fired when a registered command's shortcut is changed.", + "type": "function", + "parameters": [ + { + "type": "object", + "name": "changeInfo", + "properties": { + "name": { + "type": "string", + "description": "The name of the shortcut." + }, + "newShortcut": { + "type": "string", + "description": "The new shortcut active for this command, or blank if not active." + }, + "oldShortcut": { + "type": "string", + "description": "The old shortcut which is no longer active for this command, or blank if the shortcut was previously inactive." + } + }, + "required": [ + "name", + "newShortcut", + "oldShortcut" + ] + } + ] } ], "functions": [ diff --git a/src/schema/imported/storage.json b/src/schema/imported/storage.json index 27083eb37d9..f5351ae75f3 100644 --- a/src/schema/imported/storage.json +++ b/src/schema/imported/storage.json @@ -117,6 +117,19 @@ ] } ] + }, + "session": { + "allOf": [ + { + "$ref": "#/types/StorageArea" + }, + { + "allowedContexts": [ + "devtools" + ], + "description": "Items in the session storage area are kept in memory, and only until the either browser or extension is closed or reloaded." + } + ] } }, "definitions": {},