summaryrefslogtreecommitdiffstats
path: root/chrome/common/extensions/docs/content_scripts.html
diff options
context:
space:
mode:
authorcaseq@google.com <caseq@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2011-02-04 10:22:28 +0000
committercaseq@google.com <caseq@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2011-02-04 10:22:28 +0000
commit42a2c9993aa39b3cea46427618129ba47f68e35f (patch)
tree848a3c27e0076d549333497955a7af7574fb6025 /chrome/common/extensions/docs/content_scripts.html
parent138f4d9475298574b2806d09b47e89750e01a8b0 (diff)
downloadchromium_src-42a2c9993aa39b3cea46427618129ba47f68e35f.zip
chromium_src-42a2c9993aa39b3cea46427618129ba47f68e35f.tar.gz
chromium_src-42a2c9993aa39b3cea46427618129ba47f68e35f.tar.bz2
Added pages for experimental DevTools/WebInspector API
- Factor out methods & events to a separate template - Support methods & events nested within a type - Fix signature generation for event handlers with no arguments - Add DevTools extensions docs (in a separate schema) BUG=65605 TEST=none Review URL: http://codereview.chromium.org/6386023/ git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73790 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/extensions/docs/content_scripts.html')
-rw-r--r--chrome/common/extensions/docs/content_scripts.html38
1 files changed, 24 insertions, 14 deletions
diff --git a/chrome/common/extensions/docs/content_scripts.html b/chrome/common/extensions/docs/content_scripts.html
index e64f704..e044dca 100644
--- a/chrome/common/extensions/docs/content_scripts.html
+++ b/chrome/common/extensions/docs/content_scripts.html
@@ -81,6 +81,16 @@
</dl>
</dd>
+ <!-- OBJECT METHODS -->
+ <dd>
+ <div></div>
+ </dd>
+
+ <!-- OBJECT EVENT FIELDS -->
+ <dd>
+ <div></div>
+ </dd>
+
<!-- FUNCTION PARAMETERS -->
<dd>
<div></div>
@@ -316,7 +326,7 @@
</ol>
</li>
<li>
- <a href="#methods">Methods</a>
+ <a>Methods</a>
<ol>
<li>
<a href="#method-anchor">methodName</a>
@@ -324,7 +334,7 @@
</ol>
</li>
<li>
- <a href="#events">Events</a>
+ <a>Events</a>
<ol>
<li>
<a href="#event-anchor">eventName</a>
@@ -820,8 +830,8 @@ sending a request to its parent extension.
</div> <!-- /apiGroup -->
<!-- METHODS -->
- <div class="apiGroup" id="methods">
- <a name="methods"></a>
+ <div id="methodsTemplate" class="apiGroup">
+ <a></a>
<h3>Methods</h3>
<!-- iterates over all functions -->
@@ -896,10 +906,9 @@ sending a request to its parent extension.
</div> <!-- /apiGroup -->
<!-- EVENTS -->
- <div class="apiGroup">
- <a name="events"></a>
- <h3 id="events">Events</h3>
-
+ <div id="eventsTemplate" class="apiGroup">
+ <a></a>
+ <h3>Events</h3>
<!-- iterates over all events -->
<div class="apiItem">
<a></a>
@@ -917,14 +926,15 @@ sending a request to its parent extension.
</p>
<!-- PARAMETERS -->
- <h4>Parameters</h4>
- <dl>
- <div>
+ <div>
+ <h4>Parameters</h4>
+ <dl>
<div>
+ <div>
+ </div>
</div>
- </div>
- </dl>
-
+ </dl>
+ </div>
</div> <!-- /decription -->
</div> <!-- /apiItem -->