Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(9215)

Unified Diff: chrome/common/extensions/api/experimental.app.json

Issue 9317072: Allow omitting optional parameters for Extensions API functions (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Synced and merged. Created 8 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/common/extensions/api/experimental.app.json
diff --git a/chrome/common/extensions/api/experimental.app.json b/chrome/common/extensions/api/experimental.app.json
index a8cdc07ec9c9d82723fc69545999ab7fd723e437..c719970e7b17930e1f291fb9171826f1c44ae491 100644
--- a/chrome/common/extensions/api/experimental.app.json
+++ b/chrome/common/extensions/api/experimental.app.json
@@ -76,67 +76,6 @@
"parameters": []
}
]
- },
- {
- "name": "setLaunchIcon",
- "nodoc": true,
- "type": "function",
- "parameters": [
- {
- "type": "object",
- "name": "details",
- "optional": true,
- "properties": {
- "extensionId": {
- "type": "string",
- "optional": true,
- "description": "An optional id to do notifications for an app other than the calling app. This is just to allow prototyping with an extension that sends notifications on behalf of apps that don't support notifications yet; this will be removed before the API becomes stable."
- }
- }
- },
- {
- "type": "object",
- "name": "iconData",
- "isInstanceOf": "ImageData",
- "optional": true,
- "additionalProperties": { "type": "any" },
- "description": "Pixel data for an image to replace the launch icon on the New Tab Page. Must be an ImageData object (for example, from a canvas element). See http://code.google.com/chrome/webstore/docs/images.html for more details."
- },
- {
- "type": "function",
- "name": "callback",
- "optional": true,
- "description": "A callback when the function is complete. Any errors will be reported in <a href='extension.html#property-lastError'>chrome.extension.lastError</a>.",
- "parameters": []
- }
- ]
- },
- {
- "name": "resetLaunchIcon",
- "nodoc": true,
- "type": "function",
- "description": "Resets the app's launch icon to its default value as specified in the manifest.json file.",
- "parameters": [
- {
- "type": "object",
- "name": "details",
- "optional": true,
- "properties": {
- "extensionId": {
- "type": "string",
- "optional": true,
- "description": "An optional id to do notifications for an app other than the calling app. This is just to allow prototyping with an extension that sends notifications on behalf of apps that don't support notifications yet; this will be removed before the API becomes stable."
- }
- }
- },
- {
- "type": "function",
- "name": "callback",
- "optional": true,
- "description": "A callback when the function is complete. Any errors will be reported in <a href='extension.html#property-lastError'>chrome.extension.lastError</a>.",
- "parameters": []
- }
- ]
}
]
}
« no previous file with comments | « chrome/chrome_renderer.gypi ('k') | chrome/common/extensions/docs/examples/api/downloads/download_links.zip » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698