| 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..8bd405be243bef3e7345f00f5bb99abe8514c1a1
|
| --- /dev/null
|
| +++ b/chrome/common/extensions/docs/server2/templates/articles/api_index.html
|
| @@ -0,0 +1,49 @@
|
| +<h1 class="page_title">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.chrome}}
|
| + <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>
|
|
|