| Index: chrome/common/extensions/docs/server2/templates/intros/contextMenus.html
|
| diff --git a/chrome/common/extensions/docs/server2/templates/intros/contextMenus.html b/chrome/common/extensions/docs/server2/templates/intros/contextMenus.html
|
| index aa50b0116ff9c12ac1669c06e02edad3a9da45f2..0d8d299d5d12e91ae016284324bd62b45907c782 100644
|
| --- a/chrome/common/extensions/docs/server2/templates/intros/contextMenus.html
|
| +++ b/chrome/common/extensions/docs/server2/templates/intros/contextMenus.html
|
| @@ -1,13 +1,14 @@
|
| -<!-- BEGIN AUTHORED CONTENT -->
|
| <p>
|
| The context menus module allows you
|
| to add items to Google Chrome's context menu.
|
| </p>
|
| +
|
| <p>
|
| You can choose what types of objects
|
| your context menu additions apply to,
|
| such as images, hyperlinks, and pages.
|
| </P>
|
| +
|
| <p>
|
| You can create as many context menu items
|
| as you need, but if more than one
|
| @@ -15,6 +16,7 @@ from your extension is visible at once,
|
| 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),
|
| @@ -23,12 +25,14 @@ To control which documents your items can appear in,
|
| specify the documentUrlPatterns field
|
| when you call the create() or update() method.
|
| </p>
|
| +
|
| <p class="note">
|
| <strong>Version note:</strong>
|
| -Before Chrome 14, <!-- PENDING(asargent): fix version # -->
|
| +Before Chrome 14,
|
| your items could appear only in documents with http://
|
| or https:// URLs.
|
| </p>
|
| +
|
| <h2 id="manifest">Manifest</h2>
|
| <p>You must declare the "contextMenus" permission
|
| in your extension's manifest to use the API.
|
| @@ -36,6 +40,7 @@ Also, you should specify a 16x16-pixel icon
|
| for display next to your menu item.
|
| For example:
|
| </p>
|
| +
|
| <pre>{
|
| "name": "My extension",
|
| ...
|
| @@ -49,8 +54,9 @@ For example:
|
| },
|
| ...
|
| }</pre>
|
| +
|
| <h2 id="examples">Examples</h2>
|
| +
|
| <p>
|
| You can find samples of this API on the
|
| -<a href="samples.html#contextMenus">sample page</a>.
|
| -<!-- END AUTHORED CONTENT -->
|
| +<a href="samples.html#contextMenus">sample page</a>.
|
|
|