summaryrefslogtreecommitdiffstats
path: root/chrome/common/extensions/docs/static
diff options
context:
space:
mode:
authorcduvall@chromium.org <cduvall@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-03-22 19:27:35 +0000
committercduvall@chromium.org <cduvall@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-03-22 19:27:35 +0000
commit641bdeb0830b56bd715699126176cc750c10fb92 (patch)
tree5048eed8656e4c9c7665b0e646ab284fef7bac3d /chrome/common/extensions/docs/static
parente83e409b5f05357538dad425c2dd6263808eaeb4 (diff)
downloadchromium_src-641bdeb0830b56bd715699126176cc750c10fb92.zip
chromium_src-641bdeb0830b56bd715699126176cc750c10fb92.tar.gz
chromium_src-641bdeb0830b56bd715699126176cc750c10fb92.tar.bz2
Move topSites API out of experimental
topSites API is now available for developers. BUG=27759 TEST=*TopSites* Review URL: http://codereview.chromium.org/9721013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@128267 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/extensions/docs/static')
-rw-r--r--chrome/common/extensions/docs/static/permissions.html1
-rw-r--r--chrome/common/extensions/docs/static/topSites.html34
2 files changed, 35 insertions, 0 deletions
diff --git a/chrome/common/extensions/docs/static/permissions.html b/chrome/common/extensions/docs/static/permissions.html
index 39b0259..7868f3f 100644
--- a/chrome/common/extensions/docs/static/permissions.html
+++ b/chrome/common/extensions/docs/static/permissions.html
@@ -91,6 +91,7 @@ You can specify any of the following as optional permissions:
<li>notifications</li>
<li>pageCapture</li>
<li>tabs</li>
+ <li>topSites</li>
<li>webNavigation</li>
<li>webRequest</li>
<li>webRequestBlocking</li>
diff --git a/chrome/common/extensions/docs/static/topSites.html b/chrome/common/extensions/docs/static/topSites.html
new file mode 100644
index 0000000..696ace6
--- /dev/null
+++ b/chrome/common/extensions/docs/static/topSites.html
@@ -0,0 +1,34 @@
+<!-- BEGIN AUTHORED CONTENT -->
+
+<h2 id="manifest">Notes</h2>
+
+<p>
+The top sites module allows access to the top sites that are displayed on
+the new tab page.
+</p>
+
+<h2 id="manifest">Manifest</h2>
+
+<p>
+You must declare the "topSites" permission in your extension's manifest
+to use this API.
+</p>
+
+<pre>{
+ "name": "My extension",
+ ...
+<b> "permissions": [
+ "topSites",
+ ]</b>,
+ ...
+}</pre>
+
+
+<h2 id="examples">Examples</h2>
+
+<p>
+You can find samples of this API in
+<a href="samples.html#topsites">Samples</a>.
+</p>
+
+<!-- END AUTHORED CONTENT -->