summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkathyw@chromium.org <kathyw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-06-24 20:42:36 +0000
committerkathyw@chromium.org <kathyw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-06-24 20:42:36 +0000
commitaef2debe767b87c8d89fb88455d4d4414c795116 (patch)
treea70434179239c1d1090befedbd1c2036981ad0bf
parent9ba6f3883088413828b348730d3a003d77627e76 (diff)
downloadchromium_src-aef2debe767b87c8d89fb88455d4d4414c795116.zip
chromium_src-aef2debe767b87c8d89fb88455d4d4414c795116.tar.gz
chromium_src-aef2debe767b87c8d89fb88455d4d4414c795116.tar.bz2
Add info about the "chrome://favicon" permission.
BUG=none TEST=none Review URL: http://codereview.chromium.org/2817030 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50763 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r--chrome/common/extensions/docs/manifest.html11
-rw-r--r--chrome/common/extensions/docs/static/manifest.html11
2 files changed, 22 insertions, 0 deletions
diff --git a/chrome/common/extensions/docs/manifest.html b/chrome/common/extensions/docs/manifest.html
index 2a42496..f9c6507 100644
--- a/chrome/common/extensions/docs/manifest.html
+++ b/chrome/common/extensions/docs/manifest.html
@@ -522,6 +522,17 @@ The following table lists the permissions an extension can use.
<a href="bookmarks.html">chrome.bookmarks</a> module. </td>
</tr>
<tr>
+ <td> "chrome://favicon" </td>
+ <td> Required if the extension uses the
+ "chrome://favicon/<em>url</em>" mechanism
+ to display the favicon of a page.
+ For example, to display the favicon of http://www.google.com/,
+ you declare the "chrome://favicon" permission
+ and use HTML code like this:
+ <pre>&lt;img src="chrome://favicon/http://www.google.com/"&gt;</pre>
+ </td>
+</tr>
+<tr>
<td> "experimental" </td>
<td> Required if the extension uses any
<a href="http://code.google.com/chrome/extensions/dev/experimental.html">chrome.experimental.* APIs</a>.</td>
diff --git a/chrome/common/extensions/docs/static/manifest.html b/chrome/common/extensions/docs/static/manifest.html
index 6b1f004..c558d7e 100644
--- a/chrome/common/extensions/docs/static/manifest.html
+++ b/chrome/common/extensions/docs/static/manifest.html
@@ -250,6 +250,17 @@ The following table lists the permissions an extension can use.
<a href="bookmarks.html">chrome.bookmarks</a> module. </td>
</tr>
<tr>
+ <td> "chrome://favicon" </td>
+ <td> Required if the extension uses the
+ "chrome://favicon/<em>url</em>" mechanism
+ to display the favicon of a page.
+ For example, to display the favicon of http://www.google.com/,
+ you declare the "chrome://favicon" permission
+ and use HTML code like this:
+ <pre>&lt;img src="chrome://favicon/http://www.google.com/"></pre>
+ </td>
+</tr>
+<tr>
<td> "experimental" </td>
<td> Required if the extension uses any
<a href="http://code.google.com/chrome/extensions/dev/experimental.html">chrome.experimental.* APIs</a>.</td>