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

Unified Diff: chrome/common/extensions/docs/server2/templates/private/extension_intro.html

Issue 10700118: Extensions Docs Server: First doc conversions (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Added all APIs Created 8 years, 5 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 side-by-side diff with in-line comments
Download patch
Index: chrome/common/extensions/docs/server2/templates/private/extension_intro.html
diff --git a/chrome/common/extensions/docs/server2/templates/private/extension_intro.html b/chrome/common/extensions/docs/server2/templates/private/extension_intro.html
new file mode 100644
index 0000000000000000000000000000000000000000..d7845b190a4875fe9033c3672886c05469062636
--- /dev/null
+++ b/chrome/common/extensions/docs/server2/templates/private/extension_intro.html
@@ -0,0 +1,43 @@
+<!-- BEGIN AUTHORED CONTENT -->
+<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>
+<p>
+Unlike the other chrome.* APIs,
+parts of <code>chrome.extension</code>
+can be used by content scripts:
+</p>
+<dl>
+ <dt>
+ <a href="#method-sendMessage"><code>sendMessage()</code></a> and
+ <a href="#event-onMessage"><code>onMessage</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>
+ Extended communication with extension pages
+ </dd>
+ <dt>
+ <a href="#method-getURL"><code>getURL()</code></a>
+ </dt>
+ <dd>
+ Access to extension resources such as image files
+ </dd>
+</dl>
+<p>
+For details, see
+<a href="content_scripts.html">Content Scripts</a>.
+</p>
+<!-- END AUTHORED CONTENT -->

Powered by Google App Engine
This is Rietveld 408576698