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 249 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
260 <a href="#event-onRemoved">onRemoved</a> | 260 <a href="#event-onRemoved">onRemoved</a> |
261 </li><li> | 261 </li><li> |
262 <a href="#event-onUpdated">onUpdated</a> | 262 <a href="#event-onUpdated">onUpdated</a> |
263 </li> | 263 </li> |
264 </ol> | 264 </ol> |
265 </li> | 265 </li> |
266 <li> | 266 <li> |
267 <a href="#types">Types</a> | 267 <a href="#types">Types</a> |
268 <ol> | 268 <ol> |
269 <li> | 269 <li> |
270 <a href="#type-Tab">null</a> | 270 <a href="#type-tabs.Tab">Tab</a> |
271 <ol> | 271 <ol> |
272 </ol> | 272 </ol> |
273 </li> | 273 </li> |
274 </ol> | 274 </ol> |
275 </li> | 275 </li> |
276 </ol> | 276 </ol> |
277 </li> | 277 </li> |
278 </ol> | 278 </ol> |
279 </div> | 279 </div> |
280 <!-- /TABLE OF CONTENTS --> | 280 <!-- /TABLE OF CONTENTS --> |
(...skipping 301 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
582 <dl> | 582 <dl> |
583 <div> | 583 <div> |
584 <div> | 584 <div> |
585 <dt> | 585 <dt> |
586 <em> | 586 <em> |
587 <!-- TYPE --> | 587 <!-- TYPE --> |
588 <div style="display:inline"> | 588 <div style="display:inline"> |
589 ( | 589 ( |
590 <span id="typeTemplate"> | 590 <span id="typeTemplate"> |
591 <span> | 591 <span> |
592 <a>extension.Port</a> | 592 <a href="extension.html#type-extension.Port">extension.P
ort</a> |
593 </span> | 593 </span> |
594 </span> | 594 </span> |
595 ) | 595 ) |
596 </div> | 596 </div> |
597 </em> | 597 </em> |
598 </dt> | 598 </dt> |
599 <dd>A port that can be used to communicate with the content scripts ru
nning in the specified tab. The port's <a href="extension.html#type-Port">onDisc
onnect</a> event is fired if the tab closes or does not exist. </dd> | 599 <dd>A port that can be used to communicate with the content scripts ru
nning in the specified tab. The port's <a href="extension.html#type-Port">onDisc
onnect</a> event is fired if the tab closes or does not exist. </dd> |
600 <!-- OBJECT PROPERTIES --> | 600 <!-- OBJECT PROPERTIES --> |
601 <!-- OBJECT METHODS --> | 601 <!-- OBJECT METHODS --> |
602 <!-- OBJECT EVENT FIELDS --> | 602 <!-- OBJECT EVENT FIELDS --> |
(...skipping 2196 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2799 <!-- LISTENER RETURN VALUE --> | 2799 <!-- LISTENER RETURN VALUE --> |
2800 <dl> | 2800 <dl> |
2801 </dl> | 2801 </dl> |
2802 </div> <!-- /description --> | 2802 </div> <!-- /description --> |
2803 <!-- /description --> | 2803 <!-- /description --> |
2804 </div><div class="apiItem"> | 2804 </div><div class="apiItem"> |
2805 <a name="event-onCreated"></a> | 2805 <a name="event-onCreated"></a> |
2806 <h4>onCreated</h4> | 2806 <h4>onCreated</h4> |
2807 <div class="summary"> | 2807 <div class="summary"> |
2808 <!-- Note: intentionally longer 80 columns --> | 2808 <!-- Note: intentionally longer 80 columns --> |
2809 <span class="subdued">chrome.tabs.</span><span>onCreated</span><
span class="subdued">.addListener</span>(function(<span>Tab tab</span>) <span cl
ass="subdued">{...}</span><span></span>); | 2809 <span class="subdued">chrome.tabs.</span><span>onCreated</span><
span class="subdued">.addListener</span>(function(<span>tabs.Tab tab</span>) <sp
an class="subdued">{...}</span><span></span>); |
2810 </div> | 2810 </div> |
2811 <div class="description"> | 2811 <div class="description"> |
2812 <p>Fired when a tab is created. Note that the tab's URL may not
be set at the time this event fired, but you can listen to onUpdated events to b
e notified when a URL is set.</p> | 2812 <p>Fired when a tab is created. Note that the tab's URL may not
be set at the time this event fired, but you can listen to onUpdated events to b
e notified when a URL is set.</p> |
2813 <!-- LISTENER PARAMETERS --> | 2813 <!-- LISTENER PARAMETERS --> |
2814 <div> | 2814 <div> |
2815 <h4>Listener parameters</h4> | 2815 <h4>Listener parameters</h4> |
2816 <dl> | 2816 <dl> |
2817 <div> | 2817 <div> |
2818 <div> | 2818 <div> |
2819 <dt> | 2819 <dt> |
2820 <var>tab</var> | 2820 <var>tab</var> |
2821 <em> | 2821 <em> |
2822 <!-- TYPE --> | 2822 <!-- TYPE --> |
2823 <div style="display:inline"> | 2823 <div style="display:inline"> |
2824 ( | 2824 ( |
2825 <span id="typeTemplate"> | 2825 <span id="typeTemplate"> |
2826 <span> | 2826 <span> |
2827 <a href="tabs.html#type-Tab">Tab</a> | 2827 <a href="tabs.html#type-tabs.Tab">tabs.Tab</a> |
2828 </span> | 2828 </span> |
2829 </span> | 2829 </span> |
2830 ) | 2830 ) |
2831 </div> | 2831 </div> |
2832 </em> | 2832 </em> |
2833 </dt> | 2833 </dt> |
2834 <dd>Details of the tab that was created.</dd> | 2834 <dd>Details of the tab that was created.</dd> |
2835 <!-- OBJECT PROPERTIES --> | 2835 <!-- OBJECT PROPERTIES --> |
2836 <!-- OBJECT METHODS --> | 2836 <!-- OBJECT METHODS --> |
2837 <!-- OBJECT EVENT FIELDS --> | 2837 <!-- OBJECT EVENT FIELDS --> |
(...skipping 489 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3327 <!-- LISTENER RETURN VALUE --> | 3327 <!-- LISTENER RETURN VALUE --> |
3328 <dl> | 3328 <dl> |
3329 </dl> | 3329 </dl> |
3330 </div> <!-- /description --> | 3330 </div> <!-- /description --> |
3331 <!-- /description --> | 3331 <!-- /description --> |
3332 </div><div class="apiItem"> | 3332 </div><div class="apiItem"> |
3333 <a name="event-onUpdated"></a> | 3333 <a name="event-onUpdated"></a> |
3334 <h4>onUpdated</h4> | 3334 <h4>onUpdated</h4> |
3335 <div class="summary"> | 3335 <div class="summary"> |
3336 <!-- Note: intentionally longer 80 columns --> | 3336 <!-- Note: intentionally longer 80 columns --> |
3337 <span class="subdued">chrome.tabs.</span><span>onUpdated</span><
span class="subdued">.addListener</span>(function(<span>integer tabId, object ch
angeInfo, Tab tab</span>) <span class="subdued">{...}</span><span></span>); | 3337 <span class="subdued">chrome.tabs.</span><span>onUpdated</span><
span class="subdued">.addListener</span>(function(<span>integer tabId, object ch
angeInfo, tabs.Tab tab</span>) <span class="subdued">{...}</span><span></span>); |
3338 </div> | 3338 </div> |
3339 <div class="description"> | 3339 <div class="description"> |
3340 <p>Fired when a tab is updated.</p> | 3340 <p>Fired when a tab is updated.</p> |
3341 <!-- LISTENER PARAMETERS --> | 3341 <!-- LISTENER PARAMETERS --> |
3342 <div> | 3342 <div> |
3343 <h4>Listener parameters</h4> | 3343 <h4>Listener parameters</h4> |
3344 <dl> | 3344 <dl> |
3345 <div> | 3345 <div> |
3346 <div> | 3346 <div> |
3347 <dt> | 3347 <dt> |
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3470 </div><div> | 3470 </div><div> |
3471 <div> | 3471 <div> |
3472 <dt> | 3472 <dt> |
3473 <var>tab</var> | 3473 <var>tab</var> |
3474 <em> | 3474 <em> |
3475 <!-- TYPE --> | 3475 <!-- TYPE --> |
3476 <div style="display:inline"> | 3476 <div style="display:inline"> |
3477 ( | 3477 ( |
3478 <span id="typeTemplate"> | 3478 <span id="typeTemplate"> |
3479 <span> | 3479 <span> |
3480 <a href="tabs.html#type-Tab">Tab</a> | 3480 <a href="tabs.html#type-tabs.Tab">tabs.Tab</a> |
3481 </span> | 3481 </span> |
3482 </span> | 3482 </span> |
3483 ) | 3483 ) |
3484 </div> | 3484 </div> |
3485 </em> | 3485 </em> |
3486 </dt> | 3486 </dt> |
3487 <dd>Gives the state of the tab that was updated.</dd> | 3487 <dd>Gives the state of the tab that was updated.</dd> |
3488 <!-- OBJECT PROPERTIES --> | 3488 <!-- OBJECT PROPERTIES --> |
3489 <!-- OBJECT METHODS --> | 3489 <!-- OBJECT METHODS --> |
3490 <!-- OBJECT EVENT FIELDS --> | 3490 <!-- OBJECT EVENT FIELDS --> |
3491 <!-- FUNCTION PARAMETERS --> | 3491 <!-- FUNCTION PARAMETERS --> |
3492 </div> | 3492 </div> |
3493 </div> | 3493 </div> |
3494 </dl> | 3494 </dl> |
3495 </div> | 3495 </div> |
3496 <!-- EXTRA PARAMETERS --> | 3496 <!-- EXTRA PARAMETERS --> |
3497 <!-- LISTENER RETURN VALUE --> | 3497 <!-- LISTENER RETURN VALUE --> |
3498 <dl> | 3498 <dl> |
3499 </dl> | 3499 </dl> |
3500 </div> <!-- /description --> | 3500 </div> <!-- /description --> |
3501 <!-- /description --> | 3501 <!-- /description --> |
3502 </div> <!-- /apiItem --> | 3502 </div> <!-- /apiItem --> |
3503 </div> <!-- /apiGroup --> | 3503 </div> <!-- /apiGroup --> |
3504 <!-- TYPES --> | 3504 <!-- TYPES --> |
3505 <div class="apiGroup"> | 3505 <div class="apiGroup"> |
3506 <a name="types"></a> | 3506 <a name="types"></a> |
3507 <h3 id="types">Types</h3> | 3507 <h3 id="types">Types</h3> |
3508 <!-- iterates over all types --> | 3508 <!-- iterates over all types --> |
3509 <div class="apiItem"> | 3509 <div class="apiItem"> |
3510 <a name="type-Tab"></a> | 3510 <a name="type-tabs.Tab"></a> |
3511 <h4>Tab</h4> | 3511 <h4>tabs.Tab</h4> |
3512 <div> | 3512 <div> |
3513 <dt> | 3513 <dt> |
3514 <em> | 3514 <em> |
3515 <!-- TYPE --> | 3515 <!-- TYPE --> |
3516 <div style="display:inline"> | 3516 <div style="display:inline"> |
3517 ( | 3517 ( |
3518 <span id="typeTemplate"> | 3518 <span id="typeTemplate"> |
3519 <span> | 3519 <span> |
3520 <span>object</span> | 3520 <span>object</span> |
3521 </span> | 3521 </span> |
(...skipping 337 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3859 _uff=0; | 3859 _uff=0; |
3860 urchinTracker(); | 3860 urchinTracker(); |
3861 } | 3861 } |
3862 catch(e) {/* urchinTracker not available. */} | 3862 catch(e) {/* urchinTracker not available. */} |
3863 </script> | 3863 </script> |
3864 <!-- end analytics --> | 3864 <!-- end analytics --> |
3865 </div> | 3865 </div> |
3866 </div> <!-- /gc-footer --> | 3866 </div> <!-- /gc-footer --> |
3867 </div> <!-- /gc-container --> | 3867 </div> <!-- /gc-container --> |
3868 </body></html> | 3868 </body></html> |
OLD | NEW |