summaryrefslogtreecommitdiffstats
path: root/chrome/common/extensions/docs/extension.html
diff options
context:
space:
mode:
authorbauerb@chromium.org <bauerb@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-11-02 16:05:50 +0000
committerbauerb@chromium.org <bauerb@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-11-02 16:05:50 +0000
commit4ce1527a930f211c3e0442a625de3351f1b1a40a (patch)
tree502d2b4968c5d20682addda3d26020b36d3dfd2c /chrome/common/extensions/docs/extension.html
parent8ca37f412b605824cdb6917b1f5bdc17e6319d1f (diff)
downloadchromium_src-4ce1527a930f211c3e0442a625de3351f1b1a40a.zip
chromium_src-4ce1527a930f211c3e0442a625de3351f1b1a40a.tar.gz
chromium_src-4ce1527a930f211c3e0442a625de3351f1b1a40a.tar.bz2
Show methods and events for types in table of contents for extension docs.
BUG=none TEST=none Review URL: http://codereview.chromium.org/8380008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@108304 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/extensions/docs/extension.html')
-rw-r--r--chrome/common/extensions/docs/extension.html206
1 files changed, 150 insertions, 56 deletions
diff --git a/chrome/common/extensions/docs/extension.html b/chrome/common/extensions/docs/extension.html
index 969c618..1df71e7 100644
--- a/chrome/common/extensions/docs/extension.html
+++ b/chrome/common/extensions/docs/extension.html
@@ -107,6 +107,46 @@
</div>
</dl>
</div>
+
+ <!-- Individual subsections from the table of contents -->
+ <ol>
+ <li id="propertiesTocTemplate">
+ <a href="#properties">Properties</a>
+ <ol>
+ <li>
+ <a href="#property-anchor">propertyName</a>
+ </li>
+ </ol>
+ </li>
+ <li id="methodsTocTemplate">
+ <a>Methods</a>
+ <ol>
+ <li>
+ <a href="#method-anchor">methodName</a>
+ </li>
+ </ol>
+ </li>
+ <li id="eventsTocTemplate">
+ <a>Events</a>
+ <ol>
+ <li>
+ <a href="#event-anchor">eventName</a>
+ </li>
+ </ol>
+ </li>
+ <li id="typesTocTemplate">
+ <a href="#types">Types</a>
+ <ol>
+ <li>
+ <a href="#id-anchor">id</a>
+ <ol>
+ <div></div>
+ <div></div>
+ </ol>
+ </li>
+ </ol>
+ </li>
+ </ol>
</div> <!-- /SUBTEMPLATES -->
<a id="top"></a>
@@ -269,65 +309,119 @@
<a href="#apiReference">API reference: chrome.extension</a>
<ol>
<li>
- <a href="#properties">Properties</a>
- <ol>
- <li>
- <a href="#property-lastError">lastError</a>
- </li><li>
- <a href="#property-inIncognitoContext">inIncognitoContext</a>
- </li>
- </ol>
- </li>
+ <a href="#properties">Properties</a>
+ <ol>
+ <li>
+ <a href="#property-lastError">lastError</a>
+ </li><li>
+ <a href="#property-inIncognitoContext">inIncognitoContext</a>
+ </li>
+ </ol>
+ </li>
<li>
- <a href="#global-methods">Methods</a>
- <ol>
- <li>
- <a href="#method-connect">connect</a>
- </li><li>
- <a href="#method-getBackgroundPage">getBackgroundPage</a>
- </li><li style="display: none; ">
- <a href="#method-anchor">methodName</a>
- </li><li>
- <a href="#method-getURL">getURL</a>
- </li><li>
- <a href="#method-getViews">getViews</a>
- </li><li>
- <a href="#method-isAllowedFileSchemeAccess">isAllowedFileSchemeAccess</a>
- </li><li>
- <a href="#method-isAllowedIncognitoAccess">isAllowedIncognitoAccess</a>
- </li><li>
- <a href="#method-sendRequest">sendRequest</a>
- </li><li>
- <a href="#method-setUpdateUrlData">setUpdateUrlData</a>
- </li>
- </ol>
- </li>
+ <a href="#global-methods">Methods</a>
+ <ol>
+ <li>
+ <a href="#method-connect">connect</a>
+ </li><li>
+ <a href="#method-getBackgroundPage">getBackgroundPage</a>
+ </li><li style="display: none; ">
+ <a href="#method-anchor">methodName</a>
+ </li><li>
+ <a href="#method-getURL">getURL</a>
+ </li><li>
+ <a href="#method-getViews">getViews</a>
+ </li><li>
+ <a href="#method-isAllowedFileSchemeAccess">isAllowedFileSchemeAccess</a>
+ </li><li>
+ <a href="#method-isAllowedIncognitoAccess">isAllowedIncognitoAccess</a>
+ </li><li>
+ <a href="#method-sendRequest">sendRequest</a>
+ </li><li>
+ <a href="#method-setUpdateUrlData">setUpdateUrlData</a>
+ </li>
+ </ol>
+ </li>
<li>
- <a href="#global-events">Events</a>
- <ol>
- <li>
- <a href="#event-onConnect">onConnect</a>
- </li><li>
- <a href="#event-onConnectExternal">onConnectExternal</a>
- </li><li>
- <a href="#event-onRequest">onRequest</a>
- </li><li>
- <a href="#event-onRequestExternal">onRequestExternal</a>
- </li>
- </ol>
- </li>
+ <a href="#global-events">Events</a>
+ <ol>
+ <li>
+ <a href="#event-onConnect">onConnect</a>
+ </li><li>
+ <a href="#event-onConnectExternal">onConnectExternal</a>
+ </li><li>
+ <a href="#event-onRequest">onRequest</a>
+ </li><li>
+ <a href="#event-onRequestExternal">onRequestExternal</a>
+ </li>
+ </ol>
+ </li>
<li>
- <a href="#types">Types</a>
- <ol>
- <li>
- <a href="#type-MessageSender">MessageSender</a>
- </li><li>
- <a href="#type-Event">Event</a>
- </li><li>
- <a href="#type-Port">Port</a>
- </li>
- </ol>
- </li>
+ <a href="#types">Types</a>
+ <ol>
+ <li>
+ <a href="#type-MessageSender">MessageSender</a>
+ <ol>
+ <li style="display: none; ">
+ <a>Methods</a>
+ <ol>
+ <li>
+ <a href="#method-anchor">methodName</a>
+ </li>
+ </ol>
+ </li>
+ <li style="display: none; ">
+ <a>Events</a>
+ <ol>
+ <li>
+ <a href="#event-anchor">eventName</a>
+ </li>
+ </ol>
+ </li>
+ </ol>
+ </li><li>
+ <a href="#type-Event">Event</a>
+ <ol>
+ <li style="display: none; ">
+ <a>Methods</a>
+ <ol>
+ <li>
+ <a href="#method-anchor">methodName</a>
+ </li>
+ </ol>
+ </li>
+ <li style="display: none; ">
+ <a>Events</a>
+ <ol>
+ <li>
+ <a href="#event-anchor">eventName</a>
+ </li>
+ </ol>
+ </li>
+ </ol>
+ </li><li>
+ <a href="#type-Port">Port</a>
+ <ol>
+ <li style="display: none; ">
+ <a>Methods</a>
+ <ol>
+ <li>
+ <a href="#method-anchor">methodName</a>
+ </li>
+ </ol>
+ </li>
+ <li style="display: none; ">
+ <a>Events</a>
+ <ol>
+ <li>
+ <a href="#event-anchor">eventName</a>
+ </li>
+ </ol>
+ </li>
+ </ol>
+ </li>
+ </ol>
+ </li>
</ol>
</li>
</ol>