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

Side by Side Diff: chrome/common/extensions/docs/pageAction.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 399 matching lines...) Expand 10 before | Expand all | Expand 10 after
471 </span> 480 </span>
472 ) 481 )
473 </div> 482 </div>
474 483
475 </em> 484 </em>
476 </dt> 485 </dt>
477 <dd class="todo" style="display: none; "> 486 <dd class="todo" style="display: none; ">
478 Undocumented. 487 Undocumented.
479 </dd> 488 </dd>
480 <dd>The id of the tab for which you want to modify the page action.</d d> 489 <dd>The id of the tab for which you want to modify the page action.</d d>
490 <dd style="display: none; ">
491 This parameter was added in version
492 <b><span></span></b>.
493 You must omit this parameter in earlier versions,
494 and you may omit it in any version. If you require this
495 parameter, the manifest key
496 <a href="manifest.html#minimum_chrome_version">minimum_chrome_versio n</a>
497 can ensure that your extension won't be run in an earlier browser ve rsion.
498 </dd>
481 499
482 <!-- OBJECT PROPERTIES --> 500 <!-- OBJECT PROPERTIES -->
483 <dd style="display: none; "> 501 <dd style="display: none; ">
484 <dl> 502 <dl>
485 <div> 503 <div>
486 <div> 504 <div>
487 </div> 505 </div>
488 </div> 506 </div>
489 </dl> 507 </dl>
490 </dd> 508 </dd>
(...skipping 27 matching lines...) Expand all
518 <pre>function(<span>Type param1, Type param2</span>) <span cla ss="subdued">{...}</span>);</pre> 536 <pre>function(<span>Type param1, Type param2</span>) <span cla ss="subdued">{...}</span>);</pre>
519 <dl> 537 <dl>
520 <div> 538 <div>
521 <div> 539 <div>
522 </div> 540 </div>
523 </div> 541 </div>
524 </dl> 542 </dl>
525 </div> 543 </div>
526 </div> 544 </div>
527 545
546 <!-- MIN_VERSION -->
547 <p style="display: none; ">
548 This function was added in version <b><span></span></b>.
549 If you require this function, the manifest key
550 <a href="manifest.html#minimum_chrome_version">minimum_chrome_ version</a>
551 can ensure that your extension won't be run in an earlier brow ser version.
552 </p>
528 </div> <!-- /description --> 553 </div> <!-- /description -->
529 554
530 </div><div class="apiItem"> 555 </div><div class="apiItem">
531 <a name="method-setIcon"></a> <!-- method-anchor --> 556 <a name="method-setIcon"></a> <!-- method-anchor -->
532 <h4>setIcon</h4> 557 <h4>setIcon</h4>
533 558
534 <div class="summary"><span style="display: none; ">void</span> 559 <div class="summary"><span style="display: none; ">void</span>
535 <!-- Note: intentionally longer 80 columns --> 560 <!-- Note: intentionally longer 80 columns -->
536 <span>chrome.pageAction.setIcon</span>(<span class="null"><spa n style="display: none; ">, </span><span>object</span> 561 <span>chrome.pageAction.setIcon</span>(<span class="null"><spa n style="display: none; ">, </span><span>object</span>
537 <var><span>details</span></var></span>)</div> 562 <var><span>details</span></var></span>)</div>
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
570 </div> 595 </div>
571 596
572 </em> 597 </em>
573 </dt> 598 </dt>
574 <dd class="todo"> 599 <dd class="todo">
575 Undocumented. 600 Undocumented.
576 </dd> 601 </dd>
577 <dd style="display: none; "> 602 <dd style="display: none; ">
578 Description of this parameter from the json schema. 603 Description of this parameter from the json schema.
579 </dd> 604 </dd>
605 <dd style="display: none; ">
606 This parameter was added in version
607 <b><span></span></b>.
608 You must omit this parameter in earlier versions,
609 and you may omit it in any version. If you require this
610 parameter, the manifest key
611 <a href="manifest.html#minimum_chrome_version">minimum_chrome_versio n</a>
612 can ensure that your extension won't be run in an earlier browser ve rsion.
613 </dd>
580 614
581 <!-- OBJECT PROPERTIES --> 615 <!-- OBJECT PROPERTIES -->
582 <dd> 616 <dd>
583 <dl> 617 <dl>
584 <div> 618 <div>
585 <div> 619 <div>
586 <dt> 620 <dt>
587 <var>tabId</var> 621 <var>tabId</var>
588 <em> 622 <em>
589 623
(...skipping 16 matching lines...) Expand all
606 </span> 640 </span>
607 ) 641 )
608 </div> 642 </div>
609 643
610 </em> 644 </em>
611 </dt> 645 </dt>
612 <dd class="todo" style="display: none; "> 646 <dd class="todo" style="display: none; ">
613 Undocumented. 647 Undocumented.
614 </dd> 648 </dd>
615 <dd>The id of the tab for which you want to modify the page action.</d d> 649 <dd>The id of the tab for which you want to modify the page action.</d d>
650 <dd style="display: none; ">
651 This parameter was added in version
652 <b><span></span></b>.
653 You must omit this parameter in earlier versions,
654 and you may omit it in any version. If you require this
655 parameter, the manifest key
656 <a href="manifest.html#minimum_chrome_version">minimum_chrome_versio n</a>
657 can ensure that your extension won't be run in an earlier browser ve rsion.
658 </dd>
616 659
617 <!-- OBJECT PROPERTIES --> 660 <!-- OBJECT PROPERTIES -->
618 <dd style="display: none; "> 661 <dd style="display: none; ">
619 <dl> 662 <dl>
620 <div> 663 <div>
621 <div> 664 <div>
622 </div> 665 </div>
623 </div> 666 </div>
624 </dl> 667 </dl>
625 </dd> 668 </dd>
(...skipping 23 matching lines...) Expand all
649 </span> 692 </span>
650 ) 693 )
651 </div> 694 </div>
652 695
653 </em> 696 </em>
654 </dt> 697 </dt>
655 <dd class="todo" style="display: none; "> 698 <dd class="todo" style="display: none; ">
656 Undocumented. 699 Undocumented.
657 </dd> 700 </dd>
658 <dd>Pixel data for an image. Must be an ImageData object (for example, from a canvas element).</dd> 701 <dd>Pixel data for an image. Must be an ImageData object (for example, from a canvas element).</dd>
702 <dd style="display: none; ">
703 This parameter was added in version
704 <b><span></span></b>.
705 You must omit this parameter in earlier versions,
706 and you may omit it in any version. If you require this
707 parameter, the manifest key
708 <a href="manifest.html#minimum_chrome_version">minimum_chrome_versio n</a>
709 can ensure that your extension won't be run in an earlier browser ve rsion.
710 </dd>
659 711
660 <!-- OBJECT PROPERTIES --> 712 <!-- OBJECT PROPERTIES -->
661 <dd> 713 <dd>
662 <dl> 714 <dl>
663 <div style="display: none; "> 715 <div style="display: none; ">
664 <div> 716 <div>
665 </div> 717 </div>
666 </div> 718 </div>
667 </dl> 719 </dl>
668 </dd> 720 </dd>
(...skipping 23 matching lines...) Expand all
692 </span> 744 </span>
693 ) 745 )
694 </div> 746 </div>
695 747
696 </em> 748 </em>
697 </dt> 749 </dt>
698 <dd class="todo" style="display: none; "> 750 <dd class="todo" style="display: none; ">
699 Undocumented. 751 Undocumented.
700 </dd> 752 </dd>
701 <dd>Relative path to an image in the extension to show in the browser action.</dd> 753 <dd>Relative path to an image in the extension to show in the browser action.</dd>
754 <dd style="display: none; ">
755 This parameter was added in version
756 <b><span></span></b>.
757 You must omit this parameter in earlier versions,
758 and you may omit it in any version. If you require this
759 parameter, the manifest key
760 <a href="manifest.html#minimum_chrome_version">minimum_chrome_versio n</a>
761 can ensure that your extension won't be run in an earlier browser ve rsion.
762 </dd>
702 763
703 <!-- OBJECT PROPERTIES --> 764 <!-- OBJECT PROPERTIES -->
704 <dd style="display: none; "> 765 <dd style="display: none; ">
705 <dl> 766 <dl>
706 <div> 767 <div>
707 <div> 768 <div>
708 </div> 769 </div>
709 </div> 770 </div>
710 </dl> 771 </dl>
711 </dd> 772 </dd>
(...skipping 23 matching lines...) Expand all
735 </span> 796 </span>
736 ) 797 )
737 </div> 798 </div>
738 799
739 </em> 800 </em>
740 </dt> 801 </dt>
741 <dd class="todo" style="display: none; "> 802 <dd class="todo" style="display: none; ">
742 Undocumented. 803 Undocumented.
743 </dd> 804 </dd>
744 <dd><b>Deprecated.</b> The zero-based index into the <b>icons</b> vect or specified in the manifest.</dd> 805 <dd><b>Deprecated.</b> The zero-based index into the <b>icons</b> vect or specified in the manifest.</dd>
806 <dd style="display: none; ">
807 This parameter was added in version
808 <b><span></span></b>.
809 You must omit this parameter in earlier versions,
810 and you may omit it in any version. If you require this
811 parameter, the manifest key
812 <a href="manifest.html#minimum_chrome_version">minimum_chrome_versio n</a>
813 can ensure that your extension won't be run in an earlier browser ve rsion.
814 </dd>
745 815
746 <!-- OBJECT PROPERTIES --> 816 <!-- OBJECT PROPERTIES -->
747 <dd style="display: none; "> 817 <dd style="display: none; ">
748 <dl> 818 <dl>
749 <div> 819 <div>
750 <div> 820 <div>
751 </div> 821 </div>
752 </div> 822 </div>
753 </dl> 823 </dl>
754 </dd> 824 </dd>
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
786 <pre>function(<span>Type param1, Type param2</span>) <span cla ss="subdued">{...}</span>);</pre> 856 <pre>function(<span>Type param1, Type param2</span>) <span cla ss="subdued">{...}</span>);</pre>
787 <dl> 857 <dl>
788 <div> 858 <div>
789 <div> 859 <div>
790 </div> 860 </div>
791 </div> 861 </div>
792 </dl> 862 </dl>
793 </div> 863 </div>
794 </div> 864 </div>
795 865
866 <!-- MIN_VERSION -->
867 <p style="display: none; ">
868 This function was added in version <b><span></span></b>.
869 If you require this function, the manifest key
870 <a href="manifest.html#minimum_chrome_version">minimum_chrome_ version</a>
871 can ensure that your extension won't be run in an earlier brow ser version.
872 </p>
796 </div> <!-- /description --> 873 </div> <!-- /description -->
797 874
798 </div><div class="apiItem"> 875 </div><div class="apiItem">
799 <a name="method-setPopup"></a> <!-- method-anchor --> 876 <a name="method-setPopup"></a> <!-- method-anchor -->
800 <h4>setPopup</h4> 877 <h4>setPopup</h4>
801 878
802 <div class="summary"><span style="display: none; ">void</span> 879 <div class="summary"><span style="display: none; ">void</span>
803 <!-- Note: intentionally longer 80 columns --> 880 <!-- Note: intentionally longer 80 columns -->
804 <span>chrome.pageAction.setPopup</span>(<span class="null"><sp an style="display: none; ">, </span><span>object</span> 881 <span>chrome.pageAction.setPopup</span>(<span class="null"><sp an style="display: none; ">, </span><span>object</span>
805 <var><span>details</span></var></span>)</div> 882 <var><span>details</span></var></span>)</div>
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
838 </div> 915 </div>
839 916
840 </em> 917 </em>
841 </dt> 918 </dt>
842 <dd class="todo"> 919 <dd class="todo">
843 Undocumented. 920 Undocumented.
844 </dd> 921 </dd>
845 <dd style="display: none; "> 922 <dd style="display: none; ">
846 Description of this parameter from the json schema. 923 Description of this parameter from the json schema.
847 </dd> 924 </dd>
925 <dd style="display: none; ">
926 This parameter was added in version
927 <b><span></span></b>.
928 You must omit this parameter in earlier versions,
929 and you may omit it in any version. If you require this
930 parameter, the manifest key
931 <a href="manifest.html#minimum_chrome_version">minimum_chrome_versio n</a>
932 can ensure that your extension won't be run in an earlier browser ve rsion.
933 </dd>
848 934
849 <!-- OBJECT PROPERTIES --> 935 <!-- OBJECT PROPERTIES -->
850 <dd> 936 <dd>
851 <dl> 937 <dl>
852 <div> 938 <div>
853 <div> 939 <div>
854 <dt> 940 <dt>
855 <var>tabId</var> 941 <var>tabId</var>
856 <em> 942 <em>
857 943
(...skipping 16 matching lines...) Expand all
874 </span> 960 </span>
875 ) 961 )
876 </div> 962 </div>
877 963
878 </em> 964 </em>
879 </dt> 965 </dt>
880 <dd class="todo" style="display: none; "> 966 <dd class="todo" style="display: none; ">
881 Undocumented. 967 Undocumented.
882 </dd> 968 </dd>
883 <dd>The id of the tab for which you want to modify the page action.</d d> 969 <dd>The id of the tab for which you want to modify the page action.</d d>
970 <dd style="display: none; ">
971 This parameter was added in version
972 <b><span></span></b>.
973 You must omit this parameter in earlier versions,
974 and you may omit it in any version. If you require this
975 parameter, the manifest key
976 <a href="manifest.html#minimum_chrome_version">minimum_chrome_versio n</a>
977 can ensure that your extension won't be run in an earlier browser ve rsion.
978 </dd>
884 979
885 <!-- OBJECT PROPERTIES --> 980 <!-- OBJECT PROPERTIES -->
886 <dd style="display: none; "> 981 <dd style="display: none; ">
887 <dl> 982 <dl>
888 <div> 983 <div>
889 <div> 984 <div>
890 </div> 985 </div>
891 </div> 986 </div>
892 </dl> 987 </dl>
893 </dd> 988 </dd>
(...skipping 23 matching lines...) Expand all
917 </span> 1012 </span>
918 ) 1013 )
919 </div> 1014 </div>
920 1015
921 </em> 1016 </em>
922 </dt> 1017 </dt>
923 <dd class="todo" style="display: none; "> 1018 <dd class="todo" style="display: none; ">
924 Undocumented. 1019 Undocumented.
925 </dd> 1020 </dd>
926 <dd>The html file to show in a popup. If set to the empty string ('') , no popup is shown.</dd> 1021 <dd>The html file to show in a popup. If set to the empty string ('') , no popup is shown.</dd>
1022 <dd style="display: none; ">
1023 This parameter was added in version
1024 <b><span></span></b>.
1025 You must omit this parameter in earlier versions,
1026 and you may omit it in any version. If you require this
1027 parameter, the manifest key
1028 <a href="manifest.html#minimum_chrome_version">minimum_chrome_versio n</a>
1029 can ensure that your extension won't be run in an earlier browser ve rsion.
1030 </dd>
927 1031
928 <!-- OBJECT PROPERTIES --> 1032 <!-- OBJECT PROPERTIES -->
929 <dd style="display: none; "> 1033 <dd style="display: none; ">
930 <dl> 1034 <dl>
931 <div> 1035 <div>
932 <div> 1036 <div>
933 </div> 1037 </div>
934 </div> 1038 </div>
935 </dl> 1039 </dl>
936 </dd> 1040 </dd>
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
968 <pre>function(<span>Type param1, Type param2</span>) <span cla ss="subdued">{...}</span>);</pre> 1072 <pre>function(<span>Type param1, Type param2</span>) <span cla ss="subdued">{...}</span>);</pre>
969 <dl> 1073 <dl>
970 <div> 1074 <div>
971 <div> 1075 <div>
972 </div> 1076 </div>
973 </div> 1077 </div>
974 </dl> 1078 </dl>
975 </div> 1079 </div>
976 </div> 1080 </div>
977 1081
1082 <!-- MIN_VERSION -->
1083 <p>
1084 This function was added in version <b><span>5.0.308.0</span></ b>.
1085 If you require this function, the manifest key
1086 <a href="manifest.html#minimum_chrome_version">minimum_chrome_ version</a>
1087 can ensure that your extension won't be run in an earlier brow ser version.
1088 </p>
978 </div> <!-- /description --> 1089 </div> <!-- /description -->
979 1090
980 </div><div class="apiItem"> 1091 </div><div class="apiItem">
981 <a name="method-setTitle"></a> <!-- method-anchor --> 1092 <a name="method-setTitle"></a> <!-- method-anchor -->
982 <h4>setTitle</h4> 1093 <h4>setTitle</h4>
983 1094
984 <div class="summary"><span style="display: none; ">void</span> 1095 <div class="summary"><span style="display: none; ">void</span>
985 <!-- Note: intentionally longer 80 columns --> 1096 <!-- Note: intentionally longer 80 columns -->
986 <span>chrome.pageAction.setTitle</span>(<span class="null"><sp an style="display: none; ">, </span><span>object</span> 1097 <span>chrome.pageAction.setTitle</span>(<span class="null"><sp an style="display: none; ">, </span><span>object</span>
987 <var><span>details</span></var></span>)</div> 1098 <var><span>details</span></var></span>)</div>
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
1020 </div> 1131 </div>
1021 1132
1022 </em> 1133 </em>
1023 </dt> 1134 </dt>
1024 <dd class="todo"> 1135 <dd class="todo">
1025 Undocumented. 1136 Undocumented.
1026 </dd> 1137 </dd>
1027 <dd style="display: none; "> 1138 <dd style="display: none; ">
1028 Description of this parameter from the json schema. 1139 Description of this parameter from the json schema.
1029 </dd> 1140 </dd>
1141 <dd style="display: none; ">
1142 This parameter was added in version
1143 <b><span></span></b>.
1144 You must omit this parameter in earlier versions,
1145 and you may omit it in any version. If you require this
1146 parameter, the manifest key
1147 <a href="manifest.html#minimum_chrome_version">minimum_chrome_versio n</a>
1148 can ensure that your extension won't be run in an earlier browser ve rsion.
1149 </dd>
1030 1150
1031 <!-- OBJECT PROPERTIES --> 1151 <!-- OBJECT PROPERTIES -->
1032 <dd> 1152 <dd>
1033 <dl> 1153 <dl>
1034 <div> 1154 <div>
1035 <div> 1155 <div>
1036 <dt> 1156 <dt>
1037 <var>tabId</var> 1157 <var>tabId</var>
1038 <em> 1158 <em>
1039 1159
(...skipping 16 matching lines...) Expand all
1056 </span> 1176 </span>
1057 ) 1177 )
1058 </div> 1178 </div>
1059 1179
1060 </em> 1180 </em>
1061 </dt> 1181 </dt>
1062 <dd class="todo" style="display: none; "> 1182 <dd class="todo" style="display: none; ">
1063 Undocumented. 1183 Undocumented.
1064 </dd> 1184 </dd>
1065 <dd>The id of the tab for which you want to modify the page action.</d d> 1185 <dd>The id of the tab for which you want to modify the page action.</d d>
1186 <dd style="display: none; ">
1187 This parameter was added in version
1188 <b><span></span></b>.
1189 You must omit this parameter in earlier versions,
1190 and you may omit it in any version. If you require this
1191 parameter, the manifest key
1192 <a href="manifest.html#minimum_chrome_version">minimum_chrome_versio n</a>
1193 can ensure that your extension won't be run in an earlier browser ve rsion.
1194 </dd>
1066 1195
1067 <!-- OBJECT PROPERTIES --> 1196 <!-- OBJECT PROPERTIES -->
1068 <dd style="display: none; "> 1197 <dd style="display: none; ">
1069 <dl> 1198 <dl>
1070 <div> 1199 <div>
1071 <div> 1200 <div>
1072 </div> 1201 </div>
1073 </div> 1202 </div>
1074 </dl> 1203 </dl>
1075 </dd> 1204 </dd>
(...skipping 23 matching lines...) Expand all
1099 </span> 1228 </span>
1100 ) 1229 )
1101 </div> 1230 </div>
1102 1231
1103 </em> 1232 </em>
1104 </dt> 1233 </dt>
1105 <dd class="todo" style="display: none; "> 1234 <dd class="todo" style="display: none; ">
1106 Undocumented. 1235 Undocumented.
1107 </dd> 1236 </dd>
1108 <dd>The tooltip string.</dd> 1237 <dd>The tooltip string.</dd>
1238 <dd style="display: none; ">
1239 This parameter was added in version
1240 <b><span></span></b>.
1241 You must omit this parameter in earlier versions,
1242 and you may omit it in any version. If you require this
1243 parameter, the manifest key
1244 <a href="manifest.html#minimum_chrome_version">minimum_chrome_versio n</a>
1245 can ensure that your extension won't be run in an earlier browser ve rsion.
1246 </dd>
1109 1247
1110 <!-- OBJECT PROPERTIES --> 1248 <!-- OBJECT PROPERTIES -->
1111 <dd style="display: none; "> 1249 <dd style="display: none; ">
1112 <dl> 1250 <dl>
1113 <div> 1251 <div>
1114 <div> 1252 <div>
1115 </div> 1253 </div>
1116 </div> 1254 </div>
1117 </dl> 1255 </dl>
1118 </dd> 1256 </dd>
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
1150 <pre>function(<span>Type param1, Type param2</span>) <span cla ss="subdued">{...}</span>);</pre> 1288 <pre>function(<span>Type param1, Type param2</span>) <span cla ss="subdued">{...}</span>);</pre>
1151 <dl> 1289 <dl>
1152 <div> 1290 <div>
1153 <div> 1291 <div>
1154 </div> 1292 </div>
1155 </div> 1293 </div>
1156 </dl> 1294 </dl>
1157 </div> 1295 </div>
1158 </div> 1296 </div>
1159 1297
1298 <!-- MIN_VERSION -->
1299 <p style="display: none; ">
1300 This function was added in version <b><span></span></b>.
1301 If you require this function, the manifest key
1302 <a href="manifest.html#minimum_chrome_version">minimum_chrome_ version</a>
1303 can ensure that your extension won't be run in an earlier brow ser version.
1304 </p>
1160 </div> <!-- /description --> 1305 </div> <!-- /description -->
1161 1306
1162 </div><div class="apiItem"> 1307 </div><div class="apiItem">
1163 <a name="method-show"></a> <!-- method-anchor --> 1308 <a name="method-show"></a> <!-- method-anchor -->
1164 <h4>show</h4> 1309 <h4>show</h4>
1165 1310
1166 <div class="summary"><span style="display: none; ">void</span> 1311 <div class="summary"><span style="display: none; ">void</span>
1167 <!-- Note: intentionally longer 80 columns --> 1312 <!-- Note: intentionally longer 80 columns -->
1168 <span>chrome.pageAction.show</span>(<span class="null"><span s tyle="display: none; ">, </span><span>integer</span> 1313 <span>chrome.pageAction.show</span>(<span class="null"><span s tyle="display: none; ">, </span><span>integer</span>
1169 <var><span>tabId</span></var></span>)</div> 1314 <var><span>tabId</span></var></span>)</div>
(...skipping 30 matching lines...) Expand all
1200 </span> 1345 </span>
1201 ) 1346 )
1202 </div> 1347 </div>
1203 1348
1204 </em> 1349 </em>
1205 </dt> 1350 </dt>
1206 <dd class="todo" style="display: none; "> 1351 <dd class="todo" style="display: none; ">
1207 Undocumented. 1352 Undocumented.
1208 </dd> 1353 </dd>
1209 <dd>The id of the tab for which you want to modify the page action.</d d> 1354 <dd>The id of the tab for which you want to modify the page action.</d d>
1355 <dd style="display: none; ">
1356 This parameter was added in version
1357 <b><span></span></b>.
1358 You must omit this parameter in earlier versions,
1359 and you may omit it in any version. If you require this
1360 parameter, the manifest key
1361 <a href="manifest.html#minimum_chrome_version">minimum_chrome_versio n</a>
1362 can ensure that your extension won't be run in an earlier browser ve rsion.
1363 </dd>
1210 1364
1211 <!-- OBJECT PROPERTIES --> 1365 <!-- OBJECT PROPERTIES -->
1212 <dd style="display: none; "> 1366 <dd style="display: none; ">
1213 <dl> 1367 <dl>
1214 <div> 1368 <div>
1215 <div> 1369 <div>
1216 </div> 1370 </div>
1217 </div> 1371 </div>
1218 </dl> 1372 </dl>
1219 </dd> 1373 </dd>
(...skipping 27 matching lines...) Expand all
1247 <pre>function(<span>Type param1, Type param2</span>) <span cla ss="subdued">{...}</span>);</pre> 1401 <pre>function(<span>Type param1, Type param2</span>) <span cla ss="subdued">{...}</span>);</pre>
1248 <dl> 1402 <dl>
1249 <div> 1403 <div>
1250 <div> 1404 <div>
1251 </div> 1405 </div>
1252 </div> 1406 </div>
1253 </dl> 1407 </dl>
1254 </div> 1408 </div>
1255 </div> 1409 </div>
1256 1410
1411 <!-- MIN_VERSION -->
1412 <p style="display: none; ">
1413 This function was added in version <b><span></span></b>.
1414 If you require this function, the manifest key
1415 <a href="manifest.html#minimum_chrome_version">minimum_chrome_ version</a>
1416 can ensure that your extension won't be run in an earlier brow ser version.
1417 </p>
1257 </div> <!-- /description --> 1418 </div> <!-- /description -->
1258 1419
1259 </div> <!-- /apiItem --> 1420 </div> <!-- /apiItem -->
1260 1421
1261 </div> <!-- /apiGroup --> 1422 </div> <!-- /apiGroup -->
1262 1423
1263 <!-- EVENTS --> 1424 <!-- EVENTS -->
1264 <div class="apiGroup"> 1425 <div class="apiGroup">
1265 <a name="events"></a> 1426 <a name="events"></a>
1266 <h3 id="events">Events</h3> 1427 <h3 id="events">Events</h3>
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
1309 </div> 1470 </div>
1310 1471
1311 </em> 1472 </em>
1312 </dt> 1473 </dt>
1313 <dd class="todo"> 1474 <dd class="todo">
1314 Undocumented. 1475 Undocumented.
1315 </dd> 1476 </dd>
1316 <dd style="display: none; "> 1477 <dd style="display: none; ">
1317 Description of this parameter from the json schema. 1478 Description of this parameter from the json schema.
1318 </dd> 1479 </dd>
1480 <dd style="display: none; ">
1481 This parameter was added in version
1482 <b><span></span></b>.
1483 You must omit this parameter in earlier versions,
1484 and you may omit it in any version. If you require this
1485 parameter, the manifest key
1486 <a href="manifest.html#minimum_chrome_version">minimum_chrome_versio n</a>
1487 can ensure that your extension won't be run in an earlier browser ve rsion.
1488 </dd>
1319 1489
1320 <!-- OBJECT PROPERTIES --> 1490 <!-- OBJECT PROPERTIES -->
1321 <dd style="display: none; "> 1491 <dd style="display: none; ">
1322 <dl> 1492 <dl>
1323 <div> 1493 <div>
1324 <div> 1494 <div>
1325 </div> 1495 </div>
1326 </div> 1496 </div>
1327 </dl> 1497 </dl>
1328 </dd> 1498 </dd>
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
1387 _uff=0; 1557 _uff=0;
1388 urchinTracker(); 1558 urchinTracker();
1389 } 1559 }
1390 catch(e) {/* urchinTracker not available. */} 1560 catch(e) {/* urchinTracker not available. */}
1391 </script> 1561 </script>
1392 <!-- end analytics --> 1562 <!-- end analytics -->
1393 </div> 1563 </div>
1394 </div> <!-- /gc-footer --> 1564 </div> <!-- /gc-footer -->
1395 </div> <!-- /gc-container --> 1565 </div> <!-- /gc-container -->
1396 </body></html> 1566 </body></html>
OLDNEW
« no previous file with comments | « chrome/common/extensions/docs/packaging.html ('k') | chrome/common/extensions/docs/samples.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698