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 176 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
187 <a href="#method-getURL">getURL</a> | 187 <a href="#method-getURL">getURL</a> |
188 </li> | 188 </li> |
189 </ol> | 189 </ol> |
190 </li> | 190 </li> |
191 <li> | 191 <li> |
192 <a href="#global-events">Events</a> | 192 <a href="#global-events">Events</a> |
193 <ol> | 193 <ol> |
194 <li> | 194 <li> |
195 <a href="#event-onInstalled">onInstalled</a> | 195 <a href="#event-onInstalled">onInstalled</a> |
196 </li><li> | 196 </li><li> |
| 197 <a href="#event-onStartup">onStartup</a> |
| 198 </li><li> |
197 <a href="#event-onSuspend">onSuspend</a> | 199 <a href="#event-onSuspend">onSuspend</a> |
198 </li><li> | 200 </li><li> |
199 <a href="#event-onSuspendCanceled">onSuspendCanceled</a> | 201 <a href="#event-onSuspendCanceled">onSuspendCanceled</a> |
200 </li> | 202 </li> |
201 </ol> | 203 </ol> |
202 </li> | 204 </li> |
203 <li> | 205 <li> |
204 <a href="#types">Types</a> | 206 <a href="#types">Types</a> |
205 <ol> | 207 <ol> |
206 <li> | 208 <li> |
(...skipping 284 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
491 <div class="description"> | 493 <div class="description"> |
492 <p>Fired when the extension is first installed, and on each upda
te to a new version.</p> | 494 <p>Fired when the extension is first installed, and on each upda
te to a new version.</p> |
493 <!-- LISTENER PARAMETERS --> | 495 <!-- LISTENER PARAMETERS --> |
494 <!-- EXTRA PARAMETERS --> | 496 <!-- EXTRA PARAMETERS --> |
495 <!-- LISTENER RETURN VALUE --> | 497 <!-- LISTENER RETURN VALUE --> |
496 <dl> | 498 <dl> |
497 </dl> | 499 </dl> |
498 </div> <!-- /description --> | 500 </div> <!-- /description --> |
499 <!-- /description --> | 501 <!-- /description --> |
500 </div><div class="apiItem"> | 502 </div><div class="apiItem"> |
| 503 <a name="event-onStartup"></a> |
| 504 <h4>onStartup</h4> |
| 505 <div class="summary"> |
| 506 <!-- Note: intentionally longer 80 columns --> |
| 507 <span class="subdued">chrome.runtime.</span><span>onStartup</spa
n><span class="subdued">.addListener</span>(function(<span></span>) <span class=
"subdued">{...}</span><span></span>); |
| 508 </div> |
| 509 <div class="description"> |
| 510 <p>Fired when the browser first starts up.</p> |
| 511 <!-- LISTENER PARAMETERS --> |
| 512 <!-- EXTRA PARAMETERS --> |
| 513 <!-- LISTENER RETURN VALUE --> |
| 514 <dl> |
| 515 </dl> |
| 516 </div> <!-- /description --> |
| 517 <!-- /description --> |
| 518 </div><div class="apiItem"> |
501 <a name="event-onSuspend"></a> | 519 <a name="event-onSuspend"></a> |
502 <h4>onSuspend</h4> | 520 <h4>onSuspend</h4> |
503 <div class="summary"> | 521 <div class="summary"> |
504 <!-- Note: intentionally longer 80 columns --> | 522 <!-- Note: intentionally longer 80 columns --> |
505 <span class="subdued">chrome.runtime.</span><span>onSuspend</spa
n><span class="subdued">.addListener</span>(function(<span></span>) <span class=
"subdued">{...}</span><span></span>); | 523 <span class="subdued">chrome.runtime.</span><span>onSuspend</spa
n><span class="subdued">.addListener</span>(function(<span></span>) <span class=
"subdued">{...}</span><span></span>); |
506 </div> | 524 </div> |
507 <div class="description"> | 525 <div class="description"> |
508 <p>Sent to the event page just before it is unloaded. This gives
the extension opportunity to do some clean up. Note that since the page is unlo
ading, any asynchronous operations started while handling this event are not gua
ranteed to complete. If more activity for the event page occurs before it gets u
nloaded the onSuspendCanceled event will be sent and the page won't be unloaded.
</p> | 526 <p>Sent to the event page just before it is unloaded. This gives
the extension opportunity to do some clean up. Note that since the page is unlo
ading, any asynchronous operations started while handling this event are not gua
ranteed to complete. If more activity for the event page occurs before it gets u
nloaded the onSuspendCanceled event will be sent and the page won't be unloaded.
</p> |
509 <!-- LISTENER PARAMETERS --> | 527 <!-- LISTENER PARAMETERS --> |
510 <!-- EXTRA PARAMETERS --> | 528 <!-- EXTRA PARAMETERS --> |
(...skipping 200 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
711 _uff=0; | 729 _uff=0; |
712 urchinTracker(); | 730 urchinTracker(); |
713 } | 731 } |
714 catch(e) {/* urchinTracker not available. */} | 732 catch(e) {/* urchinTracker not available. */} |
715 </script> | 733 </script> |
716 <!-- end analytics --> | 734 <!-- end analytics --> |
717 </div> | 735 </div> |
718 </div> <!-- /gc-footer --> | 736 </div> <!-- /gc-footer --> |
719 </div> <!-- /gc-container --> | 737 </div> <!-- /gc-container --> |
720 </body></html> | 738 </body></html> |
OLD | NEW |