OLD | NEW |
1 <!DOCTYPE html><!-- This page is a placeholder for generated extensions api doc.
Note: | 1 <!DOCTYPE html><!-- This page is a placeholder for generated extensions api doc.
Note: |
2 1) The <head> information in this page is significant, should be uniform | 2 1) The <head> information in this page is significant, should be uniform |
3 across api docs and should be edited only with knowledge of the | 3 across api docs and should be edited only with knowledge of the |
4 templating mechanism. | 4 templating mechanism. |
5 3) All <body>.innerHTML is genereated as an rendering step. If viewed in a | 5 3) All <body>.innerHTML is genereated as an rendering step. If viewed in a |
6 browser, it will be re-generated from the template, json schema and | 6 browser, it will be re-generated from the template, json schema and |
7 authored overview content. | 7 authored overview content. |
8 4) The <body>.innerHTML is also generated by an offline step so that this | 8 4) The <body>.innerHTML is also generated by an offline step so that this |
9 page may easily be indexed by search engines. | 9 page may easily be indexed by search engines. |
10 --><html xmlns="http://www.w3.org/1999/xhtml"><head> | 10 --><html xmlns="http://www.w3.org/1999/xhtml"><head> |
(...skipping 319 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
330 <a href="#minimum_chrome_version">minimum_chrome_version</a> | 330 <a href="#minimum_chrome_version">minimum_chrome_version</a> |
331 </li><li> | 331 </li><li> |
332 <a href="#name">name</a> | 332 <a href="#name">name</a> |
333 </li><li> | 333 </li><li> |
334 <a href="#nacl_modules">nacl_modules</a> | 334 <a href="#nacl_modules">nacl_modules</a> |
335 </li><li> | 335 </li><li> |
336 <a href="#offline_enabled">offline_enabled</a> | 336 <a href="#offline_enabled">offline_enabled</a> |
337 </li><li> | 337 </li><li> |
338 <a href="#permissions">permissions</a> | 338 <a href="#permissions">permissions</a> |
339 </li><li> | 339 </li><li> |
| 340 <a href="#requirements">requirements</a> |
| 341 </li><li> |
340 <a href="#version">version</a> | 342 <a href="#version">version</a> |
341 </li> | 343 </li> |
342 </ol> | 344 </ol> |
343 </li> | 345 </li> |
344 <li style="display: none; "> | 346 <li style="display: none; "> |
345 <a href="#apiReference">API reference</a> | 347 <a href="#apiReference">API reference</a> |
346 <ol> | 348 <ol> |
347 <div></div> | 349 <div></div> |
348 <div></div> | 350 <div></div> |
349 <div></div> | 351 <div></div> |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
404 "<a href="#homepage_url">homepage_url</a>": "http://<em>path/to/homepage</em>"
, | 406 "<a href="#homepage_url">homepage_url</a>": "http://<em>path/to/homepage</em>"
, |
405 "<a href="#incognito">incognito</a>": "spanning" <em>or</em> "split", | 407 "<a href="#incognito">incognito</a>": "spanning" <em>or</em> "split", |
406 "<a href="#key">key</a>": "<em>publicKey</em>", | 408 "<a href="#key">key</a>": "<em>publicKey</em>", |
407 "<a href="#minimum_chrome_version">minimum_chrome_version</a>": "<em>versionSt
ring</em>", | 409 "<a href="#minimum_chrome_version">minimum_chrome_version</a>": "<em>versionSt
ring</em>", |
408 "<a href="#nacl_modules">nacl_modules</a>": [...], | 410 "<a href="#nacl_modules">nacl_modules</a>": [...], |
409 "<a href="#offline_enabled">offline_enabled</a>": true, | 411 "<a href="#offline_enabled">offline_enabled</a>": true, |
410 "<a href="omnibox.html">omnibox</a>": { "keyword": "<em>aString</em>" }, | 412 "<a href="omnibox.html">omnibox</a>": { "keyword": "<em>aString</em>" }, |
411 "<a href="options.html">options_page</a>": "<em>aFile</em>.html", | 413 "<a href="options.html">options_page</a>": "<em>aFile</em>.html", |
412 "<a href="#permissions">permissions</a>": [...], | 414 "<a href="#permissions">permissions</a>": [...], |
413 "<a href="npapi.html">plugins</a>": [...], | 415 "<a href="npapi.html">plugins</a>": [...], |
| 416 "<a href="#requirements">requirements</a>": {...}, |
414 "<a href="autoupdate.html">update_url</a>": "http://<em>path/to/updateInfo</em
>.xml" | 417 "<a href="autoupdate.html">update_url</a>": "http://<em>path/to/updateInfo</em
>.xml" |
415 } | 418 } |
416 </pre> | 419 </pre> |
417 | 420 |
418 | 421 |
419 <a name="H2-1"></a><h2>Field details</h2> | 422 <a name="H2-1"></a><h2>Field details</h2> |
420 | 423 |
421 <p> | 424 <p> |
422 This section covers fields that aren't described in another page. | 425 This section covers fields that aren't described in another page. |
423 For a complete list of fields, | 426 For a complete list of fields, |
(...skipping 531 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
955 </tr> | 958 </tr> |
956 <tr> | 959 <tr> |
957 <td> "webRequestBlocking" </td> | 960 <td> "webRequestBlocking" </td> |
958 <td> Required if the extension uses the | 961 <td> Required if the extension uses the |
959 <a href="webRequest.html">chrome.webRequest</a> module in a blocking | 962 <a href="webRequest.html">chrome.webRequest</a> module in a blocking |
960 fashion. </td> | 963 fashion. </td> |
961 </tr> | 964 </tr> |
962 | 965 |
963 </tbody></table> | 966 </tbody></table> |
964 | 967 |
| 968 <h3 id="requirements">requirements</h3> |
| 969 |
| 970 <p> |
| 971 Technologies required by the app or extension. |
| 972 Hosting sites such as the Chrome Web Store may use this list |
| 973 to dissuade users from installing apps or extensions |
| 974 that will not work on their computer. |
| 975 </p> |
| 976 |
| 977 <p> |
| 978 The only supported requirement is "3D", |
| 979 which denotes GPU hardware acceleration. |
| 980 For that requirement, |
| 981 you can list the 3D-related features your app requires, |
| 982 as demonstrated in the following example: |
| 983 </p> |
| 984 |
| 985 <pre>"requirements": { |
| 986 "3D": { |
| 987 "features": ["css3d", "webgl"] |
| 988 } |
| 989 } |
| 990 </pre> |
| 991 |
| 992 <p> |
| 993 The "css3d" requirement refers to the |
| 994 <a href="http://www.w3.org/TR/css3-3d-transforms/">CSS 3D Transforms specificati
on</a>, |
| 995 and the "webgl" requirement refers to the |
| 996 <a href="http://www.khronos.org/webgl/">WebGL API</a>. |
| 997 For more information on Chrome 3D graphics support, |
| 998 see the help article on |
| 999 <a href="http://www.google.com/support/chrome/bin/answer.py?answer=1220892">WebG
L and 3D graphics</a>. |
| 1000 Support for additional requirements checks may be added in the future. |
| 1001 </p> |
| 1002 |
965 | 1003 |
966 <h3 id="version">version</h3> | 1004 <h3 id="version">version</h3> |
967 | 1005 |
968 <p> | 1006 <p> |
969 One to four dot-separated integers | 1007 One to four dot-separated integers |
970 identifying the version of this extension. | 1008 identifying the version of this extension. |
971 A couple of rules apply to the integers: | 1009 A couple of rules apply to the integers: |
972 they must be between 0 and 65535, inclusive, | 1010 they must be between 0 and 65535, inclusive, |
973 and non-zero integers can't start with 0. | 1011 and non-zero integers can't start with 0. |
974 For example, 99999 and 032 are both invalid. | 1012 For example, 99999 and 032 are both invalid. |
(...skipping 246 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1221 _uff=0; | 1259 _uff=0; |
1222 urchinTracker(); | 1260 urchinTracker(); |
1223 } | 1261 } |
1224 catch(e) {/* urchinTracker not available. */} | 1262 catch(e) {/* urchinTracker not available. */} |
1225 </script> | 1263 </script> |
1226 <!-- end analytics --> | 1264 <!-- end analytics --> |
1227 </div> | 1265 </div> |
1228 </div> <!-- /gc-footer --> | 1266 </div> <!-- /gc-footer --> |
1229 </div> <!-- /gc-container --> | 1267 </div> <!-- /gc-container --> |
1230 </body></html> | 1268 </body></html> |
OLD | NEW |