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

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

Issue 10914218: Removing references to legacy packaged apps across extension docs. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 3 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 <p> 1 <p>
2 Use page actions to put icons inside the address bar. 2 Use page actions to put icons inside the address bar.
3 Page actions represent actions 3 Page actions represent actions
4 that can be taken on the current page, 4 that can be taken on the current page,
5 but that aren't applicable to all pages. 5 but that aren't applicable to all pages.
6 Some examples: 6 Some examples:
7 </p> 7 </p>
8 <ul> 8 <ul>
9 <li> Subscribe to this page's RSS feed </li> 9 <li> Subscribe to this page's RSS feed </li>
10 <li> Make a slideshow out of this page's photos </li> 10 <li> Make a slideshow out of this page's photos </li>
11 </ul> 11 </ul>
12 12
13 <p> 13 <p>
14 The RSS icon in the following screenshot 14 The RSS icon in the following screenshot
15 represents a page action 15 represents a page action
16 that lets you subscribe to 16 that lets you subscribe to
17 the RSS feed for the current page. 17 the RSS feed for the current page.
18 </p> 18 </p>
19 19
20 <img src="{{static}}/images/page-action.png" 20 <img src="{{static}}/images/page-action.png"
21 width="361" height="79" /> 21 width="361" height="79" />
22 22
23 <p> 23 <p>
24 If you want the extension's icon to always be visible, 24 If you want the extension's icon to always be visible,
25 use a <a href="browserAction.html">browser action</a> instead. 25 use a <a href="browserAction.html">browser action</a> instead.
26 </p> 26 </p>
27 27
28 <p class="caution">
29 <strong>Note:</strong>
30 Packaged apps cannot use page actions.
31 </p>
32
33
34 <h2 id="manifest">Manifest</h2> 28 <h2 id="manifest">Manifest</h2>
35 29
36 <p> 30 <p>
37 Register your page action in the 31 Register your page action in the
38 <a href="manifest.html">extension manifest</a> 32 <a href="manifest.html">extension manifest</a>
39 like this: 33 like this:
40 </p> 34 </p>
41 35
42 <pre>{ 36 <pre>{
43 "name": "My extension", 37 "name": "My extension",
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
99 93
100 <h2 id="examples"> Examples </h2> 94 <h2 id="examples"> Examples </h2>
101 95
102 <p> 96 <p>
103 You can find simple examples of using page actions in the 97 You can find simple examples of using page actions in the
104 <a href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extension s/docs/examples/api/pageAction/">examples/api/pageAction</a> 98 <a href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extension s/docs/examples/api/pageAction/">examples/api/pageAction</a>
105 directory. 99 directory.
106 For other examples and for help in viewing the source code, see 100 For other examples and for help in viewing the source code, see
107 <a href="samples.html">Samples</a>. 101 <a href="samples.html">Samples</a>.
108 </p> 102 </p>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698