Chromium Code Reviews| Index: chrome/common/extensions/docs/server2/templates/articles/api_index.html |
| diff --git a/chrome/common/extensions/docs/server2/templates/articles/api_index.html b/chrome/common/extensions/docs/server2/templates/articles/api_index.html |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..314bebb44676c1614ab4083ca2d788a08cefb314 |
| --- /dev/null |
| +++ b/chrome/common/extensions/docs/server2/templates/articles/api_index.html |
| @@ -0,0 +1,49 @@ |
| +<h1>chrome.* APIs</h1> |
| +<p class="doc-family extensions"> |
| +Chrome provides APIs such as |
| +<code>chrome.bookmarks</code> and <code>chrome.tab</code> |
| +so that extensions can interact with the browser. |
| +</p> |
| + |
| +<p class="doc-family apps"> |
| +Chrome provides many special-purpose APIs like |
| +<code>chrome.runtime</code> and <code>chrome.alarms</code> |
| +to packaged apps. |
| +</p> |
| + |
| +<h2 id="supported">Supported APIs</h2> |
| + |
| +<p> |
| +Here are the supported chrome.* APIs: |
| +</p> |
| + |
| +<ul> |
| + {{#api_list.list.chrome}} |
|
not at google - send to devlin
2012/07/23 12:40:24
what's with the "list"?
cduvall
2012/07/23 20:38:19
Fixed with change in api_list_data_source
|
| + <li><a href="{{@}}.html">{{@}}</a></li> |
| + {{/}} |
| +</ul> |
| + |
| +<h2 id="experimental">Experimental APIs</h2> |
| + |
| +<p> |
| +Chrome also has |
| +<a href="experimental.html">experimental APIs</a>, |
| +some of which will become supported APIs |
| +in future releases of Chrome. |
| +</p> |
| + |
| +<h2 id="conventions">API conventions</h2> |
| + |
| +<p> |
| +Unless the doc says otherwise, |
| +methods in the chrome.* APIs are <b>asynchronous</b>: |
| +they return immediately, |
| +without waiting for the operation to finish. |
| +If you need to know the outcome of an operation, |
| +then you pass a callback function into the method. |
| +For more information, watch this video: |
| +</p> |
| + |
| +<p class="doc-family extensions"> |
| +<iframe title="YouTube video player" width="640" height="390" src="http://www.youtube.com/embed/bmxr75CV36A?rel=0" frameborder="0" allowfullscreen></iframe> |
| +</p> |