diff options
author | dcheng@chromium.org <dcheng@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-05-23 20:45:40 +0000 |
---|---|---|
committer | dcheng@chromium.org <dcheng@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-05-23 20:45:40 +0000 |
commit | a735af2b373d407f5df164e8e586565bf675fa44 (patch) | |
tree | 7f803d5cf2d68fa89aa2fd31667f73eef5747896 /chrome/common | |
parent | a65741e788726592a38e464c2b4e6d58f95d6ebf (diff) | |
download | chromium_src-a735af2b373d407f5df164e8e586565bf675fa44.zip chromium_src-a735af2b373d407f5df164e8e586565bf675fa44.tar.gz chromium_src-a735af2b373d407f5df164e8e586565bf675fa44.tar.bz2 |
Add documentation for clipboardRead and clipboardWrite permissions.
BUG=83438
TEST=none
Review URL: http://codereview.chromium.org/7038045
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@86334 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common')
-rw-r--r-- | chrome/common/extensions/docs/manifest.html | 18 | ||||
-rw-r--r-- | chrome/common/extensions/docs/static/manifest.html | 18 |
2 files changed, 32 insertions, 4 deletions
diff --git a/chrome/common/extensions/docs/manifest.html b/chrome/common/extensions/docs/manifest.html index 3dce4b3..dd1be81 100644 --- a/chrome/common/extensions/docs/manifest.html +++ b/chrome/common/extensions/docs/manifest.html @@ -636,8 +636,9 @@ or packaged app can use. <p class="note"> <strong>Note:</strong> Hosted apps can use the -"background", "geolocation", "notifications", and "unlimitedStorage" permissions, -but not any other permissions listed in this table. +"background", "clipboardRead", "clipboardWrite", "geolocation", "notifications", +and "unlimitedStorage" permissions, but not any other permissions listed in this +table. </p> <table> @@ -705,6 +706,19 @@ but not any other permissions listed in this table. </td> </tr> <tr> + <td> "clipboardRead" </td> + <td> Required if the extension uses + <code>document.execCommand('paste')</code>. </td> +</tr> +<tr> + <td> "clipboardWrite" </td> + <td> Indicates the app or extension uses + <code>document.execCommand('copy')</code> or + <code>document.execCommand('cut')</code>. This permission is <b>required + for hosted apps</b>; it's recommended for extensions and packaged apps. + </td> +</tr> +<tr> <td> "contextMenus" </td> <td> Required if the extension uses the <a href="contextMenus.html">chrome.contextMenus</a> module. </td> diff --git a/chrome/common/extensions/docs/static/manifest.html b/chrome/common/extensions/docs/static/manifest.html index 12f0fab..8c97a56 100644 --- a/chrome/common/extensions/docs/static/manifest.html +++ b/chrome/common/extensions/docs/static/manifest.html @@ -298,8 +298,9 @@ or packaged app can use. <p class="note"> <strong>Note:</strong> Hosted apps can use the -"background", "geolocation", "notifications", and "unlimitedStorage" permissions, -but not any other permissions listed in this table. +"background", "clipboardRead", "clipboardWrite", "geolocation", "notifications", +and "unlimitedStorage" permissions, but not any other permissions listed in this +table. </p> <table> @@ -367,6 +368,19 @@ but not any other permissions listed in this table. </td> </tr> <tr> + <td> "clipboardRead" </td> + <td> Required if the extension uses + <code>document.execCommand('paste')</code>. </td> +</tr> +<tr> + <td> "clipboardWrite" </td> + <td> Indicates the app or extension uses + <code>document.execCommand('copy')</code> or + <code>document.execCommand('cut')</code>. This permission is <b>required + for hosted apps</b>; it's recommended for extensions and packaged apps. + </td> +</tr> +<tr> <td> "contextMenus" </td> <td> Required if the extension uses the <a href="contextMenus.html">chrome.contextMenus</a> module. </td> |