| OLD | NEW |
| 1 <!DOCTYPE html><!-- This page is a placeholder for generated extensions api doc.
Note: | 1 <!DOCTYPE html><!-- This page is a placeholder for generated extensions api doc.
Note: |
| 2 1) The <head> information in this page is significant, should be uniform | 2 1) The <head> information in this page is significant, should be uniform |
| 3 across api docs and should be edited only with knowledge of the | 3 across api docs and should be edited only with knowledge of the |
| 4 templating mechanism. | 4 templating mechanism. |
| 5 3) All <body>.innerHTML is genereated as an rendering step. If viewed in a | 5 3) All <body>.innerHTML is genereated as an rendering step. If viewed in a |
| 6 browser, it will be re-generated from the template, json schema and | 6 browser, it will be re-generated from the template, json schema and |
| 7 authored overview content. | 7 authored overview content. |
| 8 4) The <body>.innerHTML is also generated by an offline step so that this | 8 4) The <body>.innerHTML is also generated by an offline step so that this |
| 9 page may easily be indexed by search engines. | 9 page may easily be indexed by search engines. |
| 10 --><html xmlns="http://www.w3.org/1999/xhtml"><head> | 10 --><html xmlns="http://www.w3.org/1999/xhtml"><head> |
| (...skipping 208 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 219 <a href="#examples"> Examples </a> | 219 <a href="#examples"> Examples </a> |
| 220 <ol> | 220 <ol> |
| 221 <li style="display: none; "> | 221 <li style="display: none; "> |
| 222 <a>h3Name</a> | 222 <a>h3Name</a> |
| 223 </li> | 223 </li> |
| 224 </ol> | 224 </ol> |
| 225 </li> | 225 </li> |
| 226 <li> | 226 <li> |
| 227 <a href="#apiReference">API reference: chrome.windows</a> | 227 <a href="#apiReference">API reference: chrome.windows</a> |
| 228 <ol> | 228 <ol> |
| 229 <li style="display: none; "> | 229 <li> |
| 230 <a href="#properties">Properties</a> | 230 <a href="#properties">Properties</a> |
| 231 <ol> | 231 <ol> |
| 232 <li> | 232 <li> |
| 233 <a href="#property-anchor">propertyName</a> | 233 <a href="#property-WINDOW_ID_NONE">WINDOW_ID_NONE</a> |
| 234 </li> | 234 </li> |
| 235 </ol> | 235 </ol> |
| 236 </li> | 236 </li> |
| 237 <li> | 237 <li> |
| 238 <a href="#methods">Methods</a> | 238 <a href="#methods">Methods</a> |
| 239 <ol> | 239 <ol> |
| 240 <li> | 240 <li> |
| 241 <a href="#method-create">create</a> | 241 <a href="#method-create">create</a> |
| 242 </li><li> | 242 </li><li> |
| 243 <a href="#method-get">get</a> | 243 <a href="#method-get">get</a> |
| (...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 355 | 355 |
| 356 <!-- END AUTHORED CONTENT --> | 356 <!-- END AUTHORED CONTENT --> |
| 357 </div> | 357 </div> |
| 358 | 358 |
| 359 <!-- API PAGE --> | 359 <!-- API PAGE --> |
| 360 <div class="apiPage"> | 360 <div class="apiPage"> |
| 361 <a name="apiReference"></a> | 361 <a name="apiReference"></a> |
| 362 <h2>API reference: chrome.windows</h2> | 362 <h2>API reference: chrome.windows</h2> |
| 363 | 363 |
| 364 <!-- PROPERTIES --> | 364 <!-- PROPERTIES --> |
| 365 <div class="apiGroup" style="display: none; "> | 365 <div class="apiGroup"> |
| 366 <a name="properties"></a> | 366 <a name="properties"></a> |
| 367 <h3 id="properties">Properties</h3> | 367 <h3 id="properties">Properties</h3> |
| 368 | 368 |
| 369 <div> | 369 <div> |
| 370 <a></a> | 370 <a name="property-WINDOW_ID_NONE"></a> |
| 371 <h4>getLastError</h4> | 371 <h4>WINDOW_ID_NONE</h4> |
| 372 <div class="summary"> | 372 <div class="summary"> |
| 373 <!-- Note: intentionally longer 80 columns --> | 373 <!-- Note: intentionally longer 80 columns --> |
| 374 <span>chrome.extension</span><span>lastError</span> | 374 <span>chrome.windows.</span><span>WINDOW_ID_NONE</span> |
| 375 </div> | 375 </div> |
| 376 <div> | 376 <div> |
| 377 <dt> |
| 378 <var>WINDOW_ID_NONE</var> |
| 379 <em> |
| 380 |
| 381 <!-- TYPE --> |
| 382 <div style="display:inline"> |
| 383 ( |
| 384 <span class="optional" style="display: none; ">optional</spa
n> |
| 385 <span id="typeTemplate"> |
| 386 <span style="display: none; "> |
| 387 <a> Type</a> |
| 388 </span> |
| 389 <span> |
| 390 <span style="display: none; "> |
| 391 array of <span><span></span></span> |
| 392 </span> |
| 393 <span>integer</span> |
| 394 </span> |
| 395 </span> |
| 396 ) |
| 397 </div> |
| 398 |
| 399 </em> |
| 400 </dt> |
| 401 <dd class="todo" style="display: none; "> |
| 402 Undocumented. |
| 403 </dd> |
| 404 <dd>The windowId value that represents the absence of a chrome browser
window.</dd> |
| 405 |
| 406 <!-- OBJECT PROPERTIES --> |
| 407 <dd style="display: none; "> |
| 408 <dl> |
| 409 <div> |
| 410 <div> |
| 411 </div> |
| 377 </div> | 412 </div> |
| 413 </dl> |
| 414 </dd> |
| 415 </div> |
| 378 </div> | 416 </div> |
| 379 | 417 |
| 380 </div> <!-- /apiGroup --> | 418 </div> <!-- /apiGroup --> |
| 381 | 419 |
| 382 <!-- METHODS --> | 420 <!-- METHODS --> |
| 383 <div class="apiGroup" id="methods"> | 421 <div class="apiGroup" id="methods"> |
| 384 <a name="methods"></a> | 422 <a name="methods"></a> |
| 385 <h3>Methods</h3> | 423 <h3>Methods</h3> |
| 386 | 424 |
| 387 <!-- iterates over all functions --> | 425 <!-- iterates over all functions --> |
| (...skipping 1747 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2135 <a name="event-onFocusChanged"></a> | 2173 <a name="event-onFocusChanged"></a> |
| 2136 <h4>onFocusChanged</h4> | 2174 <h4>onFocusChanged</h4> |
| 2137 | 2175 |
| 2138 <div class="summary"> | 2176 <div class="summary"> |
| 2139 <!-- Note: intentionally longer 80 columns --> | 2177 <!-- Note: intentionally longer 80 columns --> |
| 2140 <span class="subdued">chrome.windows.</span><span>onFocusChanged
</span><span class="subdued">.addListener</span>(function(<span>integer windowId
</span>) <span class="subdued">{...}</span>); | 2178 <span class="subdued">chrome.windows.</span><span>onFocusChanged
</span><span class="subdued">.addListener</span>(function(<span>integer windowId
</span>) <span class="subdued">{...}</span>); |
| 2141 </div> | 2179 </div> |
| 2142 | 2180 |
| 2143 <div class="description"> | 2181 <div class="description"> |
| 2144 <p class="todo" style="display: none; ">Undocumented.</p> | 2182 <p class="todo" style="display: none; ">Undocumented.</p> |
| 2145 <p>Fired when the currently focused window changes.</p> | 2183 <p>Fired when the currently focused window changes. Will be chro
me.windows.WINDOW_ID_NONE if all chrome windows have lost focus. Note: On some L
inux window managers, WINDOW_ID_NONE will always be sent immediately preceding a
switch from one chrome window to another.</p> |
| 2146 | 2184 |
| 2147 <!-- PARAMETERS --> | 2185 <!-- PARAMETERS --> |
| 2148 <h4>Parameters</h4> | 2186 <h4>Parameters</h4> |
| 2149 <dl> | 2187 <dl> |
| 2150 <div> | 2188 <div> |
| 2151 <div> | 2189 <div> |
| 2152 <dt> | 2190 <dt> |
| 2153 <var>windowId</var> | 2191 <var>windowId</var> |
| 2154 <em> | 2192 <em> |
| 2155 | 2193 |
| (...skipping 570 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2726 _uff=0; | 2764 _uff=0; |
| 2727 urchinTracker(); | 2765 urchinTracker(); |
| 2728 } | 2766 } |
| 2729 catch(e) {/* urchinTracker not available. */} | 2767 catch(e) {/* urchinTracker not available. */} |
| 2730 </script> | 2768 </script> |
| 2731 <!-- end analytics --> | 2769 <!-- end analytics --> |
| 2732 </div> | 2770 </div> |
| 2733 </div> <!-- /gc-footer --> | 2771 </div> <!-- /gc-footer --> |
| 2734 </div> <!-- /gc-container --> | 2772 </div> <!-- /gc-container --> |
| 2735 </body></html> | 2773 </body></html> |
| OLD | NEW |