| OLD | NEW |
| 1 <!-- BEGIN AUTHORED CONTENT --> | |
| 2 | |
| 3 <h2 id="manifest">Notes</h2> | 1 <h2 id="manifest">Notes</h2> |
| 4 | 2 |
| 5 <p> | 3 <p> |
| 6 The top sites module allows access to the top sites that are displayed on | 4 The top sites module allows access to the top sites that are displayed on |
| 7 the new tab page. | 5 the new tab page. |
| 8 </p> | 6 </p> |
| 9 | 7 |
| 10 <h2 id="manifest">Manifest</h2> | 8 <h2 id="manifest">Manifest</h2> |
| 11 | 9 |
| 12 <p> | 10 <p> |
| 13 You must declare the "topSites" permission in your extension's manifest | 11 You must declare the "topSites" permission in your extension's manifest |
| 14 to use this API. | 12 to use this API. |
| 15 </p> | 13 </p> |
| 16 | 14 |
| 17 <pre>{ | 15 <pre>{ |
| 18 "name": "My extension", | 16 "name": "My extension", |
| 19 ... | 17 ... |
| 20 <b> "permissions": [ | 18 <b> "permissions": [ |
| 21 "topSites", | 19 "topSites", |
| 22 ]</b>, | 20 ]</b>, |
| 23 ... | 21 ... |
| 24 }</pre> | 22 }</pre> |
| 25 | 23 |
| 26 | 24 |
| 27 <h2 id="examples">Examples</h2> | 25 <h2 id="examples">Examples</h2> |
| 28 | 26 |
| 29 <p> | 27 <p> |
| 30 You can find samples of this API in | 28 You can find samples of this API in |
| 31 <a href="samples.html#topsites">Samples</a>. | 29 <a href="samples.html#topsites">Samples</a>. |
| 32 </p> | 30 </p> |
| 33 | |
| 34 <!-- END AUTHORED CONTENT --> | |
| OLD | NEW |