summaryrefslogtreecommitdiffstats
path: root/chrome/common/extensions/docs/static
diff options
context:
space:
mode:
authorjcivelli@chromium.org <jcivelli@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-11-28 07:43:29 +0000
committerjcivelli@chromium.org <jcivelli@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-11-28 07:43:29 +0000
commit9e4430f5c226fb92eabe45e37834a89473707e1b (patch)
tree365819c72d68e4a86a89b812d340497922b25b1f /chrome/common/extensions/docs/static
parent11086c713c607949e147f4005541ade5282cc7bb (diff)
downloadchromium_src-9e4430f5c226fb92eabe45e37834a89473707e1b.zip
chromium_src-9e4430f5c226fb92eabe45e37834a89473707e1b.tar.gz
chromium_src-9e4430f5c226fb92eabe45e37834a89473707e1b.tar.bz2
Moving the MHTML API out of experimental and renaming it.
Moving the savePageAsMTML API out of experimental and renaming it per Kathy suggestion to pageCapture.saveAsMhtml. BUG=None TEST=The API should still work. Review URL: http://codereview.chromium.org/8682013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@111678 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/extensions/docs/static')
-rw-r--r--chrome/common/extensions/docs/static/pageCapture.html (renamed from chrome/common/extensions/docs/static/experimental.savePage.html)19
1 files changed, 14 insertions, 5 deletions
diff --git a/chrome/common/extensions/docs/static/experimental.savePage.html b/chrome/common/extensions/docs/static/pageCapture.html
index 1db3947..5d5267d 100644
--- a/chrome/common/extensions/docs/static/experimental.savePage.html
+++ b/chrome/common/extensions/docs/static/pageCapture.html
@@ -1,6 +1,6 @@
<!-- BEGIN AUTHORED CONTENT -->
<p>
-The savePage API allows you to save a tab as MHTML.
+The pageCapture API allows you to save a tab as MHTML.
</p>
<p>
@@ -16,9 +16,18 @@ system and that it can only be loaded in the main frame.
<h2 id="manifest">Manifest</h2>
-<p>
-The savePage API is currently
-experimental, so you must declare the "experimental"
-permission to use it.
+
+<p>You must declare the "pageCapture" permission
+in the <a href="manifest.html">extension manifest</a>
+to use the history API.
+For example:</p>
+<pre>{
+ "name": "My extension",
+ ...
+ <b>"permissions": [
+ "pageCapture"
+ ]</b>,
+ ...
+}</pre>
<!-- END AUTHORED CONTENT -->