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

Side by Side Diff: chrome/common/extensions/docs/static/pageAction.html

Issue 6145004: Deleted advice on making page action icons lighterweight/smaller... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 9 years, 11 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
« no previous file with comments | « chrome/common/extensions/docs/pageAction.html ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <div id="pageData-name" class="pageData">Page Actions</div> 1 <div id="pageData-name" class="pageData">Page Actions</div>
2 2
3 <!-- BEGIN AUTHORED CONTENT --> 3 <!-- BEGIN AUTHORED CONTENT -->
4 <p> 4 <p>
5 Use page actions to put icons inside the address bar. 5 Use page actions to put icons inside the address bar.
6 Page actions represent actions 6 Page actions represent actions
7 that can be taken on the current page, 7 that can be taken on the current page,
8 but that aren't applicable to all pages. 8 but that aren't applicable to all pages.
9 Some examples: 9 Some examples:
10 </p> 10 </p>
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 follow these guidelines:</p> 88 follow these guidelines:</p>
89 89
90 <ul> 90 <ul>
91 <li><b>Do</b> use page actions 91 <li><b>Do</b> use page actions
92 for features that make sense 92 for features that make sense
93 for only a few pages. 93 for only a few pages.
94 <li><b>Don't</b> use page actions 94 <li><b>Don't</b> use page actions
95 for features that make sense 95 for features that make sense
96 for most pages. 96 for most pages.
97 Use <a href="browserAction.html">browser actions</a> instead. 97 Use <a href="browserAction.html">browser actions</a> instead.
98 <li><b>Do</b> use icons
99 that are slightly lighter weight
100 than <a href="browserAction.html#icon">browser action icons</a>.
101 Most icons that Chrome displays
102 in the location bar
103 are smaller than 19 pixels.
104 If the edge pixels are used,
105 they are usually only used
106 for a faint shadow.
107 <li><b>Don't</b> constantly animate your icon. 98 <li><b>Don't</b> constantly animate your icon.
108 That's just annoying. 99 That's just annoying.
109 </ul> 100 </ul>
110 101
111 102
112 <h2 id="examples"> Examples </h2> 103 <h2 id="examples"> Examples </h2>
113 104
114 <p> 105 <p>
115 You can find simple examples of using page actions in the 106 You can find simple examples of using page actions in the
116 <a href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extension s/docs/examples/api/pageAction/">examples/api/pageAction</a> 107 <a href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extension s/docs/examples/api/pageAction/">examples/api/pageAction</a>
117 directory. 108 directory.
118 For other examples and for help in viewing the source code, see 109 For other examples and for help in viewing the source code, see
119 <a href="samples.html">Samples</a>. 110 <a href="samples.html">Samples</a>.
120 </p> 111 </p>
121 112
122 <!-- END AUTHORED CONTENT --> 113 <!-- END AUTHORED CONTENT -->
OLDNEW
« no previous file with comments | « chrome/common/extensions/docs/pageAction.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698