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

Side by Side Diff: chrome/common/extensions/docs/templates/intros/downloads.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>The downloads API allows you to programmatically initiate, monitor,
2 manipulate, and search for downloads.</p>
3
4 <h2 id='manifest'>Manifest</h2> 1 <h2 id='manifest'>Manifest</h2>
5 2
6 <p> You must declare the 'downloads' permission in the <a 3 <p> You must declare the 'downloads' permission in the <a
7 href='manifest.html'>extension manifest</a> to use this API, along with <a 4 href='manifest.html'>extension manifest</a> to use this API, along with <a
8 href='declare_permissions.html'>host permissions</a> for any hosts that you 5 href='declare_permissions.html'>host permissions</a> for any hosts that you
9 may pass to $ref:downloads.download.</p> 6 may pass to $ref:downloads.download.</p>
10 7
11 <pre>{ 8 <pre>{
12 'name': 'My extension', 9 'name': 'My extension',
13 ... 10 ...
(...skipping 10 matching lines...) Expand all
24 $ref:runtime.lastError 21 $ref:runtime.lastError
25 object to indicate that the extension does not have permission to access that 22 object to indicate that the extension does not have permission to access that
26 hostname.</p> 23 hostname.</p>
27 24
28 <h2 id='examples'>Examples</h2> 25 <h2 id='examples'>Examples</h2>
29 26
30 <p>You can find simple examples of using the downloads module in the <a 27 <p>You can find simple examples of using the downloads module in the <a
31 href='http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/d ocs/examples/api/downloads/'>examples/api/downloads</a> 28 href='http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/d ocs/examples/api/downloads/'>examples/api/downloads</a>
32 directory. For other examples and for help in viewing the source code, see <a 29 directory. For other examples and for help in viewing the source code, see <a
33 href='samples.html'>Samples</a>.</p> 30 href='samples.html'>Samples</a>.</p>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698