Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3524)

Unified Diff: chrome/common/extensions/docs/templates/intros/contextMenus.html

Issue 11635032: Added introductory tables to Chrome apps APIs. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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.

Powered by Google App Engine
This is Rietveld 408576698