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="#14">Google Chrome 14</a> </li> |
324 <li> <a href="#13">Google Chrome 13</a> </li> | 325 <li> <a href="#13">Google Chrome 13</a> </li> |
325 <li> <a href="#12">Google Chrome 12</a> </li> | 326 <li> <a href="#12">Google Chrome 12</a> </li> |
326 <li> <a href="#11">Google Chrome 11</a> </li> | 327 <li> <a href="#11">Google Chrome 11</a> </li> |
327 <li> <a href="#10">Google Chrome 10</a> </li> | 328 <li> <a href="#10">Google Chrome 10</a> </li> |
328 <li> <a href="#9">Google Chrome 9</a> </li> | 329 <li> <a href="#9">Google Chrome 9</a> </li> |
329 <li> <a href="#8">Google Chrome 8</a> </li> | 330 <li> <a href="#8">Google Chrome 8</a> </li> |
330 <li> <a href="#7">Google Chrome 7</a> </li> | 331 <li> <a href="#7">Google Chrome 7</a> </li> |
331 <li> <a href="#6">Google Chrome 6</a> </li> | 332 <li> <a href="#6">Google Chrome 6</a> </li> |
332 </ul> | 333 </ul> |
333 | 334 |
| 335 <p> |
| 336 In addition to the changes listed below, |
| 337 check out the |
| 338 <a href="experimental.html">experimental APIs</a>. |
| 339 </p> |
| 340 |
| 341 |
| 342 <h2 id="14"> Google Chrome 14 </h2> |
| 343 |
| 344 <h4> New APIs </h4> |
| 345 <ul> |
| 346 <li> The <a href="tts.html">tts API</a> |
| 347 lets extensions generate speech from text. </li> |
| 348 <li> The <a href="ttsEngine.html">ttsEngine API</a> |
| 349 lets extensions implement text-to-speech (TTS) engines. </li> |
| 350 <li> Extensions that are distributed through the Chrome Web Store |
| 351 can now include Native Client modules. |
| 352 No special manifest entry is necessary, as you can see from the |
| 353 <a href="http://code.google.com/p/naclports/source/browse#svn%2Ftrunk%2Fsr
c%2Fpackages%2Flibraries%2Fnethack-3.4.3">NetHack example</a>. |
| 354 For more information, see the |
| 355 <a href="http://blog.chromium.org/2011/08/native-client-brings-sandboxed-n
ative.html">announcement</a> and the |
| 356 <a href="http://code.google.com/chrome/nativeclient/">Native Client docume
ntation</a>. |
| 357 </li></ul> |
| 358 |
| 359 <h4> Manifest changes </h4> |
| 360 <ul> |
| 361 <li> The new |
| 362 <a href="manifest.html#content_security_policy">content_security_policy</a
> field |
| 363 can help prevent |
| 364 <a href="http://blog.chromium.org/2011/07/writing-extensions-more-securely
.html">cross-site scripting vulnerabilities</a> |
| 365 in your extension. |
| 366 </li> |
| 367 <li> The new <a href="manifest.html#nacl_modules">nacl_modules</a> field |
| 368 lets you register Native Client modules |
| 369 as content handlers for MIME types. |
| 370 </li> |
| 371 </ul> |
| 372 |
| 373 <h4> Additions to existing APIs </h4> |
| 374 <ul> |
| 375 <li> |
| 376 <a href="contextMenus.html">Context menu</a> items |
| 377 can now appear even in documents |
| 378 that have file:// or chrome:// URLs. |
| 379 Previously, they were restricted to documents with |
| 380 http:// or https:// URLs. |
| 381 </li> |
| 382 <li> |
| 383 An optional <code>drawAttention</code> field in |
| 384 <a href="windows.html#method-update">chrome.windows.update()</a>'s |
| 385 <code>updateInfo</code> object lets you specify that the window |
| 386 should entice the user to change focus to it. |
| 387 </li> |
| 388 <li> |
| 389 The new |
| 390 <a href="bookmarks.html#method-getSubTree">bookmarks.getSubTree()</a> |
| 391 function lets you retrieve just part of the Bookmarks hierarchy. |
| 392 </li> |
| 393 </ul> |
| 394 |
| 395 <h4> Changes to existing APIs </h4> |
| 396 <ul> |
| 397 <li> |
| 398 The "tabs" permission is no longer required for |
| 399 <a href="tabs.html#method-remove">tabs.remove</a> and |
| 400 <a href="tabs.html#event-onRemoved">tabs.onRemoved</a>. |
| 401 </li> |
| 402 </ul> |
| 403 |
334 <h2 id="13"> Google Chrome 13 </h2> | 404 <h2 id="13"> Google Chrome 13 </h2> |
335 | 405 |
336 <h4> New APIs </h4> | 406 <h4> New APIs </h4> |
337 <ul> | 407 <ul> |
338 <li> The <a href="proxy.html">proxy API</a> | 408 <li> The <a href="proxy.html">proxy API</a> |
339 lets extensions manage Chrome's proxy settings. | 409 lets extensions manage Chrome's proxy settings. |
340 </li> | 410 </li> |
341 <li> The | 411 <li> The |
342 <a href="types.html#type-ChromeSetting">chrome.types.ChromeSetting</a> pro
totype | 412 <a href="types.html#type-ChromeSetting">chrome.types.ChromeSetting</a> pro
totype |
343 provides an interface to browser settings; | 413 provides an interface to browser settings; |
(...skipping 433 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
777 _uff=0; | 847 _uff=0; |
778 urchinTracker(); | 848 urchinTracker(); |
779 } | 849 } |
780 catch(e) {/* urchinTracker not available. */} | 850 catch(e) {/* urchinTracker not available. */} |
781 </script> | 851 </script> |
782 <!-- end analytics --> | 852 <!-- end analytics --> |
783 </div> | 853 </div> |
784 </div> <!-- /gc-footer --> | 854 </div> <!-- /gc-footer --> |
785 </div> <!-- /gc-container --> | 855 </div> <!-- /gc-container --> |
786 </body></html> | 856 </body></html> |
OLD | NEW |