| OLD | NEW |
| 1 <p id="classSummary"> | |
| 2 The <code>chrome.extension</code> module | |
| 3 has utilities that can be used by any extension page. | |
| 4 It includes support for exchanging messages | |
| 5 between an extension and its content scripts | |
| 6 or between extensions, | |
| 7 as described in detail in | |
| 8 <a href="messaging.html">Message Passing</a>. | |
| 9 </p> | |
| 10 | |
| 11 <h2 id="content scripts">Support for content scripts</h2> | 1 <h2 id="content scripts">Support for content scripts</h2> |
| 12 <p> | 2 <p> |
| 13 Unlike the other chrome.* APIs, | 3 Unlike the other chrome.* APIs, |
| 14 parts of <code>chrome.extension</code> | 4 parts of <code>chrome.extension</code> |
| 15 can be used by content scripts: | 5 can be used by content scripts: |
| 16 </p> | 6 </p> |
| 17 | 7 |
| 18 <dl> | 8 <dl> |
| 19 <dt> | 9 <dt> |
| 20 $ref:runtime.sendMessage and | 10 $ref:runtime.sendMessage and |
| (...skipping 14 matching lines...) Expand all Loading... |
| 35 </dt> | 25 </dt> |
| 36 <dd> | 26 <dd> |
| 37 Access to extension resources such as image files | 27 Access to extension resources such as image files |
| 38 </dd> | 28 </dd> |
| 39 </dl> | 29 </dl> |
| 40 | 30 |
| 41 <p> | 31 <p> |
| 42 For details, see | 32 For details, see |
| 43 <a href="content_scripts.html">Content Scripts</a>. | 33 <a href="content_scripts.html">Content Scripts</a>. |
| 44 </p> | 34 </p> |
| OLD | NEW |