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

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

Issue 6598054: Revert 76279 - Merge 76274 - Add info about "background" permission (new for ... (Closed) Base URL: svn://svn.chromium.org/chrome/branches/648/src/
Patch Set: Created 9 years, 9 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
OLDNEW
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 607 matching lines...) Expand 10 before | Expand all | Expand 10 after
618 </pre> 618 </pre>
619 619
620 <p> 620 <p>
621 The following table lists the permissions an extension 621 The following table lists the permissions an extension
622 or packaged app can use. 622 or packaged app can use.
623 </p> 623 </p>
624 624
625 <p class="note"> 625 <p class="note">
626 <strong>Note:</strong> 626 <strong>Note:</strong>
627 Hosted apps can use the 627 Hosted apps can use the
628 "background", "geolocation", "notifications", and "unlimitedStorage" permissions , 628 "geolocation", "notifications", and "unlimitedStorage" permissions,
629 but not any other permissions listed in this table. 629 but not any other permissions listed in this table.
630 </p> 630 </p>
631 631
632 <table> 632 <table>
633 <tbody><tr> 633 <tbody><tr>
634 <th> Permission </th> <th> Description </th> 634 <th> Permission </th> <th> Description </th>
635 </tr> 635 </tr>
636 <tr> 636 <tr>
637 <td> <em>match pattern</em> </td> 637 <td> <em>match pattern</em> </td>
638 <td> Specifies a <em>host permission</em>. 638 <td> Specifies a <em>host permission</em>.
639 Required if the extension wants to interact 639 Required if the extension wants to interact
640 with the code running on pages. 640 with the code running on pages.
641 Many extension capabilities, such as 641 Many extension capabilities, such as
642 <a href="xhr.html">cross-origin XMLHttpRequests</a>, 642 <a href="xhr.html">cross-origin XMLHttpRequests</a>,
643 <a href="content_scripts.html#pi">programmatically injected 643 <a href="content_scripts.html#pi">programmatically injected
644 content scripts</a>, and <a href="cookies.html">the cookies API</a> 644 content scripts</a>, and <a href="cookies.html">the cookies API</a>
645 require host permissions. For details on the syntax, see 645 require host permissions. For details on the syntax, see
646 <a href="match_patterns.html">Match Patterns</a>. 646 <a href="match_patterns.html">Match Patterns</a>.
647 </td> 647 </td>
648 </tr> 648 </tr>
649 <tr> 649 <tr>
650 <td> "background" </td>
651 <td> <p>
652 Makes Chrome start up early and and shut down late,
653 so that apps and extensions can have a longer life.
654 </p>
655
656 <p>
657 When any installed hosted app, packaged app, or extension
658 has "background" permission, Chrome runs (invisibly)
659 as soon as the user logs into their computer—before
660 the user launches Chrome.
661 The "background" permission also makes Chrome continue running
662 (even after its last window is closed)
663 until the user explicitly quits Chrome.
664 </p>
665
666 <p class="note">
667 <b>Note:</b>
668 Disabled apps and extensions
669 are treated as if they aren't installed.
670 </p>
671
672 <p>
673 You typically use the "background" permission with a
674 <a href="background_pages.html">background page</a>
675 or (for hosted apps) a
676 <a href="http://code.google.com/chrome/apps/docs/background.html">backgro und window</a>.
677 </p>
678 </td>
679 </tr>
680 <tr>
681 <td> "bookmarks" </td> 650 <td> "bookmarks" </td>
682 <td> Required if the extension uses the 651 <td> Required if the extension uses the
683 <a href="bookmarks.html">chrome.bookmarks</a> module. </td> 652 <a href="bookmarks.html">chrome.bookmarks</a> module. </td>
684 </tr> 653 </tr>
685 <tr> 654 <tr>
686 <td> "chrome://favicon/" </td> 655 <td> "chrome://favicon/" </td>
687 <td> Required if the extension uses the 656 <td> Required if the extension uses the
688 "chrome://favicon/<em>url</em>" mechanism 657 "chrome://favicon/<em>url</em>" mechanism
689 to display the favicon of a page. 658 to display the favicon of a page.
690 For example, to display the favicon of http://www.google.com/, 659 For example, to display the favicon of http://www.google.com/,
(...skipping 310 matching lines...) Expand 10 before | Expand all | Expand 10 after
1001 _uff=0; 970 _uff=0;
1002 urchinTracker(); 971 urchinTracker();
1003 } 972 }
1004 catch(e) {/* urchinTracker not available. */} 973 catch(e) {/* urchinTracker not available. */}
1005 </script> 974 </script>
1006 <!-- end analytics --> 975 <!-- end analytics -->
1007 </div> 976 </div>
1008 </div> <!-- /gc-footer --> 977 </div> <!-- /gc-footer -->
1009 </div> <!-- /gc-container --> 978 </div> <!-- /gc-container -->
1010 </body></html> 979 </body></html>
OLDNEW
« no previous file with comments | « chrome/common/extensions/docs/background_pages.html ('k') | chrome/common/extensions/docs/static/background_pages.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698