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

Side by Side Diff: chrome/common/extensions/docs/templates/intros/idle.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: Moving logic into availability_data_source Created 7 years, 8 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 <table class="intro"> 1 <table class="intro">
2 <tr> 2 <tr>
3 <th scope="col"></th> 3 <th scope="col"></th>
4 <th scope="col"></th> 4 <th scope="col"></th>
5 </tr> 5 </tr>
6 <tr> 6 <tr>
7 <td><strong>Description:</strong></td>
8 <td>Use the <code>chrome.idle</code> module
9 to detect when the machine's idle state changes.</td>
10 </tr>
11 <tr>
12 <td><strong>Availability:</strong></td>
13 <td>Google Chrome 6</td>
14 </tr>
15 <tr>
16 <td><strong>Permissions:</strong></td> 7 <td><strong>Permissions:</strong></td>
17 <td><code>"idle"</code></td> 8 <td><code>"idle"</code></td>
18 </tr> 9 </tr>
19 </table> 10 </table>
20 11
21 <h2 id="manifest">Manifest</h2> 12 <h2 id="manifest">Manifest</h2>
22 <p>You must declare the "idle" permission in your extension's manifest to use th e idle API. 13 <p>You must declare the "idle" permission in your extension's manifest to use th e idle API.
23 For example: 14 For example:
24 </p> 15 </p>
25 16
26 <pre>{ 17 <pre>{
27 "name": "My extension", 18 "name": "My extension",
28 ... 19 ...
29 <b>"permissions": [ 20 <b>"permissions": [
30 "idle" 21 "idle"
31 ]</b>, 22 ]</b>,
32 ... 23 ...
33 }</pre> 24 }</pre>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698