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 183 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
194 <!-- /TABLE OF CONTENTS --> | 194 <!-- /TABLE OF CONTENTS --> |
195 <!-- Standard content lead-in for experimental API pages --> | 195 <!-- Standard content lead-in for experimental API pages --> |
196 <!-- STATIC CONTENT PLACEHOLDER --> | 196 <!-- STATIC CONTENT PLACEHOLDER --> |
197 <div id="static"><div id="pageData-name" class="pageData">What's New in
Extensions?</div> | 197 <div id="static"><div id="pageData-name" class="pageData">What's New in
Extensions?</div> |
198 <!-- <div id="pageData-showTOC" class="pageData">true</div> --> | 198 <!-- <div id="pageData-showTOC" class="pageData">true</div> --> |
199 <p> | 199 <p> |
200 This page lists the API and manifest changes | 200 This page lists the API and manifest changes |
201 made in recent releases. | 201 made in recent releases. |
202 </p> | 202 </p> |
203 <ul> | 203 <ul> |
| 204 <li> <a href="#21">Google Chrome 21</a> </li> |
204 <li> <a href="#20">Google Chrome 20</a> </li> | 205 <li> <a href="#20">Google Chrome 20</a> </li> |
205 <li> <a href="#19">Google Chrome 19</a> </li> | 206 <li> <a href="#19">Google Chrome 19</a> </li> |
206 <li> <a href="#18">Google Chrome 18</a> </li> | 207 <li> <a href="#18">Google Chrome 18</a> </li> |
207 <li> <a href="#17">Google Chrome 17</a> </li> | 208 <li> <a href="#17">Google Chrome 17</a> </li> |
208 <li> <a href="#16">Google Chrome 16</a> </li> | 209 <li> <a href="#16">Google Chrome 16</a> </li> |
209 <li> <a href="#15">Google Chrome 15</a> </li> | 210 <li> <a href="#15">Google Chrome 15</a> </li> |
210 <li> <a href="#14">Google Chrome 14</a> </li> | 211 <li> <a href="#14">Google Chrome 14</a> </li> |
211 <li> <a href="#13">Google Chrome 13</a> </li> | 212 <li> <a href="#13">Google Chrome 13</a> </li> |
212 <li> <a href="#12">Google Chrome 12</a> </li> | 213 <li> <a href="#12">Google Chrome 12</a> </li> |
213 <li> <a href="#11">Google Chrome 11</a> </li> | 214 <li> <a href="#11">Google Chrome 11</a> </li> |
214 <li> <a href="#10">Google Chrome 10</a> </li> | 215 <li> <a href="#10">Google Chrome 10</a> </li> |
215 <li> <a href="#9">Google Chrome 9</a> </li> | 216 <li> <a href="#9">Google Chrome 9</a> </li> |
216 <li> <a href="#8">Google Chrome 8</a> </li> | 217 <li> <a href="#8">Google Chrome 8</a> </li> |
217 <li> <a href="#7">Google Chrome 7</a> </li> | 218 <li> <a href="#7">Google Chrome 7</a> </li> |
218 <li> <a href="#6">Google Chrome 6</a> </li> | 219 <li> <a href="#6">Google Chrome 6</a> </li> |
219 </ul> | 220 </ul> |
220 <p class="note"> | 221 <h2 id="21"> Google Chrome 21 </h2> |
221 <strong>New version of packaged apps:</strong><br> | 222 <h4> New Features </h4> |
222 There's a new version of | 223 <ul> |
223 <a href="http://developer.chrome.com/trunk/apps/about_apps.html">packaged apps
</a> | 224 <li>The <a href="manifest.html#sandbox">sandbox manifest entry</a> allows |
224 in the <a href="http://dev.chromium.org/getting-involved/dev-channel?">dev cha
nnel</a>. | 225 you to define some pages within your extension that are automatically run |
225 </p> | 226 in a low-privilege sandbox. This sandbox is not bound by the |
226 <p> | 227 <a href="manifest.html#content_security_policy">content_security_policy</a
>. |
227 In addition to the changes listed below, | 228 </li><li>The <a href="input.ime.html">IME</a> API allows extensions to imple
ment |
228 check out the | 229 <a href="http://en.wikipedia.org/wiki/Input_method">input method |
229 <a href="experimental.html">experimental APIs</a>. | 230 editors</a> on Chrome OS. |
230 </p> | 231 </li></ul> |
| 232 <h4> Additions to Existing Features </h4> |
| 233 <ul> |
| 234 <li>The events in the <a href="webNavigation.html">Web Navigation API</a> |
| 235 now accept <a href="events.html#declarative">filters</a> which limit the |
| 236 URLs they fire on. |
| 237 </li><li>The <code><a href="types.html#method-types.ChromeSetting-set">Chrom
eSetting.set</a></code> method now has a |
| 238 <code>regular_only</code> scope. |
| 239 </li><li>The <a href="browsingData.html#type-browsingData.RemovalOptions">br
owsingData.RemovalOptions</a> now has an <code>originTypes</code> |
| 240 property. |
| 241 </li><li>The <code><a href="management.html#method-uninstall">management.uni
nstall()</a></code> method now has a <code>showConfirmDialog</code> parameter. |
| 242 </li><li>The <code><a href="contextMenus.html#method-create">contextMenus.cr
eate()</a></code> method now allows you to specify unique |
| 243 IDs for each item. This is intended to be used with the new |
| 244 <code><a href="contextMenus.html#event-onClicked">contextMenus.onClicked</
a></code> event, to distinguish the clicked item. |
| 245 </li><li>The <code><a href="browserAction.html#method-setIcon">browserAction
.setIcon()</a></code> and |
| 246 <code><a href="pageAction.html#method-setIcon">pageAction.setIcon()</a></c
ode> methods now accept optional callbacks. |
| 247 </li><li>The <code><a href="privacy.html#property-websites">privacy.website<
/a></code> namespace now has a <code>protectedContentEnabled</code> property. |
| 248 </li><li>The <code>index</code> parameter to the <a href="tabs.html#method-m
ove">tabs.move()</a> method now accepts <code>-1</code> to indicate |
| 249 that the tab should be placed at the end. |
| 250 </li><li>The <code>windowId</code> parameter to the |
| 251 <code><a href="tabs.html#method-highlight">tabs.highlight()</a></code> |
| 252 method is now optional. |
| 253 </li></ul> |
231 <h2 id="20"> Google Chrome 20 </h2> | 254 <h2 id="20"> Google Chrome 20 </h2> |
232 <h4> New APIs </h4> | 255 <h4> New APIs </h4> |
233 <ul> | 256 <ul> |
234 <li>The | 257 <li>The |
235 <a href="storage.html">storage API</a> | 258 <a href="storage.html">storage API</a> |
236 lets you store, retrieve, and | 259 lets you store, retrieve, and |
237 track changes to user data.</li> | 260 track changes to user data.</li> |
238 </ul> | 261 </ul> |
239 <h4> Manifest changes </h4> | 262 <h4> Manifest changes </h4> |
240 <ul> | 263 <ul> |
(...skipping 520 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
761 _uff=0; | 784 _uff=0; |
762 urchinTracker(); | 785 urchinTracker(); |
763 } | 786 } |
764 catch(e) {/* urchinTracker not available. */} | 787 catch(e) {/* urchinTracker not available. */} |
765 </script> | 788 </script> |
766 <!-- end analytics --> | 789 <!-- end analytics --> |
767 </div> | 790 </div> |
768 </div> <!-- /gc-footer --> | 791 </div> <!-- /gc-footer --> |
769 </div> <!-- /gc-container --> | 792 </div> <!-- /gc-container --> |
770 </body></html> | 793 </body></html> |
OLD | NEW |