| Index: chrome/common/extensions/docs/templates/intros/contextMenus.html
|
| diff --git a/chrome/common/extensions/docs/templates/intros/contextMenus.html b/chrome/common/extensions/docs/templates/intros/contextMenus.html
|
| index 685ef169e0efbdf4e8ada160025c409e64d44a78..095a5a086b3b29a3b54f0fb5797c535a33ae8cb9 100644
|
| --- a/chrome/common/extensions/docs/templates/intros/contextMenus.html
|
| +++ b/chrome/common/extensions/docs/templates/intros/contextMenus.html
|
| @@ -1,12 +1,36 @@
|
| -<p>
|
| -The context menus module allows you
|
| -to add items to Google Chrome's context menu.
|
| -</p>
|
| +<table class="intro">
|
| + <tr>
|
| + <th scope="col"></th>
|
| + <th scope="col"></th>
|
| + </tr>
|
| + <tr>
|
| + <td><strong>Description:</strong></td>
|
| + <td>Use the <code>chrome.contextMenus</code> module
|
| + to add items to Google Chrome's context menu.
|
| + You can choose what types of objects
|
| + your context menu additions apply to,
|
| + such as images, hyperlinks, and pages.
|
| + </td>
|
| + </tr>
|
| + <tr>
|
| + <td><strong>Availability:</strong></td>
|
| + <td>Google Chrome 6</td>
|
| + </tr>
|
| + <tr>
|
| + <td><strong>Permissions:</strong></td>
|
| + <td><code>"contextMenus"</code></td>
|
| + </tr>
|
| +</table>
|
| +
|
| +<h2 id="usage">Usage</h2>
|
|
|
| <p>
|
| -You can choose what types of objects
|
| -your context menu additions apply to,
|
| -such as images, hyperlinks, and pages.
|
| +Context menu items can appear in any document
|
| +(or frame within a document),
|
| +even those with file:// or chrome:// URLs.
|
| +To control which documents your items can appear in,
|
| +specify the documentUrlPatterns field
|
| +when you call the create() or update() method.
|
| </p>
|
|
|
| <p>
|
| @@ -17,15 +41,6 @@ Google Chrome automatically collapses them
|
| into a single parent menu.
|
| </p>
|
|
|
| -<p>
|
| -Context menu items can appear in any document
|
| -(or frame within a document),
|
| -even those with file:// or chrome:// URLs.
|
| -To control which documents your items can appear in,
|
| -specify the documentUrlPatterns field
|
| -when you call the create() or update() method.
|
| -</p>
|
| -
|
| <h2 id="manifest">Manifest</h2>
|
| <p>You must declare the "contextMenus" permission
|
| in your extension's manifest to use the API.
|
|
|