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

Unified Diff: chrome/common/extensions/docs/template/api_template.html

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 | « chrome/common/extensions/docs/tabs.html ('k') | chrome/common/extensions/docs/themes.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/extensions/docs/template/api_template.html
diff --git a/chrome/common/extensions/docs/template/api_template.html b/chrome/common/extensions/docs/template/api_template.html
index c9cbcbc52eed31815f197b6a65647bd9001a479a..90cda984dc19c4a5b0a4712a9fea93b36d34a2b4 100644
--- a/chrome/common/extensions/docs/template/api_template.html
+++ b/chrome/common/extensions/docs/template/api_template.html
@@ -43,6 +43,15 @@
jsvalues=".innerHTML:$this.description">
Description of this parameter from the json schema.
</dd>
+ <dd jsdisplay="$this.min_version">
+ This parameter was added in version
+ <b><span jscontent="$this.min_version"></span></b>.
+ You must omit this parameter in earlier versions,
+ and you may omit it in any version. If you require this
+ parameter, the manifest key
+ <a href="manifest.html#minimum_chrome_version">minimum_chrome_version</a>
+ can ensure that your extension won't be run in an earlier browser version.
+ </dd>
<!-- OBJECT PROPERTIES -->
<dd jsdisplay="shouldExpandObject($this)">
@@ -342,6 +351,13 @@
</div>
</div>
+ <!-- MIN_VERSION -->
+ <p jsdisplay="min_version" >
+ This function was added in version <b><span jscontent="$this.min_version"></span></b>.
+ If you require this function, the manifest key
+ <a href="manifest.html#minimum_chrome_version">minimum_chrome_version</a>
+ can ensure that your extension won't be run in an earlier browser version.
+ </p>
</div> <!-- /description -->
</div> <!-- /apiItem -->
« no previous file with comments | « chrome/common/extensions/docs/tabs.html ('k') | chrome/common/extensions/docs/themes.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698