OLD | NEW |
1 <div id="pageData-title" class="pageData">chrome.* APIs</div> | 1 <div id="pageData-title" 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="extension.html">extension</a></li> | 12 <li><a href="extension.html">extension</a></li> |
| 13 <li><a href="i18n.html">i18n</a></li> |
13 <li><a href="pageActions.html">pageActions</a></li> | 14 <li><a href="pageActions.html">pageActions</a></li> |
14 <li><a href="tabs.html">tabs</a></li> | 15 <li><a href="tabs.html">tabs</a></li> |
15 <li><a href="toolstrip.html">toolstrip</a></li> | 16 <li><a href="toolstrip.html">toolstrip</a></li> |
16 <li><a href="windows.html">windows</a></li> | 17 <li><a href="windows.html">windows</a></li> |
17 </ul> | 18 </ul> |
18 | 19 |
19 <p> | 20 <p> |
20 Unless the doc says otherwise, | 21 Unless the doc says otherwise, |
21 methods in the chrome.* APIs are asynchronous: | 22 methods in the chrome.* APIs are asynchronous: |
22 they return immediately, | 23 they return immediately, |
23 without waiting for the operation to finish. | 24 without waiting for the operation to finish. |
24 If you need to know the outcome of an operation, | 25 If you need to know the outcome of an operation, |
25 then you pass a callback function into the method. | 26 then you pass a callback function into the method. |
26 <span class="comment">[PENDING: update/elaborate on that]</span> | 27 <span class="comment">[PENDING: update/elaborate on that]</span> |
27 </p> | 28 </p> |
OLD | NEW |