OLD | NEW |
1 <!DOCTYPE html><!-- This page is a placeholder for generated extensions api doc.
Note: | 1 <!DOCTYPE html><!-- This page is a placeholder for generated extensions api doc.
Note: |
2 1) The <head> information in this page is significant, should be uniform | 2 1) The <head> information in this page is significant, should be uniform |
3 across api docs and should be edited only with knowledge of the | 3 across api docs and should be edited only with knowledge of the |
4 templating mechanism. | 4 templating mechanism. |
5 3) All <body>.innerHTML is genereated as an rendering step. If viewed in a | 5 3) All <body>.innerHTML is genereated as an rendering step. If viewed in a |
6 browser, it will be re-generated from the template, json schema and | 6 browser, it will be re-generated from the template, json schema and |
7 authored overview content. | 7 authored overview content. |
8 4) The <body>.innerHTML is also generated by an offline step so that this | 8 4) The <body>.innerHTML is also generated by an offline step so that this |
9 page may easily be indexed by search engines. | 9 page may easily be indexed by search engines. |
10 --><html xmlns="http://www.w3.org/1999/xhtml"><head> | 10 --><html xmlns="http://www.w3.org/1999/xhtml"><head> |
(...skipping 409 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
420 follow these guidelines:</p> | 420 follow these guidelines:</p> |
421 | 421 |
422 <ul> | 422 <ul> |
423 <li><b>Do</b> use page actions | 423 <li><b>Do</b> use page actions |
424 for features that make sense | 424 for features that make sense |
425 for only a few pages. | 425 for only a few pages. |
426 </li><li><b>Don't</b> use page actions | 426 </li><li><b>Don't</b> use page actions |
427 for features that make sense | 427 for features that make sense |
428 for most pages. | 428 for most pages. |
429 Use <a href="browserAction.html">browser actions</a> instead. | 429 Use <a href="browserAction.html">browser actions</a> instead. |
430 </li><li><b>Do</b> use icons | |
431 that are slightly lighter weight | |
432 than <a href="browserAction.html#icon">browser action icons</a>. | |
433 Most icons that Chrome displays | |
434 in the location bar | |
435 are smaller than 19 pixels. | |
436 If the edge pixels are used, | |
437 they are usually only used | |
438 for a faint shadow. | |
439 </li><li><b>Don't</b> constantly animate your icon. | 430 </li><li><b>Don't</b> constantly animate your icon. |
440 That's just annoying. | 431 That's just annoying. |
441 </li></ul> | 432 </li></ul> |
442 | 433 |
443 | 434 |
444 <h2 id="examples"> Examples </h2> | 435 <h2 id="examples"> Examples </h2> |
445 | 436 |
446 <p> | 437 <p> |
447 You can find simple examples of using page actions in the | 438 You can find simple examples of using page actions in the |
448 <a href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extension
s/docs/examples/api/pageAction/">examples/api/pageAction</a> | 439 <a href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extension
s/docs/examples/api/pageAction/">examples/api/pageAction</a> |
(...skipping 1236 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1685 _uff=0; | 1676 _uff=0; |
1686 urchinTracker(); | 1677 urchinTracker(); |
1687 } | 1678 } |
1688 catch(e) {/* urchinTracker not available. */} | 1679 catch(e) {/* urchinTracker not available. */} |
1689 </script> | 1680 </script> |
1690 <!-- end analytics --> | 1681 <!-- end analytics --> |
1691 </div> | 1682 </div> |
1692 </div> <!-- /gc-footer --> | 1683 </div> <!-- /gc-footer --> |
1693 </div> <!-- /gc-container --> | 1684 </div> <!-- /gc-container --> |
1694 </body></html> | 1685 </body></html> |
OLD | NEW |