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="#21">Google Chrome 21</a> </li> | |
10 <li> <a href="#20">Google Chrome 20</a> </li> | 11 <li> <a href="#20">Google Chrome 20</a> </li> |
11 <li> <a href="#19">Google Chrome 19</a> </li> | 12 <li> <a href="#19">Google Chrome 19</a> </li> |
12 <li> <a href="#18">Google Chrome 18</a> </li> | 13 <li> <a href="#18">Google Chrome 18</a> </li> |
13 <li> <a href="#17">Google Chrome 17</a> </li> | 14 <li> <a href="#17">Google Chrome 17</a> </li> |
14 <li> <a href="#16">Google Chrome 16</a> </li> | 15 <li> <a href="#16">Google Chrome 16</a> </li> |
15 <li> <a href="#15">Google Chrome 15</a> </li> | 16 <li> <a href="#15">Google Chrome 15</a> </li> |
16 <li> <a href="#14">Google Chrome 14</a> </li> | 17 <li> <a href="#14">Google Chrome 14</a> </li> |
17 <li> <a href="#13">Google Chrome 13</a> </li> | 18 <li> <a href="#13">Google Chrome 13</a> </li> |
18 <li> <a href="#12">Google Chrome 12</a> </li> | 19 <li> <a href="#12">Google Chrome 12</a> </li> |
19 <li> <a href="#11">Google Chrome 11</a> </li> | 20 <li> <a href="#11">Google Chrome 11</a> </li> |
20 <li> <a href="#10">Google Chrome 10</a> </li> | 21 <li> <a href="#10">Google Chrome 10</a> </li> |
21 <li> <a href="#9">Google Chrome 9</a> </li> | 22 <li> <a href="#9">Google Chrome 9</a> </li> |
22 <li> <a href="#8">Google Chrome 8</a> </li> | 23 <li> <a href="#8">Google Chrome 8</a> </li> |
23 <li> <a href="#7">Google Chrome 7</a> </li> | 24 <li> <a href="#7">Google Chrome 7</a> </li> |
24 <li> <a href="#6">Google Chrome 6</a> </li> | 25 <li> <a href="#6">Google Chrome 6</a> </li> |
25 </ul> | 26 </ul> |
26 | 27 |
27 <p class="note"> | 28 <h2 id="21"> Google Chrome 21 </h2> |
28 <strong>New version of packaged apps:</strong><br> | |
29 There's a new version of | |
30 <a href="http://developer.chrome.com/trunk/apps/about_apps.html">packaged apps </a> | |
31 in the <a href="http://dev.chromium.org/getting-involved/dev-channel?">dev cha nnel</a>. | |
32 </p> | |
33 | 29 |
34 <p> | 30 <h4> New Features </h4> |
35 In addition to the changes listed below, | 31 <ul> |
36 check out the | 32 <li>The <a href="manifest.html#sandbox">sandbox manifest entry</a> allows |
37 <a href="experimental.html">experimental APIs</a>. | 33 you to define some pages within your extension that are automatically run |
38 </p> | 34 in a low-privilege sandbox. This sandbox is not bound by the |
35 <a href="manifest.html#content_security_policy" | |
36 >content_security_policy</a>. | |
mkearney
2012/08/13 23:51:50
Should this be under a "Manifest changes" heading?
Aaron Boodman
2012/08/14 00:20:38
I decided that separating "manifest" changes from
| |
37 | |
38 <li>The <a href="input.ime.html">IME</a> API allows extensions to implement | |
39 <a href="http://en.wikipedia.org/wiki/Input_method">input method | |
40 editors</a> on Chrome OS. | |
mkearney
2012/08/13 23:51:50
There's already an entry for the IME API in Google
Aaron Boodman
2012/08/14 00:20:38
That's weird! Removed.
| |
41 </ul> | |
mkearney
2012/08/13 23:51:50
In addition to the sandbox field, should we also i
Aaron Boodman
2012/08/14 00:20:38
Done.
| |
42 | |
43 <h4> Additions to Existing Features </h4> | |
44 <ul> | |
45 <li>The events in the <a href="webNavigation.html">Web Navigation API</a> | |
46 now accept <a href="events.html#declarative">filters</a> which limit the | |
47 URLs they fire on. | |
48 <li>The <code><a href="types.html#method-types.ChromeSetting-set" | |
49 >ChromeSetting.set</a></code> method now has a | |
mkearney
2012/08/13 23:51:50
Little nit - ChromeSetting.set().
Aaron Boodman
2012/08/14 00:20:38
Done.
| |
50 <code>regular_only</code> scope. | |
51 <li>The <a href="browsingData.html#type-browsingData.RemovalOptions" | |
52 >browsingData.RemovalOptions</a> now has an <code>originTypes</code> | |
53 property. | |
54 <li>The <code><a href="management.html#method-uninstall" | |
55 >management.uninstall()</a></code> method now has a <code | |
56 >showConfirmDialog</code> parameter. | |
mkearney
2012/08/13 23:51:50
A general comment: we don't need <code> tag for me
Aaron Boodman
2012/08/14 00:20:38
Done.
| |
57 <li>The <code><a href="contextMenus.html#method-create" | |
58 >contextMenus.create()</a></code> method now allows you to specify unique | |
59 IDs for each item. This is intended to be used with the new | |
60 <code><a href="contextMenus.html#event-onClicked" | |
61 >contextMenus.onClicked</a></code> event, to distinguish the clicked item. | |
62 <li>The <code><a href="browserAction.html#method-setIcon" | |
63 >browserAction.setIcon()</a></code> and | |
64 <code><a href="pageAction.html#method-setIcon" | |
65 >pageAction.setIcon()</a></code> methods now accept optional callbacks. | |
66 <li>The <code><a href="privacy.html#property-websites" | |
67 >privacy.website</a></code> namespace now has a <code | |
68 >protectedContentEnabled</code> property. | |
69 <li>The <code>index</code> parameter to the <a href="tabs.html#method-move" | |
70 >tabs.move()</a></code> method now accepts <code>-1</code> to indicate | |
71 that the tab should be placed at the end. | |
mkearney
2012/08/13 23:51:50
Should we also mention that the "index" parameter
| |
72 <li>The <code>windowId</code> parameter to the | |
73 <code><a href="tabs.html#method-highlight">tabs.highlight()</a></code> | |
74 method is now optional. | |
75 </ul> | |
39 | 76 |
40 <h2 id="20"> Google Chrome 20 </h2> | 77 <h2 id="20"> Google Chrome 20 </h2> |
41 | 78 |
42 <h4> New APIs </h4> | 79 <h4> New APIs </h4> |
43 <ul> | 80 <ul> |
44 <li>The | 81 <li>The |
45 <a href="storage.html">storage API</a> | 82 <a href="storage.html">storage API</a> |
46 lets you store, retrieve, and | 83 lets you store, retrieve, and |
47 track changes to user data.</li> | 84 track changes to user data.</li> |
48 </ul> | 85 </ul> |
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
128 lets you use the Chrome Developer Tools | 165 lets you use the Chrome Developer Tools |
129 on one or more tabs remotely. | 166 on one or more tabs remotely. |
130 <li>The <a href="devtools.html">developer tools APIs</a> | 167 <li>The <a href="devtools.html">developer tools APIs</a> |
131 provide support for extending Chrome Developer Tools. | 168 provide support for extending Chrome Developer Tools. |
132 The inspected window API lets you interact with the inspected window. | 169 The inspected window API lets you interact with the inspected window. |
133 The network API lets you retrive information about network requests. | 170 The network API lets you retrive information about network requests. |
134 The panels API lets you add panels and sidebars. | 171 The panels API lets you add panels and sidebars. |
135 <li>The <a href="input.ime.html">input method editor API</a> | 172 <li>The <a href="input.ime.html">input method editor API</a> |
136 lets you add custom input methods | 173 lets you add custom input methods |
137 such as complex language characters | 174 such as complex language characters |
138 directly to the system's input device. | 175 directly to the system's input device. |
mkearney
2012/08/13 23:55:09
This should be removed (input method editor API),
| |
139 <li>The <a href="pageCapture.html">page capture API</a> | 176 <li>The <a href="pageCapture.html">page capture API</a> |
140 lets you save a tab as MHTML. | 177 lets you save a tab as MHTML. |
141 <li> The <a href="privacy.html">privacy API</a> | 178 <li> The <a href="privacy.html">privacy API</a> |
142 lets you control usage of the features | 179 lets you control usage of the features |
143 in Chrome that can affect a user's privacy policy. | 180 in Chrome that can affect a user's privacy policy. |
144 </ul> | 181 </ul> |
145 | 182 |
146 <h4> Manifest changes </h4> | 183 <h4> Manifest changes </h4> |
147 <ul> | 184 <ul> |
148 <li>The new | 185 <li>The new |
(...skipping 439 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
588 <ul> | 625 <ul> |
589 <li>The <a href="manifest.html#geolocation">geolocation</a> permission | 626 <li>The <a href="manifest.html#geolocation">geolocation</a> permission |
590 gives an extension access to the user's physical location. | 627 gives an extension access to the user's physical location. |
591 <li><a href="match_patterns.html">Match patterns</a> can now select all | 628 <li><a href="match_patterns.html">Match patterns</a> can now select all |
592 schemes or all URLs. | 629 schemes or all URLs. |
593 <li>Access to file:/// URLs no longer triggers the "access to your machine" | 630 <li>Access to file:/// URLs no longer triggers the "access to your machine" |
594 security warning, but now requires user opt-in from the extensions | 631 security warning, but now requires user opt-in from the extensions |
595 management page. | 632 management page. |
596 </ul> | 633 </ul> |
597 | 634 |
OLD | NEW |