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

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

Issue 10750017: Extensions Docs Server: Intro data source (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: nits 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 <!-- BEGIN AUTHORED CONTENT -->
2 <p id="classSummary">
3 The <code>chrome.extension</code> module
4 has utilities that can be used by any extension page.
5 It includes support for exchanging messages
6 between an extension and its content scripts
7 or between extensions,
8 as described in detail in
9 <a href="messaging.html">Message Passing</a>.
10 </p>
11 <h2 id="content scripts">Support for content scripts</h2>
12 <p>
13 Unlike the other chrome.* APIs,
14 parts of <code>chrome.extension</code>
15 can be used by content scripts:
16 </p>
17 <dl>
18 <dt>
19 <a href="#method-sendMessage"><code>sendMessage()</code></a> and
20 <a href="#event-onMessage"><code>onMessage</code></a>
21 </dt>
22 <dd>
23 Simple communication with extension pages
24 </dd>
25 <dt>
26 <a href="#method-connect"><code>connect()</code></a> and
27 <a href="#event-onConnect"><code>onConnect</code></a>
28 </dt>
29 <dd>
30 Extended communication with extension pages
31 </dd>
32 <dt>
33 <a href="#method-getURL"><code>getURL()</code></a>
34 </dt>
35 <dd>
36 Access to extension resources such as image files
37 </dd>
38 </dl>
39 <p>
40 For details, see
41 <a href="content_scripts.html">Content Scripts</a>.
42 </p>
43 <!-- END AUTHORED CONTENT -->
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698