OLD | NEW |
(Empty) | |
| 1 <div id="pageData-name" class="pageData">chrome.* APIs</div> |
| 2 <div id="pageData-showTOC" class="pageData">true</div> |
| 3 |
| 4 <h2 id="supported">Supported APIs</h2> |
| 5 |
| 6 <p> |
| 7 Packaged apps can call some of the stable APIs from the extension system. |
| 8 </p> |
| 9 |
| 10 <ul> |
| 11 <li jsselect="listChromeAPIs('platform_app', false);"><a jsvalues=".href: $thi
s + '.html'" jscontent="$this" href="bookmarks.html" js>bookmarks</a> |
| 12 </li> |
| 13 </ul> |
| 14 |
| 15 <h2 id="experimental">Experimental APIs</h2> |
| 16 |
| 17 <p> |
| 18 Packaged apps can also use any experimental extension API. |
| 19 </p> |
| 20 |
| 21 <ul> |
| 22 <li jsselect="listChromeAPIs('platform_app', true);"><a jsvalues=".href: $this
+ '.html'" jscontent="$this" href="bookmarks.html" js>bookmarks</a> |
| 23 </li> |
| 24 </ul> |
| 25 |
| 26 <h2 id="conventions">API conventions</h2> |
| 27 |
| 28 <p> |
| 29 Unless the doc says otherwise, |
| 30 methods in the chrome.* APIs are <b>asynchronous</b>: |
| 31 they return immediately, |
| 32 without waiting for the operation to finish. |
| 33 If you need to know the outcome of an operation, |
| 34 then you pass a callback function into the method. |
| 35 For more information, watch this video: |
| 36 </p> |
OLD | NEW |