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

Side by Side Diff: chrome/common/extensions/docs/server2/templates/articles/api_index_extensions.html

Issue 10834144: Extensions Docs Server: Split apps from extensions (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: reworked Created 8 years, 4 months 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 | Annotate | Revision Log
OLDNEW
1 <h1 class="page_title">chrome.* APIs</h1> 1 <h1 class="page_title">chrome.* APIs</h1>
2 <p class="doc-family extensions"> 2 <p class="doc-family extensions">
3 Chrome provides APIs such as 3 Chrome provides APIs such as
4 <code>chrome.bookmarks</code> and <code>chrome.tab</code> 4 <code>chrome.bookmarks</code> and <code>chrome.tab</code>
5 so that extensions can interact with the browser. 5 so that extensions can interact with the browser.
6 </p> 6 </p>
not at google - send to devlin 2012/08/06 08:38:33 I think in this case we're better off passing thro
cduvall 2012/08/06 18:36:16 Done.
7 7
8 <p class="doc-family apps">
9 Chrome provides many special-purpose APIs like
10 <code>chrome.runtime</code> and <code>chrome.alarms</code>
11 to packaged apps.
12 </p>
13
14 <h2 id="supported">Supported APIs</h2> 8 <h2 id="supported">Supported APIs</h2>
15 9
16 <p> 10 <p>
17 Here are the supported chrome.* APIs: 11 Here are the supported chrome.* APIs:
18 </p> 12 </p>
19 13
20 <ul> 14 <ul>
21 {{#api_list.chrome}} 15 {{#api_list.extensions.chrome}}
22 <li><a href="{{name}}.html">{{name}}</a></li> 16 <li><a href="{{name}}.html">{{name}}</a></li>
23 {{/}} 17 {{/}}
24 </ul> 18 </ul>
25 19
26 <h2 id="experimental">Experimental APIs</h2> 20 <h2 id="experimental">Experimental APIs</h2>
27 21
28 <p> 22 <p>
29 Chrome also has 23 Chrome also has
30 <a href="experimental.html">experimental APIs</a>, 24 <a href="experimental.html">experimental APIs</a>,
31 some of which will become supported APIs 25 some of which will become supported APIs
32 in future releases of Chrome. 26 in future releases of Chrome.
33 </p> 27 </p>
34 28
35 <h2 id="conventions">API conventions</h2> 29 <h2 id="conventions">API conventions</h2>
36 30
37 <p> 31 <p>
38 Unless the doc says otherwise, 32 Unless the doc says otherwise,
39 methods in the chrome.* APIs are <b>asynchronous</b>: 33 methods in the chrome.* APIs are <b>asynchronous</b>:
40 they return immediately, 34 they return immediately,
41 without waiting for the operation to finish. 35 without waiting for the operation to finish.
42 If you need to know the outcome of an operation, 36 If you need to know the outcome of an operation,
43 then you pass a callback function into the method. 37 then you pass a callback function into the method.
44 For more information, watch this video: 38 For more information, watch this video:
45 </p> 39 </p>
46 40
47 <p class="doc-family extensions"> 41 <p class="doc-family extensions">
48 <iframe title="YouTube video player" width="640" height="390" src="http://www.yo utube.com/embed/bmxr75CV36A?rel=0" frameborder="0" allowfullscreen></iframe> 42 <iframe title="YouTube video player" width="640" height="390" src="http://www.yo utube.com/embed/bmxr75CV36A?rel=0" frameborder="0" allowfullscreen></iframe>
49 </p> 43 </p>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698