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

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

Issue 527003: Revert 35602 - Add a "minimum_chrome_version" key to the manifest.... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: 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 | Annotate | Revision Log
« 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",
40 "<a href="options.html">options_page</a>": "<em>aFile</em>.html", 39 "<a href="options.html">options_page</a>": "<em>aFile</em>.html",
41 "<a href="#permissions">permissions</a>": [...], 40 "<a href="#permissions">permissions</a>": [...],
42 "<a href="npapi.html">plugins</a>": [...], 41 "<a href="npapi.html">plugins</a>": [...],
43 "<a href="autoupdate.html">update_url</a>": "http://<em>path/to/updateInfo</em >.xml" 42 "<a href="autoupdate.html">update_url</a>": "http://<em>path/to/updateInfo</em >.xml"
44 } 43 }
45 </pre> 44 </pre>
46 45
47 46
48 <h2>Field details</h2> 47 <h2>Field details</h2>
49 48
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
106 105
107 <p> 106 <p>
108 A short, plain text string 107 A short, plain text string
109 (no more than 45 characters) 108 (no more than 45 characters)
110 that identifies the extension. 109 that identifies the extension.
111 The name is used in the install dialog, 110 The name is used in the install dialog,
112 extension management UI, 111 extension management UI,
113 and the <a href="https://chrome.google.com/extensions">extension gallery</a>. 112 and the <a href="https://chrome.google.com/extensions">extension gallery</a>.
114 </p> 113 </p>
115 114
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
123 <h3 id="permissions">permissions</h3> 115 <h3 id="permissions">permissions</h3>
124 116
125 <p> 117 <p>
126 An array of permissions that the extension might use. 118 An array of permissions that the extension might use.
127 Each permission can be either one of a list of known strings 119 Each permission can be either one of a list of known strings
128 (such as "tabs" or "bookmarks") 120 (such as "tabs" or "bookmarks")
129 or a match pattern 121 or a match pattern
130 that gives access to one or more hosts. 122 that gives access to one or more hosts.
131 These permissions are displayed to users before installation. 123 These permissions are displayed to users before installation.
132 Permissions might also help to limit damage 124 Permissions might also help to limit damage
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
206 A missing integer is equal to zero. 198 A missing integer is equal to zero.
207 For example, 1.1.9.9999 is newer than 1.1. 199 For example, 1.1.9.9999 is newer than 1.1.
208 </p> 200 </p>
209 201
210 <p> 202 <p>
211 For more information, see 203 For more information, see
212 <a href="autoupdate.html">Autoupdating</a>. 204 <a href="autoupdate.html">Autoupdating</a>.
213 </p> 205 </p>
214 206
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.] --> 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.] -->
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