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

Side by Side Diff: chrome/common/extensions/docs/server2/templates/intros/extension.html

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

Powered by Google App Engine
This is Rietveld 408576698