summaryrefslogtreecommitdiffstats
path: root/chrome/common/extensions/docs/contextMenus.html
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/common/extensions/docs/contextMenus.html')
-rw-r--r--chrome/common/extensions/docs/contextMenus.html38
1 files changed, 21 insertions, 17 deletions
diff --git a/chrome/common/extensions/docs/contextMenus.html b/chrome/common/extensions/docs/contextMenus.html
index a7b2cdb..6f055fd 100644
--- a/chrome/common/extensions/docs/contextMenus.html
+++ b/chrome/common/extensions/docs/contextMenus.html
@@ -15,6 +15,7 @@
</script>
<script type="text/javascript" src="js/api_page_generator.js"></script>
<script type="text/javascript" src="js/bootstrap.js"></script>
+ <script type="text/javascript" src="js/sidebar.js"></script>
<title>Context Menus - Google Chrome Extensions - Google Code</title></head>
<body> <div id="gc-container" class="labs">
<div id="devModeWarning">
@@ -94,7 +95,7 @@
<div>
</div>
</div>
- </dl>
+ </dl>
</div>
</div> <!-- /SUBTEMPLATES -->
@@ -225,6 +226,9 @@
<li><h2><a href="samples.html">Samples</a></h2></li>
</ul>
</div>
+ <script>
+ initToggles();
+ </script>
<div class="g-unit" id="gc-pagecontent">
<div id="pageTitle">
@@ -537,7 +541,7 @@ You can find samples of this API on the
<dd class="todo" style="display: none; ">
Undocumented.
</dd>
- <dd>This must be specified unless type is 'separator'.</dd>
+ <dd>The text to be displayed in the item; this is <em>required</em> unless <em>type</em> is 'separator'. When the context is 'selection', you can use <code>%s</code> within the string to show the selected text. For example, if this parameter's value is "Translate '%s' to Pig Latin" and the user selects the word "cool", the context menu item for the selection is "Translate 'cool' to Pig Latin".</dd>
<dd style="display: none; ">
This parameter was added in version
<b><span></span></b>.
@@ -595,7 +599,7 @@ You can find samples of this API on the
<dd class="todo" style="display: none; ">
Undocumented.
</dd>
- <dd>This only applies to the initial state of a checkbox or radio item. It indicates if the item should initially be checked/selected. Only one radio item can be selected at a time in a given group of radio items.</dd>
+ <dd>The initial state of a checkbox or radio item: true for selected and false for unselected. Only one radio item can be selected at a time in a given group of radio items.</dd>
<dd style="display: none; ">
This parameter was added in version
<b><span></span></b>.
@@ -865,7 +869,7 @@ You can find samples of this API on the
</div>
</div>
- </dl>
+ </dl>
</div>
</dd>
@@ -901,7 +905,7 @@ You can find samples of this API on the
<dd class="todo" style="display: none; ">
Undocumented.
</dd>
- <dd>The id of a parent menu item - this makes the item a child of a previously added item.</dd>
+ <dd>The ID of a parent menu item; this makes the item a child of a previously added item.</dd>
<dd style="display: none; ">
This parameter was added in version
<b><span></span></b>.
@@ -970,7 +974,7 @@ You can find samples of this API on the
<dd class="todo" style="display: none; ">
Undocumented.
</dd>
- <dd>Lets you restrict the item to only apply to documents whose URL matches one of the given patterns. (This applies to frames as well). For details on the format of a pattern, see <a href="match_patterns.html">Match Patterns</a>.</dd>
+ <dd>Lets you restrict the item to apply only to documents whose URL matches one of the given patterns. (This applies to frames as well.) For details on the format of a pattern, see <a href="match_patterns.html">Match Patterns</a>.</dd>
<dd style="display: none; ">
This parameter was added in version
<b><span></span></b>.
@@ -1039,7 +1043,7 @@ You can find samples of this API on the
<dd class="todo" style="display: none; ">
Undocumented.
</dd>
- <dd>Similar to documentUrlPatterns, but this lets you filter based on the src attribute of img/audio/video tags and the href of anchor tags.</dd>
+ <dd>Similar to documentUrlPatterns, but lets you filter based on the src attribute of img/audio/video tags and the href of anchor tags.</dd>
<dd style="display: none; ">
This parameter was added in version
<b><span></span></b>.
@@ -1107,7 +1111,7 @@ You can find samples of this API on the
<dd class="todo" style="display: none; ">
Undocumented.
</dd>
- <dd>Called when the item has been created in the browser. If there were any problems creating the item, details will be avilable in chrome.extension.lastError.</dd>
+ <dd>Called when the item has been created in the browser. If there were any problems creating the item, details will be available in chrome.extension.lastError.</dd>
<dd style="display: none; ">
This parameter was added in version
<b><span></span></b>.
@@ -1171,7 +1175,7 @@ You can find samples of this API on the
<dd class="todo" style="display: none; ">
Undocumented.
</dd>
- <dd>The id of the newly created item.</dd>
+ <dd>The ID of the newly created item.</dd>
<dd style="display: none; ">
This parameter was added in version
<b><span></span></b>.
@@ -1282,7 +1286,7 @@ You can find samples of this API on the
<dd class="todo" style="display: none; ">
Undocumented.
</dd>
- <dd>The id of the context menu item to remove.</dd>
+ <dd>The ID of the context menu item to remove.</dd>
<dd style="display: none; ">
This parameter was added in version
<b><span></span></b>.
@@ -1580,7 +1584,7 @@ You can find samples of this API on the
<dd class="todo" style="display: none; ">
Undocumented.
</dd>
- <dd>The id of the item to update.</dd>
+ <dd>The ID of the item to update.</dd>
<dd style="display: none; ">
This parameter was added in version
<b><span></span></b>.
@@ -2401,7 +2405,7 @@ You can find samples of this API on the
<dd class="todo" style="display: none; ">
Undocumented.
</dd>
- <dd>The id of the menu item that was clicked.</dd>
+ <dd>The ID of the menu item that was clicked.</dd>
<dd style="display: none; ">
This parameter was added in version
<b><span></span></b>.
@@ -2459,7 +2463,7 @@ You can find samples of this API on the
<dd class="todo" style="display: none; ">
Undocumented.
</dd>
- <dd>The parent id, if any, for the item clicked.</dd>
+ <dd>The parent ID, if any, for the item clicked.</dd>
<dd style="display: none; ">
This parameter was added in version
<b><span></span></b>.
@@ -2575,7 +2579,7 @@ You can find samples of this API on the
<dd class="todo" style="display: none; ">
Undocumented.
</dd>
- <dd>If the element is a link, the url it points to.</dd>
+ <dd>If the element is a link, the URL it points to.</dd>
<dd style="display: none; ">
This parameter was added in version
<b><span></span></b>.
@@ -2633,7 +2637,7 @@ You can find samples of this API on the
<dd class="todo" style="display: none; ">
Undocumented.
</dd>
- <dd>Will be present for elements with a 'src' url.</dd>
+ <dd>Will be present for elements with a 'src' URL.</dd>
<dd style="display: none; ">
This parameter was added in version
<b><span></span></b>.
@@ -2691,7 +2695,7 @@ You can find samples of this API on the
<dd class="todo" style="display: none; ">
Undocumented.
</dd>
- <dd>The url of the page where the menu item was clicked.</dd>
+ <dd>The URL of the page where the menu item was clicked.</dd>
<dd style="display: none; ">
This parameter was added in version
<b><span></span></b>.
@@ -2749,7 +2753,7 @@ You can find samples of this API on the
<dd class="todo" style="display: none; ">
Undocumented.
</dd>
- <dd> The url of the frame of the element where the context menu was clicked, if it was in a frame.</dd>
+ <dd> The URL of the frame of the element where the context menu was clicked, if it was in a frame.</dd>
<dd style="display: none; ">
This parameter was added in version
<b><span></span></b>.