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 153 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
164 <li> | 164 <li> |
165 <a href="#methods">Methods</a> | 165 <a href="#methods">Methods</a> |
166 <ol> | 166 <ol> |
167 <li jsinstance="0"> | 167 <li jsinstance="0"> |
168 <a href="#method-setBadgeBackgroundColor">setBadgeBackgr
oundColor</a> | 168 <a href="#method-setBadgeBackgroundColor">setBadgeBackgr
oundColor</a> |
169 </li><li jsinstance="1"> | 169 </li><li jsinstance="1"> |
170 <a href="#method-setBadgeText">setBadgeText</a> | 170 <a href="#method-setBadgeText">setBadgeText</a> |
171 </li><li jsinstance="2"> | 171 </li><li jsinstance="2"> |
172 <a href="#method-setIcon">setIcon</a> | 172 <a href="#method-setIcon">setIcon</a> |
173 </li><li jsinstance="*3"> | 173 </li><li jsinstance="*3"> |
174 <a href="#method-setName">setName</a> | 174 <a href="#method-setTitle">setTitle</a> |
175 </li> | 175 </li> |
176 </ol> | 176 </ol> |
177 </li> | 177 </li> |
178 <li style="display: none; "> | 178 <li> |
179 <a href="#events">Events</a> | 179 <a href="#events">Events</a> |
180 <ol> | 180 <ol> |
181 <li> | 181 <li jsinstance="*0"> |
182 <a href="#event-anchor">eventName</a> | 182 <a href="#event-onClicked">onClicked</a> |
183 </li> | 183 </li> |
184 </ol> | 184 </ol> |
185 </li> | 185 </li> |
186 <li style="display: none; "> | 186 <li style="display: none; "> |
187 <a href="#types">Types</a> | 187 <a href="#types">Types</a> |
188 <ol> | 188 <ol> |
189 <li> | 189 <li> |
190 <a href="#id-anchor">id</a> | 190 <a href="#id-anchor">id</a> |
191 </li> | 191 </li> |
192 </ol> | 192 </ol> |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
229 <a name="methods"></a> | 229 <a name="methods"></a> |
230 <h3>Methods</h3> | 230 <h3>Methods</h3> |
231 | 231 |
232 <!-- iterates over all functions --> | 232 <!-- iterates over all functions --> |
233 <div class="apiItem" jsinstance="0"> | 233 <div class="apiItem" jsinstance="0"> |
234 <a name="method-setBadgeBackgroundColor"></a> <!-- method-anchor -
-> | 234 <a name="method-setBadgeBackgroundColor"></a> <!-- method-anchor -
-> |
235 <h4>setBadgeBackgroundColor</h4> | 235 <h4>setBadgeBackgroundColor</h4> |
236 | 236 |
237 <div class="summary"><span style="display: none; ">void</span> | 237 <div class="summary"><span style="display: none; ">void</span> |
238 <!-- Note: intentionally longer 80 columns --> | 238 <!-- Note: intentionally longer 80 columns --> |
239 <span>chrome.browserAction.setBadgeBackgroundColor</span>(<spa
n jsinstance="*0" class="null"><span style="display: none; ">, </span><span>arra
y of integer</span> | 239 <span>chrome.browserAction.setBadgeBackgroundColor</span>(<spa
n jsinstance="*0" class="null"><span style="display: none; ">, </span><span>obje
ct</span> |
240 <var><span>color</span></var></span>)</div> | 240 <var><span>details</span></var></span>)</div> |
241 | 241 |
242 <div class="description"> | 242 <div class="description"> |
243 <p class="todo" style="display: none; ">Undocumented.</p> | 243 <p class="todo" style="display: none; ">Undocumented.</p> |
244 <p>Sets the background color for the badge.</p> | 244 <p>Sets the background color for the badge.</p> |
245 | 245 |
246 <!-- PARAMETERS --> | 246 <!-- PARAMETERS --> |
247 <h4>Parameters</h4> | 247 <h4>Parameters</h4> |
248 <dl> | 248 <dl> |
249 <div jsinstance="*0"> | 249 <div jsinstance="*0"> |
250 <div> | 250 <div> |
251 <dt> | 251 <dt> |
| 252 <var>details</var> |
| 253 <em> |
| 254 |
| 255 <!-- TYPE --> |
| 256 <div style="display:inline"> |
| 257 ( |
| 258 <span class="optional" style="display: none; ">optional</spa
n> |
| 259 <span id="typeTemplate"> |
| 260 <span style="display: none; "> |
| 261 <a> Type</a> |
| 262 </span> |
| 263 <span> |
| 264 <span style="display: none; "> |
| 265 array of <span><span></span></span> |
| 266 </span> |
| 267 <span>object</span> |
| 268 </span> |
| 269 </span> |
| 270 ) |
| 271 </div> |
| 272 |
| 273 </em> |
| 274 </dt> |
| 275 <dd class="todo"> |
| 276 Undocumented. |
| 277 </dd> |
| 278 <dd style="display: none; "> |
| 279 Description of this parameter from the json schema. |
| 280 </dd> |
| 281 |
| 282 <!-- OBJECT PROPERTIES --> |
| 283 <dd> |
| 284 <dl> |
| 285 <div jsinstance="*0"> |
| 286 <div> |
| 287 <dt> |
252 <var>color</var> | 288 <var>color</var> |
253 <em> | 289 <em> |
254 | 290 |
255 <!-- TYPE --> | 291 <!-- TYPE --> |
256 <div style="display:inline"> | 292 <div style="display:inline"> |
257 ( | 293 ( |
258 <span class="optional" style="display: none; ">optional</spa
n> | 294 <span class="optional" style="display: none; ">optional</spa
n> |
259 <span id="typeTemplate"> | 295 <span id="typeTemplate"> |
260 <span style="display: none; "> | 296 <span style="display: none; "> |
261 <a> Type</a> | 297 <a> Type</a> |
(...skipping 28 matching lines...) Expand all Loading... |
290 <!-- OBJECT PROPERTIES --> | 326 <!-- OBJECT PROPERTIES --> |
291 <dd style="display: none; "> | 327 <dd style="display: none; "> |
292 <dl> | 328 <dl> |
293 <div> | 329 <div> |
294 <div> | 330 <div> |
295 </div> | 331 </div> |
296 </div> | 332 </div> |
297 </dl> | 333 </dl> |
298 </dd> | 334 </dd> |
299 </div> | 335 </div> |
| 336 </div> |
| 337 </dl> |
| 338 </dd> |
| 339 </div> |
300 </div> | 340 </div> |
301 </dl> | 341 </dl> |
302 | 342 |
303 <!-- RETURNS --> | 343 <!-- RETURNS --> |
304 <h4 style="display: none; ">Returns</h4> | 344 <h4 style="display: none; ">Returns</h4> |
305 <dl> | 345 <dl> |
306 <div style="display: none; "> | 346 <div style="display: none; "> |
307 <div> | 347 <div> |
308 </div> | 348 </div> |
309 </div> | 349 </div> |
(...skipping 20 matching lines...) Expand all Loading... |
330 </div> | 370 </div> |
331 | 371 |
332 </div> <!-- /description --> | 372 </div> <!-- /description --> |
333 | 373 |
334 </div><div class="apiItem" jsinstance="1"> | 374 </div><div class="apiItem" jsinstance="1"> |
335 <a name="method-setBadgeText"></a> <!-- method-anchor --> | 375 <a name="method-setBadgeText"></a> <!-- method-anchor --> |
336 <h4>setBadgeText</h4> | 376 <h4>setBadgeText</h4> |
337 | 377 |
338 <div class="summary"><span style="display: none; ">void</span> | 378 <div class="summary"><span style="display: none; ">void</span> |
339 <!-- Note: intentionally longer 80 columns --> | 379 <!-- Note: intentionally longer 80 columns --> |
340 <span>chrome.browserAction.setBadgeText</span>(<span jsinstanc
e="*0" class="null"><span style="display: none; ">, </span><span>string</span> | 380 <span>chrome.browserAction.setBadgeText</span>(<span jsinstanc
e="*0" class="null"><span style="display: none; ">, </span><span>object</span> |
341 <var><span>text</span></var></span>)</div> | 381 <var><span>details</span></var></span>)</div> |
342 | 382 |
343 <div class="description"> | 383 <div class="description"> |
344 <p class="todo" style="display: none; ">Undocumented.</p> | 384 <p class="todo" style="display: none; ">Undocumented.</p> |
345 <p>Sets the badge text for the browser action. This is printed o
n top of the icon.</p> | 385 <p>Sets the badge text for the browser action. This is printed o
n top of the icon.</p> |
346 | 386 |
347 <!-- PARAMETERS --> | 387 <!-- PARAMETERS --> |
348 <h4>Parameters</h4> | 388 <h4>Parameters</h4> |
349 <dl> | 389 <dl> |
350 <div jsinstance="*0"> | 390 <div jsinstance="*0"> |
351 <div> | 391 <div> |
352 <dt> | 392 <dt> |
| 393 <var>details</var> |
| 394 <em> |
| 395 |
| 396 <!-- TYPE --> |
| 397 <div style="display:inline"> |
| 398 ( |
| 399 <span class="optional" style="display: none; ">optional</spa
n> |
| 400 <span id="typeTemplate"> |
| 401 <span style="display: none; "> |
| 402 <a> Type</a> |
| 403 </span> |
| 404 <span> |
| 405 <span style="display: none; "> |
| 406 array of <span><span></span></span> |
| 407 </span> |
| 408 <span>object</span> |
| 409 </span> |
| 410 </span> |
| 411 ) |
| 412 </div> |
| 413 |
| 414 </em> |
| 415 </dt> |
| 416 <dd class="todo"> |
| 417 Undocumented. |
| 418 </dd> |
| 419 <dd style="display: none; "> |
| 420 Description of this parameter from the json schema. |
| 421 </dd> |
| 422 |
| 423 <!-- OBJECT PROPERTIES --> |
| 424 <dd> |
| 425 <dl> |
| 426 <div jsinstance="*0"> |
| 427 <div> |
| 428 <dt> |
353 <var>text</var> | 429 <var>text</var> |
354 <em> | 430 <em> |
355 | 431 |
356 <!-- TYPE --> | 432 <!-- TYPE --> |
357 <div style="display:inline"> | 433 <div style="display:inline"> |
358 ( | 434 ( |
359 <span class="optional" style="display: none; ">optional</spa
n> | 435 <span class="optional" style="display: none; ">optional</spa
n> |
360 <span id="typeTemplate"> | 436 <span id="typeTemplate"> |
361 <span style="display: none; "> | 437 <span style="display: none; "> |
362 <a> Type</a> | 438 <a> Type</a> |
(...skipping 18 matching lines...) Expand all Loading... |
381 <!-- OBJECT PROPERTIES --> | 457 <!-- OBJECT PROPERTIES --> |
382 <dd style="display: none; "> | 458 <dd style="display: none; "> |
383 <dl> | 459 <dl> |
384 <div> | 460 <div> |
385 <div> | 461 <div> |
386 </div> | 462 </div> |
387 </div> | 463 </div> |
388 </dl> | 464 </dl> |
389 </dd> | 465 </dd> |
390 </div> | 466 </div> |
| 467 </div> |
| 468 </dl> |
| 469 </dd> |
| 470 </div> |
391 </div> | 471 </div> |
392 </dl> | 472 </dl> |
393 | 473 |
394 <!-- RETURNS --> | 474 <!-- RETURNS --> |
395 <h4 style="display: none; ">Returns</h4> | 475 <h4 style="display: none; ">Returns</h4> |
396 <dl> | 476 <dl> |
397 <div style="display: none; "> | 477 <div style="display: none; "> |
398 <div> | 478 <div> |
399 </div> | 479 </div> |
400 </div> | 480 </div> |
(...skipping 20 matching lines...) Expand all Loading... |
421 </div> | 501 </div> |
422 | 502 |
423 </div> <!-- /description --> | 503 </div> <!-- /description --> |
424 | 504 |
425 </div><div class="apiItem" jsinstance="2"> | 505 </div><div class="apiItem" jsinstance="2"> |
426 <a name="method-setIcon"></a> <!-- method-anchor --> | 506 <a name="method-setIcon"></a> <!-- method-anchor --> |
427 <h4>setIcon</h4> | 507 <h4>setIcon</h4> |
428 | 508 |
429 <div class="summary"><span style="display: none; ">void</span> | 509 <div class="summary"><span style="display: none; ">void</span> |
430 <!-- Note: intentionally longer 80 columns --> | 510 <!-- Note: intentionally longer 80 columns --> |
431 <span>chrome.browserAction.setIcon</span>(<span jsinstance="*0
" class="null"><span style="display: none; ">, </span><span>integer or object</s
pan> | 511 <span>chrome.browserAction.setIcon</span>(<span jsinstance="*0
" class="null"><span style="display: none; ">, </span><span>object</span> |
432 <var><span>iconId</span></var></span>)</div> | 512 <var><span>details</span></var></span>)</div> |
433 | 513 |
434 <div class="description"> | 514 <div class="description"> |
435 <p class="todo" style="display: none; ">Undocumented.</p> | 515 <p class="todo" style="display: none; ">Undocumented.</p> |
436 <p>Sets the icon for the browser action. Can be up to about 22px
square.</p> | 516 <p>Sets the icon for the browser action. The icon can be specifi
ed either as the index of one of the icons that was pre-specified in the manifes
t, or as the pixel data from a Canvas element. Either the iconIndex or the image
Data property must be specified.</p> |
437 | 517 |
438 <!-- PARAMETERS --> | 518 <!-- PARAMETERS --> |
439 <h4>Parameters</h4> | 519 <h4>Parameters</h4> |
440 <dl> | 520 <dl> |
441 <div jsinstance="*0"> | 521 <div jsinstance="*0"> |
442 <div> | 522 <div> |
443 <dt> | 523 <dt> |
444 <var>iconId</var> | 524 <var>details</var> |
445 <em> | 525 <em> |
446 | 526 |
447 <!-- TYPE --> | 527 <!-- TYPE --> |
448 <div style="display:inline"> | 528 <div style="display:inline"> |
449 ( | 529 ( |
450 <span class="optional" style="display: none; ">optional</spa
n> | 530 <span class="optional" style="display: none; ">optional</spa
n> |
451 <span id="typeTemplate"> | 531 <span id="typeTemplate"> |
452 <span style="display: none; "> | 532 <span style="display: none; "> |
453 <a> Type</a> | 533 <a> Type</a> |
454 </span> | 534 </span> |
455 <span> | 535 <span> |
456 <span style="display: none; "> | 536 <span style="display: none; "> |
457 array of <span><span></span></span> | 537 array of <span><span></span></span> |
458 </span> | 538 </span> |
459 <span>integer or object</span> | 539 <span>object</span> |
460 </span> | 540 </span> |
461 </span> | 541 </span> |
462 ) | 542 ) |
| 543 </div> |
| 544 |
| 545 </em> |
| 546 </dt> |
| 547 <dd class="todo"> |
| 548 Undocumented. |
| 549 </dd> |
| 550 <dd style="display: none; "> |
| 551 Description of this parameter from the json schema. |
| 552 </dd> |
| 553 |
| 554 <!-- OBJECT PROPERTIES --> |
| 555 <dd> |
| 556 <dl> |
| 557 <div jsinstance="0"> |
| 558 <div> |
| 559 <dt> |
| 560 <var>imageData</var> |
| 561 <em> |
| 562 |
| 563 <!-- TYPE --> |
| 564 <div style="display:inline"> |
| 565 ( |
| 566 <span class="optional">optional</span> |
| 567 <span id="typeTemplate"> |
| 568 <span style="display: none; "> |
| 569 <a> Type</a> |
| 570 </span> |
| 571 <span> |
| 572 <span style="display: none; "> |
| 573 array of <span><span></span></span> |
| 574 </span> |
| 575 <span>any</span> |
| 576 </span> |
| 577 </span> |
| 578 ) |
463 </div> | 579 </div> |
464 | 580 |
465 </em> | 581 </em> |
466 </dt> | 582 </dt> |
467 <dd class="todo" style="display: none; "> | 583 <dd class="todo" style="display: none; "> |
468 Undocumented. | 584 Undocumented. |
469 </dd> | 585 </dd> |
470 <dd>An ImageData object from a canvas element, or a zero-based index i
nto the |icons| vector specified in the manifest. This is useful to represent di
fferent browser action states. Example: A GMail checker could have a 'new email
' icon and a 'no unread email' icon.</dd> | 586 <dd>Pixel data for an image. Must be an ImageData object (eg from a <c
ode>canvas</code> element).</dd> |
471 | 587 |
472 <!-- OBJECT PROPERTIES --> | 588 <!-- OBJECT PROPERTIES --> |
473 <dd style="display: none; "> | 589 <dd style="display: none; "> |
474 <dl> | 590 <dl> |
475 <div> | 591 <div> |
476 <div> | 592 <div> |
477 </div> | 593 </div> |
478 </div> | 594 </div> |
479 </dl> | 595 </dl> |
480 </dd> | 596 </dd> |
481 </div> | 597 </div> |
| 598 </div><div jsinstance="*1"> |
| 599 <div> |
| 600 <dt> |
| 601 <var>iconIndex</var> |
| 602 <em> |
| 603 |
| 604 <!-- TYPE --> |
| 605 <div style="display:inline"> |
| 606 ( |
| 607 <span class="optional">optional</span> |
| 608 <span id="typeTemplate"> |
| 609 <span style="display: none; "> |
| 610 <a> Type</a> |
| 611 </span> |
| 612 <span> |
| 613 <span style="display: none; "> |
| 614 array of <span><span></span></span> |
| 615 </span> |
| 616 <span>integer</span> |
| 617 </span> |
| 618 </span> |
| 619 ) |
| 620 </div> |
| 621 |
| 622 </em> |
| 623 </dt> |
| 624 <dd class="todo" style="display: none; "> |
| 625 Undocumented. |
| 626 </dd> |
| 627 <dd>The zero-based index into the |icons| vector specified in the mani
fest.</dd> |
| 628 |
| 629 <!-- OBJECT PROPERTIES --> |
| 630 <dd style="display: none; "> |
| 631 <dl> |
| 632 <div> |
| 633 <div> |
| 634 </div> |
| 635 </div> |
| 636 </dl> |
| 637 </dd> |
| 638 </div> |
| 639 </div> |
| 640 </dl> |
| 641 </dd> |
| 642 </div> |
482 </div> | 643 </div> |
483 </dl> | 644 </dl> |
484 | 645 |
485 <!-- RETURNS --> | 646 <!-- RETURNS --> |
486 <h4 style="display: none; ">Returns</h4> | 647 <h4 style="display: none; ">Returns</h4> |
487 <dl> | 648 <dl> |
488 <div style="display: none; "> | 649 <div style="display: none; "> |
489 <div> | 650 <div> |
490 </div> | 651 </div> |
491 </div> | 652 </div> |
(...skipping 15 matching lines...) Expand all Loading... |
507 <div> | 668 <div> |
508 </div> | 669 </div> |
509 </div> | 670 </div> |
510 </dl> | 671 </dl> |
511 </div> | 672 </div> |
512 </div> | 673 </div> |
513 | 674 |
514 </div> <!-- /description --> | 675 </div> <!-- /description --> |
515 | 676 |
516 </div><div class="apiItem" jsinstance="*3"> | 677 </div><div class="apiItem" jsinstance="*3"> |
517 <a name="method-setName"></a> <!-- method-anchor --> | 678 <a name="method-setTitle"></a> <!-- method-anchor --> |
518 <h4>setName</h4> | 679 <h4>setTitle</h4> |
519 | 680 |
520 <div class="summary"><span style="display: none; ">void</span> | 681 <div class="summary"><span style="display: none; ">void</span> |
521 <!-- Note: intentionally longer 80 columns --> | 682 <!-- Note: intentionally longer 80 columns --> |
522 <span>chrome.browserAction.setName</span>(<span jsinstance="*0
" class=""><span style="display: none; ">, </span><span>string</span> | 683 <span>chrome.browserAction.setTitle</span>(<span jsinstance="*
0" class="null"><span style="display: none; ">, </span><span>object</span> |
523 <var><span>name</span></var></span>)</div> | 684 <var><span>details</span></var></span>)</div> |
524 | 685 |
525 <div class="description"> | 686 <div class="description"> |
526 <p class="todo" style="display: none; ">Undocumented.</p> | 687 <p class="todo" style="display: none; ">Undocumented.</p> |
527 <p>Sets the text for the browser action. Shows up in the tooltip
if the browser action is visible, and in the menu item.</p> | 688 <p>Sets the title of the browser action. Shows up in the tooltip
if the browser action is visible, and in the menu item.</p> |
528 | 689 |
529 <!-- PARAMETERS --> | 690 <!-- PARAMETERS --> |
530 <h4>Parameters</h4> | 691 <h4>Parameters</h4> |
531 <dl> | 692 <dl> |
532 <div jsinstance="*0"> | 693 <div jsinstance="*0"> |
533 <div> | 694 <div> |
534 <dt> | 695 <dt> |
535 <var>name</var> | 696 <var>details</var> |
536 <em> | 697 <em> |
537 | 698 |
538 <!-- TYPE --> | 699 <!-- TYPE --> |
| 700 <div style="display:inline"> |
| 701 ( |
| 702 <span class="optional" style="display: none; ">optional</spa
n> |
| 703 <span id="typeTemplate"> |
| 704 <span style="display: none; "> |
| 705 <a> Type</a> |
| 706 </span> |
| 707 <span> |
| 708 <span style="display: none; "> |
| 709 array of <span><span></span></span> |
| 710 </span> |
| 711 <span>object</span> |
| 712 </span> |
| 713 </span> |
| 714 ) |
| 715 </div> |
| 716 |
| 717 </em> |
| 718 </dt> |
| 719 <dd class="todo"> |
| 720 Undocumented. |
| 721 </dd> |
| 722 <dd style="display: none; "> |
| 723 Description of this parameter from the json schema. |
| 724 </dd> |
| 725 |
| 726 <!-- OBJECT PROPERTIES --> |
| 727 <dd> |
| 728 <dl> |
| 729 <div jsinstance="*0"> |
| 730 <div> |
| 731 <dt> |
| 732 <var>title</var> |
| 733 <em> |
| 734 |
| 735 <!-- TYPE --> |
539 <div style="display:inline"> | 736 <div style="display:inline"> |
540 ( | 737 ( |
541 <span class="optional" style="display: none; ">optional</spa
n> | 738 <span class="optional" style="display: none; ">optional</spa
n> |
542 <span id="typeTemplate"> | 739 <span id="typeTemplate"> |
543 <span style="display: none; "> | 740 <span style="display: none; "> |
544 <a> Type</a> | 741 <a> Type</a> |
545 </span> | 742 </span> |
546 <span> | 743 <span> |
547 <span style="display: none; "> | 744 <span style="display: none; "> |
548 array of <span><span></span></span> | 745 array of <span><span></span></span> |
(...skipping 14 matching lines...) Expand all Loading... |
563 <!-- OBJECT PROPERTIES --> | 760 <!-- OBJECT PROPERTIES --> |
564 <dd style="display: none; "> | 761 <dd style="display: none; "> |
565 <dl> | 762 <dl> |
566 <div> | 763 <div> |
567 <div> | 764 <div> |
568 </div> | 765 </div> |
569 </div> | 766 </div> |
570 </dl> | 767 </dl> |
571 </dd> | 768 </dd> |
572 </div> | 769 </div> |
| 770 </div> |
| 771 </dl> |
| 772 </dd> |
| 773 </div> |
573 </div> | 774 </div> |
574 </dl> | 775 </dl> |
575 | 776 |
576 <!-- RETURNS --> | 777 <!-- RETURNS --> |
577 <h4 style="display: none; ">Returns</h4> | 778 <h4 style="display: none; ">Returns</h4> |
578 <dl> | 779 <dl> |
579 <div style="display: none; "> | 780 <div style="display: none; "> |
580 <div> | 781 <div> |
581 </div> | 782 </div> |
582 </div> | 783 </div> |
(...skipping 19 matching lines...) Expand all Loading... |
602 </div> | 803 </div> |
603 </div> | 804 </div> |
604 | 805 |
605 </div> <!-- /description --> | 806 </div> <!-- /description --> |
606 | 807 |
607 </div> <!-- /apiItem --> | 808 </div> <!-- /apiItem --> |
608 | 809 |
609 </div> <!-- /apiGroup --> | 810 </div> <!-- /apiGroup --> |
610 | 811 |
611 <!-- EVENTS --> | 812 <!-- EVENTS --> |
612 <div class="apiGroup" style="display: none; "> | 813 <div class="apiGroup"> |
613 <a name="events"></a> | 814 <a name="events"></a> |
614 <h3 id="events">Events</h3> | 815 <h3 id="events">Events</h3> |
615 | 816 |
616 <!-- iterates over all events --> | 817 <!-- iterates over all events --> |
617 <div class="apiItem"> | 818 <div class="apiItem" jsinstance="*0"> |
618 <a></a> | 819 <a name="event-onClicked"></a> |
619 <h4>event name</h4> | 820 <h4>onClicked</h4> |
620 | 821 |
621 <div class="summary"> | 822 <div class="summary"> |
622 <!-- Note: intentionally longer 80 columns --> | 823 <!-- Note: intentionally longer 80 columns --> |
623 <span class="subdued">chrome.bookmarks</span><span>onEvent</span
><span class="subdued">.addListener</span>(function(<span>Type param1, Type para
m2</span>) <span class="subdued">{...}</span>); | 824 <span class="subdued">chrome.browserAction.</span><span>onClicke
d</span><span class="subdued">.addListener</span>(function(<span>Tab tab</span>)
<span class="subdued">{...}</span>); |
624 </div> | 825 </div> |
625 | 826 |
626 <div class="description"> | 827 <div class="description"> |
627 <p class="todo">Undocumented.</p> | 828 <p class="todo" style="display: none; ">Undocumented.</p> |
628 <p> | 829 <p>Fired when a page action button is clicked.</p> |
629 A description from the json schema def of the event goes here. | |
630 </p> | |
631 | 830 |
632 <!-- PARAMETERS --> | 831 <!-- PARAMETERS --> |
633 <h4>Parameters</h4> | 832 <h4>Parameters</h4> |
634 <dl> | 833 <dl> |
635 <div> | 834 <div jsinstance="*0"> |
636 <div> | 835 <div> |
637 </div> | 836 <dt> |
| 837 <var>tab</var> |
| 838 <em> |
| 839 |
| 840 <!-- TYPE --> |
| 841 <div style="display:inline"> |
| 842 ( |
| 843 <span class="optional" style="display: none; ">optional</spa
n> |
| 844 <span id="typeTemplate"> |
| 845 <span> |
| 846 <a href="tabs.html#type-Tab">Tab</a> |
| 847 </span> |
| 848 <span style="display: none; "> |
| 849 <span> |
| 850 array of <span><span></span></span> |
| 851 </span> |
| 852 <span>paramType</span> |
| 853 </span> |
| 854 </span> |
| 855 ) |
| 856 </div> |
| 857 |
| 858 </em> |
| 859 </dt> |
| 860 <dd class="todo"> |
| 861 Undocumented. |
| 862 </dd> |
| 863 <dd style="display: none; "> |
| 864 Description of this parameter from the json schema. |
| 865 </dd> |
| 866 |
| 867 <!-- OBJECT PROPERTIES --> |
| 868 <dd style="display: none; "> |
| 869 <dl> |
| 870 <div> |
| 871 <div> |
| 872 </div> |
| 873 </div> |
| 874 </dl> |
| 875 </dd> |
| 876 </div> |
638 </div> | 877 </div> |
639 </dl> | 878 </dl> |
640 | 879 |
641 </div> <!-- /decription --> | 880 </div> <!-- /decription --> |
642 | 881 |
643 </div> <!-- /apiItem --> | 882 </div> <!-- /apiItem --> |
644 | 883 |
645 </div> <!-- /apiGroup --> | 884 </div> <!-- /apiGroup --> |
646 | 885 |
647 <!-- TYPES --> | 886 <!-- TYPES --> |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
694 urchinTracker(); | 933 urchinTracker(); |
695 } | 934 } |
696 catch(e) {/* urchinTracker not available. */} | 935 catch(e) {/* urchinTracker not available. */} |
697 </script> | 936 </script> |
698 <!-- end analytics --> | 937 <!-- end analytics --> |
699 | 938 |
700 </div> <!-- /pageFooter --> | 939 </div> <!-- /pageFooter --> |
701 </div> <!-- /container --> | 940 </div> <!-- /container --> |
702 </body></html> | 941 </body></html> |
703 | 942 |
OLD | NEW |