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

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

Issue 8743020: This includes the Chrome 16 release notes. (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: '' Created 9 years 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
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, installable web app, and theme has a 5 Every extension, installable web app, and theme 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. 8 that provides important information.
9 </p> 9 </p>
10 10
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 "<a href="#homepage_url">homepage_url</a>": "http://<em>path/to/homepage</em>" , 43 "<a href="#homepage_url">homepage_url</a>": "http://<em>path/to/homepage</em>" ,
44 "<a href="#incognito">incognito</a>": "spanning" <em>or</em> "split", 44 "<a href="#incognito">incognito</a>": "spanning" <em>or</em> "split",
45 "<a href="#key">key</a>": "<em>publicKey</em>", 45 "<a href="#key">key</a>": "<em>publicKey</em>",
46 "<a href="#minimum_chrome_version">minimum_chrome_version</a>": "<em>versionSt ring</em>", 46 "<a href="#minimum_chrome_version">minimum_chrome_version</a>": "<em>versionSt ring</em>",
47 "<a href="#nacl_modules">nacl_modules</a>": [...], 47 "<a href="#nacl_modules">nacl_modules</a>": [...],
48 "<a href="#offline_enabled">offline_enabled</a>": true, 48 "<a href="#offline_enabled">offline_enabled</a>": true,
49 "<a href="omnibox.html">omnibox</a>": { "keyword": "<em>aString</em>" }, 49 "<a href="omnibox.html">omnibox</a>": { "keyword": "<em>aString</em>" },
50 "<a href="options.html">options_page</a>": "<em>aFile</em>.html", 50 "<a href="options.html">options_page</a>": "<em>aFile</em>.html",
51 "<a href="#permissions">permissions</a>": [...], 51 "<a href="#permissions">permissions</a>": [...],
52 "<a href="npapi.html">plugins</a>": [...], 52 "<a href="npapi.html">plugins</a>": [...],
53 "<a href="#requirements">requirements</a>": {...},
53 "<a href="autoupdate.html">update_url</a>": "http://<em>path/to/updateInfo</em >.xml" 54 "<a href="autoupdate.html">update_url</a>": "http://<em>path/to/updateInfo</em >.xml"
54 } 55 }
55 </pre> 56 </pre>
56 57
57 58
58 <h2>Field details</h2> 59 <h2>Field details</h2>
59 60
60 <p> 61 <p>
61 This section covers fields that aren't described in another page. 62 This section covers fields that aren't described in another page.
62 For a complete list of fields, 63 For a complete list of fields,
(...skipping 535 matching lines...) Expand 10 before | Expand all | Expand 10 after
598 </tr> 599 </tr>
599 <tr> 600 <tr>
600 <td> "webRequestBlocking" </td> 601 <td> "webRequestBlocking" </td>
601 <td> Required if the extension uses the 602 <td> Required if the extension uses the
602 <a href="webRequest.html">chrome.webRequest</a> module in a blocking 603 <a href="webRequest.html">chrome.webRequest</a> module in a blocking
603 fashion. </td> 604 fashion. </td>
604 </tr> 605 </tr>
605 </tr> 606 </tr>
606 </table> 607 </table>
607 608
609 <h3 id="requirements">requirements</h3>
610
611 <p>
612 Technologies required by the app or extension.
613 Hosting sites such as the Chrome Web Store may use this list
614 to dissuade users from installing apps or extensions
615 that will not work on their computer.
616 </p>
617
618 <p>
619 The only supported requirement is "3D",
620 which denotes GPU hardware acceleration.
621 For that requirement,
622 you can list the 3D-related features your app requires,
623 as demonstrated in the following example:
624 </p>
625
626 <pre>
627 "requirements": {
628 "3D": {
629 "features": ["css3d", "webgl"]
630 }
631 }
632 </pre>
633
634 <p>
635 The "css3d" requirement refers to the
636 <a href="http://www.w3.org/TR/css3-3d-transforms/">CSS 3D Transforms specificati on</a>,
637 and the "webgl" requirement refers to the
638 <a href="http://www.khronos.org/webgl/">WebGL API</a>.
639 For more information on Chrome 3D graphics support,
640 see the help article on
641 <a href="http://www.google.com/support/chrome/bin/answer.py?answer=1220892">WebG L and 3D graphics</a>.
642 Support for additional requirements checks may be added in the future.
643 </p>
644
608 645
609 <h3 id="version">version</h3> 646 <h3 id="version">version</h3>
610 647
611 <p> 648 <p>
612 One to four dot-separated integers 649 One to four dot-separated integers
613 identifying the version of this extension. 650 identifying the version of this extension.
614 A couple of rules apply to the integers: 651 A couple of rules apply to the integers:
615 they must be between 0 and 65535, inclusive, 652 they must be between 0 and 65535, inclusive,
616 and non-zero integers can't start with 0. 653 and non-zero integers can't start with 0.
617 For example, 99999 and 032 are both invalid. 654 For example, 99999 and 032 are both invalid.
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
649 A missing integer is equal to zero. 686 A missing integer is equal to zero.
650 For example, 1.1.9.9999 is newer than 1.1. 687 For example, 1.1.9.9999 is newer than 1.1.
651 </p> 688 </p>
652 689
653 <p> 690 <p>
654 For more information, see 691 For more information, see
655 <a href="autoupdate.html">Autoupdating</a>. 692 <a href="autoupdate.html">Autoupdating</a>.
656 </p> 693 </p>
657 694
658 <!-- [PENDING: Possibly: point to the store/dashboard and make a big deal of the fact that autoupdating is free if you use them.] --> 695 <!-- [PENDING: Possibly: point to the store/dashboard and make a big deal of the fact that autoupdating is free if you use them.] -->
OLDNEW
« no previous file with comments | « chrome/common/extensions/docs/manifest.html ('k') | chrome/common/extensions/docs/static/whats_new.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698