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

Unified Diff: chrome/common/extensions/docs/templates/private/property.html

Issue 121713002: Rework API reference pages (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@addscss_330235
Patch Set: Rebase Created 6 years, 10 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
Index: chrome/common/extensions/docs/templates/private/property.html
diff --git a/chrome/common/extensions/docs/templates/private/property.html b/chrome/common/extensions/docs/templates/private/property.html
index 360ee9990164ceb4ecd5d840ebfbe8fcfcfd36e7..3be0726a0bada974d2090048dd1ad0302fcfecb9 100644
--- a/chrome/common/extensions/docs/templates/private/property.html
+++ b/chrome/common/extensions/docs/templates/private/property.html
@@ -1,16 +1,8 @@
{{#property}}
-<dt>
- {{?parentName}}
- <h4 id="{{id}}" title="{{^hideParamTOC name/}}">
- {{+partials.property_name_and_type property:property /}}
- </h4>
- {{:parentName}}
- <h3 id="{{id}}" title="{{^hideParamTOC name/}}">
- {{+partials.property_name_and_type property:property /}}
- </h3>
- {{/parentName}}
-</dt>
-<dd>
+<td>{{+partials.variable_type type:property/}}</td>
+<td>{{?optional}}<span class="optional">(optional)</span>{{/}}
+ {{name}}</td>
+<td>
{{?deprecated}}
{{+partials.warning_deprecated item:property/}}
{{/deprecated}}
@@ -24,5 +16,17 @@
{{+partials.type type:array hideParamTOC:true /}}
</dl>
{{/array.is_object}}
-</dd>
+ {{?properties}}
+ <table class="innerTable">
+ {{#p:properties +partials.parameter_full
+ innerTable:true
+ parameter:p
+ parentName:name
+ hideParamTOC:hideParamTOC /}}
+ </table>
+ {{/properties}}
+{{?is_callback}}
+ {{?parentCallback +partials.callback callback:parentCallback/}}
+{{/is_callback}}
+</td>
{{/property}}

Powered by Google App Engine
This is Rietveld 408576698