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 177 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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-onSuspend">onSuspend</a> | 197 <a href="#event-onSuspend">onSuspend</a> |
| 198 </li><li> |
| 199 <a href="#event-onSuspendCanceled">onSuspendCanceled</a> |
198 </li> | 200 </li> |
199 </ol> | 201 </ol> |
200 </li> | 202 </li> |
201 <li> | 203 <li> |
202 <a href="#types">Types</a> | 204 <a href="#types">Types</a> |
203 <ol> | 205 <ol> |
204 <li> | 206 <li> |
205 <a href="#type-runtime.ManifestDetails">runtime.ManifestDetails<
/a> | 207 <a href="#type-runtime.ManifestDetails">runtime.ManifestDetails<
/a> |
206 <ol> | 208 <ol> |
207 </ol> | 209 </ol> |
(...skipping 288 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
496 </div> <!-- /description --> | 498 </div> <!-- /description --> |
497 <!-- /description --> | 499 <!-- /description --> |
498 </div><div class="apiItem"> | 500 </div><div class="apiItem"> |
499 <a name="event-onSuspend"></a> | 501 <a name="event-onSuspend"></a> |
500 <h4>onSuspend</h4> | 502 <h4>onSuspend</h4> |
501 <div class="summary"> | 503 <div class="summary"> |
502 <!-- Note: intentionally longer 80 columns --> | 504 <!-- Note: intentionally longer 80 columns --> |
503 <span class="subdued">chrome.runtime.</span><span>onSuspend</spa
n><span class="subdued">.addListener</span>(function(<span></span>) <span class=
"subdued">{...}</span><span></span>); | 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>); |
504 </div> | 506 </div> |
505 <div class="description"> | 507 <div class="description"> |
506 <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.</p> | 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> |
507 <!-- LISTENER PARAMETERS --> | 509 <!-- LISTENER PARAMETERS --> |
508 <!-- EXTRA PARAMETERS --> | 510 <!-- EXTRA PARAMETERS --> |
509 <!-- LISTENER RETURN VALUE --> | 511 <!-- LISTENER RETURN VALUE --> |
| 512 <dl> |
| 513 </dl> |
| 514 </div> <!-- /description --> |
| 515 <!-- /description --> |
| 516 </div><div class="apiItem"> |
| 517 <a name="event-onSuspendCanceled"></a> |
| 518 <h4>onSuspendCanceled</h4> |
| 519 <div class="summary"> |
| 520 <!-- Note: intentionally longer 80 columns --> |
| 521 <span class="subdued">chrome.runtime.</span><span>onSuspendCance
led</span><span class="subdued">.addListener</span>(function(<span></span>) <spa
n class="subdued">{...}</span><span></span>); |
| 522 </div> |
| 523 <div class="description"> |
| 524 <p>Sent after onSuspend() to indicate that the app won't be unlo
aded after all.</p> |
| 525 <!-- LISTENER PARAMETERS --> |
| 526 <!-- EXTRA PARAMETERS --> |
| 527 <!-- LISTENER RETURN VALUE --> |
510 <dl> | 528 <dl> |
511 </dl> | 529 </dl> |
512 </div> <!-- /description --> | 530 </div> <!-- /description --> |
513 <!-- /description --> | 531 <!-- /description --> |
514 </div> <!-- /apiItem --> | 532 </div> <!-- /apiItem --> |
515 </div> <!-- /apiGroup --> | 533 </div> <!-- /apiGroup --> |
516 <!-- TYPES --> | 534 <!-- TYPES --> |
517 <div class="apiGroup"> | 535 <div class="apiGroup"> |
518 <a name="types"></a> | 536 <a name="types"></a> |
519 <h3 id="types">Types</h3> | 537 <h3 id="types">Types</h3> |
(...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
693 _uff=0; | 711 _uff=0; |
694 urchinTracker(); | 712 urchinTracker(); |
695 } | 713 } |
696 catch(e) {/* urchinTracker not available. */} | 714 catch(e) {/* urchinTracker not available. */} |
697 </script> | 715 </script> |
698 <!-- end analytics --> | 716 <!-- end analytics --> |
699 </div> | 717 </div> |
700 </div> <!-- /gc-footer --> | 718 </div> <!-- /gc-footer --> |
701 </div> <!-- /gc-container --> | 719 </div> <!-- /gc-container --> |
702 </body></html> | 720 </body></html> |
OLD | NEW |