OLD | NEW |
1 <p id="classSummary"> | |
2 Use the <code>chrome.windows</code> module | |
3 to interact with browser windows. | |
4 You can use this module to | |
5 create, modify, and rearrange windows in the browser. | |
6 </p> | |
7 | |
8 <img src="{{static}}/images/windows.png" | 1 <img src="{{static}}/images/windows.png" |
9 width="256" height="76" alt="Two windows, each with one tab" /> | 2 width="256" height="76" alt="Two windows, each with one tab" /> |
10 | 3 |
11 <h2 id="manifest">Manifest</h2> | 4 <h2 id="manifest">Manifest</h2> |
12 <p> | 5 <p> |
13 To use the windows API, | 6 To use the windows API, |
14 you must declare the "tabs" permission | 7 you must declare the "tabs" permission |
15 in <a href="manifest.html">manifest.json</a>. | 8 in <a href="manifest.html">manifest.json</a>. |
16 (No, that isn't a typo — | 9 (No, that isn't a typo — |
17 the window and tabs modules interact so closely we | 10 the window and tabs modules interact so closely we |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
60 <a href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extension
s/docs/examples/api/windows/">examples/api/windows</a> | 53 <a href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extension
s/docs/examples/api/windows/">examples/api/windows</a> |
61 directory. | 54 directory. |
62 Another example is in the | 55 Another example is in the |
63 <a href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extension
s/docs/examples/api/tabs/inspector/tabs_api.html?content-type=text/plain">tabs_a
pi.html</a> file | 56 <a href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extension
s/docs/examples/api/tabs/inspector/tabs_api.html?content-type=text/plain">tabs_a
pi.html</a> file |
64 of the | 57 of the |
65 <a href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extension
s/docs/examples/api/tabs/inspector/">inspector</a> | 58 <a href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extension
s/docs/examples/api/tabs/inspector/">inspector</a> |
66 example. | 59 example. |
67 For other examples and for help in viewing the source code, see | 60 For other examples and for help in viewing the source code, see |
68 <a href="samples.html">Samples</a>. | 61 <a href="samples.html">Samples</a>. |
69 </p> | 62 </p> |
OLD | NEW |