OLD | NEW |
1 <div id="pageData-name" class="pageData">Windows</div> | 1 <div id="pageData-name" class="pageData">Windows</div> |
2 | 2 |
3 <!-- BEGIN AUTHORED CONTENT --> | 3 <!-- BEGIN AUTHORED CONTENT --> |
4 <p id="classSummary"> | 4 <p id="classSummary"> |
5 Use the <code>chrome.windows</code> module | 5 Use the <code>chrome.windows</code> module |
6 to interact with browser windows. | 6 to interact with browser windows. |
7 You can use this module to | 7 You can use this module to |
8 create, modify, and rearrange windows in the browser. | 8 create, modify, and rearrange windows in the browser. |
9 </p> | 9 </p> |
10 | 10 |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
48 contains a call to | 48 contains a call to |
49 <a href="tabs.html#method-getSelected">chrome.tabs.getSelected</a>. | 49 <a href="tabs.html#method-getSelected">chrome.tabs.getSelected</a>. |
50 The current window is the window that contains the page that made | 50 The current window is the window that contains the page that made |
51 the call, no matter what the topmost window is. | 51 the call, no matter what the topmost window is. |
52 </p> | 52 </p> |
53 | 53 |
54 <p>In the case of the <a href="background_pages.html">background page</a>, | 54 <p>In the case of the <a href="background_pages.html">background page</a>, |
55 the value of the current window falls back to the topmost window. | 55 the value of the current window falls back to the topmost window. |
56 </p> | 56 </p> |
57 | 57 |
| 58 <h2 id="examples"> Examples </h2> |
| 59 |
| 60 <p> |
| 61 You can find an example of using the windows module in the |
| 62 <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 of the |
| 64 <a href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extension
s/docs/examples/api/tabs/inspector/">inspector</a> |
| 65 example. |
| 66 For other examples and for help in viewing the source code, see |
| 67 <a href="samples.html">Samples</a>. |
| 68 </p> |
| 69 |
58 <!-- END AUTHORED CONTENT --> | 70 <!-- END AUTHORED CONTENT --> |
OLD | NEW |