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

Side by Side Diff: chrome/common/extensions/docs/static/manifest.html

Issue 7038045: Add documentation for clipboardRead and clipboardWrite permissions. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 7 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 | Annotate | Revision Log
OLDNEW
1 <div id="pageData-name" class="pageData">Formats: Manifest Files</div> 1 <div id="pageData-name" class="pageData">Formats: Manifest Files</div>
2 <div id="pageData-showTOC" class="pageData">true</div> 2 <div id="pageData-showTOC" class="pageData">true</div>
3 3
4 <p> 4 <p>
5 Every extension, installable web app, and theme has a 5 Every extension, installable web app, and theme has a
6 <a href="http://www.json.org">JSON</a>-formatted manifest file, 6 <a href="http://www.json.org">JSON</a>-formatted manifest file,
7 named <code>manifest.json</code>, 7 named <code>manifest.json</code>,
8 that provides important information. 8 that provides important information.
9 </p> 9 </p>
10 10
(...skipping 349 matching lines...) Expand 10 before | Expand all | Expand 10 after
360 <td> Required if the extension uses the 360 <td> Required if the extension uses the
361 "chrome://favicon/<em>url</em>" mechanism 361 "chrome://favicon/<em>url</em>" mechanism
362 to display the favicon of a page. 362 to display the favicon of a page.
363 For example, to display the favicon of http://www.google.com/, 363 For example, to display the favicon of http://www.google.com/,
364 you declare the "chrome://favicon/" permission 364 you declare the "chrome://favicon/" permission
365 and use HTML code like this: 365 and use HTML code like this:
366 <pre>&lt;img src="chrome://favicon/http://www.google.com/"></pre> 366 <pre>&lt;img src="chrome://favicon/http://www.google.com/"></pre>
367 </td> 367 </td>
368 </tr> 368 </tr>
369 <tr> 369 <tr>
370 <td> "clipboardRead" </td>
371 <td> Required if the extension uses
372 <code>document.execCommand('paste')</code>. </td>
373 </tr>
374 <tr>
375 <td> "clipboardWrite" </td>
376 <td> Recommended if an extension uses
377 <code>document.execCommand('copy')</code> or
378 <code>document.execCommand('cut')</code>. Required for an app.</td>
379 </tr>
380 <tr>
370 <td> "contextMenus" </td> 381 <td> "contextMenus" </td>
371 <td> Required if the extension uses the 382 <td> Required if the extension uses the
372 <a href="contextMenus.html">chrome.contextMenus</a> module. </td> 383 <a href="contextMenus.html">chrome.contextMenus</a> module. </td>
373 </tr> 384 </tr>
374 <tr> 385 <tr>
375 <td> "cookies" </td> 386 <td> "cookies" </td>
376 <td> Required if the extension uses the 387 <td> Required if the extension uses the
377 <a href="cookies.html">chrome.cookies</a> module. </td> 388 <a href="cookies.html">chrome.cookies</a> module. </td>
378 </tr> 389 </tr>
379 <tr> 390 <tr>
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
484 A missing integer is equal to zero. 495 A missing integer is equal to zero.
485 For example, 1.1.9.9999 is newer than 1.1. 496 For example, 1.1.9.9999 is newer than 1.1.
486 </p> 497 </p>
487 498
488 <p> 499 <p>
489 For more information, see 500 For more information, see
490 <a href="autoupdate.html">Autoupdating</a>. 501 <a href="autoupdate.html">Autoupdating</a>.
491 </p> 502 </p>
492 503
493 <!-- [PENDING: Possibly: point to the store/dashboard and make a big deal of the fact that autoupdating is free if you use them.] --> 504 <!-- [PENDING: Possibly: point to the store/dashboard and make a big deal of the fact that autoupdating is free if you use them.] -->
OLDNEW
« chrome/common/extensions/docs/manifest.html ('K') | « chrome/common/extensions/docs/manifest.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698