| OLD | NEW |
| 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 Loading... |
| 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 --> |
| OLD | NEW |