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 556 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
567 to display the favicon of a page. | 567 to display the favicon of a page. |
568 For example, to display the favicon of http://www.google.com/, | 568 For example, to display the favicon of http://www.google.com/, |
569 you declare the "chrome://favicon/" permission | 569 you declare the "chrome://favicon/" permission |
570 and use HTML code like this: | 570 and use HTML code like this: |
571 <pre><img src="chrome://favicon/http://www.google.com/"></pre> | 571 <pre><img src="chrome://favicon/http://www.google.com/"></pre> |
572 </td> | 572 </td> |
573 </tr> | 573 </tr> |
574 <tr> | 574 <tr> |
575 <td> "contextMenus" </td> | 575 <td> "contextMenus" </td> |
576 <td> Required if the extension uses the | 576 <td> Required if the extension uses the |
577 <a href="contextMenus.html">context menus</a> module. </td> | 577 <a href="contextMenus.html">chrome.contextMenus</a> module. </td> |
578 </tr> | 578 </tr> |
579 <tr> | 579 <tr> |
580 <td> "cookies" </td> | 580 <td> "cookies" </td> |
581 <td> Required if the extension uses the | 581 <td> Required if the extension uses the |
582 <a href="cookies.html">chrome.cookies</a> module. </td> | 582 <a href="cookies.html">chrome.cookies</a> module. </td> |
583 </tr> | 583 </tr> |
584 <tr> | 584 <tr> |
585 <td> "experimental" </td> | 585 <td> "experimental" </td> |
586 <td> Required if the extension uses any | 586 <td> Required if the extension uses any |
587 <a href="http://code.google.com/chrome/extensions/dev/experimental.html">
chrome.experimental.* APIs</a>.</td> | 587 <a href="http://code.google.com/chrome/extensions/dev/experimental.html">
chrome.experimental.* APIs</a>.</td> |
(...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
748 <p> | 748 <p> |
749 The callback <em>parameter</em> should specify a function | 749 The callback <em>parameter</em> should specify a function |
750 that looks like this: | 750 that looks like this: |
751 </p> | 751 </p> |
752 <p> | 752 <p> |
753 If you specify the <em>callback</em> parameter, it should | 753 If you specify the <em>callback</em> parameter, it should |
754 specify a function that looks like this: | 754 specify a function that looks like this: |
755 </p> | 755 </p> |
756 | 756 |
757 <!-- Note: intentionally longer 80 columns --> | 757 <!-- Note: intentionally longer 80 columns --> |
758 <pre>function(<span>Type param1, Type param2</span>) <span cla
ss="subdued">{...}</span>);</pre> | 758 <pre>function(<span>Type param1, Type param2</span>) <span cla
ss="subdued">{...}</span>;</pre> |
759 <dl> | 759 <dl> |
760 <div> | 760 <div> |
761 <div> | 761 <div> |
762 </div> | 762 </div> |
763 </div> | 763 </div> |
764 </dl> | 764 </dl> |
765 </div> | 765 </div> |
766 </div> | 766 </div> |
767 | 767 |
768 <!-- MIN_VERSION --> | 768 <!-- MIN_VERSION --> |
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
865 _uff=0; | 865 _uff=0; |
866 urchinTracker(); | 866 urchinTracker(); |
867 } | 867 } |
868 catch(e) {/* urchinTracker not available. */} | 868 catch(e) {/* urchinTracker not available. */} |
869 </script> | 869 </script> |
870 <!-- end analytics --> | 870 <!-- end analytics --> |
871 </div> | 871 </div> |
872 </div> <!-- /gc-footer --> | 872 </div> <!-- /gc-footer --> |
873 </div> <!-- /gc-container --> | 873 </div> <!-- /gc-container --> |
874 </body></html> | 874 </body></html> |
OLD | NEW |