summaryrefslogtreecommitdiffstats
path: root/o3d/documentation
diff options
context:
space:
mode:
authorgman@google.com <gman@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-08-31 18:13:40 +0000
committergman@google.com <gman@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-08-31 18:13:40 +0000
commit5edab80091453ee38f28e2240649bf91c9e3e658 (patch)
tree5ed0b46ca44e9f93c0d64986d3b309dcbb94d3ef /o3d/documentation
parent89382b154bfcf431169b6ded5ebcd26e0ec94aea (diff)
downloadchromium_src-5edab80091453ee38f28e2240649bf91c9e3e658.zip
chromium_src-5edab80091453ee38f28e2240649bf91c9e3e658.tar.gz
chromium_src-5edab80091453ee38f28e2240649bf91c9e3e658.tar.bz2
Fix for archive request. It turns out this thing
can be called recursively. Because of that ArchiveRequest::raw_data_ would be invalid when the outer call came back. This way we mostly don't use that field. Also updated the docs so it can me marked as deprecated. Review URL: http://codereview.chromium.org/173620 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@24906 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'o3d/documentation')
-rw-r--r--o3d/documentation/jsdoc-toolkit-templates/class.tmpl18
-rw-r--r--o3d/documentation/jsdoc-toolkit-templates/static/stylesheet.css4
2 files changed, 18 insertions, 4 deletions
diff --git a/o3d/documentation/jsdoc-toolkit-templates/class.tmpl b/o3d/documentation/jsdoc-toolkit-templates/class.tmpl
index 8a3766c..e1865f6 100644
--- a/o3d/documentation/jsdoc-toolkit-templates/class.tmpl
+++ b/o3d/documentation/jsdoc-toolkit-templates/class.tmpl
@@ -95,7 +95,11 @@ thisClass = data;
<td class="type">
<if test="method.type.length">{+linkifyTypeSpec(makeName('[Method Summary]', thisClass.alias, method.name), method.type)+}&nbsp;</if>
</td>
- <td><a class="el" href="#{+method.name+}">{+method.name+}</a>{+makeSignature(method.params)+}</td>
+ <td><a class="el" href="#{+method.name+}">{+method.name+}</a>{+makeSignature(method.params)+}
+ <if test="isDeprecated(method)">
+ <span class="deprecated">[[]**DEPRECATED**]</span>
+ </if>
+ </td>
<td>{+linkifySingleType(makeName('[Method Summary inherit]'), getParentName(method))+}</td>
</tr>
</if>
@@ -115,7 +119,11 @@ thisClass = data;
<if test="property.isStatic||!property.memberOf">&lt;Global&gt;&nbsp;</if>
{+linkifyTypeSpec(makeName('[Property Summary]', thisClass.alias, property.name), getPropertyType(property))+}
</td>
- <td><a class="el" href="#{+property.name+}">{+property.name+}</a></td>
+ <td><a class="el" href="#{+property.name+}">{+property.name+}</a>
+ <if test="isDeprecated(property)">
+ <span class="deprecated">[[]**DEPRECATED**]</span>
+ </if>
+ </td>
<td>{+linkifySingleType(makeName('[Prop Summary inherit]'), getParentName(property))+}</td>
</tr>
</for>
@@ -299,7 +307,8 @@ thisClass = data;
<dd>
<table border="0" cellspacing="2" cellpadding="0">
<for each="param" in="member.params">
- <tr><td valign="top"></td><td valign="top"><em>{+param.name+}</em></td><td>{+sanitizeForEZT(param.desc)+}</td></tr>
+ <tr><td valign="top"></td><td valign="top"><em>{+param.name+}</em></td><td>
+ {+sanitizeForEZT(param.desc)+}</td></tr>
</for>
</table>
</dd>
@@ -342,6 +351,9 @@ thisClass = data;
<table class="memname">
<tr>
<td class="memname">{+linkifyTypeSpec(makeName('[Property Detail]', thisClass.alias, property.name), getPropertyType(property))+} {+getDocName(data, property)+}
+ <if test="isDeprecated(property)">
+ <span class="deprecated">[[]**DEPRECATED**]</span>
+ </if>
{+ (property.memberOf == thisClass.alias) ? "" : ("[[]inherited from <a class=\"el\" href=\"" + getLinkToClassByAlias(property.memberOf) + "\">" + property.memberOf + "</a>]") +}
</td>
</tr>
diff --git a/o3d/documentation/jsdoc-toolkit-templates/static/stylesheet.css b/o3d/documentation/jsdoc-toolkit-templates/static/stylesheet.css
index 5202687..9ed8e38 100644
--- a/o3d/documentation/jsdoc-toolkit-templates/static/stylesheet.css
+++ b/o3d/documentation/jsdoc-toolkit-templates/static/stylesheet.css
@@ -118,7 +118,9 @@ TD.mdname1 {
font-weight: bold;
-moz-border-radius: 8px 8px 8px 8px;
}
-.memproto .deprecated {
+.memproto .deprecated,
+.memname .deprecated,
+.summary .deprecated {
color: red;
}
.paramkey {