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

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

Issue 15127007: Automatically detect inline-able doc in IDL files (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: IDL Changes and Inlining return types Created 7 years, 7 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/type.html
diff --git a/chrome/common/extensions/docs/templates/private/type.html b/chrome/common/extensions/docs/templates/private/type.html
index 0cd0f9a8d9f5ed3a0044d61010beddd08a885bec..e67e76e84fa8b9584bf6a0eb7993b2ab081dcebd 100644
--- a/chrome/common/extensions/docs/templates/private/type.html
+++ b/chrome/common/extensions/docs/templates/private/type.html
@@ -1,5 +1,9 @@
<div>
+ {{^anonymous_return}}
<h3 id="{{id}}">{{name}}</h3>
+ {{:anonymous_return}}
+ <h3>Returns</h3>
+ {{/anonymous_return}}
not at google - send to devlin 2013/05/15 03:55:15 Move the Returns into the template which includes
jshumway 2013/05/15 04:51:37 Done.
<div>
{{^is_object}}<dd>
{{+partials.variable_type}}
@@ -8,9 +12,13 @@
{{{description}}}
</dd>{{/description}}
{{?properties}}
+ {{^anonymous_return}}
<h4 id="{{type.name}}-properties">
Properties of <a href="#type-{{type.name}}">{{type.name}}</a>
</h4>
+ {{:anonymous_return}}
+ <h4>Properites</h4>
not at google - send to devlin 2013/05/15 03:55:15 Well this should be Properties... but anyway, a b
jshumway 2013/05/15 04:51:37 Sorry, was typing too quickly
+ {{/anonymous_return}}
<dd><dl>{{#properties}}
{{+partials.parameter_full}}
{{/}}</dl></dd>

Powered by Google App Engine
This is Rietveld 408576698