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

Side by Side Diff: chrome/common/extensions/docs/templates/articles/background_pages.html

Issue 12223068: Fix some typos, broken links and other issues in extension docs (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: Created 7 years, 10 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 <h1>Background Pages</h1> 1 <h1>Background Pages</h1>
2 2
3 3
4 <p id="eventPageWarning" class="warning"> 4 <p id="eventPageWarning" class="warning">
5 <em>Caution:</em> Consider using event pages instead. 5 <em>Caution:</em> Consider using event pages instead.
6 <a href="event_pages.html">Learn more</a>. 6 <a href="event_pages.html">Learn more</a>.
7 </p> 7 </p>
8 8
9 <p> 9 <p>
10 A common need for extensions is to have 10 A common need for extensions is to have
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 <b>"background": { 72 <b>"background": {
73 "page": "background.html" 73 "page": "background.html"
74 }</b>, 74 }</b>,
75 ... 75 ...
76 }</pre> 76 }</pre>
77 77
78 <p> 78 <p>
79 If you need the browser to start up early&mdash;so 79 If you need the browser to start up early&mdash;so
80 you can display notifications, for example&mdash;then 80 you can display notifications, for example&mdash;then
81 you might also want to specify the 81 you might also want to specify the
82 <a href="manifest.html#permissions">"background" permission</a>. 82 <a href="declare_permissions.html#bg">"background" permission</a>.
83 </p> 83 </p>
84 84
85 85
86 <h2 id="details">Details</h2> 86 <h2 id="details">Details</h2>
87 87
88 <p> 88 <p>
89 You can communicate between your various pages using direct script calls, 89 You can communicate between your various pages using direct script calls,
90 similar to how frames can communicate. 90 similar to how frames can communicate.
91 The $ref:extension.getViews method 91 The $ref:extension.getViews method
92 returns a list of window objects 92 returns a list of window objects
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
151 &lt;body> 151 &lt;body>
152 &lt;p> 152 &lt;p>
153 Image here: 153 Image here:
154 &lt;/p> 154 &lt;/p>
155 155
156 &lt;img id="target" src="white.png" width="640" height="480"> 156 &lt;img id="target" src="white.png" width="640" height="480">
157 157
158 &lt;/body> 158 &lt;/body>
159 &lt;/html> 159 &lt;/html>
160 </pre> 160 </pre>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698