{
"type": "function",
"name": "callback",
- "optional": "true",
+ "optional": true,
"parameters": [
{
"name": "result",
{
"name": "callback",
"type": "function",
- "optional": "true",
+ "optional": true,
"parameters": [
{
"name": "permissionWarnings",
{
"name": "callback",
"type": "function",
- "optional": "true",
+ "optional": true,
"parameters": [
{
"name": "permissionWarnings",
{
"name": "callback",
"type": "function",
- "optional": "true",
+ "optional": true,
"parameters": []
}
]
{
"type": "object",
"name": "options",
- "optional": "true",
+ "optional": true,
"properties": {
"showConfirmDialog": {
"type": "boolean",
{
"name": "callback",
"type": "function",
- "optional": "true",
+ "optional": true,
"parameters": []
}
]
{
"type": "object",
"name": "options",
- "optional": "true",
+ "optional": true,
"properties": {
"showConfirmDialog": {
"type": "boolean",
{
"name": "callback",
"type": "function",
- "optional": "true",
+ "optional": true,
"parameters": []
}
]
{
"name": "callback",
"type": "function",
- "optional": "true",
+ "optional": true,
"parameters": []
}
]
+ },
+ {
+ "name": "createAppShortcut",
+ "description": "Display options to create shortcuts for an app. On Mac, only packaged app shortcuts can be created. Note: This function is only available to Chrome users on the dev channel.",
+ "parameters": [
+ {
+ "name": "id",
+ "type": "string",
+ "description": "This should be the id from an app item of $(ref:management.ExtensionInfo)."
+ },
+ {
+ "name": "callback",
+ "type": "function",
+ "optional": true,
+ "parameters": []
+ }
+ ]
}
],
"events": [