diff options
author | kathyw@google.com <kathyw@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-12-18 00:44:10 +0000 |
---|---|---|
committer | kathyw@google.com <kathyw@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-12-18 00:44:10 +0000 |
commit | d868079dbe313b7e8408a13b338706dc8569e45c (patch) | |
tree | e3e231b464d1c62d07c22b289755bbbf76807096 /chrome/common/extensions/docs/static/extension.html | |
parent | 6df36682282c9eca1be215fc6b33393e549aeead (diff) | |
download | chromium_src-d868079dbe313b7e8408a13b338706dc8569e45c.zip chromium_src-d868079dbe313b7e8408a13b338706dc8569e45c.tar.gz chromium_src-d868079dbe313b7e8408a13b338706dc8569e45c.tar.bz2 |
Add *Request to the list of API that content scripts can use.
Add link to Message Passing page.
TEST=none
BUG=none
Review URL: http://codereview.chromium.org/505044
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@34909 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/extensions/docs/static/extension.html')
-rw-r--r-- | chrome/common/extensions/docs/static/extension.html | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/chrome/common/extensions/docs/static/extension.html b/chrome/common/extensions/docs/static/extension.html index 70afe31..37c294d 100644 --- a/chrome/common/extensions/docs/static/extension.html +++ b/chrome/common/extensions/docs/static/extension.html @@ -2,6 +2,11 @@ <p id="classSummary"> The <code>chrome.extension</code> module has utilities that can be used by any extension page. +It includes support for exchanging messages +between an extension and its content scripts +or between extensions, +as described in detail in +<a href="messaging.html">Message Passing</a>. </p> <h2 id="content scripts">Support for content scripts</h2> @@ -13,11 +18,18 @@ can be used by content scripts: <dl> <dt> + <a href="#method-sendRequest"><code>sendRequest()</code></a> and + <a href="#event-onRequest"><code>onRequest</code></a> + </dt> + <dd> + Simple communication with extension pages + </dd> + <dt> <a href="#method-connect"><code>connect()</code></a> and <a href="#event-onConnect"><code>onConnect</code></a> </dt> <dd> - Communication with extension pages + Extended communication with extension pages </dd> <dt> <a href="#method-getURL"><code>getURL()</code></a> |