| OLD | NEW |
| 1 <div id="pageData-name" class="pageData">Windows</div> | |
| 2 | |
| 3 <!-- BEGIN AUTHORED CONTENT --> | |
| 4 <p id="classSummary"> | 1 <p id="classSummary"> |
| 5 Use the <code>chrome.windows</code> module | 2 Use the <code>chrome.windows</code> module |
| 6 to interact with browser windows. | 3 to interact with browser windows. |
| 7 You can use this module to | 4 You can use this module to |
| 8 create, modify, and rearrange windows in the browser. | 5 create, modify, and rearrange windows in the browser. |
| 9 </p> | 6 </p> |
| 10 | 7 |
| 11 <img src="../images/windows.png" | 8 <img src="{{static}}/images/windows.png" |
| 12 width="256" height="76" alt="Two windows, each with one tab" /> | 9 width="256" height="76" alt="Two windows, each with one tab" /> |
| 13 | 10 |
| 14 <h2 id="manifest">Manifest</h2> | 11 <h2 id="manifest">Manifest</h2> |
| 15 <p> | 12 <p> |
| 16 To use the windows API, | 13 To use the windows API, |
| 17 you must declare the "tabs" permission | 14 you must declare the "tabs" permission |
| 18 in <a href="manifest.html">manifest.json</a>. | 15 in <a href="manifest.html">manifest.json</a>. |
| 19 (No, that isn't a typo — | 16 (No, that isn't a typo — |
| 20 the window and tabs modules interact so closely we | 17 the window and tabs modules interact so closely we |
| 21 decided to just share one permission between them.) | 18 decided to just share one permission between them.) |
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 62 You can find simple examples of using the windows module in the | 59 You can find simple examples of using the windows module in the |
| 63 <a href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extension
s/docs/examples/api/windows/">examples/api/windows</a> | 60 <a href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extension
s/docs/examples/api/windows/">examples/api/windows</a> |
| 64 directory. | 61 directory. |
| 65 Another example is in the | 62 Another example is in the |
| 66 <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 | 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 |
| 67 of the | 64 of the |
| 68 <a href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extension
s/docs/examples/api/tabs/inspector/">inspector</a> | 65 <a href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extension
s/docs/examples/api/tabs/inspector/">inspector</a> |
| 69 example. | 66 example. |
| 70 For other examples and for help in viewing the source code, see | 67 For other examples and for help in viewing the source code, see |
| 71 <a href="samples.html">Samples</a>. | 68 <a href="samples.html">Samples</a>. |
| 72 </p> | 69 </p> |
| 73 | |
| 74 <!-- END AUTHORED CONTENT --> | |
| OLD | NEW |