diff options
9 files changed, 22 insertions, 11 deletions
diff --git a/chrome/common/extensions/api/contentSettings.json b/chrome/common/extensions/api/contentSettings.json index 388de50..74396bf 100644 --- a/chrome/common/extensions/api/contentSettings.json +++ b/chrome/common/extensions/api/contentSettings.json @@ -148,6 +148,7 @@ "type": "function", "parameters": [ { + "name": "resourceIdentifiers", "type": "array", "description": "A list of resource identifiers for this content type, or <var>undefined</var> if this content type does not use resource identifiers.", "optional": true, diff --git a/chrome/common/extensions/api/experimental.bookmarkManager.json b/chrome/common/extensions/api/experimental.bookmarkManager.json index 9172181..24a9844 100644 --- a/chrome/common/extensions/api/experimental.bookmarkManager.json +++ b/chrome/common/extensions/api/experimental.bookmarkManager.json @@ -102,7 +102,7 @@ "parameters": [ {"type": "string", "name": "parentId", "description": "The ID of the folder to paste into"}, {"type": "function", "name": "callback", "parameters": [ - {"type": "boolean"} + {"name": "result", "type": "boolean"} ]} ] }, @@ -126,6 +126,7 @@ "name": "callback", "parameters": [ { + "name": "result", "type": "object", "properties": {}, "additionalProperties": {"type": "string"} @@ -201,7 +202,7 @@ "nodoc": "true", "parameters": [ {"type": "function", "name": "callback", "parameters": [ - {"type": "boolean"} + {"name": "result", "type": "boolean"} ]} ] } @@ -212,7 +213,7 @@ "type": "function", "description": "Fired when dragging bookmarks over the document", "parameters": [ - {"$ref": "BookmarkNodeData"} + {"name": "bookmarkNodeData", "$ref": "BookmarkNodeData"} ] }, { @@ -220,7 +221,7 @@ "type": "function", "description": "Fired when the drag and drop leaves the document", "parameters": [ - {"$ref": "BookmarkNodeData"} + {"name": "bookmarkNodeData", "$ref": "BookmarkNodeData"} ] }, { @@ -228,7 +229,7 @@ "type": "function", "description": "Fired when the user drops bookmarks on the document", "parameters": [ - {"$ref": "BookmarkNodeData"} + {"name": "bookmarkNodeData", "$ref": "BookmarkNodeData"} ] } ] diff --git a/chrome/common/extensions/api/experimental.downloads.json b/chrome/common/extensions/api/experimental.downloads.json index c60915a..eca6731 100644 --- a/chrome/common/extensions/api/experimental.downloads.json +++ b/chrome/common/extensions/api/experimental.downloads.json @@ -8,7 +8,7 @@ "type": "function", "description": "This event fires with the DownloadItem object when a download begins.", "parameters": [ - {"$ref": "DownloadItem"} + {"name": "downloadItem", "$ref": "DownloadItem"} ] }, { @@ -16,7 +16,7 @@ "type": "function", "description": "When any of a DownloadItem's properties except |bytesReceived| changes, this event fires with the download id and an object containing the properties that changed.", "parameters": [ - {"$ref": "DownloadDelta"} + {"name": "downloadDelta", "$ref": "DownloadDelta"} ] }, { @@ -435,7 +435,7 @@ "type": "function", "description": "Download a URL. If the URL uses the HTTP[S] protocol, then the request will include all cookies currently set for its hostname. If the download started successfully, |callback| will be called with the new DownloadItem’s |id|. If there was an error starting the download, then |callback| will be called with |downloadId|=undefined and chrome.extension.lastError will be set. If the URL’s hostname is not specified in the |permissions| section of the extension’s manifest, then the |chrome.extensions.lastError| object will indicate that the extension does not have permission to access that hostname.", "parameters": [ - {"$ref": "DownloadOptions"}, + {"name": "options", "$ref": "DownloadOptions"}, { "name": "callback", "type": "function", @@ -451,7 +451,7 @@ "type": "function", "description": "Find DownloadItems. Set |query| to the empty object to get all DownloadItems. To get a specific DownloadItem, set only the |id| field.", "parameters": [ - {"$ref": "DownloadQuery"}, + {"name": "query", "$ref": "DownloadQuery"}, { "name": "callback", "type": "function", @@ -467,7 +467,7 @@ "type": "function", "description": "Erase matching DownloadItems from history", "parameters": [ - {"$ref": "DownloadQuery"}, + {"name": "query", "$ref": "DownloadQuery"}, { "name": "callback", "type": "function", diff --git a/chrome/common/extensions/api/experimental.input.ui.json b/chrome/common/extensions/api/experimental.input.ui.json index 639ea96..95db905 100644 --- a/chrome/common/extensions/api/experimental.input.ui.json +++ b/chrome/common/extensions/api/experimental.input.ui.json @@ -127,6 +127,7 @@ "description": "Fired when lookup table is updated.", "parameters": [ { "type": "object", + "name": "lookupTable", "properties": { "visible": { "type": "boolean" }, "candidates": { "type": "array", "items": { "type": "string" } } diff --git a/chrome/common/extensions/api/fileBrowserPrivate.json b/chrome/common/extensions/api/fileBrowserPrivate.json index 384eae5..d2935986c 100644 --- a/chrome/common/extensions/api/fileBrowserPrivate.json +++ b/chrome/common/extensions/api/fileBrowserPrivate.json @@ -284,6 +284,7 @@ "name": "callback", "parameters": [ { + "name": "result", "type": "object", "properties": {}, "additionalProperties": {"type": "string"} @@ -365,6 +366,7 @@ "description": "Selects multiple files.", "parameters": [ { + "name": "selectedPaths", "type": "array", "description": "Array of selected paths", "items": {"type": "string"} @@ -377,10 +379,12 @@ "description": "Selects a file.", "parameters": [ { + "name": "selectedPath", "type": "string", "description": "A selected path" }, { + "name": "index", "type": "integer", "description": "Index of Filter" } diff --git a/chrome/common/extensions/api/mediaPlayerPrivate.json b/chrome/common/extensions/api/mediaPlayerPrivate.json index 5d3f8bd..973e933 100644 --- a/chrome/common/extensions/api/mediaPlayerPrivate.json +++ b/chrome/common/extensions/api/mediaPlayerPrivate.json @@ -98,7 +98,7 @@ { "name": "onPlaylistChanged", "type": "function", - "descrition": "Notifies that playlist content or state has been changed. Data could be retrieved via 'getPlaylist'.", + "description": "Notifies that playlist content or state has been changed. Data could be retrieved via 'getPlaylist'.", "parameters": [] } ] diff --git a/chrome/common/extensions/api/omnibox.json b/chrome/common/extensions/api/omnibox.json index ac0030a..9b4f66f 100644 --- a/chrome/common/extensions/api/omnibox.json +++ b/chrome/common/extensions/api/omnibox.json @@ -29,6 +29,7 @@ "parameters": [ {"type": "integer", "name": "requestId"}, { + "name": "suggestResults", "type": "array", "description": "Array of suggest results", "items": { @@ -80,6 +81,7 @@ "description": "A callback passed to the onInputChanged event used for sending suggestions back to the browser.", "parameters": [ { + "name": "suggestResults", "type": "array", "description": "Array of suggest results", "items": { diff --git a/chrome/common/extensions/api/tabs.json b/chrome/common/extensions/api/tabs.json index 3e80acd..004b4ce 100644 --- a/chrome/common/extensions/api/tabs.json +++ b/chrome/common/extensions/api/tabs.json @@ -272,6 +272,7 @@ "name": "callback", "parameters": [ { + "name": "result", "type": "array", "items": { "$ref": "Tab" diff --git a/chrome/common/extensions/api/webNavigation.json b/chrome/common/extensions/api/webNavigation.json index dbe6c6a..d9e9091 100644 --- a/chrome/common/extensions/api/webNavigation.json +++ b/chrome/common/extensions/api/webNavigation.json @@ -55,6 +55,7 @@ { "type": "function", "name": "callback", "parameters": [ { + "name": "details", "type": "array", "description": "A list of frames in the given tab, null if the specified tab ID is invalid.", "optional": true, |