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

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

Issue 10834144: Extensions Docs Server: Split apps from extensions (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fixes 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 {{^is_apps}}<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>{{/}}
7 7
8 <p class="doc-family apps"> 8 {{?is_apps}}<p class="doc-family apps">
not at google - send to devlin 2012/08/06 22:01:24 why not using {{:}} and having this on the same li
cduvall 2012/08/06 22:25:45 Done.
9 Chrome provides many special-purpose APIs like 9 Chrome provides many special-purpose APIs like
10 <code>chrome.runtime</code> and <code>chrome.alarms</code> 10 <code>chrome.runtime</code> and <code>chrome.alarms</code>
11 to packaged apps. 11 to packaged apps.
12 </p> 12 </p>{{/}}
13 13
14 <h2 id="supported">Supported APIs</h2> 14 <h2 id="supported">Supported APIs</h2>
15 15
16 <p> 16 <p>
17 Here are the supported chrome.* APIs: 17 Here are the supported chrome.* APIs:
18 </p> 18 </p>
19 19
20 <ul> 20 <ul>
21 {{#api_list.chrome}} 21 {{?is_apps}}
22 {{#api_list.apps.chrome}}
22 <li><a href="{{name}}.html">{{name}}</a></li> 23 <li><a href="{{name}}.html">{{name}}</a></li>
23 {{/}} 24 {{/}}
25 {{:}}
not at google - send to devlin 2012/08/06 22:01:24 getting hard to read without explicitly naming wha
cduvall 2012/08/06 22:25:45 Done.
26 {{#api_list.extensions.chrome}}
27 <li><a href="{{name}}.html">{{name}}</a></li>
28 {{/}}
29 {{/is_apps}}
24 </ul> 30 </ul>
25 31
26 <h2 id="experimental">Experimental APIs</h2> 32 <h2 id="experimental">Experimental APIs</h2>
27 33
28 <p> 34 <p>
29 Chrome also has 35 Chrome also has
30 <a href="experimental.html">experimental APIs</a>, 36 <a href="experimental.html">experimental APIs</a>,
31 some of which will become supported APIs 37 some of which will become supported APIs
32 in future releases of Chrome. 38 in future releases of Chrome.
33 </p> 39 </p>
34 40
35 <h2 id="conventions">API conventions</h2> 41 <h2 id="conventions">API conventions</h2>
36 42
37 <p> 43 <p>
38 Unless the doc says otherwise, 44 Unless the doc says otherwise,
39 methods in the chrome.* APIs are <b>asynchronous</b>: 45 methods in the chrome.* APIs are <b>asynchronous</b>:
40 they return immediately, 46 they return immediately,
41 without waiting for the operation to finish. 47 without waiting for the operation to finish.
42 If you need to know the outcome of an operation, 48 If you need to know the outcome of an operation,
43 then you pass a callback function into the method. 49 then you pass a callback function into the method.
44 For more information, watch this video: 50 For more information, watch this video:
45 </p> 51 </p>
46 52
47 <p class="doc-family extensions"> 53 {{^is_apps}}<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> 54 <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> 55 </p>{{/}}
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698