OLD | NEW |
(Empty) | |
| 1 <h1 id="requirements">Manifest - Requirements</h1> |
| 2 |
| 3 <p> |
| 4 Technologies required by the app or extension. |
| 5 Hosting sites such as the Chrome Web Store may use this list |
| 6 to dissuade users from installing apps or extensions |
| 7 that will not work on their computer. |
| 8 Supported requirements currently include "3D" and "plugins"; |
| 9 additional requirements checks may be added in the future. |
| 10 </p> |
| 11 |
| 12 <p> |
| 13 The "3D" requirement denotes GPU hardware acceleration. |
| 14 The "webgl" requirement refers to the |
| 15 <a href="http://www.khronos.org/webgl/">WebGL API</a>. |
| 16 For more information on Chrome 3D graphics support, |
| 17 see the help article on |
| 18 <a href="http://www.google.com/support/chrome/bin/answer.py?answer=1220892">WebG
L and 3D graphics</a>. |
| 19 You can list the 3D-related features your app requires, |
| 20 as demonstrated in the following example: |
| 21 </p> |
| 22 |
| 23 <pre class="prettyprint"><span class="str">"requirements"</span><span class="pun
">:</span><span class="pln"> </span><span class="pun">{</span><span class="pln"> |
| 24 </span><span class="str">"3D"</span><span class="pun">:</span><span class="pln
"> </span><span class="pun">{</span><span class="pln"> |
| 25 </span><span class="str">"features"</span><span class="pun">:</span><span cl
ass="pln"> </span><span class="pun">[</span><span class="str">"webgl"</span><spa
n class="pun">]</span><span class="pln"> |
| 26 </span><span class="pun">}</span><span class="pln"> |
| 27 </span><span class="pun">}</span></pre> |
| 28 |
| 29 <p> |
| 30 The "plugins" requirement indicates |
| 31 if an app or extension requires NPAPI to run. |
| 32 This requirement is enabled by default |
| 33 when the manifest includes the |
| 34 <a href="http://developer.chrome.com/extensions/npapi.html">"plugins" field</a>. |
| 35 For apps and extensions that still work when plugins aren't available, |
| 36 you can disable this requirement |
| 37 by setting NPAPI to false. |
| 38 You can also enable this requirement manually, |
| 39 by setting NPAPI to true, |
| 40 as shown in this example: |
| 41 </p> |
| 42 |
| 43 <pre class="prettyprint"><span class="str">"requirements"</span><span class="pun
">:</span><span class="pln"> </span><span class="pun">{</span><span class="pln"> |
| 44 </span><span class="str">"plugins"</span><span class="pun">:</span><span class
="pln"> </span><span class="pun">{</span><span class="pln"> |
| 45 </span><span class="str">"npapi"</span><span class="pun">:</span><span class
="pln"> </span><span class="kwd">true</span><span class="pln"> |
| 46 </span><span class="pun">}</span><span class="pln"> |
| 47 </span><span class="pun">}</span></pre> |
OLD | NEW |