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

Unified Diff: chrome/common/extensions/docs/template/api_template.html

Issue 2843025: Extension Docs (No building or testable files) (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: render docs Created 10 years, 6 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/docs/tabs.html ('k') | chrome/common/extensions/docs/themes.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/extensions/docs/template/api_template.html
diff --git a/chrome/common/extensions/docs/template/api_template.html b/chrome/common/extensions/docs/template/api_template.html
index 1ec0fa15b5b107bcdd5f2403244eb253af80c091..c9cbcbc52eed31815f197b6a65647bd9001a479a 100644
--- a/chrome/common/extensions/docs/template/api_template.html
+++ b/chrome/common/extensions/docs/template/api_template.html
@@ -18,6 +18,7 @@
<div style="display:inline">
(
<span class="optional" jsdisplay="optional">optional</span>
+ <span class="enum" jsdisplay="enum">enumerated</span>
<span id="typeTemplate">
<span jsdisplay="getTypeRef($this)">
<a jsvalues=".href: getTypeRefPage($this) + '#type-' + getTypeRef($this)" jscontent="getTypeRef($this)"> Type</a>
@@ -27,6 +28,7 @@
array of <span jsselect="items"><span transclude="typeTemplate"></span></span>
</span>
<span jsdisplay="!isArray($this)" jscontent="getTypeName($this)">paramType</span>
+ <span jsdisplay="!isArray($this) && enum" jscontent="getEnumValues(enum, type);"></span>
</span>
</span>
)
« no previous file with comments | « chrome/common/extensions/docs/tabs.html ('k') | chrome/common/extensions/docs/themes.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698