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

Side by Side Diff: chrome/common/extensions/docs/templates/intros/pageCapture.html

Issue 12996003: Dynamically generate a heading for Extension Docs API pages (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressing comments - Patch currently being broken up Created 7 years, 6 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 unified diff | Download patch
OLDNEW
1 <p> 1 <p>
2 The pageCapture API allows you to save a tab as MHTML.
3 </p>
4
5 <p>
6 MHTML is a <a href="http://tools.ietf.org/html/rfc2557">standard format</a> 2 MHTML is a <a href="http://tools.ietf.org/html/rfc2557">standard format</a>
7 supported by most browsers. It encapsulates in a single file a page and all 3 supported by most browsers. It encapsulates in a single file a page and all
8 its resources (CSS files, images..). 4 its resources (CSS files, images..).
9 </p> 5 </p>
10 6
11 <p> 7 <p>
12 Note that for security reasons a MHTML file can only be loaded from the file 8 Note that for security reasons a MHTML file can only be loaded from the file
13 system and that it can only be loaded in the main frame. 9 system and that it can only be loaded in the main frame.
14 </p> 10 </p>
15 11
16 <h2 id="manifest">Manifest</h2> 12 <h2 id="manifest">Manifest</h2>
17 13
18 14
19 <p>You must declare the "pageCapture" permission 15 <p>You must declare the "pageCapture" permission
20 in the <a href="manifest.html">extension manifest</a> 16 in the <a href="manifest.html">extension manifest</a>
21 to use the pageCapture API. 17 to use the pageCapture API.
22 For example:</p> 18 For example:</p>
23 <pre>{ 19 <pre>{
24 "name": "My extension", 20 "name": "My extension",
25 ... 21 ...
26 <b>"permissions": [ 22 <b>"permissions": [
27 "pageCapture" 23 "pageCapture"
28 ]</b>, 24 ]</b>,
29 ... 25 ...
30 }</pre> 26 }</pre>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698