diff options
Diffstat (limited to 'chrome/common/extensions/docs/messaging.html')
-rw-r--r-- | chrome/common/extensions/docs/messaging.html | 23 |
1 files changed, 22 insertions, 1 deletions
diff --git a/chrome/common/extensions/docs/messaging.html b/chrome/common/extensions/docs/messaging.html index 51b69ca..d85a210 100644 --- a/chrome/common/extensions/docs/messaging.html +++ b/chrome/common/extensions/docs/messaging.html @@ -116,7 +116,7 @@ <a href="samples.html" title="Sample extensions (with source code)">Samples</a> </li> <li id="group_link"> - <a href="http://groups.google.com/group/chromium-extensions" title="Google Chrome Extensions developer forum">Group</a> + <a href="http://groups.google.com/a/chromium.org/group/chromium-extensions" title="Google Chrome Extensions developer forum">Group</a> </li> </ul> </div> <!-- end gc-topnav --> @@ -223,6 +223,13 @@ <a>h3Name</a> </li> </ol> + </li><li> + <a href="#examples">Examples</a> + <ol> + <li style="display: none; "> + <a>h3Name</a> + </li> + </ol> </li> <li style="display: none; "> <a href="#apiReference">API reference</a> @@ -517,6 +524,20 @@ chrome.tabs.sendRequest(tab.id, {greeting: "hello"}, function(response) { }); </pre> +<h2 id="examples">Examples</h2> + +<p> +You can find simple examples of communication via messages in the +<a href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/api/messaging/">examples/api/messaging</a> +directory. +Also see the +<a href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/howto/contentscript_xhr">contentscript_xhr</a> example, +in which a content script and its parent extension exchange messages, +so that the parent extension can perform +cross-site requests on behalf of the content script. +For more examples and for help in viewing the source code, see +<a href="samples.html">Samples</a>. +</p> </div> <!-- API PAGE --> |