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

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

Issue 375133002: Docserver: Display API features that are available to content scripts (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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
OLDNEW
(Empty)
1 <h2 id="content scripts">Support for content scripts</h2>
2 <p>
3 Unlike the other chrome.* APIs,
4 parts of <code>chrome.extension</code>
5 can be used by content scripts:
6 </p>
7
8 <dl>
9 <dt>
10 $(ref:runtime.sendMessage) and
11 $(ref:runtime.onMessage)
12 </dt>
13 <dd>
14 Simple communication with extension pages
15 </dd>
16 <dt>
17 $(ref:runtime.connect) and
18 $(ref:runtime.onConnect)
19 </dt>
20 <dd>
21 Extended communication with extension pages
22 </dd>
23 <dt>
24 $(ref:extension.getURL)
25 </dt>
26 <dd>
27 Access to extension resources such as image files
28 </dd>
29 </dl>
30
31 <p>
32 For details, see
33 <a href="content_scripts">Content Scripts</a>.
34 </p>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698