OLD | NEW |
---|---|
1 <h1 class="page_title">Chrome Platform APIs</h1> | 1 <h1 class="page_title">Chrome Platform APIs</h1> |
2 {{?is_apps}} | |
3 <p class="doc-family apps"> | 2 <p class="doc-family apps"> |
4 Chrome provides many special-purpose APIs like | 3 Chrome provides many special-purpose APIs like |
5 <code>chrome.runtime</code> and <code>chrome.alarms</code> | 4 <code>chrome.runtime</code> and <code>chrome.alarms</code> |
6 to Chrome Apps. | 5 to Chrome Apps. |
7 </p> | 6 </p> |
8 {{:is_apps}} | |
9 <p class="doc-family extensions"> | |
10 Chrome provides APIs such as | |
11 <code>chrome.bookmarks</code> and <code>chrome.tab</code> | |
12 so that extensions can interact with the browser. | |
13 </p> | |
14 {{/is_apps}} | |
15 | 7 |
16 <h2 id="supported">Supported APIs</h2> | 8 <h2 id="supported">Supported APIs</h2> |
17 | 9 {{?stable_apis}} |
18 <p> | 10 <p> |
19 Here are the supported chrome.* APIs: | 11 Here are the supported chrome.* APIs stable since the Chrome version. |
mkearney1
2013/11/01 17:15:37
Move this <p> after <h3>.
hukun
2013/11/04 11:07:26
Done
| |
20 </p> | 12 </p> |
21 | 13 |
22 <ul> | 14 <h3 id="stable_apis"> |
23 {{?is_apps}} | 15 Stable APIs |
24 {{#api_list.apps.chrome}} | 16 </h3> |
25 <li><a href="{{name}}.html">{{name}}</a></li> | 17 <table> |
26 {{/api_list.apps.chrome}} | 18 <tr><th>Name</th><th>Description</th><th>Chrome Version</th></tr> |
not at google - send to devlin
2013/11/02 00:31:48
I think just "Since" looks better than "Chrome Ver
hukun
2013/11/04 11:07:26
Done
| |
27 {{:is_apps}} | 19 {{#stable_apis}} |
28 {{#api_list.extensions.chrome}} | 20 <tr> |
29 <li><a href="{{name}}.html">{{name}}</a></li> | 21 <td><a href="{{name}}.html">{{name}}</a></td> |
30 {{/api_list.extensions.chrome}} | 22 <td>{{{description}}}</td> |
31 {{/is_apps}} | 23 <td>{{version}}</td> |
32 </ul> | 24 </tr> |
25 {{/stable_apis}} | |
26 </table> | |
27 {{/}} | |
33 | 28 |
29 {{?beta_apis}} | |
30 <p> | |
31 Here are the supported chrome.* APIs available in Chrome Beta only. | |
mkearney1
2013/11/01 17:15:37
Move this <p> after <h3>.
hukun
2013/11/04 11:07:26
Done.
| |
32 </p> | |
33 | |
34 <h3 id="beta_apis"> | |
mkearney1
2013/11/01 17:15:37
Can we have a sentence here: "Here are the support
hukun
2013/11/04 11:07:26
Yes, it should be. I worked well on my local machi
| |
35 Beta APIs | |
36 </h3> | |
37 <table> | |
38 <tr><th>Name</th><th>Description</th></tr> | |
39 {{#beta_apis}} | |
40 <tr> | |
41 <td><a href="{{name}}.html">{{name}}</a></td> | |
42 <td>{{{description}}}</td> | |
43 </tr> | |
44 {{/}} | |
45 </table> | |
46 {{/}} | |
47 | |
48 {{?dev_apis}} | |
49 <p> | |
50 Here are the supported chrome.* APIs available in Chrome Dev only. | |
51 </p> | |
mkearney1
2013/11/01 17:15:37
Move this <p> to come after <h3>
hukun
2013/11/04 11:07:26
Done
| |
52 | |
53 <h3 id="dev_apis"> | |
54 Dev APIs | |
55 </h3> | |
56 <table> | |
57 <tr><th>Name</th><th>Description</th></tr> | |
58 {{#dev_apis}} | |
59 <tr> | |
60 <td><a href="{{name}}.html">{{name}}</a></td> | |
61 <td>{{{description}}}</td> | |
62 </tr> | |
63 {{/}} | |
64 </table> | |
65 {{/}} | |
not at google - send to devlin
2013/11/02 00:31:48
what about trunk?
perhaps pull this the table int
hukun
2013/11/04 11:07:26
Done
| |
34 <h2 id="experimental">Experimental APIs</h2> | 66 <h2 id="experimental">Experimental APIs</h2> |
35 | 67 |
36 <p> | 68 <p> |
37 Chrome also has | 69 Chrome also has |
38 <a href="experimental.html">experimental APIs</a>, | 70 <a href="experimental.html">experimental APIs</a>, |
39 some of which will become supported APIs | 71 some of which will become supported APIs |
40 in future releases of Chrome. | 72 in future releases of Chrome. |
41 </p> | 73 </p> |
42 | 74 |
43 <h2 id="conventions">API conventions</h2> | 75 <h2 id="conventions">API conventions</h2> |
44 | 76 |
45 <p> | 77 <p> |
46 Unless the doc says otherwise, | 78 Unless the doc says otherwise, |
47 methods in the chrome.* APIs are <b>asynchronous</b>: | 79 methods in the chrome.* APIs are <b>asynchronous</b>: |
48 they return immediately, | 80 they return immediately, |
49 without waiting for the operation to finish. | 81 without waiting for the operation to finish. |
50 If you need to know the outcome of an operation, | 82 If you need to know the outcome of an operation, |
51 then you pass a callback function into the method. | 83 then you pass a callback function into the method. |
52 For more information, watch this video: | 84 For more information, watch this video: |
53 </p> | 85 </p> |
54 | 86 |
55 <p class="doc-family extensions"> | 87 <p class="doc-family extensions"> |
56 <iframe title="YouTube video player" width="640" height="390" src="//www.youtube .com/embed/bmxr75CV36A?rel=0" frameborder="0" allowfullscreen></iframe> | 88 <iframe title="YouTube video player" width="640" height="390" src="//www.youtube .com/embed/bmxr75CV36A?rel=0" frameborder="0" allowfullscreen></iframe> |
57 </p> | 89 </p> |
OLD | NEW |