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

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

Issue 6801032: Change some context menu APIs to use enums in the schema. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/common/extensions/api/extension_api.json ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/extensions/docs/contextMenus.html
diff --git a/chrome/common/extensions/docs/contextMenus.html b/chrome/common/extensions/docs/contextMenus.html
index d5d029163c6457565543a79642d1b63c04c9ad73..67153bbad8161ccd9eb386af08fe37cc6972523a 100644
--- a/chrome/common/extensions/docs/contextMenus.html
+++ b/chrome/common/extensions/docs/contextMenus.html
@@ -481,7 +481,7 @@ You can find samples of this API on the
<div style="display:inline">
(
<span class="optional">optional</span>
- <span class="enum" style="display: none; ">enumerated</span>
+ <span class="enum">enumerated</span>
<span id="typeTemplate">
<span style="display: none; ">
<a> Type</a>
@@ -491,7 +491,7 @@ You can find samples of this API on the
array of <span><span></span></span>
</span>
<span>string</span>
- <span style="display: none; "></span>
+ <span>["normal", "checkbox", "radio", "separator"]</span>
</span>
</span>
)
@@ -502,7 +502,7 @@ You can find samples of this API on the
<dd class="todo" style="display: none; ">
Undocumented.
</dd>
- <dd>The type of menu item - one of 'normal', 'checkbox', 'radio', or 'separator'. Defaults to 'normal' if not specified.</dd>
+ <dd>The type of menu item. Defaults to 'normal' if not specified.</dd>
<dd style="display: none; ">
This parameter was added in version
<b><span></span></b>.
@@ -701,7 +701,7 @@ You can find samples of this API on the
array of <span><span></span></span>
</span>
<span>string</span>
- <span style="display: none; "></span>
+ <span>["all", "page", "frame", "selection", "link", "editable", "image", "video", "audio"]</span>
</span>
</span></span>
</span>
@@ -717,7 +717,7 @@ You can find samples of this API on the
<dd class="todo" style="display: none; ">
Undocumented.
</dd>
- <dd>List of contexts this menu item will appear in. Legal values are: 'all', 'page', 'frame', 'selection', 'link', 'editable', 'image', 'video', and 'audio'. Defaults to ['page'].</dd>
+ <dd>List of contexts this menu item will appear in. Defaults to ['page'] if not specified.</dd>
<dd style="display: none; ">
This parameter was added in version
<b><span></span></b>.
@@ -1925,7 +1925,7 @@ You can find samples of this API on the
<div style="display:inline">
(
<span class="optional">optional</span>
- <span class="enum" style="display: none; ">enumerated</span>
+ <span class="enum">enumerated</span>
<span id="typeTemplate">
<span style="display: none; ">
<a> Type</a>
@@ -1935,7 +1935,7 @@ You can find samples of this API on the
array of <span><span></span></span>
</span>
<span>string</span>
- <span style="display: none; "></span>
+ <span>["normal", "checkbox", "radio", "separator"]</span>
</span>
</span>
)
@@ -2081,7 +2081,7 @@ You can find samples of this API on the
array of <span><span></span></span>
</span>
<span>string</span>
- <span style="display: none; "></span>
+ <span>["all", "page", "frame", "selection", "link", "editable", "image", "video", "audio"]</span>
</span>
</span></span>
</span>
« no previous file with comments | « chrome/common/extensions/api/extension_api.json ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698