OLD | NEW |
1 <h1>What's New in Extensions?</h1> | 1 <h1>What's New in Extensions?</h1> |
2 <!-- --> | 2 <!-- --> |
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="#21">Google Chrome 21</a> </li> |
10 <li> <a href="#20">Google Chrome 20</a> </li> | 11 <li> <a href="#20">Google Chrome 20</a> </li> |
11 <li> <a href="#19">Google Chrome 19</a> </li> | 12 <li> <a href="#19">Google Chrome 19</a> </li> |
12 <li> <a href="#18">Google Chrome 18</a> </li> | 13 <li> <a href="#18">Google Chrome 18</a> </li> |
13 <li> <a href="#17">Google Chrome 17</a> </li> | 14 <li> <a href="#17">Google Chrome 17</a> </li> |
14 <li> <a href="#16">Google Chrome 16</a> </li> | 15 <li> <a href="#16">Google Chrome 16</a> </li> |
15 <li> <a href="#15">Google Chrome 15</a> </li> | 16 <li> <a href="#15">Google Chrome 15</a> </li> |
16 <li> <a href="#14">Google Chrome 14</a> </li> | 17 <li> <a href="#14">Google Chrome 14</a> </li> |
17 <li> <a href="#13">Google Chrome 13</a> </li> | 18 <li> <a href="#13">Google Chrome 13</a> </li> |
18 <li> <a href="#12">Google Chrome 12</a> </li> | 19 <li> <a href="#12">Google Chrome 12</a> </li> |
19 <li> <a href="#11">Google Chrome 11</a> </li> | 20 <li> <a href="#11">Google Chrome 11</a> </li> |
20 <li> <a href="#10">Google Chrome 10</a> </li> | 21 <li> <a href="#10">Google Chrome 10</a> </li> |
21 <li> <a href="#9">Google Chrome 9</a> </li> | 22 <li> <a href="#9">Google Chrome 9</a> </li> |
22 <li> <a href="#8">Google Chrome 8</a> </li> | 23 <li> <a href="#8">Google Chrome 8</a> </li> |
23 <li> <a href="#7">Google Chrome 7</a> </li> | 24 <li> <a href="#7">Google Chrome 7</a> </li> |
24 <li> <a href="#6">Google Chrome 6</a> </li> | 25 <li> <a href="#6">Google Chrome 6</a> </li> |
25 </ul> | 26 </ul> |
26 | 27 |
27 <p class="note"> | 28 <h2 id="21"> Google Chrome 21 </h2> |
28 <strong>New version of packaged apps:</strong><br> | |
29 There's a new version of | |
30 <a href="http://developer.chrome.com/trunk/apps/about_apps.html">packaged apps
</a> | |
31 in the <a href="http://dev.chromium.org/getting-involved/dev-channel?">dev cha
nnel</a>. | |
32 </p> | |
33 | 29 |
34 <p> | 30 <h4> New Features </h4> |
35 In addition to the changes listed below, | 31 <ul> |
36 check out the | 32 <li>The <a href="manifest.html#sandbox">sandbox manifest entry</a> allows |
37 <a href="experimental.html">experimental APIs</a>. | 33 you to define some pages within your extension that are automatically run |
38 </p> | 34 in a low-privilege sandbox. This sandbox is not bound by the |
| 35 <a href="manifest.html#content_security_policy" |
| 36 >content_security_policy</a>. |
| 37 <li>The <a href="input.ime.html">IME</a> API allows extensions to implement |
| 38 <a href="http://en.wikipedia.org/wiki/Input_method">input method |
| 39 editors</a> on Chrome OS. |
| 40 </ul> |
| 41 |
| 42 <h4> Additions to Existing Features </h4> |
| 43 <ul> |
| 44 <li>The events in the <a href="webNavigation.html">Web Navigation API</a> |
| 45 now accept <a href="events.html#declarative">filters</a> which limit the |
| 46 URLs they fire on. |
| 47 <li>The <a href="types.html#method-types.ChromeSetting-set" |
| 48 >ChromeSetting.set()</a> method now has a |
| 49 <code>regular_only</code> scope. |
| 50 <li>The <a href="browsingData.html#type-browsingData.RemovalOptions" |
| 51 >browsingData.RemovalOptions</a> now has an <code>originTypes</code> |
| 52 property. |
| 53 <li>The <a href="management.html#method-uninstall" |
| 54 >management.uninstall()</a> method now has a <code |
| 55 >showConfirmDialog</code> parameter. |
| 56 <li>The <a href="contextMenus.html#method-create" |
| 57 >contextMenus.create()</a> method now allows you to specify unique |
| 58 IDs for each item. This is intended to be used with the new |
| 59 <a href="contextMenus.html#event-onClicked" |
| 60 >contextMenus.onClicked</a> event, to distinguish the clicked item. |
| 61 <li>The a href="browserAction.html#method-setIcon" |
| 62 >browserAction.setIcon()</a> and |
| 63 <a href="pageAction.html#method-setIcon" |
| 64 >pageAction.setIcon()</a> methods now accept optional callbacks. |
| 65 <li>The <a href="privacy.html#property-websites" |
| 66 >privacy.website</a> namespace now has a <code |
| 67 >protectedContentEnabled</code> property. |
| 68 <li>The <code>index</code> parameter to the <a href="tabs.html#method-move" |
| 69 >tabs.move()</a> method now accepts <code>-1</code> to indicate |
| 70 that the tab should be placed at the end. |
| 71 <li>The <code>windowId</code> parameter to the |
| 72 <a href="tabs.html#method-highlight">tabs.highlight()</a>< |
| 73 method is now optional. |
| 74 <li><a href="manifest.html#intents">Web intents</a> can now be used to |
| 75 register content-type viewers. |
| 76 </ul> |
39 | 77 |
40 <h2 id="20"> Google Chrome 20 </h2> | 78 <h2 id="20"> Google Chrome 20 </h2> |
41 | 79 |
42 <h4> New APIs </h4> | 80 <h4> New APIs </h4> |
43 <ul> | 81 <ul> |
44 <li>The | 82 <li>The |
45 <a href="storage.html">storage API</a> | 83 <a href="storage.html">storage API</a> |
46 lets you store, retrieve, and | 84 lets you store, retrieve, and |
47 track changes to user data.</li> | 85 track changes to user data.</li> |
48 </ul> | 86 </ul> |
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
125 <h4> New APIs </h4> | 163 <h4> New APIs </h4> |
126 <ul> | 164 <ul> |
127 <li>The <a href="debugger.html">debugger API</a> | 165 <li>The <a href="debugger.html">debugger API</a> |
128 lets you use the Chrome Developer Tools | 166 lets you use the Chrome Developer Tools |
129 on one or more tabs remotely. | 167 on one or more tabs remotely. |
130 <li>The <a href="devtools.html">developer tools APIs</a> | 168 <li>The <a href="devtools.html">developer tools APIs</a> |
131 provide support for extending Chrome Developer Tools. | 169 provide support for extending Chrome Developer Tools. |
132 The inspected window API lets you interact with the inspected window. | 170 The inspected window API lets you interact with the inspected window. |
133 The network API lets you retrive information about network requests. | 171 The network API lets you retrive information about network requests. |
134 The panels API lets you add panels and sidebars. | 172 The panels API lets you add panels and sidebars. |
135 <li>The <a href="input.ime.html">input method editor API</a> | |
136 lets you add custom input methods | |
137 such as complex language characters | |
138 directly to the system's input device. | |
139 <li>The <a href="pageCapture.html">page capture API</a> | 173 <li>The <a href="pageCapture.html">page capture API</a> |
140 lets you save a tab as MHTML. | 174 lets you save a tab as MHTML. |
141 <li> The <a href="privacy.html">privacy API</a> | 175 <li> The <a href="privacy.html">privacy API</a> |
142 lets you control usage of the features | 176 lets you control usage of the features |
143 in Chrome that can affect a user's privacy policy. | 177 in Chrome that can affect a user's privacy policy. |
144 </ul> | 178 </ul> |
145 | 179 |
146 <h4> Manifest changes </h4> | 180 <h4> Manifest changes </h4> |
147 <ul> | 181 <ul> |
148 <li>The new | 182 <li>The new |
(...skipping 438 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
587 <h4> Manifest changes </h4> | 621 <h4> Manifest changes </h4> |
588 <ul> | 622 <ul> |
589 <li>The <a href="manifest.html#geolocation">geolocation</a> permission | 623 <li>The <a href="manifest.html#geolocation">geolocation</a> permission |
590 gives an extension access to the user's physical location. | 624 gives an extension access to the user's physical location. |
591 <li><a href="match_patterns.html">Match patterns</a> can now select all | 625 <li><a href="match_patterns.html">Match patterns</a> can now select all |
592 schemes or all URLs. | 626 schemes or all URLs. |
593 <li>Access to file:/// URLs no longer triggers the "access to your machine" | 627 <li>Access to file:/// URLs no longer triggers the "access to your machine" |
594 security warning, but now requires user opt-in from the extensions | 628 security warning, but now requires user opt-in from the extensions |
595 management page. | 629 management page. |
596 </ul> | 630 </ul> |
OLD | NEW |