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

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

Issue 7038045: Add documentation for clipboardRead and clipboardWrite permissions. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 9 years, 7 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
« no previous file with comments | « no previous file | chrome/common/extensions/docs/static/manifest.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 618 matching lines...) Expand 10 before | Expand all | Expand 10 after
629 </pre> 629 </pre>
630 630
631 <p> 631 <p>
632 The following table lists the permissions an extension 632 The following table lists the permissions an extension
633 or packaged app can use. 633 or packaged app can use.
634 </p> 634 </p>
635 635
636 <p class="note"> 636 <p class="note">
637 <strong>Note:</strong> 637 <strong>Note:</strong>
638 Hosted apps can use the 638 Hosted apps can use the
639 "background", "geolocation", "notifications", and "unlimitedStorage" permissions , 639 "background", "clipboardRead", "clipboardWrite", "geolocation", "notifications",
640 but not any other permissions listed in this table. 640 and "unlimitedStorage" permissions, but not any other permissions listed in this
641 table.
641 </p> 642 </p>
642 643
643 <table> 644 <table>
644 <tbody><tr> 645 <tbody><tr>
645 <th> Permission </th> <th> Description </th> 646 <th> Permission </th> <th> Description </th>
646 </tr> 647 </tr>
647 <tr> 648 <tr>
648 <td> <em>match pattern</em> </td> 649 <td> <em>match pattern</em> </td>
649 <td> Specifies a <em>host permission</em>. 650 <td> Specifies a <em>host permission</em>.
650 Required if the extension wants to interact 651 Required if the extension wants to interact
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
698 <td> Required if the extension uses the 699 <td> Required if the extension uses the
699 "chrome://favicon/<em>url</em>" mechanism 700 "chrome://favicon/<em>url</em>" mechanism
700 to display the favicon of a page. 701 to display the favicon of a page.
701 For example, to display the favicon of http://www.google.com/, 702 For example, to display the favicon of http://www.google.com/,
702 you declare the "chrome://favicon/" permission 703 you declare the "chrome://favicon/" permission
703 and use HTML code like this: 704 and use HTML code like this:
704 <pre>&lt;img src="chrome://favicon/http://www.google.com/"&gt;</pre> 705 <pre>&lt;img src="chrome://favicon/http://www.google.com/"&gt;</pre>
705 </td> 706 </td>
706 </tr> 707 </tr>
707 <tr> 708 <tr>
709 <td> "clipboardRead" </td>
710 <td> Required if the extension uses
711 <code>document.execCommand('paste')</code>. </td>
712 </tr>
713 <tr>
714 <td> "clipboardWrite" </td>
715 <td> Indicates an app or extension uses
kathyw 2011/05/23 20:29:57 an -> that the (everywhere else we say "the")
716 <code>document.execCommand('copy')</code> or
717 <code>document.execCommand('cut')</code>. This permission is <b>required
718 for hosted apps</b>; it's recommended for extensions and packaged apps.
719 </td>
720 </tr>
721 <tr>
708 <td> "contextMenus" </td> 722 <td> "contextMenus" </td>
709 <td> Required if the extension uses the 723 <td> Required if the extension uses the
710 <a href="contextMenus.html">chrome.contextMenus</a> module. </td> 724 <a href="contextMenus.html">chrome.contextMenus</a> module. </td>
711 </tr> 725 </tr>
712 <tr> 726 <tr>
713 <td> "cookies" </td> 727 <td> "cookies" </td>
714 <td> Required if the extension uses the 728 <td> Required if the extension uses the
715 <a href="cookies.html">chrome.cookies</a> module. </td> 729 <a href="cookies.html">chrome.cookies</a> module. </td>
716 </tr> 730 </tr>
717 <tr> 731 <tr>
(...skipping 319 matching lines...) Expand 10 before | Expand all | Expand 10 after
1037 _uff=0; 1051 _uff=0;
1038 urchinTracker(); 1052 urchinTracker();
1039 } 1053 }
1040 catch(e) {/* urchinTracker not available. */} 1054 catch(e) {/* urchinTracker not available. */}
1041 </script> 1055 </script>
1042 <!-- end analytics --> 1056 <!-- end analytics -->
1043 </div> 1057 </div>
1044 </div> <!-- /gc-footer --> 1058 </div> <!-- /gc-footer -->
1045 </div> <!-- /gc-container --> 1059 </div> <!-- /gc-container -->
1046 </body></html> 1060 </body></html>
OLDNEW
« no previous file with comments | « no previous file | chrome/common/extensions/docs/static/manifest.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698