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

Side by Side Diff: chrome/common/extensions/docs/i18n.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 848 matching lines...) Expand 10 before | Expand all | Expand 10 after
920 </div> 929 </div>
921 930
922 </em> 931 </em>
923 </dt> 932 </dt>
924 <dd class="todo"> 933 <dd class="todo">
925 Undocumented. 934 Undocumented.
926 </dd> 935 </dd>
927 <dd style="display: none; "> 936 <dd style="display: none; ">
928 Description of this parameter from the json schema. 937 Description of this parameter from the json schema.
929 </dd> 938 </dd>
939 <dd style="display: none; ">
940 This parameter was added in version
941 <b><span></span></b>.
942 You must omit this parameter in earlier versions,
943 and you may omit it in any version. If you require this
944 parameter, the manifest key
945 <a href="manifest.html#minimum_chrome_version">minimum_chrome_versio n</a>
946 can ensure that your extension won't be run in an earlier browser ve rsion.
947 </dd>
930 948
931 <!-- OBJECT PROPERTIES --> 949 <!-- OBJECT PROPERTIES -->
932 <dd style="display: none; "> 950 <dd style="display: none; ">
933 <dl> 951 <dl>
934 <div> 952 <div>
935 <div> 953 <div>
936 </div> 954 </div>
937 </div> 955 </div>
938 </dl> 956 </dl>
939 </dd> 957 </dd>
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
1002 </span> 1020 </span>
1003 ) 1021 )
1004 </div> 1022 </div>
1005 1023
1006 </em> 1024 </em>
1007 </dt> 1025 </dt>
1008 <dd class="todo" style="display: none; "> 1026 <dd class="todo" style="display: none; ">
1009 Undocumented. 1027 Undocumented.
1010 </dd> 1028 </dd>
1011 <dd>Array of the accept languages of the browser, such as en-US,en,zh- CN</dd> 1029 <dd>Array of the accept languages of the browser, such as en-US,en,zh- CN</dd>
1030 <dd style="display: none; ">
1031 This parameter was added in version
1032 <b><span></span></b>.
1033 You must omit this parameter in earlier versions,
1034 and you may omit it in any version. If you require this
1035 parameter, the manifest key
1036 <a href="manifest.html#minimum_chrome_version">minimum_chrome_versio n</a>
1037 can ensure that your extension won't be run in an earlier browser ve rsion.
1038 </dd>
1012 1039
1013 <!-- OBJECT PROPERTIES --> 1040 <!-- OBJECT PROPERTIES -->
1014 <dd style="display: none; "> 1041 <dd style="display: none; ">
1015 <dl> 1042 <dl>
1016 <div> 1043 <div>
1017 <div> 1044 <div>
1018 </div> 1045 </div>
1019 </div> 1046 </div>
1020 </dl> 1047 </dl>
1021 </dd> 1048 </dd>
1022 </div> 1049 </div>
1023 </div> 1050 </div>
1024 </dl> 1051 </dl>
1025 </div> 1052 </div>
1026 </div> 1053 </div>
1027 1054
1055 <!-- MIN_VERSION -->
1056 <p style="display: none; ">
1057 This function was added in version <b><span></span></b>.
1058 If you require this function, the manifest key
1059 <a href="manifest.html#minimum_chrome_version">minimum_chrome_ version</a>
1060 can ensure that your extension won't be run in an earlier brow ser version.
1061 </p>
1028 </div> <!-- /description --> 1062 </div> <!-- /description -->
1029 1063
1030 </div><div class="apiItem"> 1064 </div><div class="apiItem">
1031 <a name="method-getMessage"></a> <!-- method-anchor --> 1065 <a name="method-getMessage"></a> <!-- method-anchor -->
1032 <h4>getMessage</h4> 1066 <h4>getMessage</h4>
1033 1067
1034 <div class="summary"><span>string</span> 1068 <div class="summary"><span>string</span>
1035 <!-- Note: intentionally longer 80 columns --> 1069 <!-- Note: intentionally longer 80 columns -->
1036 <span>chrome.i18n.getMessage</span>(<span class="null"><span s tyle="display: none; ">, </span><span>string</span> 1070 <span>chrome.i18n.getMessage</span>(<span class="null"><span s tyle="display: none; ">, </span><span>string</span>
1037 <var><span>messageName</span></var></span><span class="opt ional"><span>, </span><span>string or array of string</span> 1071 <var><span>messageName</span></var></span><span class="opt ional"><span>, </span><span>string or array of string</span>
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
1069 </span> 1103 </span>
1070 ) 1104 )
1071 </div> 1105 </div>
1072 1106
1073 </em> 1107 </em>
1074 </dt> 1108 </dt>
1075 <dd class="todo" style="display: none; "> 1109 <dd class="todo" style="display: none; ">
1076 Undocumented. 1110 Undocumented.
1077 </dd> 1111 </dd>
1078 <dd>The name of the message, as specified in the <a href="i18n-message s.html"><code>messages.json</code></a> file.</dd> 1112 <dd>The name of the message, as specified in the <a href="i18n-message s.html"><code>messages.json</code></a> file.</dd>
1113 <dd style="display: none; ">
1114 This parameter was added in version
1115 <b><span></span></b>.
1116 You must omit this parameter in earlier versions,
1117 and you may omit it in any version. If you require this
1118 parameter, the manifest key
1119 <a href="manifest.html#minimum_chrome_version">minimum_chrome_versio n</a>
1120 can ensure that your extension won't be run in an earlier browser ve rsion.
1121 </dd>
1079 1122
1080 <!-- OBJECT PROPERTIES --> 1123 <!-- OBJECT PROPERTIES -->
1081 <dd style="display: none; "> 1124 <dd style="display: none; ">
1082 <dl> 1125 <dl>
1083 <div> 1126 <div>
1084 <div> 1127 <div>
1085 </div> 1128 </div>
1086 </div> 1129 </div>
1087 </dl> 1130 </dl>
1088 </dd> 1131 </dd>
(...skipping 23 matching lines...) Expand all
1112 </span> 1155 </span>
1113 ) 1156 )
1114 </div> 1157 </div>
1115 1158
1116 </em> 1159 </em>
1117 </dt> 1160 </dt>
1118 <dd class="todo" style="display: none; "> 1161 <dd class="todo" style="display: none; ">
1119 Undocumented. 1162 Undocumented.
1120 </dd> 1163 </dd>
1121 <dd>1 - 9 substitution strings, if the message requires any.</dd> 1164 <dd>1 - 9 substitution strings, if the message requires any.</dd>
1165 <dd style="display: none; ">
1166 This parameter was added in version
1167 <b><span></span></b>.
1168 You must omit this parameter in earlier versions,
1169 and you may omit it in any version. If you require this
1170 parameter, the manifest key
1171 <a href="manifest.html#minimum_chrome_version">minimum_chrome_versio n</a>
1172 can ensure that your extension won't be run in an earlier browser ve rsion.
1173 </dd>
1122 1174
1123 <!-- OBJECT PROPERTIES --> 1175 <!-- OBJECT PROPERTIES -->
1124 <dd style="display: none; "> 1176 <dd style="display: none; ">
1125 <dl> 1177 <dl>
1126 <div> 1178 <div>
1127 <div> 1179 <div>
1128 </div> 1180 </div>
1129 </div> 1181 </div>
1130 </dl> 1182 </dl>
1131 </dd> 1183 </dd>
(...skipping 29 matching lines...) Expand all
1161 </span> 1213 </span>
1162 ) 1214 )
1163 </div> 1215 </div>
1164 1216
1165 </em> 1217 </em>
1166 </dt> 1218 </dt>
1167 <dd class="todo" style="display: none; "> 1219 <dd class="todo" style="display: none; ">
1168 Undocumented. 1220 Undocumented.
1169 </dd> 1221 </dd>
1170 <dd>Message localized for current locale.</dd> 1222 <dd>Message localized for current locale.</dd>
1223 <dd style="display: none; ">
1224 This parameter was added in version
1225 <b><span></span></b>.
1226 You must omit this parameter in earlier versions,
1227 and you may omit it in any version. If you require this
1228 parameter, the manifest key
1229 <a href="manifest.html#minimum_chrome_version">minimum_chrome_versio n</a>
1230 can ensure that your extension won't be run in an earlier browser ve rsion.
1231 </dd>
1171 1232
1172 <!-- OBJECT PROPERTIES --> 1233 <!-- OBJECT PROPERTIES -->
1173 <dd style="display: none; "> 1234 <dd style="display: none; ">
1174 <dl> 1235 <dl>
1175 <div> 1236 <div>
1176 <div> 1237 <div>
1177 </div> 1238 </div>
1178 </div> 1239 </div>
1179 </dl> 1240 </dl>
1180 </dd> 1241 </dd>
(...skipping 18 matching lines...) Expand all
1199 <pre>function(<span>Type param1, Type param2</span>) <span cla ss="subdued">{...}</span>);</pre> 1260 <pre>function(<span>Type param1, Type param2</span>) <span cla ss="subdued">{...}</span>);</pre>
1200 <dl> 1261 <dl>
1201 <div> 1262 <div>
1202 <div> 1263 <div>
1203 </div> 1264 </div>
1204 </div> 1265 </div>
1205 </dl> 1266 </dl>
1206 </div> 1267 </div>
1207 </div> 1268 </div>
1208 1269
1270 <!-- MIN_VERSION -->
1271 <p style="display: none; ">
1272 This function was added in version <b><span></span></b>.
1273 If you require this function, the manifest key
1274 <a href="manifest.html#minimum_chrome_version">minimum_chrome_ version</a>
1275 can ensure that your extension won't be run in an earlier brow ser version.
1276 </p>
1209 </div> <!-- /description --> 1277 </div> <!-- /description -->
1210 1278
1211 </div> <!-- /apiItem --> 1279 </div> <!-- /apiItem -->
1212 1280
1213 </div> <!-- /apiGroup --> 1281 </div> <!-- /apiGroup -->
1214 1282
1215 <!-- EVENTS --> 1283 <!-- EVENTS -->
1216 <div class="apiGroup" style="display: none; "> 1284 <div class="apiGroup" style="display: none; ">
1217 <a name="events"></a> 1285 <a name="events"></a>
1218 <h3 id="events">Events</h3> 1286 <h3 id="events">Events</h3>
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
1299 _uff=0; 1367 _uff=0;
1300 urchinTracker(); 1368 urchinTracker();
1301 } 1369 }
1302 catch(e) {/* urchinTracker not available. */} 1370 catch(e) {/* urchinTracker not available. */}
1303 </script> 1371 </script>
1304 <!-- end analytics --> 1372 <!-- end analytics -->
1305 </div> 1373 </div>
1306 </div> <!-- /gc-footer --> 1374 </div> <!-- /gc-footer -->
1307 </div> <!-- /gc-container --> 1375 </div> <!-- /gc-container -->
1308 </body></html> 1376 </body></html>
OLDNEW
« no previous file with comments | « chrome/common/extensions/docs/hosting.html ('k') | chrome/common/extensions/docs/i18n-messages.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698