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

Side by Side Diff: chrome/common/extensions/docs/templates/private/callback.html

Issue 11342033: Allow IDL schemas to have comments on callback functions (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Clarify comment Created 8 years, 1 month 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | tools/json_schema_compiler/idl_schema.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <h4>Callback function</h4> 1 <h4>Callback function</h4>
2 <p> 2 <p>
3 {{?optional}} 3 {{?optional}}
4 If you specify the <em>{{name}}</em> parameter, it should 4 If you specify the <em>{{name}}</em> parameter, it should
5 specify a function that looks like this: 5 specify a function that looks like this:
6 {{:}} 6 {{:}}
7 The <em>{{name}}</em> parameter should specify a function 7 The <em>{{name}}</em> parameter should specify a function
8 that looks like this: 8 that looks like this:
9 {{/}} 9 {{/}}
10 </p> 10 </p>
11 <pre>function({{#parameters}}{{+partials.variable_type}} {{name}}{{^last}}, {{/} }{{/}}) <span class="subdued">{...}</span>;</pre> 11 <pre>function({{#parameters}}{{+partials.variable_type}} {{name}}{{^last}}, {{/} }{{/}}) <span class="subdued">{...}</span>;</pre>
12 {{?description}}<p>
13 {{description}}
14 </p>{{/}}
12 <dl> 15 <dl>
13 {{#parameters}}{{+partials.parameter_full}}{{/}} 16 {{#parameters}}{{+partials.parameter_full}}{{/}}
14 </dl> 17 </dl>
OLDNEW
« no previous file with comments | « no previous file | tools/json_schema_compiler/idl_schema.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698