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

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

Issue 11635032: Added introductory tables to Chrome apps APIs. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years 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 | Annotate | Revision Log
OLDNEW
1 <table class="intro">
2 <tr>
3 <th scope="col"></th>
4 <th scope="col"></th>
5 </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>
17 <td><code>"idle"</code></td>
18 </tr>
19 </table>
20
1 <h2 id="manifest">Manifest</h2> 21 <h2 id="manifest">Manifest</h2>
2 <p>You must declare the "idle" permission in your extension's manifest to use th e idle API. 22 <p>You must declare the "idle" permission in your extension's manifest to use th e idle API.
3 For example: 23 For example:
4 </p> 24 </p>
5 25
6 <pre>{ 26 <pre>{
7 "name": "My extension", 27 "name": "My extension",
8 ... 28 ...
9 <b>"permissions": [ 29 <b>"permissions": [
10 "idle" 30 "idle"
11 ]</b>, 31 ]</b>,
12 ... 32 ...
13 }</pre> 33 }</pre>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698