| Index: chrome/common/extensions/docs/server2/templates/intros/commands.html
|
| diff --git a/chrome/common/extensions/docs/server2/templates/intros/experimental_commands.html b/chrome/common/extensions/docs/server2/templates/intros/commands.html
|
| similarity index 87%
|
| rename from chrome/common/extensions/docs/server2/templates/intros/experimental_commands.html
|
| rename to chrome/common/extensions/docs/server2/templates/intros/commands.html
|
| index 3299ae9caf8cb5b214c28a2b4b826a958b39aff7..283ea1afa07e77f4b59d1b4adb21dc278dcc26cf 100644
|
| --- a/chrome/common/extensions/docs/server2/templates/intros/experimental_commands.html
|
| +++ b/chrome/common/extensions/docs/server2/templates/intros/commands.html
|
| @@ -6,16 +6,14 @@ or sending a command to the extension.
|
|
|
| <h2 id="manifest">Manifest</h2>
|
| <p>
|
| -In addition to the "experimental" permission you must declare the "commands"
|
| -permission in your extension's manifest to use this API and set manifest_version
|
| -to (at least) 2.
|
| +You must declare the "commands" permission in your extension's manifest to use
|
| +this API and set manifest_version to (at least) 2.
|
| </p>
|
|
|
| <pre>{
|
| "name": "My extension",
|
| ...
|
| <b> "permissions": [
|
| - "experimental",
|
| "commands",
|
| ]</b>,
|
| ...
|
| @@ -63,7 +61,7 @@ defined in the manifest (except for '_execute_browser_action' and
|
| '_execute_page_action') via onCommand.addListener. For example:</p>
|
|
|
| <pre>
|
| -chrome.experimental.commands.onCommand.addListener(function(command) {
|
| +chrome.commands.onCommand.addListener(function(command) {
|
| console.log('Command:', command);
|
| });
|
| </pre>
|
| @@ -73,4 +71,4 @@ reserved for the action of opening your extension's popups. They won't normally
|
| generate events that you can handle. If you need to take action based on your
|
| popup opening, consider listening for an 'onDomReady' event inside your popup's
|
| code.
|
| -</p>
|
| +</p>
|
|
|