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