diff options
author | aa@chromium.org <aa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-09-02 23:14:27 +0000 |
---|---|---|
committer | aa@chromium.org <aa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-09-02 23:14:27 +0000 |
commit | 900950e1a35c75ad3089e1f78c03e8c497cdb6f0 (patch) | |
tree | 576eb76e3484f923296c8ff19e59a57e951ec386 /chrome/common/extensions/docs/api_other.html | |
parent | e703ee9cf1b2bcdceb0112b2f06c88d719b50b4f (diff) | |
download | chromium_src-900950e1a35c75ad3089e1f78c03e8c497cdb6f0.zip chromium_src-900950e1a35c75ad3089e1f78c03e8c497cdb6f0.tar.gz chromium_src-900950e1a35c75ad3089e1f78c03e8c497cdb6f0.tar.bz2 |
Update static docs. They'd gotten stale.
TBR=rafaelw@chromium.org
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@25263 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/extensions/docs/api_other.html')
-rwxr-xr-x | chrome/common/extensions/docs/api_other.html | 26 |
1 files changed, 17 insertions, 9 deletions
diff --git a/chrome/common/extensions/docs/api_other.html b/chrome/common/extensions/docs/api_other.html index 1790a0e..b01a31c 100755 --- a/chrome/common/extensions/docs/api_other.html +++ b/chrome/common/extensions/docs/api_other.html @@ -64,6 +64,7 @@ <li jstcache="0"><a href="bookmarks.html" jstcache="0">Bookmarks</a></li> <li jstcache="0"><a href="themes.html" jstcache="0">Themes</a></li> <li jstcache="0"><a href="npapi.html" jstcache="0">NPAPI Plugins</a></li> + <li jstcache="0"><a href="xhr.html" jstcache="0">Cross-Origin XHR</a></li> <li jstcache="0"><a href="packaging.html" jstcache="0">Packaging</a></li> <li jstcache="0">Autoupdate</li> </ul> @@ -163,15 +164,19 @@ you can bundle additional API libraries into your extension. <dl jstcache="0"> <dt jstcache="0"><strong jstcache="0"> Standard JavaScript APIs </strong></dt> -<dd jstcache="0"> <span class="comment" jstcache="0">[PENDING: define, explain; link to complete list]</span> +<dd jstcache="0"> These are the same core JavaScript and DOM APIs + that you can use in ordinary web apps. + <span class="comment" jstcache="0">[PENDING: check! should link to complete list]</span> <!-- Use onclick in your toolbar div to add click behavior. E.g. window.open(someUrl). --></dd> <dt jstcache="0"><strong jstcache="0"> XMLHttpRequest </strong></dt> <dd jstcache="0"> - Lets the extension request data from one or more servers. - The manifest specifies - which domains the extension can send requests to. - <span class="comment" jstcache="0">[PENDING: link to doc]</span></dd> + Use <a href="xhr.html" jstcache="0">XMLHttpRequest</a> + to request data from one or more servers. + The <a href="manifest.html#permissions" jstcache="0">permissions</a> field + of the manifest specifies + which hosts the extension can send requests to. + </dd> <dt jstcache="0"><strong jstcache="0"> WebKit APIs </strong></dt> <dd jstcache="0"> Because Google Chrome is built upon WebKit, @@ -190,10 +195,13 @@ E.g. window.open(someUrl). --></dd> <p class="comment" jstcache="0">[PENDING: link to complete list of webkit apis]</p> </dd> <dt jstcache="0"><strong jstcache="0"> V8 APIs</strong>, such as<strong jstcache="0"> JSON </strong></dt> -<dd jstcache="0"> JSON is in V8, so you don't need to include a JSON library to use JSON functions. <span class="comment" jstcache="0">[PENDING: what other APIs are in v8? link to complete list]</span></dd> -<dt jstcache="0"> <strong jstcache="0">HTML5</strong> <strong jstcache="0">APIs</strong>, such as <strong jstcache="0">localStorage</strong> and <strong jstcache="0">Web Workers</strong></dt> -<dd jstcache="0"> HTML5 is still being defined and implemented, but one crucial feature it will provide is local storage... <!-- -localStorage.setItem("foo", "bar"); ... localStorage.getItem("foo"); --> <span class="comment" jstcache="0">[PENDING: mention Web Workers, too. Other important API? link to complete list]</span></dd> +<dd jstcache="0"> Because JSON is in V8, you don't need to include a JSON library to use JSON functions. <span class="comment" jstcache="0">[PENDING: what other APIs are in v8? link to complete list]</span></dd> +<dt jstcache="0"> <strong jstcache="0">HTML5</strong> <strong jstcache="0">APIs</strong>, such as <strong jstcache="0">localStorage</strong></dt> +<dd jstcache="0"> HTML5 is still being defined and implemented, + but Google Chrome already supports local storage, + which extensions can use to store data. +<!-- +localStorage.setItem("foo", "bar"); ... localStorage.getItem("foo"); --> <span class="comment" jstcache="0">[PENDING: Other important API? link to complete list]</span></dd> <dt jstcache="0"><strong jstcache="0">APIs in bundled libraries</strong></dt> <dd jstcache="0"> If you want to use a library that the browser doesn't provide (for example, jQuery), |