Index: chrome/common/extensions/docs/server2/templates/intros/experimental_devtools_audits.html |
diff --git a/chrome/common/extensions/docs/server2/templates/intros/experimental_devtools_audits.html b/chrome/common/extensions/docs/server2/templates/intros/experimental_devtools_audits.html |
index 41abbd326200dc9ba8275051db24bf9c46eca342..dad496f777c2d63764991ca71c3d6a15a9f32708 100644 |
--- a/chrome/common/extensions/docs/server2/templates/intros/experimental_devtools_audits.html |
+++ b/chrome/common/extensions/docs/server2/templates/intros/experimental_devtools_audits.html |
@@ -1,4 +1,3 @@ |
-<!-- BEGIN AUTHORED CONTENT --> |
<p id="classSummary"> |
Use the <code>chrome.experimental.devtools.audits</code> module to add new audit |
categories to Developer Tools' Audit panel. |
@@ -6,9 +5,7 @@ categories to Developer Tools' Audit panel. |
See <a href="experimental.devtools.html">DevTools APIs summary</a> for |
general introduction to using Developer Tools APIs</a>. |
</p> |
- |
<h2>Overview</h2> |
- |
<p> |
Each audit category is represented by a line on <em>Select audits to run</em> |
screen in the Audits panel. The following example adds a category named |
@@ -39,18 +36,15 @@ may include specially formatted fragments created by the |
<code>auditResults.createSnippet()</code> |
and <code>auditResults.createURL()</code> methods. |
</p> |
- |
<h2>Examples</h2> |
<p>The following example adds a handler for onAuditStarted event that creates |
two audit results and populates one of them with the additional details: |
</p> |
- |
<pre> |
category.onAuditStarted.addListener(function(results) { |
var details = results.createResult("Details..."); |
var styles = details.addChild("2 styles with small font"); |
var elements = details.addChild("3 elements with small font"); |
- |
results.addResult("Font Size (5)", |
"5 elements use font size below 10pt", |
results.Severity.Severe, |
@@ -66,9 +60,7 @@ category.onAuditStarted.addListener(function(results) { |
style="margin-left: 20px" |
width="330" height="169" |
alt="Audit results example" /> |
- |
<p> |
You can find more examples that use this API in |
<a href="samples.html#devtools.audits">Samples</a>. |
-</p> |
-<!-- END AUTHORED CONTENT --> |
+</p> |