| 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="#10">Google Chrome 10</a> </li> |
| 10 <li> <a href="#9">Google Chrome 9</a> </li> | 11 <li> <a href="#9">Google Chrome 9</a> </li> |
| 11 <li> <a href="#8">Google Chrome 8</a> </li> | 12 <li> <a href="#8">Google Chrome 8</a> </li> |
| 12 <li> <a href="#7">Google Chrome 7</a> </li> | 13 <li> <a href="#7">Google Chrome 7</a> </li> |
| 13 <li> <a href="#6">Google Chrome 6</a> </li> | 14 <li> <a href="#6">Google Chrome 6</a> </li> |
| 14 </ul> | 15 </ul> |
| 15 | 16 |
| 16 | 17 |
| 18 <h2 id="10"> Google Chrome 10 </h2> |
| 19 |
| 20 <h4> Manifest changes </h4> |
| 21 <ul> |
| 22 <li>The new <a href="manifest.html#bg">background</a> permission |
| 23 extends the life of Chrome, |
| 24 allowing your extension or app |
| 25 to run even when Chrome has no windows open. |
| 26 </li> |
| 27 </ul> |
| 28 |
| 29 <h4> Additions to existing APIs </h4> |
| 30 <ul> |
| 31 <li> The <a href="windows.html#method-create">chrome.windows.create()</a> |
| 32 method now has a <code>tabId</code> parameter. |
| 33 You can use it to move a tab or panel into a new window. |
| 34 <p class="note"> |
| 35 <b>Note:</b> |
| 36 This change was incorrectly attributed to Chrome 9 |
| 37 in previous versions of this page. |
| 38 </li> |
| 39 </ul> |
| 40 |
| 17 <h2 id="9"> Google Chrome 9 </h2> | 41 <h2 id="9"> Google Chrome 9 </h2> |
| 18 | 42 |
| 19 <h4> New APIs </h4> | 43 <h4> New APIs </h4> |
| 20 <ul> | 44 <ul> |
| 21 <li>The <a href="omnibox.html">omnibox API</a> allows you to | 45 <li>The <a href="omnibox.html">omnibox API</a> allows you to |
| 22 register a keyword with Chrome's address bar. </li> | 46 register a keyword with Chrome's address bar. </li> |
| 23 </ul> | 47 </ul> |
| 24 | 48 |
| 25 <h4> Manifest changes </h4> | 49 <h4> Manifest changes </h4> |
| 26 <ul> | 50 <ul> |
| 27 <li> The <a href="manifest.html#homepage_url">homepage_url</a> field | 51 <li> The <a href="manifest.html#homepage_url">homepage_url</a> field |
| 28 lets you specify the extension or app's homepage. </li> | 52 lets you specify the extension or app's homepage. </li> |
| 29 </ul> | 53 </ul> |
| 30 </h4> | 54 </h4> |
| 31 | 55 |
| 32 <!-- <h4> New experimental APIs </h4> --> | 56 <!-- <h4> New experimental APIs </h4> --> |
| 33 | 57 |
| 34 <h4> Additions to existing APIs </h4> | 58 <h4> Additions to existing APIs </h4> |
| 35 <ul> | 59 <ul> |
| 36 <li> The <a href="tabs.html#type-Tab">Tab</a> object | 60 <li> The <a href="tabs.html#type-Tab">Tab</a> object |
| 37 now has a <code>pinned</code> property | 61 now has a <code>pinned</code> property |
| 38 that's reflected in various <code>chrome.tabs</code> methods. | 62 that's reflected in various <code>chrome.tabs</code> methods. |
| 39 For example, | 63 For example, |
| 40 you can <a href="tabs.html#method-create">create</a> | 64 you can <a href="tabs.html#method-create">create</a> |
| 41 a pinned tab. </li> | 65 a pinned tab. </li> |
| 42 <li> The <a href="windows.html#method-create">chrome.windows.create()</a> | 66 <li> The <a href="windows.html#method-create">chrome.windows.create()</a> |
| 43 method's first parameter can now be an array of strings, | 67 method can now take a list of URLs, |
| 44 letting you create an array of tabs. </li> | 68 letting you create multiple tabs in the new window. </li> |
| 45 <li> The <a href="windows.html#method-create">chrome.windows.create()</a> | |
| 46 method now has a <code>tabId</code> parameter. | |
| 47 You can use it to move a tab or panel into a new window. </li> | |
| 48 <li> The new | 69 <li> The new |
| 49 <a href="management.html#method-get">chrome.management.get()</a> method | 70 <a href="management.html#method-get">chrome.management.get()</a> method |
| 50 lets you get information about the specified extension or app. </li> | 71 lets you get information about the specified extension or app. </li> |
| 51 </ul> | 72 </ul> |
| 52 | 73 |
| 53 | 74 |
| 54 <h2 id="8"> Google Chrome 8 </h2> | 75 <h2 id="8"> Google Chrome 8 </h2> |
| 55 | 76 |
| 56 <p> | 77 <p> |
| 57 We took a break for Chrome 8. | 78 We took a break for Chrome 8. |
| (...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 135 <ul> | 156 <ul> |
| 136 <li>The <a href="manifest.html#geolocation">geolocation</a> permission | 157 <li>The <a href="manifest.html#geolocation">geolocation</a> permission |
| 137 gives an extension access to the user's physical location </li> | 158 gives an extension access to the user's physical location </li> |
| 138 <li><a href="match_patterns.html">Match patterns</a> can now select all | 159 <li><a href="match_patterns.html">Match patterns</a> can now select all |
| 139 schemes or all URLs </li> | 160 schemes or all URLs </li> |
| 140 <li>Access to file:/// URLs no longer triggers the "access to your machine" | 161 <li>Access to file:/// URLs no longer triggers the "access to your machine" |
| 141 security warning, but now requires user opt-in from the extensions | 162 security warning, but now requires user opt-in from the extensions |
| 142 management page </li> | 163 management page </li> |
| 143 </ul> | 164 </ul> |
| 144 | 165 |
| OLD | NEW |