Disable view source for Developer Tools.
[chromium-blink-merge.git] / chrome / common / extensions / docs / templates / articles / api_index.html
bloba67765263d3c081a4f550b1e48cbebffde7b97ed
1 <h1 class="page_title">Chrome Platform APIs</h1>
2 <p class="doc-family apps">
3 Chrome provides {{platform}}s with many special-purpose APIs like
4 <code>chrome.runtime</code> and <code>chrome.alarms</code>.
5 </p>
7 {{?stable_apis}}
8 <h2 id="stable_apis">Stable APIs</h2>
9 <p>
10 {{+partials.api_table apis:stable_apis is_stable:true/}}
11 </p>
12 {{/stable_apis}}
14 {{?beta_apis}}
15 <h2 id="beta_apis">Beta APIs</h2>
16 <p>These APIs are only available in the Chrome Beta and Dev channels:
17 {{+partials.api_table apis:beta_apis is_stable:false/}}
18 </p>
19 {{/beta_apis}}
21 {{?dev_apis}}
22 <h2 id="dev_apis">Dev APIs</h2>
23 <p>These APIs are only available in the Chrome Dev channel:
24 {{+partials.api_table apis:dev_apis is_stable:false/}}
25 </p>
26 {{/dev_apis}}
28 <h2 id="experimental">Experimental APIs</h2>
29 <p>
30 Chrome also has
31 <a href="experimental.html">experimental APIs</a>,
32 some of which will become supported APIs
33 in future releases of Chrome.
34 </p>
36 <h2 id="conventions">API conventions</h2>
38 <p>
39 Unless the doc says otherwise,
40 methods in the chrome.* APIs are <b>asynchronous</b>:
41 they return immediately,
42 without waiting for the operation to finish.
43 If you need to know the outcome of an operation,
44 then you pass a callback function into the method.
45 For more information, watch this video:
46 </p>
48 <p class="doc-family extensions">
49 <iframe title="YouTube video player" width="640" height="390" src="//www.youtube.com/embed/bmxr75CV36A?rel=0" frameborder="0" allowfullscreen></iframe>
50 </p>