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

Side by Side Diff: chrome/common/extensions/docs/static/manifest.html

Issue 521036: Add a "minimum_chrome_version" key to the manifest. (Closed)
Patch Set: Removed extraneous change, added new test, added docs Created 10 years, 11 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 unified diff | Download patch
« no previous file with comments | « chrome/common/extensions/docs/manifest.html ('k') | chrome/common/extensions/extension.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <div id="pageData-name" class="pageData">Formats: Manifest Files</div> 1 <div id="pageData-name" class="pageData">Formats: Manifest Files</div>
2 <div id="pageData-showTOC" class="pageData">true</div> 2 <div id="pageData-showTOC" class="pageData">true</div>
3 3
4 <p> 4 <p>
5 Every extension has a 5 Every extension has a
6 <a href="http://www.json.org">JSON</a>-formatted manifest file, 6 <a href="http://www.json.org">JSON</a>-formatted manifest file,
7 named <code>manifest.json</code>, 7 named <code>manifest.json</code>,
8 that provides important information about the extension. 8 that provides important information about the extension.
9 </p> 9 </p>
10 10
(...skipping 18 matching lines...) Expand all
29 29
30 <em>// Pick one (or none)</em> 30 <em>// Pick one (or none)</em>
31 "<a href="browserAction.html">browser_action</a>": {...}, 31 "<a href="browserAction.html">browser_action</a>": {...},
32 "<a href="pageAction.html">page_action</a>": {...}, 32 "<a href="pageAction.html">page_action</a>": {...},
33 "<a href="themes.html">theme</a>": {...}, 33 "<a href="themes.html">theme</a>": {...},
34 34
35 <em>// Add any of these that you need</em> 35 <em>// Add any of these that you need</em>
36 "<a href="background_pages.html">background_page</a>": "<em>aFile</em>.html", 36 "<a href="background_pages.html">background_page</a>": "<em>aFile</em>.html",
37 "<a href="override.html">chrome_url_overrides</a>": {...}, 37 "<a href="override.html">chrome_url_overrides</a>": {...},
38 "<a href="content_scripts.html">content_scripts</a>": [...], 38 "<a href="content_scripts.html">content_scripts</a>": [...],
39 "<a href="#minimum_chrome_version">minimum_chrome_version</a>": "x.y",
39 "<a href="options.html">options_page</a>": "<em>aFile</em>.html", 40 "<a href="options.html">options_page</a>": "<em>aFile</em>.html",
40 "<a href="#permissions">permissions</a>": [...], 41 "<a href="#permissions">permissions</a>": [...],
41 "<a href="npapi.html">plugins</a>": [...], 42 "<a href="npapi.html">plugins</a>": [...],
42 "<a href="autoupdate.html">update_url</a>": "http://<em>path/to/updateInfo</em >.xml" 43 "<a href="autoupdate.html">update_url</a>": "http://<em>path/to/updateInfo</em >.xml"
43 } 44 }
44 </pre> 45 </pre>
45 46
46 47
47 <h2>Field details</h2> 48 <h2>Field details</h2>
48 49
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
105 106
106 <p> 107 <p>
107 A short, plain text string 108 A short, plain text string
108 (no more than 45 characters) 109 (no more than 45 characters)
109 that identifies the extension. 110 that identifies the extension.
110 The name is used in the install dialog, 111 The name is used in the install dialog,
111 extension management UI, 112 extension management UI,
112 and the <a href="https://chrome.google.com/extensions">extension gallery</a>. 113 and the <a href="https://chrome.google.com/extensions">extension gallery</a>.
113 </p> 114 </p>
114 115
116 <h3 id="minimum_chrome_version">Minimum Chrome Version</h3>
117
118 <p>
119 The version of Google Chrome that your extension requires, if any.
120 The format for this string is the same as for the <a href="#version">version
121 field</a>.
122
115 <h3 id="permissions">permissions</h3> 123 <h3 id="permissions">permissions</h3>
116 124
117 <p> 125 <p>
118 An array of permissions that the extension might use. 126 An array of permissions that the extension might use.
119 Each permission can be either one of a list of known strings 127 Each permission can be either one of a list of known strings
120 (such as "tabs" or "bookmarks") 128 (such as "tabs" or "bookmarks")
121 or a match pattern 129 or a match pattern
122 that gives access to one or more hosts. 130 that gives access to one or more hosts.
123 These permissions are displayed to users before installation. 131 These permissions are displayed to users before installation.
124 Permissions might also help to limit damage 132 Permissions might also help to limit damage
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
198 A missing integer is equal to zero. 206 A missing integer is equal to zero.
199 For example, 1.1.9.9999 is newer than 1.1. 207 For example, 1.1.9.9999 is newer than 1.1.
200 </p> 208 </p>
201 209
202 <p> 210 <p>
203 For more information, see 211 For more information, see
204 <a href="autoupdate.html">Autoupdating</a>. 212 <a href="autoupdate.html">Autoupdating</a>.
205 </p> 213 </p>
206 214
207 <!-- [PENDING: Possibly: point to the gallery and make a big deal of the fact th at autoupdating is free if you use the gallery.] --> 215 <!-- [PENDING: Possibly: point to the gallery and make a big deal of the fact th at autoupdating is free if you use the gallery.] -->
OLDNEW
« no previous file with comments | « chrome/common/extensions/docs/manifest.html ('k') | chrome/common/extensions/extension.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698