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

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

Issue 53403004: Add deprecated annotation for events in API documentation. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Yaml bump. Created 7 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
OLDNEW
1 <h1 id="apiReference">{{+partials.api_title api:api}} reference</h1> 1 <h1 id="apiReference">{{+partials.api_title api:api}} reference</h1>
2 <div class="api_reference"> 2 <div class="api_reference">
3 {{?api.types}} 3 {{?api.types}}
4 <h2 id="types">Types</h2> 4 <h2 id="types">Types</h2>
5 {{#api.types}} 5 {{#api.types}}
6 {{+partials.type display_name:name}} 6 {{+partials.type display_name:name}}
7 {{/}} 7 {{/}}
8 {{/api.types}} 8 {{/api.types}}
9 {{?api.properties}} 9 {{?api.properties}}
10 <h2 id="properties">Properties</h2> 10 <h2 id="properties">Properties</h2>
11 {{#api.properties}} 11 {{#api.properties}}
12 {{+partials.api_property api:api property:@}} 12 {{+partials.api_property api:api property:@}}
13 {{/}} 13 {{/}}
14 {{/api.properties}} 14 {{/api.properties}}
15 {{?api.functions}} 15 {{?api.functions}}
16 <h2 id="methods">Methods</h2> 16 <h2 id="methods">Methods</h2>
17 {{#api.functions}} 17 {{#api.functions}}
18 {{+partials.function @:@ api:api}} 18 {{+partials.function @:@ api:api}}
19 {{/}} 19 {{/}}
20 {{/api.functions}} 20 {{/api.functions}}
21 {{?api.events}} 21 {{?api.events}}
22 <h2 id="events">Events</h2> 22 <h2 id="events">Events</h2>
23 {{#api.events}} 23 {{#api.events}}
24 {{+partials.event api:api}} 24 {{+partials.event @:@ api:api}}
25 {{/}} 25 {{/}}
26 {{/api.events}} 26 {{/api.events}}
27 {{?api.domEvents}} 27 {{?api.domEvents}}
28 <h2 id="dom_events">DOM Events</h2> 28 <h2 id="dom_events">DOM Events</h2>
29 <dd> 29 <dd>
30 Listeners can be added for these events using the standard HTML 30 Listeners can be added for these events using the standard HTML
31 <a href="https://developer.mozilla.org/en-US/docs/Web/API/EventTarget.addE ventListener">addEventListener</a> 31 <a href="https://developer.mozilla.org/en-US/docs/Web/API/EventTarget.addE ventListener">addEventListener</a>
32 API. Listeners receive a custom <code>Event</code> object which can have 32 API. Listeners receive a custom <code>Event</code> object which can have
33 additional properties as listed with each event.</dd> 33 additional properties as listed with each event.</dd>
34 {{#api.domEvents}} 34 {{#api.domEvents}}
35 {{+partials.dom_event display_name:name @:@ api:api}} 35 {{+partials.dom_event display_name:name @:@ api:api}}
36 {{/api.domEvents}} 36 {{/api.domEvents}}
37 {{/api.domEvents}} 37 {{/api.domEvents}}
38 </div> 38 </div>
39 {{?samples_list}} 39 {{?samples_list}}
40 <h2 id="samples">Sample {{title}} that use chrome.{{api.name}}</h2> 40 <h2 id="samples">Sample {{title}} that use chrome.{{api.name}}</h2>
41 <ul> 41 <ul>
42 {{#samples_list}} 42 {{#samples_list}}
43 <li><strong><a href="samples.html#{{id}}">{{name}}</a></strong> 43 <li><strong><a href="samples.html#{{id}}">{{name}}</a></strong>
44 {{?description}} 44 {{?description}}
45 &ndash; {{description}} 45 &ndash; {{description}}
46 {{/description}}</li> 46 {{/description}}</li>
47 {{/samples_list}} 47 {{/samples_list}}
48 </ul> 48 </ul>
49 {{/samples_list}} 49 {{/samples_list}}
OLDNEW
« no previous file with comments | « chrome/common/extensions/docs/server2/cron.yaml ('k') | chrome/common/extensions/docs/templates/private/event.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698