| OLD | NEW |
| 1 <div id="pageData-title" class="pageData">chrome.* APIs</div> | 1 <div id="pageData-name" class="pageData">chrome.* APIs</div> |
| 2 | 2 |
| 3 <p> | 3 <p> |
| 4 Google Chrome provides APIs such as | 4 Google Chrome provides APIs such as |
| 5 <code>chrome.bookmarks</code> and <code>chrome.tab</code> | 5 <code>chrome.bookmarks</code> and <code>chrome.tab</code> |
| 6 so that extensions can interact with the browser. | 6 so that extensions can interact with the browser. |
| 7 Here are the supported chrome.* APIs: | 7 Here are the supported chrome.* APIs: |
| 8 </p> | 8 </p> |
| 9 | 9 |
| 10 <ul> | 10 <ul> |
| 11 <li><a href="bookmarks.html">bookmarks</a></li> | 11 <li><a href="bookmarks.html">bookmarks</a></li> |
| 12 <li><a href="browserAction.html">browserAction</a></li> | 12 <li><a href="browserAction.html">browserAction</a></li> |
| 13 <li><a href="extension.html">extension</a></li> | 13 <li><a href="extension.html">extension</a></li> |
| 14 <li><a href="i18n.html">i18n</a></li> | 14 <li><a href="i18n.html">i18n</a></li> |
| 15 <li><a href="pageAction.html">pageAction</a></li> | 15 <li><a href="pageAction.html">pageAction</a></li> |
| 16 <li><a href="tabs.html">tabs</a></li> | 16 <li><a href="tabs.html">tabs</a></li> |
| 17 <li><a href="windows.html">windows</a></li> | 17 <li><a href="windows.html">windows</a></li> |
| 18 </ul> | 18 </ul> |
| 19 | 19 |
| 20 <p> | 20 <p> |
| 21 Unless the doc says otherwise, | 21 Unless the doc says otherwise, |
| 22 methods in the chrome.* APIs are asynchronous: | 22 methods in the chrome.* APIs are asynchronous: |
| 23 they return immediately, | 23 they return immediately, |
| 24 without waiting for the operation to finish. | 24 without waiting for the operation to finish. |
| 25 If you need to know the outcome of an operation, | 25 If you need to know the outcome of an operation, |
| 26 then you pass a callback function into the method. | 26 then you pass a callback function into the method. |
| 27 <!-- [PENDING: update/elaborate on that] --> | 27 <!-- [PENDING: update/elaborate on that] --> |
| 28 </p> | 28 </p> |
| OLD | NEW |