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 318 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
329 <!-- STATIC CONTENT PLACEHOLDER --> | 329 <!-- STATIC CONTENT PLACEHOLDER --> |
330 <div id="static"><div id="pageData-name" class="pageData">What's New in
Extensions?</div> | 330 <div id="static"><div id="pageData-name" class="pageData">What's New in
Extensions?</div> |
331 <!-- <div id="pageData-showTOC" class="pageData">true</div> --> | 331 <!-- <div id="pageData-showTOC" class="pageData">true</div> --> |
332 | 332 |
333 <p> | 333 <p> |
334 This page lists the API and manifest changes | 334 This page lists the API and manifest changes |
335 made in recent releases. | 335 made in recent releases. |
336 </p> | 336 </p> |
337 | 337 |
338 <ul> | 338 <ul> |
| 339 <li> <a href="#16">Google Chrome 16</a> </li> |
339 <li> <a href="#15">Google Chrome 15</a> </li> | 340 <li> <a href="#15">Google Chrome 15</a> </li> |
340 <li> <a href="#14">Google Chrome 14</a> </li> | 341 <li> <a href="#14">Google Chrome 14</a> </li> |
341 <li> <a href="#13">Google Chrome 13</a> </li> | 342 <li> <a href="#13">Google Chrome 13</a> </li> |
342 <li> <a href="#12">Google Chrome 12</a> </li> | 343 <li> <a href="#12">Google Chrome 12</a> </li> |
343 <li> <a href="#11">Google Chrome 11</a> </li> | 344 <li> <a href="#11">Google Chrome 11</a> </li> |
344 <li> <a href="#10">Google Chrome 10</a> </li> | 345 <li> <a href="#10">Google Chrome 10</a> </li> |
345 <li> <a href="#9">Google Chrome 9</a> </li> | 346 <li> <a href="#9">Google Chrome 9</a> </li> |
346 <li> <a href="#8">Google Chrome 8</a> </li> | 347 <li> <a href="#8">Google Chrome 8</a> </li> |
347 <li> <a href="#7">Google Chrome 7</a> </li> | 348 <li> <a href="#7">Google Chrome 7</a> </li> |
348 <li> <a href="#6">Google Chrome 6</a> </li> | 349 <li> <a href="#6">Google Chrome 6</a> </li> |
349 </ul> | 350 </ul> |
350 | 351 |
351 <p> | 352 <p> |
352 In addition to the changes listed below, | 353 In addition to the changes listed below, |
353 check out the | 354 check out the |
354 <a href="experimental.html">experimental APIs</a>. | 355 <a href="experimental.html">experimental APIs</a>. |
355 </p> | 356 </p> |
356 | 357 |
| 358 <h2 id="16"> Google Chrome 16 </h2> |
| 359 |
| 360 <h4> New APIs </h4> |
| 361 <ul> |
| 362 <li> The new |
| 363 <a href="webNavigation.html">web navigation API</a> |
| 364 lets extensions receive notifications about the status |
| 365 of navigation requests; |
| 366 you can use this API to track navigation events. |
| 367 </li> |
| 368 <li> The new |
| 369 <a href="permissions.html">optional permissions API</a> |
| 370 lets you control when users are presented with permission requests. |
| 371 </li> |
| 372 <li> The new |
| 373 <a href="contentSettings.html">content settings API</a> |
| 374 lets extensions customize Chrome’s behavior |
| 375 on a per-site basis instead of globally; |
| 376 you can use this API to control whether websites can use features |
| 377 such as cookies, JavaScript, and plug-ins. |
| 378 </li> |
| 379 </ul> |
| 380 |
| 381 <h4> Manifest changes </h4> |
| 382 <ul> |
| 383 <li> The new |
| 384 <a href="manifest.html">requirements</a> field |
| 385 allows you to declare extension requirements up front. |
| 386 For example, you can use this field to specify that |
| 387 your app requires "3D", and that |
| 388 it supports two features, "css3d" and "webgl". |
| 389 </li> |
| 390 </ul> |
| 391 |
| 392 <h4> Additions to existing APIs </h4> |
| 393 <ul> |
| 394 <li> The new |
| 395 <a href="tabs.html#method-query">chrome.tabs.query()</a> method |
| 396 gets all tabs that have the specified properties or |
| 397 all tabs if no properties are specified. |
| 398 </li> |
| 399 <li>The new |
| 400 <a href="tabs.html#method-reload">chrome.tabs.reload()</a> method |
| 401 reloads a tab and includes the option |
| 402 to preserve the local cache of the reloaded tab. |
| 403 </li> |
| 404 <li>The management API's |
| 405 <a href="management.html#type-ExtensionInfo">ExtensionInfo</a> object |
| 406 now has an <code>updateURL</code> property. |
| 407 </li> |
| 408 <li> |
| 409 You can now limit the supported locales for an |
| 410 <a href="external_extensions.html">external extension</a> |
| 411 by adding the <code>supported_locales</code> attribute |
| 412 to the <code>external_extensions.json</code>. |
| 413 </li> |
| 414 </ul> |
| 415 |
| 416 <h4> Changes to existing APIs </h4> |
| 417 <ul> |
| 418 <li>The methods <code>getAllInWindow()</code> and |
| 419 <code>getSelected()</code> have been deprecated. |
| 420 To get details about all tabs in the specified window, use |
| 421 <a href="tabs.html#method-query">chrome.tabs.query()</a> |
| 422 with the argument <code>{'windowId': windowID}</code>. |
| 423 To get the tab that is selected in the specified window, use |
| 424 <code>chrome.tabs.query()</code> |
| 425 with the argument <code>{'active': true}</code>. |
| 426 </li> |
| 427 <li> You are no longer required |
| 428 to specify the <code>tabID</code> for the |
| 429 <a href="tabs.html#method-update">chrome.tabs.update()</a> method. |
| 430 When not provided, |
| 431 the <code>tabID</code> defaults to the selected tab of the current window. |
| 432 </li> |
| 433 <li> |
| 434 External extension files on Mac OS can now be owned by users |
| 435 within a wheel group (or an admin group). |
| 436 </li> |
| 437 <li> |
| 438 The "experimental" permission is no longer required |
| 439 for the |
| 440 <a href="windows.html#type-Window">window "panel"</a> type. |
| 441 By default, the "panel" type creates a popup |
| 442 unless the <code>--enable-panels</code> flag is set. |
| 443 </li> |
| 444 </ul> |
| 445 |
357 <h2 id="15"> Google Chrome 15 </h2> | 446 <h2 id="15"> Google Chrome 15 </h2> |
358 | 447 |
359 <p>Chrome 15 had a few minor API additions. Also see the Chrome Web Store’s new | 448 <p>Chrome 15 had a few minor API additions. Also see the Chrome Web Store’s new |
360 <a href="http://code.google.com/chrome/webstore/docs/inline_installation.html">i
nline | 449 <a href="http://code.google.com/chrome/webstore/docs/inline_installation.html">i
nline |
361 installation</a> feature, which lets your website help users install extensions | 450 installation</a> feature, which lets your website help users install extensions |
362 (and apps) without sending them away to the store.</p> | 451 (and apps) without sending them away to the store.</p> |
363 | 452 |
364 <h4> Manifest changes </h4> | 453 <h4> Manifest changes </h4> |
365 <ul> | 454 <ul> |
366 <li> The new | 455 <li> The new |
(...skipping 539 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
906 _uff=0; | 995 _uff=0; |
907 urchinTracker(); | 996 urchinTracker(); |
908 } | 997 } |
909 catch(e) {/* urchinTracker not available. */} | 998 catch(e) {/* urchinTracker not available. */} |
910 </script> | 999 </script> |
911 <!-- end analytics --> | 1000 <!-- end analytics --> |
912 </div> | 1001 </div> |
913 </div> <!-- /gc-footer --> | 1002 </div> <!-- /gc-footer --> |
914 </div> <!-- /gc-container --> | 1003 </div> <!-- /gc-container --> |
915 </body></html> | 1004 </body></html> |
OLD | NEW |