| OLD | NEW |
| 1 <!DOCTYPE html><!-- This page is a placeholder for generated extensions api doc.
Note: | 1 <!DOCTYPE html><!-- This page is a placeholder for generated extensions api doc.
Note: |
| 2 1) The <head> information in this page is significant, should be uniform | 2 1) The <head> information in this page is significant, should be uniform |
| 3 across api docs and should be edited only with knowledge of the | 3 across api docs and should be edited only with knowledge of the |
| 4 templating mechanism. | 4 templating mechanism. |
| 5 3) All <body>.innerHTML is genereated as an rendering step. If viewed in a | 5 3) All <body>.innerHTML is genereated as an rendering step. If viewed in a |
| 6 browser, it will be re-generated from the template, json schema and | 6 browser, it will be re-generated from the template, json schema and |
| 7 authored overview content. | 7 authored overview content. |
| 8 4) The <body>.innerHTML is also generated by an offline step so that this | 8 4) The <body>.innerHTML is also generated by an offline step so that this |
| 9 page may easily be indexed by search engines. | 9 page may easily be indexed by search engines. |
| 10 --><html xmlns="http://www.w3.org/1999/xhtml"><head> | 10 --><html xmlns="http://www.w3.org/1999/xhtml"><head> |
| (...skipping 340 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 351 Google Chrome also has some | 351 Google Chrome also has some |
| 352 <a href="experimental.html">experimental APIs</a>, | 352 <a href="experimental.html">experimental APIs</a>, |
| 353 which give you access to | 353 which give you access to |
| 354 functionality such as process information and history. | 354 functionality such as process information and history. |
| 355 </p> | 355 </p> |
| 356 | 356 |
| 357 <h2 id="conventions">API conventions</h2> | 357 <h2 id="conventions">API conventions</h2> |
| 358 | 358 |
| 359 <p> | 359 <p> |
| 360 Unless the doc says otherwise, | 360 Unless the doc says otherwise, |
| 361 methods in the chrome.* APIs are asynchronous: | 361 methods in the chrome.* APIs are <b>asynchronous</b>: |
| 362 they return immediately, | 362 they return immediately, |
| 363 without waiting for the operation to finish. | 363 without waiting for the operation to finish. |
| 364 If you need to know the outcome of an operation, | 364 If you need to know the outcome of an operation, |
| 365 then you pass a callback function into the method. | 365 then you pass a callback function into the method. |
| 366 For more information, see the video | 366 For more information, watch this video: |
| 367 <a href="http://www.youtube.com/watch?v=bmxr75CV36A&feature=PlayList&p=C
A101D6A85FE9D4B&index=2">Extension API Design</a>. | 367 </p> |
| 368 |
| 369 <p> |
| 370 <iframe title="YouTube video player" width="640" height="390" src="http://www.yo
utube.com/embed/bmxr75CV36A?rel=0" frameborder="0" allowfullscreen=""></iframe> |
| 368 </p> | 371 </p> |
| 369 </div> | 372 </div> |
| 370 | 373 |
| 371 <!-- API PAGE --> | 374 <!-- API PAGE --> |
| 372 <div class="apiPage" style="display: none; "> | 375 <div class="apiPage" style="display: none; "> |
| 373 <a name="apiReference"></a> | 376 <a name="apiReference"></a> |
| 374 <h2>API reference: chrome.apiname </h2> | 377 <h2>API reference: chrome.apiname </h2> |
| 375 | 378 |
| 376 <!-- PROPERTIES --> | 379 <!-- PROPERTIES --> |
| 377 <div class="apiGroup"> | 380 <div class="apiGroup"> |
| (...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 554 _uff=0; | 557 _uff=0; |
| 555 urchinTracker(); | 558 urchinTracker(); |
| 556 } | 559 } |
| 557 catch(e) {/* urchinTracker not available. */} | 560 catch(e) {/* urchinTracker not available. */} |
| 558 </script> | 561 </script> |
| 559 <!-- end analytics --> | 562 <!-- end analytics --> |
| 560 </div> | 563 </div> |
| 561 </div> <!-- /gc-footer --> | 564 </div> <!-- /gc-footer --> |
| 562 </div> <!-- /gc-container --> | 565 </div> <!-- /gc-container --> |
| 563 </body></html> | 566 </body></html> |
| OLD | NEW |