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

Side by Side Diff: chrome/common/extensions/docs/templates/intros/management.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 id="classSummary">
2 The <code>chrome.management</code> module provides ways to manage the list of ex tensions/apps that are installed and running. It is particularly useful for exte nsions that <a href="override.html">override</a> the built-in New Tab page.
3 </p>
4
5 <h2 id="manifest">Manifest</h2> 1 <h2 id="manifest">Manifest</h2>
6 2
7 <p>You must declare the "management" permission 3 <p>You must declare the "management" permission
8 in the <a href="manifest.html">extension manifest</a> 4 in the <a href="manifest.html">extension manifest</a>
9 to use the management API. 5 to use the management API.
10 For example:</p> 6 For example:</p>
11 <pre>{ 7 <pre>{
12 "name": "My extension", 8 "name": "My extension",
13 ... 9 ...
14 <b>"permissions": [ 10 <b>"permissions": [
15 "management" 11 "management"
16 ]</b>, 12 ]</b>,
17 ... 13 ...
18 }</pre> 14 }</pre>
19 15
20 <p> 16 <p>
21 $ref:management.getPermissionWarningsByManifest and 17 $ref:management.getPermissionWarningsByManifest and
22 $ref:management.uninstallSelf do not require the management permission 18 $ref:management.uninstallSelf do not require the management permission
23 </p> 19 </p>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698