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 293 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
304 <!-- STATIC CONTENT PLACEHOLDER --> | 304 <!-- STATIC CONTENT PLACEHOLDER --> |
305 <div id="static"><div id="pageData-name" class="pageData">What's New in
Extensions?</div> | 305 <div id="static"><div id="pageData-name" class="pageData">What's New in
Extensions?</div> |
306 <!-- <div id="pageData-showTOC" class="pageData">true</div> --> | 306 <!-- <div id="pageData-showTOC" class="pageData">true</div> --> |
307 | 307 |
308 <p> | 308 <p> |
309 This page lists the API and manifest changes | 309 This page lists the API and manifest changes |
310 made in recent releases. | 310 made in recent releases. |
311 </p> | 311 </p> |
312 | 312 |
313 <ul> | 313 <ul> |
| 314 <li> <a href="#9">Google Chrome 9</a> </li> |
314 <li> <a href="#8">Google Chrome 8</a> </li> | 315 <li> <a href="#8">Google Chrome 8</a> </li> |
315 <li> <a href="#7">Google Chrome 7</a> </li> | 316 <li> <a href="#7">Google Chrome 7</a> </li> |
316 <li> <a href="#6">Google Chrome 6</a> </li> | 317 <li> <a href="#6">Google Chrome 6</a> </li> |
317 </ul> | 318 </ul> |
318 | 319 |
319 | 320 |
| 321 <h2 id="9"> Google Chrome 9 </h2> |
| 322 |
| 323 <h4> New APIs </h4> |
| 324 <ul> |
| 325 <li>The <a href="omnibox.html">omnibox API</a> allows you to |
| 326 register a keyword with Chrome's address bar. </li> |
| 327 </ul> |
| 328 |
| 329 <h4> Manifest changes </h4> |
| 330 <ul> |
| 331 <li> The <a href="manifest.html#homepage_url">homepage_url</a> field |
| 332 lets you specify the extension or app's homepage. </li> |
| 333 </ul> |
| 334 |
| 335 |
| 336 <!-- <h4> New experimental APIs </h4> --> |
| 337 |
| 338 <h4> Additions to existing APIs </h4> |
| 339 <ul> |
| 340 <li> The <a href="tabs.html#type-Tab">Tab</a> object |
| 341 now has a <code>pinned</code> property |
| 342 that's reflected in various <code>chrome.tabs</code> methods. |
| 343 For example, |
| 344 you can <a href="tabs.html#method-create">create</a> |
| 345 a pinned tab. </li> |
| 346 <li> The <a href="windows.html#method-create">chrome.windows.create()</a> |
| 347 method's first parameter can now be an array of strings, |
| 348 letting you create an array of tabs. </li> |
| 349 <li> The <a href="windows.html#method-create">chrome.windows.create()</a> |
| 350 method now has a <code>tabId</code> parameter. |
| 351 You can use it to move a tab or panel into a new window. </li> |
| 352 <li> The new |
| 353 <a href="management.html#method-get">chrome.management.get()</a> method |
| 354 lets you get information about the specified extension or app. </li> |
| 355 </ul> |
| 356 |
| 357 |
320 <h2 id="8"> Google Chrome 8 </h2> | 358 <h2 id="8"> Google Chrome 8 </h2> |
321 | 359 |
322 <p> | 360 <p> |
323 We took a break for Chrome 8. | 361 We took a break for Chrome 8. |
324 No API or manifest changes worth noting. | 362 No API or manifest changes worth noting. |
325 </p> | 363 </p> |
326 | 364 |
327 | 365 |
328 <h2 id="7"> Google Chrome 7 </h2> | 366 <h2 id="7"> Google Chrome 7 </h2> |
329 | 367 |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
362 <li> a change </li> | 400 <li> a change </li> |
363 </ul> | 401 </ul> |
364 --> | 402 --> |
365 | 403 |
366 | 404 |
367 <h2 id="6">Google Chrome 6</h2> | 405 <h2 id="6">Google Chrome 6</h2> |
368 | 406 |
369 <h4> New APIs </h4> | 407 <h4> New APIs </h4> |
370 <ul> | 408 <ul> |
371 <li>The <a href="contextMenus.html">context menus API</a> allows you to | 409 <li>The <a href="contextMenus.html">context menus API</a> allows you to |
372 add context menus to pages or specific objects on a page | 410 add context menus to pages or specific objects on a page </li> |
373 </li><li>The <a href="cookies.html">cookies API</a> allows you to manage the | 411 <li>The <a href="cookies.html">cookies API</a> allows you to manage the |
374 browser's cookie system | 412 browser's cookie system </li> |
375 </li><li>The <a href="idle.html">idle API</a> allows you to detect when the | 413 <li>The <a href="idle.html">idle API</a> allows you to detect when the |
376 machine's idle state changes | 414 machine's idle state changes </li> |
377 </li></ul> | 415 </ul> |
378 | 416 |
379 <h4> New experimental APIs </h4> | 417 <h4> New experimental APIs </h4> |
380 <ul> | 418 <ul> |
381 <li>The <a href="experimental.omnibox.html">omnibox API</a> allows you to | 419 <li>The <a href="experimental.omnibox.html">omnibox API</a> allows you to |
382 add functionality to the browser's address bar | 420 add functionality to the browser's address bar </li> |
383 </li><li>The <a href="experimental.infobars.html">infobars API</a> allows yo
u | 421 <li>The <a href="experimental.infobars.html">infobars API</a> allows you |
384 to add a UI panel across the top of a tab | 422 to add a UI panel across the top of a tab </li> |
385 </li></ul> | 423 </ul> |
386 | 424 |
387 <h4> Additions to existing APIs </h4> | 425 <h4> Additions to existing APIs </h4> |
388 <ul> | 426 <ul> |
389 <li>The <a href="extension.html#method-getViews">chrome.extension.getViews()
</a> | 427 <li>The <a href="extension.html#method-getViews">chrome.extension.getViews()
</a> |
390 method can now return popup views | 428 method can now return popup views </li> |
391 </li><li>A new <a href="windows.html#property-WINDOW_ID_NONE">WINDOW_ID_NONE
</a> constant | 429 <li>A new <a href="windows.html#property-WINDOW_ID_NONE">WINDOW_ID_NONE</a>
constant |
392 identifies when focus shifts away from the browser | 430 identifies when focus shifts away from the browser </li> |
393 </li><li>The new <a href="tabs.html#method-getCurrent">chrome.tabs.getCurren
t()</a> method | 431 <li>The new <a href="tabs.html#method-getCurrent">chrome.tabs.getCurrent()</
a> method |
394 returns the tab associated with the currently executing script | 432 returns the tab associated with the currently executing script </li> |
395 </li></ul> | 433 </ul> |
396 | 434 |
397 <h4> Manifest changes </h4> | 435 <h4> Manifest changes </h4> |
398 <ul> | 436 <ul> |
399 <li>The <a href="manifest.html#geolocation">geolocation</a> permission | 437 <li>The <a href="manifest.html#geolocation">geolocation</a> permission |
400 gives an extension access to the user's physical location | 438 gives an extension access to the user's physical location </li> |
401 </li><li><a href="match_patterns.html">Match patterns</a> can now select all | 439 <li><a href="match_patterns.html">Match patterns</a> can now select all |
402 schemes or all URLs | 440 schemes or all URLs </li> |
403 </li><li>Access to file:/// URLs no longer triggers the "access to your mach
ine" | 441 <li>Access to file:/// URLs no longer triggers the "access to your machine" |
404 security warning, but now requires user opt-in from the extensions | 442 security warning, but now requires user opt-in from the extensions |
405 management page | 443 management page </li> |
406 </li></ul> | 444 </ul> |
407 | 445 |
408 </div> | 446 </div> |
409 | 447 |
410 <!-- API PAGE --> | 448 <!-- API PAGE --> |
411 <div class="apiPage" style="display: none; "> | 449 <div class="apiPage" style="display: none; "> |
412 <a name="apiReference"></a> | 450 <a name="apiReference"></a> |
413 <h2>API reference: chrome.apiname </h2> | 451 <h2>API reference: chrome.apiname </h2> |
414 | 452 |
415 <!-- PROPERTIES --> | 453 <!-- PROPERTIES --> |
416 <div class="apiGroup"> | 454 <div class="apiGroup"> |
(...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
593 _uff=0; | 631 _uff=0; |
594 urchinTracker(); | 632 urchinTracker(); |
595 } | 633 } |
596 catch(e) {/* urchinTracker not available. */} | 634 catch(e) {/* urchinTracker not available. */} |
597 </script> | 635 </script> |
598 <!-- end analytics --> | 636 <!-- end analytics --> |
599 </div> | 637 </div> |
600 </div> <!-- /gc-footer --> | 638 </div> <!-- /gc-footer --> |
601 </div> <!-- /gc-container --> | 639 </div> <!-- /gc-container --> |
602 </body></html> | 640 </body></html> |
OLD | NEW |