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

Unified Diff: chrome/common/extensions/api/extension_api.json

Issue 2812023: Make the extension API docs point out the minimum version that supports an API call. (Closed)
Patch Set: Rebase for checkin. Created 10 years, 6 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
« no previous file with comments | « no previous file | chrome/common/extensions/docs/a11y.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/extensions/api/extension_api.json
diff --git a/chrome/common/extensions/api/extension_api.json b/chrome/common/extensions/api/extension_api.json
index 2741f2cd325f950fd211247e4cd57562ca303b60..a7215078790f6f03cdac518a0a5dffdf0aa8ee5e 100644
--- a/chrome/common/extensions/api/extension_api.json
+++ b/chrome/common/extensions/api/extension_api.json
@@ -1007,7 +1007,8 @@
"type": "object",
"name": "options",
"optional": true,
- "description": "Set parameters of image capture, such as the format of the resulting image. This parameter was added in version 5.0 . Earlier versions of chrome will throw an exception unless you omit it.",
+ "min_version": "5.0.372.0",
+ "description": "Set parameters of image capture, such as the format of the resulting image.",
"properties": {
"format": {
"type": "string",
@@ -1016,7 +1017,7 @@
"description": "The format of the resulting image. Default is jpeg."
},
"quality": {
- "type": "integer",
+ "type": "integer",
"name": "quality",
"optional": true,
"minimum": 0,
@@ -1326,6 +1327,7 @@
"name": "setPopup",
"type": "function",
"description": "Sets the html document to be opened as a popup when the user clicks on the page action's icon.",
+ "min_version": "5.0.308.0",
"parameters": [
{
"name": "details",
@@ -1415,6 +1417,7 @@
{
"name": "setPopup",
"type": "function",
+ "min_version": "5.0.316.0",
"description": "Sets the html document to be opened as a popup when the user clicks on the browser action's icon.",
"parameters": [
{
« no previous file with comments | « no previous file | chrome/common/extensions/docs/a11y.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698