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

Unified Diff: chrome/common/extensions/docs/experimental.devtools.inspectedWindow.html

Issue 8538005: Anoher clean-up for chrome.experimental.devtools.* docs (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Added onShown/onHidden events on ExtensionPanel and ExtensionSidebarPane Created 9 years, 1 month 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/experimental.devtools.inspectedWindow.html
diff --git a/chrome/common/extensions/docs/experimental.devtools.inspectedWindow.html b/chrome/common/extensions/docs/experimental.devtools.inspectedWindow.html
index 2990511c735e2a2f78d7cb44607fedd88ee7d93b..5bdd84d8123242d708a8ede1d8500db79d5893ba 100644
--- a/chrome/common/extensions/docs/experimental.devtools.inspectedWindow.html
+++ b/chrome/common/extensions/docs/experimental.devtools.inspectedWindow.html
@@ -584,7 +584,7 @@ You can find more examples that use Developer Tools APIs in
<div class="summary"><span style="display: none; ">void</span>
<!-- Note: intentionally longer 80 columns -->
<span>chrome.experimental.devtools.inspectedWindow.eval</span>(<span class="null"><span style="display: none; ">, </span><span>string</span>
- <var><span>expression</span></var></span><span class="null"><span>, </span><span>function</span>
+ <var><span>expression</span></var></span><span class="optional"><span>, </span><span>function</span>
<var><span>callback</span></var></span>)</div>
<div class="description">
@@ -671,7 +671,7 @@ You can find more examples that use Developer Tools APIs in
<!-- TYPE -->
<div style="display:inline">
(
- <span class="optional" style="display: none; ">optional</span>
+ <span class="optional">optional</span>
<span class="enum" style="display: none; ">enumerated</span>
<span id="typeTemplate">
<span style="display: none; ">
@@ -746,11 +746,11 @@ You can find more examples that use Developer Tools APIs in
<div>
<div>
<h4>Callback function</h4>
- <p>
+ <p style="display: none; ">
The callback <em>parameter</em> should specify a function
that looks like this:
</p>
- <p style="display: none; ">
+ <p>
If you specify the <em>callback</em> parameter, it should
specify a function that looks like this:
</p>
@@ -857,7 +857,7 @@ You can find more examples that use Developer Tools APIs in
<dd class="todo" style="display: none; ">
Undocumented.
</dd>
- <dd>Set if an exception was caught while evaluating the expression</dd>
+ <dd>Set if an exception was caught while evaluating the expression.</dd>
<dd style="display: none; ">
This parameter was added in version
<b><span></span></b>.
@@ -955,7 +955,7 @@ You can find more examples that use Developer Tools APIs in
<dd class="todo" style="display: none; ">
Undocumented.
</dd>
- <dd>A function that is called upon request completion.</dd>
+ <dd>A function that receives the list of resources when the request completes.</dd>
<dd style="display: none; ">
This parameter was added in version
<b><span></span></b>.
@@ -1722,7 +1722,7 @@ You can find more examples that use Developer Tools APIs in
<dd class="todo" style="display: none; ">
Undocumented.
</dd>
- <dd>A resource within the inspected page, such as a document, a script or an image.</dd>
+ <dd>A resource within the inspected page, such as a document, a script, or an image.</dd>
<dd style="display: none; ">
This parameter was added in version
<b><span></span></b>.
@@ -1862,7 +1862,7 @@ You can find more examples that use Developer Tools APIs in
<dd class="todo" style="display: none; ">
Undocumented.
</dd>
- <dd>A function that is called upon request completion.</dd>
+ <dd>A function that receives resource content when the request completes.</dd>
<dd style="display: none; ">
This parameter was added in version
<b><span></span></b>.
@@ -1915,7 +1915,7 @@ You can find more examples that use Developer Tools APIs in
<div>
<div>
<h4>Callback function</h4>
- <p>
+ <p style="">
The callback <em>parameter</em> should specify a function
that looks like this:
</p>
@@ -2085,7 +2085,7 @@ You can find more examples that use Developer Tools APIs in
<!-- Note: intentionally longer 80 columns -->
<span>resource.setContent</span>(<span class="null"><span style="display: none; ">, </span><span>string</span>
<var><span>content</span></var></span><span class="null"><span style="">, </span><span>boolean</span>
- <var><span>commit</span></var></span><span class="null"><span style="">, </span><span>function</span>
+ <var><span>commit</span></var></span><span class="optional"><span style="">, </span><span>function</span>
<var><span>callback</span></var></span>)</div>
<div class="description">
@@ -2194,7 +2194,7 @@ You can find more examples that use Developer Tools APIs in
<dd class="todo" style="display: none; ">
Undocumented.
</dd>
- <dd>True if the user has finished editing the resource and the new content of the resource should be persisted, false if this is a minor change sent in progress of the user editing the resource.</dd>
+ <dd>True if the user has finished editing the resource, and the new content of the resource should be persisted; false if this is a minor change sent in progress of the user editing the resource.</dd>
<dd style="display: none; ">
This parameter was added in version
<b><span></span></b>.
@@ -2240,7 +2240,7 @@ You can find more examples that use Developer Tools APIs in
<!-- TYPE -->
<div style="display:inline">
(
- <span class="optional" style="display: none; ">optional</span>
+ <span class="optional" style="">optional</span>
<span class="enum" style="display: none; ">enumerated</span>
<span id="typeTemplate">
<span style="display: none; ">
@@ -2315,11 +2315,11 @@ You can find more examples that use Developer Tools APIs in
<div>
<div>
<h4>Callback function</h4>
- <p>
+ <p style="display: none; ">
The callback <em>parameter</em> should specify a function
that looks like this:
</p>
- <p style="display: none; ">
+ <p style="">
If you specify the <em>callback</em> parameter, it should
specify a function that looks like this:
</p>
@@ -2369,7 +2369,7 @@ You can find more examples that use Developer Tools APIs in
<dd class="todo" style="display: none; ">
Undocumented.
</dd>
- <dd>Set to undefined if the operation completed successfully, describes error otherwise.</dd>
+ <dd>Set to undefined if the resource content was set successfully; describes error otherwise.</dd>
<dd style="display: none; ">
This parameter was added in version
<b><span></span></b>.

Powered by Google App Engine
This is Rietveld 408576698