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

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

Issue 12996003: Dynamically generate a heading for Extension Docs API pages (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Updating .idl and .json APIs, HTML intro tables, python files Created 7 years, 8 months 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 unified diff | Download patch
OLDNEW
1 <table class="intro"> 1 <table class="intro">
2 <tr> 2 <tr>
3 <th scope="col"></th> 3 <th scope="col"></th>
4 <th scope="col"></th> 4 <th scope="col"></th>
5 </tr> 5 </tr>
6 <tr> 6 <tr>
7 <td><strong>Description:</strong></td>
8 <td>Use the <code>chrome.contextMenus</code> module
9 to add items to Google Chrome's context menu.
10 You can choose what types of objects
11 your context menu additions apply to,
12 such as images, hyperlinks, and pages.
13 </td>
14 </tr>
15 <tr>
16 <td><strong>Availability:</strong></td>
17 <td>Google Chrome 6</td>
18 </tr>
19 <tr>
20 <td><strong>Permissions:</strong></td> 7 <td><strong>Permissions:</strong></td>
21 <td><code>"contextMenus"</code></td> 8 <td><code>"contextMenus"</code></td>
22 </tr> 9 </tr>
23 </table> 10 </table>
24 11
25 <h2 id="usage">Usage</h2> 12 <h2 id="usage">Usage</h2>
26 13
27 <p> 14 <p>
28 Context menu items can appear in any document 15 Context menu items can appear in any document
29 (or frame within a document), 16 (or frame within a document),
(...skipping 30 matching lines...) Expand all
60 "48": "icon-small.png", 47 "48": "icon-small.png",
61 "128": "icon-large.png" 48 "128": "icon-large.png"
62 }, 49 },
63 ... 50 ...
64 }</pre> 51 }</pre>
65 52
66 <h2 id="examples">Examples</h2> 53 <h2 id="examples">Examples</h2>
67 54
68 <p> 55 <p>
69 You can find samples of this API on the 56 You can find samples of this API on the
70 <a href="samples.html#contextMenus">sample page</a>. 57 <a href="samples.html#contextMenus">sample page</a>.
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698