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

Side by Side Diff: chrome/common/extensions/docs/template/api_template.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
« no previous file with comments | « chrome/common/extensions/docs/tabs.html ('k') | chrome/common/extensions/docs/themes.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <div id="gc-container" class="labs"> 1 <div id="gc-container" class="labs">
2 <div id="devModeWarning"> 2 <div id="devModeWarning">
3 You are viewing extension docs in chrome via the 'file:' scheme: are you expecting to see local changes when you refresh? You'll need run chrome with -- allow-file-access-from-files. 3 You are viewing extension docs in chrome via the 'file:' scheme: are you expecting to see local changes when you refresh? You'll need run chrome with -- allow-file-access-from-files.
4 </div> 4 </div>
5 <!-- SUBTEMPLATES: DO NOT MOVE FROM THIS LOCATION --> 5 <!-- SUBTEMPLATES: DO NOT MOVE FROM THIS LOCATION -->
6 <!-- In particular, sub-templates that recurse, must be used by allowing 6 <!-- In particular, sub-templates that recurse, must be used by allowing
7 jstemplate to make a copy of the template in this section which 7 jstemplate to make a copy of the template in this section which
8 are not operated on by way of the jsskip="true" --> 8 are not operated on by way of the jsskip="true" -->
9 <div jsskip="true" style="display:none"> 9 <div jsskip="true" style="display:none">
10 10
(...skipping 25 matching lines...) Expand all
36 36
37 </em> 37 </em>
38 </dt> 38 </dt>
39 <dd class="todo" jsdisplay="!$this.description"> 39 <dd class="todo" jsdisplay="!$this.description">
40 Undocumented. 40 Undocumented.
41 </dd> 41 </dd>
42 <dd jsdisplay="$this.description" 42 <dd jsdisplay="$this.description"
43 jsvalues=".innerHTML:$this.description"> 43 jsvalues=".innerHTML:$this.description">
44 Description of this parameter from the json schema. 44 Description of this parameter from the json schema.
45 </dd> 45 </dd>
46 <dd jsdisplay="$this.min_version">
47 This parameter was added in version
48 <b><span jscontent="$this.min_version"></span></b>.
49 You must omit this parameter in earlier versions,
50 and you may omit it in any version. If you require this
51 parameter, the manifest key
52 <a href="manifest.html#minimum_chrome_version">minimum_chrome_versio n</a>
53 can ensure that your extension won't be run in an earlier browser ve rsion.
54 </dd>
46 55
47 <!-- OBJECT PROPERTIES --> 56 <!-- OBJECT PROPERTIES -->
48 <dd jsdisplay="shouldExpandObject($this)"> 57 <dd jsdisplay="shouldExpandObject($this)">
49 <dl> 58 <dl>
50 <div jsselect="getPropertyListFromObject($this)"> 59 <div jsselect="getPropertyListFromObject($this)">
51 <div transclude="valueTemplate"> 60 <div transclude="valueTemplate">
52 </div> 61 </div>
53 </div> 62 </div>
54 </dl> 63 </dl>
55 </dd> 64 </dd>
(...skipping 279 matching lines...) Expand 10 before | Expand all | Expand 10 after
335 <pre>function(<span jscontent="getSignatureString(parameters)" >Type param1, Type param2</span>) <span class="subdued">{...}</span>);</pre> 344 <pre>function(<span jscontent="getSignatureString(parameters)" >Type param1, Type param2</span>) <span class="subdued">{...}</span>);</pre>
336 <dl> 345 <dl>
337 <div jsselect="parameters"> 346 <div jsselect="parameters">
338 <div transclude="valueTemplate"> 347 <div transclude="valueTemplate">
339 </div> 348 </div>
340 </div> 349 </div>
341 </dl> 350 </dl>
342 </div> 351 </div>
343 </div> 352 </div>
344 353
354 <!-- MIN_VERSION -->
355 <p jsdisplay="min_version" >
356 This function was added in version <b><span jscontent="$this.m in_version"></span></b>.
357 If you require this function, the manifest key
358 <a href="manifest.html#minimum_chrome_version">minimum_chrome_ version</a>
359 can ensure that your extension won't be run in an earlier brow ser version.
360 </p>
345 </div> <!-- /description --> 361 </div> <!-- /description -->
346 362
347 </div> <!-- /apiItem --> 363 </div> <!-- /apiItem -->
348 364
349 </div> <!-- /apiGroup --> 365 </div> <!-- /apiGroup -->
350 366
351 <!-- EVENTS --> 367 <!-- EVENTS -->
352 <div jsdisplay="events && events.length > 0" class="apiGroup"> 368 <div jsdisplay="events && events.length > 0" class="apiGroup">
353 <a name="events"></a> 369 <a name="events"></a>
354 <h3 id="events">Events</h3> 370 <h3 id="events">Events</h3>
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
437 _uanchor=1; 453 _uanchor=1;
438 _uff=0; 454 _uff=0;
439 urchinTracker(); 455 urchinTracker();
440 } 456 }
441 catch(e) {/* urchinTracker not available. */} 457 catch(e) {/* urchinTracker not available. */}
442 </script> 458 </script>
443 <!-- end analytics --> 459 <!-- end analytics -->
444 </div> 460 </div>
445 </div> <!-- /gc-footer --> 461 </div> <!-- /gc-footer -->
446 </div> <!-- /gc-container --> 462 </div> <!-- /gc-container -->
OLDNEW
« no previous file with comments | « chrome/common/extensions/docs/tabs.html ('k') | chrome/common/extensions/docs/themes.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698