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

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

Issue 10826261: Extension Docs: Remove out dated version notes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 4 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | chrome/common/extensions/docs/apps/permissions.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <!DOCTYPE html><!-- This page is a placeholder for generated extensions api doc. Note: 1 <!DOCTYPE html><!-- This page is a placeholder for generated extensions api doc. Note:
2 1) The <head> information in this page is significant, should be uniform 2 1) The <head> information in this page is significant, should be uniform
3 across api docs and should be edited only with knowledge of the 3 across api docs and should be edited only with knowledge of the
4 templating mechanism. 4 templating mechanism.
5 3) All <body>.innerHTML is genereated as an rendering step. If viewed in a 5 3) All <body>.innerHTML is genereated as an rendering step. If viewed in a
6 browser, it will be re-generated from the template, json schema and 6 browser, it will be re-generated from the template, json schema and
7 authored overview content. 7 authored overview content.
8 4) The <body>.innerHTML is also generated by an offline step so that this 8 4) The <body>.innerHTML is also generated by an offline step so that this
9 page may easily be indexed by search engines. 9 page may easily be indexed by search engines.
10 --><html xmlns="http://www.w3.org/1999/xhtml"><head> 10 --><html xmlns="http://www.w3.org/1999/xhtml"><head>
(...skipping 222 matching lines...) Expand 10 before | Expand all | Expand 10 after
233 into a single parent menu. 233 into a single parent menu.
234 </p> 234 </p>
235 <p> 235 <p>
236 Context menu items can appear in any document 236 Context menu items can appear in any document
237 (or frame within a document), 237 (or frame within a document),
238 even those with file:// or chrome:// URLs. 238 even those with file:// or chrome:// URLs.
239 To control which documents your items can appear in, 239 To control which documents your items can appear in,
240 specify the documentUrlPatterns field 240 specify the documentUrlPatterns field
241 when you call the create() or update() method. 241 when you call the create() or update() method.
242 </p> 242 </p>
243 <p class="note">
244 <strong>Version note:</strong>
245 Before Chrome 14, <!-- PENDING(asargent): fix version # -->
246 your items could appear only in documents with http://
247 or https:// URLs.
248 </p>
249 <h2 id="manifest">Manifest</h2> 243 <h2 id="manifest">Manifest</h2>
250 <p>You must declare the "contextMenus" permission 244 <p>You must declare the "contextMenus" permission
251 in your extension's manifest to use the API. 245 in your extension's manifest to use the API.
252 Also, you should specify a 16x16-pixel icon 246 Also, you should specify a 16x16-pixel icon
253 for display next to your menu item. 247 for display next to your menu item.
254 For example: 248 For example:
255 </p> 249 </p>
256 <pre>{ 250 <pre>{
257 "name": "My extension", 251 "name": "My extension",
258 ... 252 ...
(...skipping 1314 matching lines...) Expand 10 before | Expand all | Expand 10 after
1573 _uff=0; 1567 _uff=0;
1574 urchinTracker(); 1568 urchinTracker();
1575 } 1569 }
1576 catch(e) {/* urchinTracker not available. */} 1570 catch(e) {/* urchinTracker not available. */}
1577 </script> 1571 </script>
1578 <!-- end analytics --> 1572 <!-- end analytics -->
1579 </div> 1573 </div>
1580 </div> <!-- /gc-footer --> 1574 </div> <!-- /gc-footer -->
1581 </div> <!-- /gc-container --> 1575 </div> <!-- /gc-container -->
1582 </body></html> 1576 </body></html>
OLDNEW
« no previous file with comments | « no previous file | chrome/common/extensions/docs/apps/permissions.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698