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

Unified Diff: chrome/common/extensions/docs/server2/templates/private/pageCapture_intro.html

Issue 10700118: Extensions Docs Server: First doc conversions (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Added all APIs Created 8 years, 5 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 side-by-side diff with in-line comments
Download patch
Index: chrome/common/extensions/docs/server2/templates/private/pageCapture_intro.html
diff --git a/chrome/common/extensions/docs/server2/templates/private/pageCapture_intro.html b/chrome/common/extensions/docs/server2/templates/private/pageCapture_intro.html
new file mode 100644
index 0000000000000000000000000000000000000000..820f20fe6c0c686cc6207a2a6cfafb24c8c3be0f
--- /dev/null
+++ b/chrome/common/extensions/docs/server2/templates/private/pageCapture_intro.html
@@ -0,0 +1,27 @@
+<!-- BEGIN AUTHORED CONTENT -->
+<p>
+The pageCapture API allows you to save a tab as MHTML.
+</p>
+<p>
+MHTML is a <a href="http://tools.ietf.org/html/rfc2557">standard format</a>
+supported by most browsers. It encapsulates in a single file a page and all
+its resources (CSS files, images..).
+</p>
+<p>
+Note that for security reasons a MHTML file can only be loaded from the file
+system and that it can only be loaded in the main frame.
+</p>
+<h2 id="manifest">Manifest</h2>
+<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 -->

Powered by Google App Engine
This is Rietveld 408576698