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