| 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 303 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 314 <!-- STATIC CONTENT PLACEHOLDER --> | 314 <!-- STATIC CONTENT PLACEHOLDER --> |
| 315 <div id="static"><div id="pageData-name" class="pageData">What's New in
Extensions?</div> | 315 <div id="static"><div id="pageData-name" class="pageData">What's New in
Extensions?</div> |
| 316 <!-- <div id="pageData-showTOC" class="pageData">true</div> --> | 316 <!-- <div id="pageData-showTOC" class="pageData">true</div> --> |
| 317 | 317 |
| 318 <p> | 318 <p> |
| 319 This page lists the API and manifest changes | 319 This page lists the API and manifest changes |
| 320 made in recent releases. | 320 made in recent releases. |
| 321 </p> | 321 </p> |
| 322 | 322 |
| 323 <ul> | 323 <ul> |
| 324 <li> <a href="#10">Google Chrome 10</a> </li> |
| 324 <li> <a href="#9">Google Chrome 9</a> </li> | 325 <li> <a href="#9">Google Chrome 9</a> </li> |
| 325 <li> <a href="#8">Google Chrome 8</a> </li> | 326 <li> <a href="#8">Google Chrome 8</a> </li> |
| 326 <li> <a href="#7">Google Chrome 7</a> </li> | 327 <li> <a href="#7">Google Chrome 7</a> </li> |
| 327 <li> <a href="#6">Google Chrome 6</a> </li> | 328 <li> <a href="#6">Google Chrome 6</a> </li> |
| 328 </ul> | 329 </ul> |
| 329 | 330 |
| 330 | 331 |
| 332 <h2 id="10"> Google Chrome 10 </h2> |
| 333 |
| 334 <h4> Manifest changes </h4> |
| 335 <ul> |
| 336 <li>The new <a href="manifest.html#bg">background</a> permission |
| 337 extends the life of Chrome, |
| 338 allowing your extension or app |
| 339 to run even when Chrome has no windows open. |
| 340 </li> |
| 341 </ul> |
| 342 |
| 343 <h4> Additions to existing APIs </h4> |
| 344 <ul> |
| 345 <li> The <a href="windows.html#method-create">chrome.windows.create()</a> |
| 346 method now has a <code>tabId</code> parameter. |
| 347 You can use it to move a tab or panel into a new window. |
| 348 <p class="note"> |
| 349 <b>Note:</b> |
| 350 This change was incorrectly attributed to Chrome 9 |
| 351 in previous versions of this page. |
| 352 </p></li> |
| 353 </ul> |
| 354 |
| 331 <h2 id="9"> Google Chrome 9 </h2> | 355 <h2 id="9"> Google Chrome 9 </h2> |
| 332 | 356 |
| 333 <h4> New APIs </h4> | 357 <h4> New APIs </h4> |
| 334 <ul> | 358 <ul> |
| 335 <li>The <a href="omnibox.html">omnibox API</a> allows you to | 359 <li>The <a href="omnibox.html">omnibox API</a> allows you to |
| 336 register a keyword with Chrome's address bar. </li> | 360 register a keyword with Chrome's address bar. </li> |
| 337 </ul> | 361 </ul> |
| 338 | 362 |
| 339 <h4> Manifest changes </h4> | 363 <h4> Manifest changes </h4> |
| 340 <ul> | 364 <ul> |
| 341 <li> The <a href="manifest.html#homepage_url">homepage_url</a> field | 365 <li> The <a href="manifest.html#homepage_url">homepage_url</a> field |
| 342 lets you specify the extension or app's homepage. </li> | 366 lets you specify the extension or app's homepage. </li> |
| 343 </ul> | 367 </ul> |
| 344 | 368 |
| 345 | 369 |
| 346 <!-- <h4> New experimental APIs </h4> --> | 370 <!-- <h4> New experimental APIs </h4> --> |
| 347 | 371 |
| 348 <h4> Additions to existing APIs </h4> | 372 <h4> Additions to existing APIs </h4> |
| 349 <ul> | 373 <ul> |
| 350 <li> The <a href="tabs.html#type-Tab">Tab</a> object | 374 <li> The <a href="tabs.html#type-Tab">Tab</a> object |
| 351 now has a <code>pinned</code> property | 375 now has a <code>pinned</code> property |
| 352 that's reflected in various <code>chrome.tabs</code> methods. | 376 that's reflected in various <code>chrome.tabs</code> methods. |
| 353 For example, | 377 For example, |
| 354 you can <a href="tabs.html#method-create">create</a> | 378 you can <a href="tabs.html#method-create">create</a> |
| 355 a pinned tab. </li> | 379 a pinned tab. </li> |
| 356 <li> The <a href="windows.html#method-create">chrome.windows.create()</a> | 380 <li> The <a href="windows.html#method-create">chrome.windows.create()</a> |
| 357 method's first parameter can now be an array of strings, | 381 method can now take a list of URLs, |
| 358 letting you create an array of tabs. </li> | 382 letting you create multiple tabs in the new window. </li> |
| 359 <li> The <a href="windows.html#method-create">chrome.windows.create()</a> | |
| 360 method now has a <code>tabId</code> parameter. | |
| 361 You can use it to move a tab or panel into a new window. </li> | |
| 362 <li> The new | 383 <li> The new |
| 363 <a href="management.html#method-get">chrome.management.get()</a> method | 384 <a href="management.html#method-get">chrome.management.get()</a> method |
| 364 lets you get information about the specified extension or app. </li> | 385 lets you get information about the specified extension or app. </li> |
| 365 </ul> | 386 </ul> |
| 366 | 387 |
| 367 | 388 |
| 368 <h2 id="8"> Google Chrome 8 </h2> | 389 <h2 id="8"> Google Chrome 8 </h2> |
| 369 | 390 |
| 370 <p> | 391 <p> |
| 371 We took a break for Chrome 8. | 392 We took a break for Chrome 8. |
| (...skipping 269 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 641 _uff=0; | 662 _uff=0; |
| 642 urchinTracker(); | 663 urchinTracker(); |
| 643 } | 664 } |
| 644 catch(e) {/* urchinTracker not available. */} | 665 catch(e) {/* urchinTracker not available. */} |
| 645 </script> | 666 </script> |
| 646 <!-- end analytics --> | 667 <!-- end analytics --> |
| 647 </div> | 668 </div> |
| 648 </div> <!-- /gc-footer --> | 669 </div> <!-- /gc-footer --> |
| 649 </div> <!-- /gc-container --> | 670 </div> <!-- /gc-container --> |
| 650 </body></html> | 671 </body></html> |
| OLD | NEW |