Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(417)

Side by Side Diff: chrome/common/extensions/docs/experimental.contextMenu.html

Issue 2812023: Make the extension API docs point out the minimum version that supports an API call. (Closed)
Patch Set: Rebase for checkin. Created 10 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 </div> 52 </div>
53 53
54 </em> 54 </em>
55 </dt> 55 </dt>
56 <dd class="todo"> 56 <dd class="todo">
57 Undocumented. 57 Undocumented.
58 </dd> 58 </dd>
59 <dd> 59 <dd>
60 Description of this parameter from the json schema. 60 Description of this parameter from the json schema.
61 </dd> 61 </dd>
62 <dd>
63 This parameter was added in version
64 <b><span></span></b>.
65 You must omit this parameter in earlier versions,
66 and you may omit it in any version. If you require this
67 parameter, the manifest key
68 <a href="manifest.html#minimum_chrome_version">minimum_chrome_versio n</a>
69 can ensure that your extension won't be run in an earlier browser ve rsion.
70 </dd>
62 71
63 <!-- OBJECT PROPERTIES --> 72 <!-- OBJECT PROPERTIES -->
64 <dd> 73 <dd>
65 <dl> 74 <dl>
66 <div> 75 <div>
67 <div> 76 <div>
68 </div> 77 </div>
69 </div> 78 </div>
70 </dl> 79 </dl>
71 </dd> 80 </dd>
(...skipping 270 matching lines...) Expand 10 before | Expand all | Expand 10 after
342 </div> 351 </div>
343 352
344 </em> 353 </em>
345 </dt> 354 </dt>
346 <dd class="todo"> 355 <dd class="todo">
347 Undocumented. 356 Undocumented.
348 </dd> 357 </dd>
349 <dd style="display: none; "> 358 <dd style="display: none; ">
350 Description of this parameter from the json schema. 359 Description of this parameter from the json schema.
351 </dd> 360 </dd>
361 <dd style="display: none; ">
362 This parameter was added in version
363 <b><span></span></b>.
364 You must omit this parameter in earlier versions,
365 and you may omit it in any version. If you require this
366 parameter, the manifest key
367 <a href="manifest.html#minimum_chrome_version">minimum_chrome_versio n</a>
368 can ensure that your extension won't be run in an earlier browser ve rsion.
369 </dd>
352 370
353 <!-- OBJECT PROPERTIES --> 371 <!-- OBJECT PROPERTIES -->
354 <dd> 372 <dd>
355 <dl> 373 <dl>
356 <div> 374 <div>
357 <div> 375 <div>
358 <dt> 376 <dt>
359 <var>type</var> 377 <var>type</var>
360 <em> 378 <em>
361 379
(...skipping 16 matching lines...) Expand all
378 </span> 396 </span>
379 ) 397 )
380 </div> 398 </div>
381 399
382 </em> 400 </em>
383 </dt> 401 </dt>
384 <dd class="todo" style="display: none; "> 402 <dd class="todo" style="display: none; ">
385 Undocumented. 403 Undocumented.
386 </dd> 404 </dd>
387 <dd>The type of menu item - one of 'NORMAL', 'CHECKBOX', 'RADIO', or ' SEPARATOR'. Defaults to 'NORMAL' if not specified.</dd> 405 <dd>The type of menu item - one of 'NORMAL', 'CHECKBOX', 'RADIO', or ' SEPARATOR'. Defaults to 'NORMAL' if not specified.</dd>
406 <dd style="display: none; ">
407 This parameter was added in version
408 <b><span></span></b>.
409 You must omit this parameter in earlier versions,
410 and you may omit it in any version. If you require this
411 parameter, the manifest key
412 <a href="manifest.html#minimum_chrome_version">minimum_chrome_versio n</a>
413 can ensure that your extension won't be run in an earlier browser ve rsion.
414 </dd>
388 415
389 <!-- OBJECT PROPERTIES --> 416 <!-- OBJECT PROPERTIES -->
390 <dd style="display: none; "> 417 <dd style="display: none; ">
391 <dl> 418 <dl>
392 <div> 419 <div>
393 <div> 420 <div>
394 </div> 421 </div>
395 </div> 422 </div>
396 </dl> 423 </dl>
397 </dd> 424 </dd>
(...skipping 23 matching lines...) Expand all
421 </span> 448 </span>
422 ) 449 )
423 </div> 450 </div>
424 451
425 </em> 452 </em>
426 </dt> 453 </dt>
427 <dd class="todo" style="display: none; "> 454 <dd class="todo" style="display: none; ">
428 Undocumented. 455 Undocumented.
429 </dd> 456 </dd>
430 <dd>This must be specified unless type is 'SEPARATOR'.</dd> 457 <dd>This must be specified unless type is 'SEPARATOR'.</dd>
458 <dd style="display: none; ">
459 This parameter was added in version
460 <b><span></span></b>.
461 You must omit this parameter in earlier versions,
462 and you may omit it in any version. If you require this
463 parameter, the manifest key
464 <a href="manifest.html#minimum_chrome_version">minimum_chrome_versio n</a>
465 can ensure that your extension won't be run in an earlier browser ve rsion.
466 </dd>
431 467
432 <!-- OBJECT PROPERTIES --> 468 <!-- OBJECT PROPERTIES -->
433 <dd style="display: none; "> 469 <dd style="display: none; ">
434 <dl> 470 <dl>
435 <div> 471 <div>
436 <div> 472 <div>
437 </div> 473 </div>
438 </div> 474 </div>
439 </dl> 475 </dl>
440 </dd> 476 </dd>
(...skipping 23 matching lines...) Expand all
464 </span> 500 </span>
465 ) 501 )
466 </div> 502 </div>
467 503
468 </em> 504 </em>
469 </dt> 505 </dt>
470 <dd class="todo" style="display: none; "> 506 <dd class="todo" style="display: none; ">
471 Undocumented. 507 Undocumented.
472 </dd> 508 </dd>
473 <dd> For items of type CHECKBOX or RADIO, should this be selected (RAD IO) or checked (CHECKBOX)? Only one RADIO item can be selected at a time in a gi ven group of RADIO items, with the last one to have checked == true winning.</dd > 509 <dd> For items of type CHECKBOX or RADIO, should this be selected (RAD IO) or checked (CHECKBOX)? Only one RADIO item can be selected at a time in a gi ven group of RADIO items, with the last one to have checked == true winning.</dd >
510 <dd style="display: none; ">
511 This parameter was added in version
512 <b><span></span></b>.
513 You must omit this parameter in earlier versions,
514 and you may omit it in any version. If you require this
515 parameter, the manifest key
516 <a href="manifest.html#minimum_chrome_version">minimum_chrome_versio n</a>
517 can ensure that your extension won't be run in an earlier browser ve rsion.
518 </dd>
474 519
475 <!-- OBJECT PROPERTIES --> 520 <!-- OBJECT PROPERTIES -->
476 <dd style="display: none; "> 521 <dd style="display: none; ">
477 <dl> 522 <dl>
478 <div> 523 <div>
479 <div> 524 <div>
480 </div> 525 </div>
481 </div> 526 </div>
482 </dl> 527 </dl>
483 </dd> 528 </dd>
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
518 </span> 563 </span>
519 ) 564 )
520 </div> 565 </div>
521 566
522 </em> 567 </em>
523 </dt> 568 </dt>
524 <dd class="todo" style="display: none; "> 569 <dd class="todo" style="display: none; ">
525 Undocumented. 570 Undocumented.
526 </dd> 571 </dd>
527 <dd>List of contexts this menu item will appear in. Legal values are: 'ALL', 'PAGE', 'SELECTION', 'LINK', 'EDITABLE', 'IMAGE', 'VIDEO', and 'AUDIO'. D efaults to ['PAGE'].</dd> 572 <dd>List of contexts this menu item will appear in. Legal values are: 'ALL', 'PAGE', 'SELECTION', 'LINK', 'EDITABLE', 'IMAGE', 'VIDEO', and 'AUDIO'. D efaults to ['PAGE'].</dd>
573 <dd style="display: none; ">
574 This parameter was added in version
575 <b><span></span></b>.
576 You must omit this parameter in earlier versions,
577 and you may omit it in any version. If you require this
578 parameter, the manifest key
579 <a href="manifest.html#minimum_chrome_version">minimum_chrome_versio n</a>
580 can ensure that your extension won't be run in an earlier browser ve rsion.
581 </dd>
528 582
529 <!-- OBJECT PROPERTIES --> 583 <!-- OBJECT PROPERTIES -->
530 <dd style="display: none; "> 584 <dd style="display: none; ">
531 <dl> 585 <dl>
532 <div> 586 <div>
533 <div> 587 <div>
534 </div> 588 </div>
535 </div> 589 </div>
536 </dl> 590 </dl>
537 </dd> 591 </dd>
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
572 </span> 626 </span>
573 ) 627 )
574 </div> 628 </div>
575 629
576 </em> 630 </em>
577 </dt> 631 </dt>
578 <dd class="todo" style="display: none; "> 632 <dd class="todo" style="display: none; ">
579 Undocumented. 633 Undocumented.
580 </dd> 634 </dd>
581 <dd>By default the values you pass for the contexts parameter make an item both shown and selectable in those contexts. If you want to limit the conte xts where an item is selectable (i.e. not greyed out), you put the ones you want selectable in enabledContexts and any not listed will be shown but disabled. So , for example, if you wanted an item to appear for links and images but only be enabled for links, you would set 'contexts' : ['LINK', 'IMAGE'] and 'enabledCont exts' : ['LINK'].</dd> 635 <dd>By default the values you pass for the contexts parameter make an item both shown and selectable in those contexts. If you want to limit the conte xts where an item is selectable (i.e. not greyed out), you put the ones you want selectable in enabledContexts and any not listed will be shown but disabled. So , for example, if you wanted an item to appear for links and images but only be enabled for links, you would set 'contexts' : ['LINK', 'IMAGE'] and 'enabledCont exts' : ['LINK'].</dd>
636 <dd style="display: none; ">
637 This parameter was added in version
638 <b><span></span></b>.
639 You must omit this parameter in earlier versions,
640 and you may omit it in any version. If you require this
641 parameter, the manifest key
642 <a href="manifest.html#minimum_chrome_version">minimum_chrome_versio n</a>
643 can ensure that your extension won't be run in an earlier browser ve rsion.
644 </dd>
582 645
583 <!-- OBJECT PROPERTIES --> 646 <!-- OBJECT PROPERTIES -->
584 <dd style="display: none; "> 647 <dd style="display: none; ">
585 <dl> 648 <dl>
586 <div> 649 <div>
587 <div> 650 <div>
588 </div> 651 </div>
589 </div> 652 </div>
590 </dl> 653 </dl>
591 </dd> 654 </dd>
(...skipping 23 matching lines...) Expand all
615 </span> 678 </span>
616 ) 679 )
617 </div> 680 </div>
618 681
619 </em> 682 </em>
620 </dt> 683 </dt>
621 <dd class="todo" style="display: none; "> 684 <dd class="todo" style="display: none; ">
622 Undocumented. 685 Undocumented.
623 </dd> 686 </dd>
624 <dd>Function to be called back when your menu item or one of its child ren is clicked.</dd> 687 <dd>Function to be called back when your menu item or one of its child ren is clicked.</dd>
688 <dd style="display: none; ">
689 This parameter was added in version
690 <b><span></span></b>.
691 You must omit this parameter in earlier versions,
692 and you may omit it in any version. If you require this
693 parameter, the manifest key
694 <a href="manifest.html#minimum_chrome_version">minimum_chrome_versio n</a>
695 can ensure that your extension won't be run in an earlier browser ve rsion.
696 </dd>
625 697
626 <!-- OBJECT PROPERTIES --> 698 <!-- OBJECT PROPERTIES -->
627 <dd style="display: none; "> 699 <dd style="display: none; ">
628 <dl> 700 <dl>
629 <div> 701 <div>
630 <div> 702 <div>
631 </div> 703 </div>
632 </div> 704 </div>
633 </dl> 705 </dl>
634 </dd> 706 </dd>
(...skipping 23 matching lines...) Expand all
658 </span> 730 </span>
659 ) 731 )
660 </div> 732 </div>
661 733
662 </em> 734 </em>
663 </dt> 735 </dt>
664 <dd class="todo" style="display: none; "> 736 <dd class="todo" style="display: none; ">
665 Undocumented. 737 Undocumented.
666 </dd> 738 </dd>
667 <dd>The id of a parent menu item - this makes the item a child of a pr eviously added item.</dd> 739 <dd>The id of a parent menu item - this makes the item a child of a pr eviously added item.</dd>
740 <dd style="display: none; ">
741 This parameter was added in version
742 <b><span></span></b>.
743 You must omit this parameter in earlier versions,
744 and you may omit it in any version. If you require this
745 parameter, the manifest key
746 <a href="manifest.html#minimum_chrome_version">minimum_chrome_versio n</a>
747 can ensure that your extension won't be run in an earlier browser ve rsion.
748 </dd>
668 749
669 <!-- OBJECT PROPERTIES --> 750 <!-- OBJECT PROPERTIES -->
670 <dd style="display: none; "> 751 <dd style="display: none; ">
671 <dl> 752 <dl>
672 <div> 753 <div>
673 <div> 754 <div>
674 </div> 755 </div>
675 </div> 756 </div>
676 </dl> 757 </dl>
677 </dd> 758 </dd>
(...skipping 29 matching lines...) Expand all
707 </div> 788 </div>
708 789
709 </em> 790 </em>
710 </dt> 791 </dt>
711 <dd class="todo"> 792 <dd class="todo">
712 Undocumented. 793 Undocumented.
713 </dd> 794 </dd>
714 <dd style="display: none; "> 795 <dd style="display: none; ">
715 Description of this parameter from the json schema. 796 Description of this parameter from the json schema.
716 </dd> 797 </dd>
798 <dd style="display: none; ">
799 This parameter was added in version
800 <b><span></span></b>.
801 You must omit this parameter in earlier versions,
802 and you may omit it in any version. If you require this
803 parameter, the manifest key
804 <a href="manifest.html#minimum_chrome_version">minimum_chrome_versio n</a>
805 can ensure that your extension won't be run in an earlier browser ve rsion.
806 </dd>
717 807
718 <!-- OBJECT PROPERTIES --> 808 <!-- OBJECT PROPERTIES -->
719 <dd style="display: none; "> 809 <dd style="display: none; ">
720 <dl> 810 <dl>
721 <div> 811 <div>
722 <div> 812 <div>
723 </div> 813 </div>
724 </div> 814 </div>
725 </dl> 815 </dl>
726 </dd> 816 </dd>
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
778 </span> 868 </span>
779 ) 869 )
780 </div> 870 </div>
781 871
782 </em> 872 </em>
783 </dt> 873 </dt>
784 <dd class="todo" style="display: none; "> 874 <dd class="todo" style="display: none; ">
785 Undocumented. 875 Undocumented.
786 </dd> 876 </dd>
787 <dd>The id of the newly created context menu item.</dd> 877 <dd>The id of the newly created context menu item.</dd>
878 <dd style="display: none; ">
879 This parameter was added in version
880 <b><span></span></b>.
881 You must omit this parameter in earlier versions,
882 and you may omit it in any version. If you require this
883 parameter, the manifest key
884 <a href="manifest.html#minimum_chrome_version">minimum_chrome_versio n</a>
885 can ensure that your extension won't be run in an earlier browser ve rsion.
886 </dd>
788 887
789 <!-- OBJECT PROPERTIES --> 888 <!-- OBJECT PROPERTIES -->
790 <dd style="display: none; "> 889 <dd style="display: none; ">
791 <dl> 890 <dl>
792 <div> 891 <div>
793 <div> 892 <div>
794 </div> 893 </div>
795 </div> 894 </div>
796 </dl> 895 </dl>
797 </dd> 896 </dd>
798 </div> 897 </div>
799 </div> 898 </div>
800 </dl> 899 </dl>
801 </div> 900 </div>
802 </div> 901 </div>
803 902
903 <!-- MIN_VERSION -->
904 <p style="display: none; ">
905 This function was added in version <b><span></span></b>.
906 If you require this function, the manifest key
907 <a href="manifest.html#minimum_chrome_version">minimum_chrome_ version</a>
908 can ensure that your extension won't be run in an earlier brow ser version.
909 </p>
804 </div> <!-- /description --> 910 </div> <!-- /description -->
805 911
806 </div><div class="apiItem"> 912 </div><div class="apiItem">
807 <a name="method-remove"></a> <!-- method-anchor --> 913 <a name="method-remove"></a> <!-- method-anchor -->
808 <h4>remove</h4> 914 <h4>remove</h4>
809 915
810 <div class="summary"><span style="display: none; ">void</span> 916 <div class="summary"><span style="display: none; ">void</span>
811 <!-- Note: intentionally longer 80 columns --> 917 <!-- Note: intentionally longer 80 columns -->
812 <span>chrome.experimental.contextMenu.remove</span>(<span clas s="null"><span style="display: none; ">, </span><span>integer</span> 918 <span>chrome.experimental.contextMenu.remove</span>(<span clas s="null"><span style="display: none; ">, </span><span>integer</span>
813 <var><span>menuItemId</span></var></span><span class="opti onal"><span>, </span><span>function</span> 919 <var><span>menuItemId</span></var></span><span class="opti onal"><span>, </span><span>function</span>
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
845 </span> 951 </span>
846 ) 952 )
847 </div> 953 </div>
848 954
849 </em> 955 </em>
850 </dt> 956 </dt>
851 <dd class="todo" style="display: none; "> 957 <dd class="todo" style="display: none; ">
852 Undocumented. 958 Undocumented.
853 </dd> 959 </dd>
854 <dd>The id of the context menu item to remove.</dd> 960 <dd>The id of the context menu item to remove.</dd>
961 <dd style="display: none; ">
962 This parameter was added in version
963 <b><span></span></b>.
964 You must omit this parameter in earlier versions,
965 and you may omit it in any version. If you require this
966 parameter, the manifest key
967 <a href="manifest.html#minimum_chrome_version">minimum_chrome_versio n</a>
968 can ensure that your extension won't be run in an earlier browser ve rsion.
969 </dd>
855 970
856 <!-- OBJECT PROPERTIES --> 971 <!-- OBJECT PROPERTIES -->
857 <dd style="display: none; "> 972 <dd style="display: none; ">
858 <dl> 973 <dl>
859 <div> 974 <div>
860 <div> 975 <div>
861 </div> 976 </div>
862 </div> 977 </div>
863 </dl> 978 </dl>
864 </dd> 979 </dd>
(...skipping 23 matching lines...) Expand all
888 </span> 1003 </span>
889 ) 1004 )
890 </div> 1005 </div>
891 1006
892 </em> 1007 </em>
893 </dt> 1008 </dt>
894 <dd class="todo" style="display: none; "> 1009 <dd class="todo" style="display: none; ">
895 Undocumented. 1010 Undocumented.
896 </dd> 1011 </dd>
897 <dd>Called when the context menu has been removed.</dd> 1012 <dd>Called when the context menu has been removed.</dd>
1013 <dd style="display: none; ">
1014 This parameter was added in version
1015 <b><span></span></b>.
1016 You must omit this parameter in earlier versions,
1017 and you may omit it in any version. If you require this
1018 parameter, the manifest key
1019 <a href="manifest.html#minimum_chrome_version">minimum_chrome_versio n</a>
1020 can ensure that your extension won't be run in an earlier browser ve rsion.
1021 </dd>
898 1022
899 <!-- OBJECT PROPERTIES --> 1023 <!-- OBJECT PROPERTIES -->
900 <dd style="display: none; "> 1024 <dd style="display: none; ">
901 <dl> 1025 <dl>
902 <div> 1026 <div>
903 <div> 1027 <div>
904 </div> 1028 </div>
905 </div> 1029 </div>
906 </dl> 1030 </dl>
907 </dd> 1031 </dd>
(...skipping 27 matching lines...) Expand all
935 <pre>function(<span></span>) <span class="subdued">{...}</span >);</pre> 1059 <pre>function(<span></span>) <span class="subdued">{...}</span >);</pre>
936 <dl> 1060 <dl>
937 <div style="display: none; "> 1061 <div style="display: none; ">
938 <div> 1062 <div>
939 </div> 1063 </div>
940 </div> 1064 </div>
941 </dl> 1065 </dl>
942 </div> 1066 </div>
943 </div> 1067 </div>
944 1068
1069 <!-- MIN_VERSION -->
1070 <p style="display: none; ">
1071 This function was added in version <b><span></span></b>.
1072 If you require this function, the manifest key
1073 <a href="manifest.html#minimum_chrome_version">minimum_chrome_ version</a>
1074 can ensure that your extension won't be run in an earlier brow ser version.
1075 </p>
945 </div> <!-- /description --> 1076 </div> <!-- /description -->
946 1077
947 </div><div class="apiItem"> 1078 </div><div class="apiItem">
948 <a name="method-removeAll"></a> <!-- method-anchor --> 1079 <a name="method-removeAll"></a> <!-- method-anchor -->
949 <h4>removeAll</h4> 1080 <h4>removeAll</h4>
950 1081
951 <div class="summary"><span style="display: none; ">void</span> 1082 <div class="summary"><span style="display: none; ">void</span>
952 <!-- Note: intentionally longer 80 columns --> 1083 <!-- Note: intentionally longer 80 columns -->
953 <span>chrome.experimental.contextMenu.removeAll</span>(<span c lass="optional"><span style="display: none; ">, </span><span>function</span> 1084 <span>chrome.experimental.contextMenu.removeAll</span>(<span c lass="optional"><span style="display: none; ">, </span><span>function</span>
954 <var><span>callback</span></var></span>)</div> 1085 <var><span>callback</span></var></span>)</div>
(...skipping 30 matching lines...) Expand all
985 </span> 1116 </span>
986 ) 1117 )
987 </div> 1118 </div>
988 1119
989 </em> 1120 </em>
990 </dt> 1121 </dt>
991 <dd class="todo" style="display: none; "> 1122 <dd class="todo" style="display: none; ">
992 Undocumented. 1123 Undocumented.
993 </dd> 1124 </dd>
994 <dd>Called when removal is complete.</dd> 1125 <dd>Called when removal is complete.</dd>
1126 <dd style="display: none; ">
1127 This parameter was added in version
1128 <b><span></span></b>.
1129 You must omit this parameter in earlier versions,
1130 and you may omit it in any version. If you require this
1131 parameter, the manifest key
1132 <a href="manifest.html#minimum_chrome_version">minimum_chrome_versio n</a>
1133 can ensure that your extension won't be run in an earlier browser ve rsion.
1134 </dd>
995 1135
996 <!-- OBJECT PROPERTIES --> 1136 <!-- OBJECT PROPERTIES -->
997 <dd style="display: none; "> 1137 <dd style="display: none; ">
998 <dl> 1138 <dl>
999 <div> 1139 <div>
1000 <div> 1140 <div>
1001 </div> 1141 </div>
1002 </div> 1142 </div>
1003 </dl> 1143 </dl>
1004 </dd> 1144 </dd>
(...skipping 27 matching lines...) Expand all
1032 <pre>function(<span></span>) <span class="subdued">{...}</span >);</pre> 1172 <pre>function(<span></span>) <span class="subdued">{...}</span >);</pre>
1033 <dl> 1173 <dl>
1034 <div style="display: none; "> 1174 <div style="display: none; ">
1035 <div> 1175 <div>
1036 </div> 1176 </div>
1037 </div> 1177 </div>
1038 </dl> 1178 </dl>
1039 </div> 1179 </div>
1040 </div> 1180 </div>
1041 1181
1182 <!-- MIN_VERSION -->
1183 <p style="display: none; ">
1184 This function was added in version <b><span></span></b>.
1185 If you require this function, the manifest key
1186 <a href="manifest.html#minimum_chrome_version">minimum_chrome_ version</a>
1187 can ensure that your extension won't be run in an earlier brow ser version.
1188 </p>
1042 </div> <!-- /description --> 1189 </div> <!-- /description -->
1043 1190
1044 </div><div class="apiItem"> 1191 </div><div class="apiItem">
1045 <a name="method-update"></a> <!-- method-anchor --> 1192 <a name="method-update"></a> <!-- method-anchor -->
1046 <h4>update</h4> 1193 <h4>update</h4>
1047 1194
1048 <div class="summary"><span style="display: none; ">void</span> 1195 <div class="summary"><span style="display: none; ">void</span>
1049 <!-- Note: intentionally longer 80 columns --> 1196 <!-- Note: intentionally longer 80 columns -->
1050 <span>chrome.experimental.contextMenu.update</span>(<span clas s="null"><span style="display: none; ">, </span><span>integer</span> 1197 <span>chrome.experimental.contextMenu.update</span>(<span clas s="null"><span style="display: none; ">, </span><span>integer</span>
1051 <var><span>id</span></var></span><span class="null"><span> , </span><span>object</span> 1198 <var><span>id</span></var></span><span class="null"><span> , </span><span>object</span>
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
1084 </span> 1231 </span>
1085 ) 1232 )
1086 </div> 1233 </div>
1087 1234
1088 </em> 1235 </em>
1089 </dt> 1236 </dt>
1090 <dd class="todo" style="display: none; "> 1237 <dd class="todo" style="display: none; ">
1091 Undocumented. 1238 Undocumented.
1092 </dd> 1239 </dd>
1093 <dd>The id of the item to update.</dd> 1240 <dd>The id of the item to update.</dd>
1241 <dd style="display: none; ">
1242 This parameter was added in version
1243 <b><span></span></b>.
1244 You must omit this parameter in earlier versions,
1245 and you may omit it in any version. If you require this
1246 parameter, the manifest key
1247 <a href="manifest.html#minimum_chrome_version">minimum_chrome_versio n</a>
1248 can ensure that your extension won't be run in an earlier browser ve rsion.
1249 </dd>
1094 1250
1095 <!-- OBJECT PROPERTIES --> 1251 <!-- OBJECT PROPERTIES -->
1096 <dd style="display: none; "> 1252 <dd style="display: none; ">
1097 <dl> 1253 <dl>
1098 <div> 1254 <div>
1099 <div> 1255 <div>
1100 </div> 1256 </div>
1101 </div> 1257 </div>
1102 </dl> 1258 </dl>
1103 </dd> 1259 </dd>
(...skipping 23 matching lines...) Expand all
1127 </span> 1283 </span>
1128 ) 1284 )
1129 </div> 1285 </div>
1130 1286
1131 </em> 1287 </em>
1132 </dt> 1288 </dt>
1133 <dd class="todo" style="display: none; "> 1289 <dd class="todo" style="display: none; ">
1134 Undocumented. 1290 Undocumented.
1135 </dd> 1291 </dd>
1136 <dd>The properties to update. Accepts the same values as the create fu nction.</dd> 1292 <dd>The properties to update. Accepts the same values as the create fu nction.</dd>
1293 <dd style="display: none; ">
1294 This parameter was added in version
1295 <b><span></span></b>.
1296 You must omit this parameter in earlier versions,
1297 and you may omit it in any version. If you require this
1298 parameter, the manifest key
1299 <a href="manifest.html#minimum_chrome_version">minimum_chrome_versio n</a>
1300 can ensure that your extension won't be run in an earlier browser ve rsion.
1301 </dd>
1137 1302
1138 <!-- OBJECT PROPERTIES --> 1303 <!-- OBJECT PROPERTIES -->
1139 <dd> 1304 <dd>
1140 <dl> 1305 <dl>
1141 <div> 1306 <div>
1142 <div> 1307 <div>
1143 <dt> 1308 <dt>
1144 <var>type</var> 1309 <var>type</var>
1145 <em> 1310 <em>
1146 1311
(...skipping 18 matching lines...) Expand all
1165 </div> 1330 </div>
1166 1331
1167 </em> 1332 </em>
1168 </dt> 1333 </dt>
1169 <dd class="todo"> 1334 <dd class="todo">
1170 Undocumented. 1335 Undocumented.
1171 </dd> 1336 </dd>
1172 <dd style="display: none; "> 1337 <dd style="display: none; ">
1173 Description of this parameter from the json schema. 1338 Description of this parameter from the json schema.
1174 </dd> 1339 </dd>
1340 <dd style="display: none; ">
1341 This parameter was added in version
1342 <b><span></span></b>.
1343 You must omit this parameter in earlier versions,
1344 and you may omit it in any version. If you require this
1345 parameter, the manifest key
1346 <a href="manifest.html#minimum_chrome_version">minimum_chrome_versio n</a>
1347 can ensure that your extension won't be run in an earlier browser ve rsion.
1348 </dd>
1175 1349
1176 <!-- OBJECT PROPERTIES --> 1350 <!-- OBJECT PROPERTIES -->
1177 <dd style="display: none; "> 1351 <dd style="display: none; ">
1178 <dl> 1352 <dl>
1179 <div> 1353 <div>
1180 <div> 1354 <div>
1181 </div> 1355 </div>
1182 </div> 1356 </div>
1183 </dl> 1357 </dl>
1184 </dd> 1358 </dd>
(...skipping 25 matching lines...) Expand all
1210 </div> 1384 </div>
1211 1385
1212 </em> 1386 </em>
1213 </dt> 1387 </dt>
1214 <dd class="todo"> 1388 <dd class="todo">
1215 Undocumented. 1389 Undocumented.
1216 </dd> 1390 </dd>
1217 <dd style="display: none; "> 1391 <dd style="display: none; ">
1218 Description of this parameter from the json schema. 1392 Description of this parameter from the json schema.
1219 </dd> 1393 </dd>
1394 <dd style="display: none; ">
1395 This parameter was added in version
1396 <b><span></span></b>.
1397 You must omit this parameter in earlier versions,
1398 and you may omit it in any version. If you require this
1399 parameter, the manifest key
1400 <a href="manifest.html#minimum_chrome_version">minimum_chrome_versio n</a>
1401 can ensure that your extension won't be run in an earlier browser ve rsion.
1402 </dd>
1220 1403
1221 <!-- OBJECT PROPERTIES --> 1404 <!-- OBJECT PROPERTIES -->
1222 <dd style="display: none; "> 1405 <dd style="display: none; ">
1223 <dl> 1406 <dl>
1224 <div> 1407 <div>
1225 <div> 1408 <div>
1226 </div> 1409 </div>
1227 </div> 1410 </div>
1228 </dl> 1411 </dl>
1229 </dd> 1412 </dd>
(...skipping 25 matching lines...) Expand all
1255 </div> 1438 </div>
1256 1439
1257 </em> 1440 </em>
1258 </dt> 1441 </dt>
1259 <dd class="todo"> 1442 <dd class="todo">
1260 Undocumented. 1443 Undocumented.
1261 </dd> 1444 </dd>
1262 <dd style="display: none; "> 1445 <dd style="display: none; ">
1263 Description of this parameter from the json schema. 1446 Description of this parameter from the json schema.
1264 </dd> 1447 </dd>
1448 <dd style="display: none; ">
1449 This parameter was added in version
1450 <b><span></span></b>.
1451 You must omit this parameter in earlier versions,
1452 and you may omit it in any version. If you require this
1453 parameter, the manifest key
1454 <a href="manifest.html#minimum_chrome_version">minimum_chrome_versio n</a>
1455 can ensure that your extension won't be run in an earlier browser ve rsion.
1456 </dd>
1265 1457
1266 <!-- OBJECT PROPERTIES --> 1458 <!-- OBJECT PROPERTIES -->
1267 <dd style="display: none; "> 1459 <dd style="display: none; ">
1268 <dl> 1460 <dl>
1269 <div> 1461 <div>
1270 <div> 1462 <div>
1271 </div> 1463 </div>
1272 </div> 1464 </div>
1273 </dl> 1465 </dl>
1274 </dd> 1466 </dd>
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
1311 </div> 1503 </div>
1312 1504
1313 </em> 1505 </em>
1314 </dt> 1506 </dt>
1315 <dd class="todo"> 1507 <dd class="todo">
1316 Undocumented. 1508 Undocumented.
1317 </dd> 1509 </dd>
1318 <dd style="display: none; "> 1510 <dd style="display: none; ">
1319 Description of this parameter from the json schema. 1511 Description of this parameter from the json schema.
1320 </dd> 1512 </dd>
1513 <dd style="display: none; ">
1514 This parameter was added in version
1515 <b><span></span></b>.
1516 You must omit this parameter in earlier versions,
1517 and you may omit it in any version. If you require this
1518 parameter, the manifest key
1519 <a href="manifest.html#minimum_chrome_version">minimum_chrome_versio n</a>
1520 can ensure that your extension won't be run in an earlier browser ve rsion.
1521 </dd>
1321 1522
1322 <!-- OBJECT PROPERTIES --> 1523 <!-- OBJECT PROPERTIES -->
1323 <dd style="display: none; "> 1524 <dd style="display: none; ">
1324 <dl> 1525 <dl>
1325 <div> 1526 <div>
1326 <div> 1527 <div>
1327 </div> 1528 </div>
1328 </div> 1529 </div>
1329 </dl> 1530 </dl>
1330 </dd> 1531 </dd>
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
1367 </div> 1568 </div>
1368 1569
1369 </em> 1570 </em>
1370 </dt> 1571 </dt>
1371 <dd class="todo"> 1572 <dd class="todo">
1372 Undocumented. 1573 Undocumented.
1373 </dd> 1574 </dd>
1374 <dd style="display: none; "> 1575 <dd style="display: none; ">
1375 Description of this parameter from the json schema. 1576 Description of this parameter from the json schema.
1376 </dd> 1577 </dd>
1578 <dd style="display: none; ">
1579 This parameter was added in version
1580 <b><span></span></b>.
1581 You must omit this parameter in earlier versions,
1582 and you may omit it in any version. If you require this
1583 parameter, the manifest key
1584 <a href="manifest.html#minimum_chrome_version">minimum_chrome_versio n</a>
1585 can ensure that your extension won't be run in an earlier browser ve rsion.
1586 </dd>
1377 1587
1378 <!-- OBJECT PROPERTIES --> 1588 <!-- OBJECT PROPERTIES -->
1379 <dd style="display: none; "> 1589 <dd style="display: none; ">
1380 <dl> 1590 <dl>
1381 <div> 1591 <div>
1382 <div> 1592 <div>
1383 </div> 1593 </div>
1384 </div> 1594 </div>
1385 </dl> 1595 </dl>
1386 </dd> 1596 </dd>
(...skipping 25 matching lines...) Expand all
1412 </div> 1622 </div>
1413 1623
1414 </em> 1624 </em>
1415 </dt> 1625 </dt>
1416 <dd class="todo"> 1626 <dd class="todo">
1417 Undocumented. 1627 Undocumented.
1418 </dd> 1628 </dd>
1419 <dd style="display: none; "> 1629 <dd style="display: none; ">
1420 Description of this parameter from the json schema. 1630 Description of this parameter from the json schema.
1421 </dd> 1631 </dd>
1632 <dd style="display: none; ">
1633 This parameter was added in version
1634 <b><span></span></b>.
1635 You must omit this parameter in earlier versions,
1636 and you may omit it in any version. If you require this
1637 parameter, the manifest key
1638 <a href="manifest.html#minimum_chrome_version">minimum_chrome_versio n</a>
1639 can ensure that your extension won't be run in an earlier browser ve rsion.
1640 </dd>
1422 1641
1423 <!-- OBJECT PROPERTIES --> 1642 <!-- OBJECT PROPERTIES -->
1424 <dd style="display: none; "> 1643 <dd style="display: none; ">
1425 <dl> 1644 <dl>
1426 <div> 1645 <div>
1427 <div> 1646 <div>
1428 </div> 1647 </div>
1429 </div> 1648 </div>
1430 </dl> 1649 </dl>
1431 </dd> 1650 </dd>
(...skipping 23 matching lines...) Expand all
1455 </span> 1674 </span>
1456 ) 1675 )
1457 </div> 1676 </div>
1458 1677
1459 </em> 1678 </em>
1460 </dt> 1679 </dt>
1461 <dd class="todo" style="display: none; "> 1680 <dd class="todo" style="display: none; ">
1462 Undocumented. 1681 Undocumented.
1463 </dd> 1682 </dd>
1464 <dd>Note: you cannot change an item to be a child of one of it's own d escendants.</dd> 1683 <dd>Note: you cannot change an item to be a child of one of it's own d escendants.</dd>
1684 <dd style="display: none; ">
1685 This parameter was added in version
1686 <b><span></span></b>.
1687 You must omit this parameter in earlier versions,
1688 and you may omit it in any version. If you require this
1689 parameter, the manifest key
1690 <a href="manifest.html#minimum_chrome_version">minimum_chrome_versio n</a>
1691 can ensure that your extension won't be run in an earlier browser ve rsion.
1692 </dd>
1465 1693
1466 <!-- OBJECT PROPERTIES --> 1694 <!-- OBJECT PROPERTIES -->
1467 <dd style="display: none; "> 1695 <dd style="display: none; ">
1468 <dl> 1696 <dl>
1469 <div> 1697 <div>
1470 <div> 1698 <div>
1471 </div> 1699 </div>
1472 </div> 1700 </div>
1473 </dl> 1701 </dl>
1474 </dd> 1702 </dd>
(...skipping 27 matching lines...) Expand all
1502 </span> 1730 </span>
1503 ) 1731 )
1504 </div> 1732 </div>
1505 1733
1506 </em> 1734 </em>
1507 </dt> 1735 </dt>
1508 <dd class="todo" style="display: none; "> 1736 <dd class="todo" style="display: none; ">
1509 Undocumented. 1737 Undocumented.
1510 </dd> 1738 </dd>
1511 <dd>Called when the context menu has been updated.</dd> 1739 <dd>Called when the context menu has been updated.</dd>
1740 <dd style="display: none; ">
1741 This parameter was added in version
1742 <b><span></span></b>.
1743 You must omit this parameter in earlier versions,
1744 and you may omit it in any version. If you require this
1745 parameter, the manifest key
1746 <a href="manifest.html#minimum_chrome_version">minimum_chrome_versio n</a>
1747 can ensure that your extension won't be run in an earlier browser ve rsion.
1748 </dd>
1512 1749
1513 <!-- OBJECT PROPERTIES --> 1750 <!-- OBJECT PROPERTIES -->
1514 <dd style="display: none; "> 1751 <dd style="display: none; ">
1515 <dl> 1752 <dl>
1516 <div> 1753 <div>
1517 <div> 1754 <div>
1518 </div> 1755 </div>
1519 </div> 1756 </div>
1520 </dl> 1757 </dl>
1521 </dd> 1758 </dd>
(...skipping 27 matching lines...) Expand all
1549 <pre>function(<span></span>) <span class="subdued">{...}</span >);</pre> 1786 <pre>function(<span></span>) <span class="subdued">{...}</span >);</pre>
1550 <dl> 1787 <dl>
1551 <div style="display: none; "> 1788 <div style="display: none; ">
1552 <div> 1789 <div>
1553 </div> 1790 </div>
1554 </div> 1791 </div>
1555 </dl> 1792 </dl>
1556 </div> 1793 </div>
1557 </div> 1794 </div>
1558 1795
1796 <!-- MIN_VERSION -->
1797 <p style="display: none; ">
1798 This function was added in version <b><span></span></b>.
1799 If you require this function, the manifest key
1800 <a href="manifest.html#minimum_chrome_version">minimum_chrome_ version</a>
1801 can ensure that your extension won't be run in an earlier brow ser version.
1802 </p>
1559 </div> <!-- /description --> 1803 </div> <!-- /description -->
1560 1804
1561 </div> <!-- /apiItem --> 1805 </div> <!-- /apiItem -->
1562 1806
1563 </div> <!-- /apiGroup --> 1807 </div> <!-- /apiGroup -->
1564 1808
1565 <!-- EVENTS --> 1809 <!-- EVENTS -->
1566 <div class="apiGroup" style="display: none; "> 1810 <div class="apiGroup" style="display: none; ">
1567 <a name="events"></a> 1811 <a name="events"></a>
1568 <h3 id="events">Events</h3> 1812 <h3 id="events">Events</h3>
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
1649 _uff=0; 1893 _uff=0;
1650 urchinTracker(); 1894 urchinTracker();
1651 } 1895 }
1652 catch(e) {/* urchinTracker not available. */} 1896 catch(e) {/* urchinTracker not available. */}
1653 </script> 1897 </script>
1654 <!-- end analytics --> 1898 <!-- end analytics -->
1655 </div> 1899 </div>
1656 </div> <!-- /gc-footer --> 1900 </div> <!-- /gc-footer -->
1657 </div> <!-- /gc-container --> 1901 </div> <!-- /gc-container -->
1658 </body></html> 1902 </body></html>
OLDNEW
« no previous file with comments | « chrome/common/extensions/docs/experimental.clipboard.html ('k') | chrome/common/extensions/docs/experimental.cookies.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698