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="#9">Google Chrome 9</a> </li> | |
| 10 <li> <a href="#8">Google Chrome 8</a> </li> | 11 <li> <a href="#8">Google Chrome 8</a> </li> |
| 11 <li> <a href="#7">Google Chrome 7</a> </li> | 12 <li> <a href="#7">Google Chrome 7</a> </li> |
| 12 <li> <a href="#6">Google Chrome 6</a> </li> | 13 <li> <a href="#6">Google Chrome 6</a> </li> |
| 13 </ul> | 14 </ul> |
| 14 | 15 |
| 15 | 16 |
| 17 <h2 id="9"> Google Chrome 9 </h2> | |
| 18 | |
| 19 <h4> New APIs </h4> | |
| 20 <ul> | |
| 21 <li>The <a href="omnibox.html">omnibox API</a> allows you to | |
| 22 register a keyword with Chrome's address bar. </li> | |
| 23 </ul> | |
| 24 | |
| 25 <!-- <h4> Manifest changes </h4> --> | |
| 26 <!-- <h4> New experimental APIs </h4> --> | |
| 27 | |
| 28 <h4> Additions to existing APIs </h4> | |
| 29 <ul> | |
| 30 <li> The <a href="tabs.html#type-Tab">Tab</a> object | |
| 31 now has a <code>pinned</code> property | |
| 32 that's reflected in various <code>chrome.tabs</code> methods. | |
| 33 For example, | |
| 34 you can <a href="tabs.html#method-create">create</a> | |
| 35 a pinned tab. </li> | |
| 36 <li> The <a href="windows.html#method-create">chrome.windows.create()</a> | |
| 37 method's first parameter can now be an array of string, | |
| 38 letting you create an array of tabs. </li> | |
| 39 <li> The <a href="windows.html#method-create">chrome.windows.create()</a> | |
| 40 method now has a <code>tabId</code> parameter. | |
| 41 Use it to move a tab out of its current window | |
| 42 and into a new window. </li> | |
|
PhistucK
2010/12/10 18:15:01
If I am not mistaking, the other purpose of this c
| |
| 43 <li> The new | |
| 44 <a href="management.html#method-get">chrome.management.get()</a> method | |
| 45 lets you get information about the specified extension or app. </li> | |
| 46 </ul> | |
| 47 | |
| 48 | |
| 16 <h2 id="8"> Google Chrome 8 </h2> | 49 <h2 id="8"> Google Chrome 8 </h2> |
| 17 | 50 |
| 18 <p> | 51 <p> |
| 19 We took a break for Chrome 8. | 52 We took a break for Chrome 8. |
| 20 No API or manifest changes worth noting. | 53 No API or manifest changes worth noting. |
| 21 </p> | 54 </p> |
| 22 | 55 |
| 23 | 56 |
| 24 <h2 id="7"> Google Chrome 7 </h2> | 57 <h2 id="7"> Google Chrome 7 </h2> |
| 25 | 58 |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 58 <li> a change </li> | 91 <li> a change </li> |
| 59 </ul> | 92 </ul> |
| 60 --> | 93 --> |
| 61 | 94 |
| 62 | 95 |
| 63 <h2 id="6">Google Chrome 6</h2> | 96 <h2 id="6">Google Chrome 6</h2> |
| 64 | 97 |
| 65 <h4> New APIs </h4> | 98 <h4> New APIs </h4> |
| 66 <ul> | 99 <ul> |
| 67 <li>The <a href="contextMenus.html">context menus API</a> allows you to | 100 <li>The <a href="contextMenus.html">context menus API</a> allows you to |
| 68 add context menus to pages or specific objects on a page | 101 add context menus to pages or specific objects on a page </li> |
| 69 <li>The <a href="cookies.html">cookies API</a> allows you to manage the | 102 <li>The <a href="cookies.html">cookies API</a> allows you to manage the |
| 70 browser's cookie system | 103 browser's cookie system </li> |
| 71 <li>The <a href="idle.html">idle API</a> allows you to detect when the | 104 <li>The <a href="idle.html">idle API</a> allows you to detect when the |
| 72 machine's idle state changes | 105 machine's idle state changes </li> |
| 73 </ul> | 106 </ul> |
| 74 | 107 |
| 75 <h4> New experimental APIs </h4> | 108 <h4> New experimental APIs </h4> |
| 76 <ul> | 109 <ul> |
| 77 <li>The <a href="experimental.omnibox.html">omnibox API</a> allows you to | 110 <li>The <a href="experimental.omnibox.html">omnibox API</a> allows you to |
| 78 add functionality to the browser's address bar | 111 add functionality to the browser's address bar </li> |
| 79 <li>The <a href="experimental.infobars.html">infobars API</a> allows you | 112 <li>The <a href="experimental.infobars.html">infobars API</a> allows you |
| 80 to add a UI panel across the top of a tab | 113 to add a UI panel across the top of a tab </li> |
| 81 </ul> | 114 </ul> |
| 82 | 115 |
| 83 <h4> Additions to existing APIs </h4> | 116 <h4> Additions to existing APIs </h4> |
| 84 <ul> | 117 <ul> |
| 85 <li>The <a | 118 <li>The <a |
| 86 href="extension.html#method-getViews">chrome.extension.getViews()</a> | 119 href="extension.html#method-getViews">chrome.extension.getViews()</a> |
| 87 method can now return popup views | 120 method can now return popup views </li> |
| 88 <li>A new <a | 121 <li>A new <a |
| 89 href="windows.html#property-WINDOW_ID_NONE">WINDOW_ID_NONE</a> constant | 122 href="windows.html#property-WINDOW_ID_NONE">WINDOW_ID_NONE</a> constant |
| 90 identifies when focus shifts away from the browser | 123 identifies when focus shifts away from the browser </li> |
| 91 <li>The new <a | 124 <li>The new <a |
| 92 href="tabs.html#method-getCurrent">chrome.tabs.getCurrent()</a> method | 125 href="tabs.html#method-getCurrent">chrome.tabs.getCurrent()</a> method |
| 93 returns the tab associated with the currently executing script | 126 returns the tab associated with the currently executing script </li> |
| 94 </ul> | 127 </ul> |
| 95 | 128 |
| 96 <h4> Manifest changes </h4> | 129 <h4> Manifest changes </h4> |
| 97 <ul> | 130 <ul> |
| 98 <li>The <a href="manifest.html#geolocation">geolocation</a> permission | 131 <li>The <a href="manifest.html#geolocation">geolocation</a> permission |
| 99 gives an extension access to the user's physical location | 132 gives an extension access to the user's physical location </li> |
| 100 <li><a href="match_patterns.html">Match patterns</a> can now select all | 133 <li><a href="match_patterns.html">Match patterns</a> can now select all |
| 101 schemes or all URLs | 134 schemes or all URLs </li> |
| 102 <li>Access to file:/// URLs no longer triggers the "access to your machine" | 135 <li>Access to file:/// URLs no longer triggers the "access to your machine" |
| 103 security warning, but now requires user opt-in from the extensions | 136 security warning, but now requires user opt-in from the extensions |
| 104 management page | 137 management page </li> |
| 105 </ul> | 138 </ul> |
| 106 | 139 |
| OLD | NEW |