Index: chrome/common/extensions/docs/static/whats_new.html |
=================================================================== |
--- chrome/common/extensions/docs/static/whats_new.html (revision 110571) |
+++ chrome/common/extensions/docs/static/whats_new.html (working copy) |
@@ -7,6 +7,7 @@ |
</p> |
<ul> |
+ <li> <a href="#16">Google Chrome 16</a> </li> |
<li> <a href="#15">Google Chrome 15</a> </li> |
<li> <a href="#14">Google Chrome 14</a> </li> |
<li> <a href="#13">Google Chrome 13</a> </li> |
@@ -25,6 +26,104 @@ |
<a href="experimental.html">experimental APIs</a>. |
</p> |
+<h2 id="16"> Google Chrome 16 </h2> |
+ |
+<h4> New APIs </h4> |
+ <ul> |
+ <li> The new |
+ <a href="webNavigation.html">webNavigation API</a> |
kathyw
2011/11/30 21:46:15
I haven't been consistent about this, but I think
mkearney
2011/11/30 23:39:51
Done.
|
+ lets extensions receive notifications about the status |
+ of navigation requests. |
+ This status can be tracked using navigation events. |
+ For example, |
+ the following navigation events are fired |
+ at different stages in the completion of a web request: |
+ <code>onBeforeNavigate</code>, |
+ <code>onCommittedonDOMContentLoaded</code>, |
+ and <code>onCompleted</code>. |
+ |
+ </li> |
+ <li> The new |
+ <a href="permissions.html">optional permissions API</a> |
+ lets you control when users are presented with permission requests. |
+ This ensures your users are not burdened with unnecessary permissions |
+ and enables your users to understand the context of these permissions. |
+ </li> |
+ <li> The new |
+ <a href="contentSettings.html">contentSettings API</a> |
kathyw
2011/11/30 21:46:15
contentSettings -> content settings
mkearney
2011/11/30 23:39:51
Done.
|
+ lets extensions customize Chrome’s behavior |
+ on a per-site basis instead of globally. |
+ You can use this API to control whether websites can use features |
+ such as cookies, JavaScript, and plug-ins. |
+ </li> |
+ </ul> |
+ |
+<h4> Manifest changes </h4> |
+ <ul> |
+ <li> The new |
+ <a href="manifest.html">requirements</a> field |
kathyw
2011/11/30 21:46:15
This item isn't very helpful. We should either del
mkearney
2011/11/30 23:39:51
I chose to keep this in for the short term until w
|
+ allows you to declare extension requirements up front |
+ so that your users can be informed of these requirements |
+ before installing your extension. |
+ </li> |
+ </ul> |
+ |
+<h4> Additions to existing APIs </h4> |
+ <ul> |
+ <li> The new |
+ <a href="tabs.html#method-query">chrome.tabs.query()</a> method |
+ gets all tabs that have the specified properties or |
+ all tabs if no properties are specified. |
+ This method has replaced the deprecated methods |
kathyw
2011/11/30 21:46:15
I'd delete the second sentence, since the deprecat
mkearney
2011/11/30 23:39:51
Done.
|
+ <code>chrome.tabs.getAllInWindow()</code> and |
+ <code>chrome.tabs.getSelected</code>. |
+ </li> |
+ <li>The new |
+ <a href="tabs.html#method-reload">chrome.tabs.reload()</a> method |
+ reloads a tab and includes the option |
+ to preserve the local cache of the reloaded tab. |
+ </li> |
+ <li>The management API's |
+ <a href="management.html#type-ExtensionInfo">ExtensionInfo</a> object |
+ now has an <code>updateURL</code> property. |
+ </li> |
+ <li> |
+ You can now specify the supported locales for an external extension |
kathyw
2011/11/30 21:46:15
specify -> limit?
(that way it's clear that this
mkearney
2011/11/30 23:39:51
Done.
|
+ by adding the <code>supported_locales</code> attribute(s) |
kathyw
2011/11/30 21:46:15
Remove "(s)". We try to avoid it, and I'm pretty s
mkearney
2011/11/30 23:39:51
I've implemented your changes. Also, I added to th
|
+ to the <code>external_extensions.json</code>. |
+ If your external extension supports all locales, |
+ simply leave out this attribute. |
kathyw
2011/11/30 21:46:15
I'd delete this sentence. Save it for the real doc
mkearney
2011/11/30 23:39:51
Done.
|
+ </li> |
+ </ul> |
+ |
+<h4> Changes to existing APIs </h4> |
+ <ul> |
+ <li>The methods <code>getAllInWindow</code> and |
kathyw
2011/11/30 21:46:15
getAllInWindow -> getAllInWindow()
(use () after
mkearney
2011/11/30 23:39:51
Done.
|
+ <code>getSelected</code> have been deprecated. |
kathyw
2011/11/30 21:46:15
getSelected -> getSelected()
mkearney
2011/11/30 23:39:51
Done.
|
+ To get details about all tabs in the specified window, use |
+ <a href="tabs.html#method-query">chrome.tabs.query {‘windowId’: windowID}</a>. |
kathyw
2011/11/30 21:46:15
This isn't standard syntax. How about:
<a href="t
mkearney
2011/11/30 23:39:51
Done.
|
+ To get the tab that is selected in the specified window, use |
+ <a href="tabs.html#method-query">chrome.tabs.query {‘active’: true}</a>. |
kathyw
2011/11/30 21:46:15
Same change as the previous one, perhaps without t
mkearney
2011/11/30 23:39:51
Done.
|
+ </li> |
+ <li> You are no longer required |
+ to specify the <code>tabID</code> for the |
+ <a href="tabs.html#method-update">chrome.tabs.update()</a> method. |
+ When not provided, |
+ the <code>tabID</code> defaults to the selected tab of the current window. |
+ </li> |
+ <li> |
+ External extension files on Mac OS can now be owned by users |
+ within a wheel group (or an admin group). |
+ </li> |
+ <li> |
+ The “experimental” permission is no longer required |
kathyw
2011/11/30 21:46:15
Change to straight quotes. We usually use straight
mkearney
2011/11/30 23:39:51
Done.
|
+ for the |
+ <a href="windows.html#type-Window">window “panel”</a> type. |
kathyw
2011/11/30 21:46:15
Again, change to straight quotes.
mkearney
2011/11/30 23:39:51
Done.
|
+ By default, the “panel’ type creates a popup |
kathyw
2011/11/30 21:46:15
change to straight double-quotes.
(currently, the
mkearney
2011/11/30 23:39:51
Done.
|
+ unless the <code>--enable-panels</code> flag is set. |
+ </li> |
+ </ul> |
+ |
<h2 id="15"> Google Chrome 15 </h2> |
<p>Chrome 15 had a few minor API additions. Also see the Chrome Web Store’s new |