Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 <div id="pageData-name" class="pageData">What's New in Extensions?</div> | 1 <div id="pageData-name" class="pageData">What's New in Extensions?</div> |
| 2 <!-- <div id="pageData-showTOC" class="pageData">true</div> --> | 2 <!-- <div id="pageData-showTOC" class="pageData">true</div> --> |
| 3 | 3 |
| 4 <p> | 4 <p> |
| 5 This page lists the API and manifest changes | 5 This page lists the API and manifest changes |
| 6 made in recent releases. | 6 made in recent releases. |
| 7 </p> | 7 </p> |
| 8 | 8 |
| 9 <ul> | 9 <ul> |
| 10 <li> <a href="#16">Google Chrome 16</a> </li> | |
| 10 <li> <a href="#15">Google Chrome 15</a> </li> | 11 <li> <a href="#15">Google Chrome 15</a> </li> |
| 11 <li> <a href="#14">Google Chrome 14</a> </li> | 12 <li> <a href="#14">Google Chrome 14</a> </li> |
| 12 <li> <a href="#13">Google Chrome 13</a> </li> | 13 <li> <a href="#13">Google Chrome 13</a> </li> |
| 13 <li> <a href="#12">Google Chrome 12</a> </li> | 14 <li> <a href="#12">Google Chrome 12</a> </li> |
| 14 <li> <a href="#11">Google Chrome 11</a> </li> | 15 <li> <a href="#11">Google Chrome 11</a> </li> |
| 15 <li> <a href="#10">Google Chrome 10</a> </li> | 16 <li> <a href="#10">Google Chrome 10</a> </li> |
| 16 <li> <a href="#9">Google Chrome 9</a> </li> | 17 <li> <a href="#9">Google Chrome 9</a> </li> |
| 17 <li> <a href="#8">Google Chrome 8</a> </li> | 18 <li> <a href="#8">Google Chrome 8</a> </li> |
| 18 <li> <a href="#7">Google Chrome 7</a> </li> | 19 <li> <a href="#7">Google Chrome 7</a> </li> |
| 19 <li> <a href="#6">Google Chrome 6</a> </li> | 20 <li> <a href="#6">Google Chrome 6</a> </li> |
| 20 </ul> | 21 </ul> |
| 21 | 22 |
| 22 <p> | 23 <p> |
| 23 In addition to the changes listed below, | 24 In addition to the changes listed below, |
| 24 check out the | 25 check out the |
| 25 <a href="experimental.html">experimental APIs</a>. | 26 <a href="experimental.html">experimental APIs</a>. |
| 26 </p> | 27 </p> |
| 27 | 28 |
| 29 <h2 id="16"> Google Chrome 16 </h2> | |
| 30 | |
| 31 <h4> New APIs </h4> | |
| 32 <ul> | |
| 33 <li> The new | |
|
kathyw
2011/12/01 18:45:08
The new -> The
(globally in the "New APIs" sectio
mkearney
2011/12/06 19:03:44
Done.
mkearney
2011/12/06 19:03:44
Done.
| |
| 34 <a href="webNavigation.html">web navigation API</a> | |
| 35 lets extensions receive notifications about the status | |
| 36 of navigation requests; | |
|
kathyw
2011/12/01 18:45:08
Not a big deal, but I'd probably just use two sent
mkearney
2011/12/06 19:03:44
Done.
| |
| 37 you can use this API to track navigation events. | |
| 38 </li> | |
| 39 <li> The new | |
| 40 <a href="permissions.html">optional permissions API</a> | |
| 41 lets you control when users are presented with permission requests. | |
| 42 </li> | |
| 43 <li> The new | |
| 44 <a href="contentSettings.html">content settings API</a> | |
| 45 lets extensions customize Chrome’s behavior | |
| 46 on a per-site basis instead of globally; | |
|
kathyw
2011/12/01 18:45:08
same semicolon to full stop comment as above
mkearney
2011/12/06 19:03:44
Done.
| |
| 47 you can use this API to control whether websites can use features | |
| 48 such as cookies, JavaScript, and plug-ins. | |
| 49 </li> | |
| 50 </ul> | |
| 51 | |
| 52 <h4> Manifest changes </h4> | |
| 53 <ul> | |
| 54 <li> The new | |
| 55 <a href="manifest.html">requirements</a> field | |
| 56 allows you to declare extension requirements up front. | |
| 57 For example, you can use this field to specify that | |
| 58 your app requires "3D", and that | |
| 59 it supports two features, "css3d" and "webgl". | |
| 60 </li> | |
| 61 </ul> | |
| 62 | |
| 63 <h4> Additions to existing APIs </h4> | |
| 64 <ul> | |
| 65 <li> The new | |
| 66 <a href="tabs.html#method-query">chrome.tabs.query()</a> method | |
| 67 gets all tabs that have the specified properties or | |
| 68 all tabs if no properties are specified. | |
| 69 </li> | |
| 70 <li>The new | |
| 71 <a href="tabs.html#method-reload">chrome.tabs.reload()</a> method | |
| 72 reloads a tab and includes the option | |
| 73 to preserve the local cache of the reloaded tab. | |
| 74 </li> | |
| 75 <li>The management API's | |
| 76 <a href="management.html#type-ExtensionInfo">ExtensionInfo</a> object | |
| 77 now has an <code>updateURL</code> property. | |
| 78 </li> | |
| 79 <li> | |
| 80 You can now limit the supported locales for an | |
| 81 <a href="external_extensions.html">external extension</a> | |
| 82 by adding the <code>supported_locales</code> attribute | |
| 83 to the <code>external_extensions.json</code>. | |
| 84 </li> | |
| 85 </ul> | |
| 86 | |
| 87 <h4> Changes to existing APIs </h4> | |
| 88 <ul> | |
| 89 <li>The methods <code>getAllInWindow()</code> and | |
| 90 <code>getSelected()</code> have been deprecated. | |
| 91 To get details about all tabs in the specified window, use | |
| 92 <a href="tabs.html#method-query">chrome.tabs.query()</a> | |
| 93 with the argument <code>{'windowId': windowID}</code>. | |
| 94 To get the tab that is selected in the specified window, use | |
| 95 <code>chrome.tabs.query()</code> | |
| 96 with the argument <code>{'active': true}</code>. | |
| 97 </li> | |
| 98 <li> You are no longer required | |
| 99 to specify the <code>tabID</code> for the | |
| 100 <a href="tabs.html#method-update">chrome.tabs.update()</a> method. | |
| 101 When not provided, | |
| 102 the <code>tabID</code> defaults to the selected tab of the current window. | |
| 103 </li> | |
| 104 <li> | |
| 105 External extension files on Mac OS can now be owned by users | |
| 106 within a wheel group (or an admin group). | |
| 107 </li> | |
| 108 <li> | |
| 109 The "experimental" permission is no longer required | |
| 110 for the | |
| 111 <a href="windows.html#type-Window">window "panel"</a> type. | |
| 112 By default, the "panel" type creates a popup | |
| 113 unless the <code>--enable-panels</code> flag is set. | |
| 114 </li> | |
| 115 </ul> | |
| 116 | |
| 28 <h2 id="15"> Google Chrome 15 </h2> | 117 <h2 id="15"> Google Chrome 15 </h2> |
| 29 | 118 |
| 30 <p>Chrome 15 had a few minor API additions. Also see the Chrome Web Store’s new | 119 <p>Chrome 15 had a few minor API additions. Also see the Chrome Web Store’s new |
| 31 <a href="http://code.google.com/chrome/webstore/docs/inline_installation.html">i nline | 120 <a href="http://code.google.com/chrome/webstore/docs/inline_installation.html">i nline |
| 32 installation</a> feature, which lets your website help users install extensions | 121 installation</a> feature, which lets your website help users install extensions |
| 33 (and apps) without sending them away to the store.</p> | 122 (and apps) without sending them away to the store.</p> |
| 34 | 123 |
| 35 <h4> Manifest changes </h4> | 124 <h4> Manifest changes </h4> |
| 36 <ul> | 125 <ul> |
| 37 <li> The new | 126 <li> The new |
| (...skipping 327 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 365 <ul> | 454 <ul> |
| 366 <li>The <a href="manifest.html#geolocation">geolocation</a> permission | 455 <li>The <a href="manifest.html#geolocation">geolocation</a> permission |
| 367 gives an extension access to the user's physical location. </li> | 456 gives an extension access to the user's physical location. </li> |
| 368 <li><a href="match_patterns.html">Match patterns</a> can now select all | 457 <li><a href="match_patterns.html">Match patterns</a> can now select all |
| 369 schemes or all URLs. </li> | 458 schemes or all URLs. </li> |
| 370 <li>Access to file:/// URLs no longer triggers the "access to your machine" | 459 <li>Access to file:/// URLs no longer triggers the "access to your machine" |
| 371 security warning, but now requires user opt-in from the extensions | 460 security warning, but now requires user opt-in from the extensions |
| 372 management page. </li> | 461 management page. </li> |
| 373 </ul> | 462 </ul> |
| 374 | 463 |
| OLD | NEW |