• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<div id="pageData-name" class="pageData">chrome.* APIs</div>
2<div id="pageData-showTOC" class="pageData">true</div>
3
4<p>
5Google Chrome provides APIs such as
6<code>chrome.bookmarks</code> and <code>chrome.tab</code>
7so that extensions can interact with the browser.
8</p>
9
10<h2 id="supported">Supported APIs</h2>
11
12<p>
13Here are the supported chrome.* APIs:
14</p>
15
16<ul>
17  <li jsselect="stableAPIs();"><a jsvalues=".href: $this + '.html'" jscontent="$this" href="bookmarks.html" js>bookmarks</a></li>
18</ul>
19
20<h2 id="experimental">Experimental APIs</h2>
21
22<p>
23Google Chrome also has
24<a href="experimental.html">experimental APIs</a>,
25some of which will become supported APIs
26in future releases of Chrome.
27</p>
28
29<h2 id="conventions">API conventions</h2>
30
31<p>
32Unless the doc says otherwise,
33methods in the chrome.* APIs are <b>asynchronous</b>:
34they return immediately,
35without waiting for the operation to finish.
36If you need to know the outcome of an operation,
37then you pass a callback function into the method.
38For more information, watch this video:
39</p>
40
41<p>
42<iframe title="YouTube video player" width="640" height="390" src="http://www.youtube.com/embed/bmxr75CV36A?rel=0" frameborder="0" allowfullscreen></iframe>
43</p>
44