| OLD | NEW |
| 1 <p id="classSummary"> | |
| 2 Use the <code>chrome.tabs</code> module | |
| 3 to interact with the browser's tab system. | |
| 4 You can use this module to | |
| 5 create, modify, and rearrange tabs in the browser. | |
| 6 </p> | |
| 7 | |
| 8 <img src="{{static}}/images/tabs.png" | 1 <img src="{{static}}/images/tabs.png" |
| 9 width="323" height="50" alt="Two tabs in a window" /> | 2 width="323" height="50" alt="Two tabs in a window" /> |
| 10 | 3 |
| 11 <h2 id="manifest">Manifest</h2> | 4 <h2 id="manifest">Manifest</h2> |
| 12 <p> | 5 <p> |
| 13 Almost all <code>chrome.tabs</code> methods require you to | 6 Almost all <code>chrome.tabs</code> methods require you to |
| 14 declare the "tabs" permission | 7 declare the "tabs" permission |
| 15 in the <a href="manifest.html">extension manifest</a>. | 8 in the <a href="manifest.html">extension manifest</a>. |
| 16 For example: | 9 For example: |
| 17 </p> | 10 </p> |
| (...skipping 17 matching lines...) Expand all Loading... |
| 35 | 28 |
| 36 | 29 |
| 37 <h2 id="examples"> Examples </h2> | 30 <h2 id="examples"> Examples </h2> |
| 38 | 31 |
| 39 <p> | 32 <p> |
| 40 You can find simple examples of using the tabs module in the | 33 You can find simple examples of using the tabs module in the |
| 41 <a href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extension
s/docs/examples/api/tabs/">examples/api/tabs</a> | 34 <a href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extension
s/docs/examples/api/tabs/">examples/api/tabs</a> |
| 42 directory. | 35 directory. |
| 43 For other examples and for help in viewing the source code, see | 36 For other examples and for help in viewing the source code, see |
| 44 <a href="samples.html">Samples</a>. | 37 <a href="samples.html">Samples</a>. |
| 45 </p> | 38 </p> |
| OLD | NEW |