summaryrefslogtreecommitdiffstats
path: root/chrome/common/extensions/docs
diff options
context:
space:
mode:
authorarv@chromium.org <arv@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-02-28 03:46:57 +0000
committerarv@chromium.org <arv@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-02-28 03:46:57 +0000
commit06611a3e6f332ce1889d64d3b4be4730d6d83ca6 (patch)
tree0a527eef556380003f92d1062e474bfbc5a68cbf /chrome/common/extensions/docs
parentf8c648b043542e2e38a3c1ea5a21221328e1a6b9 (diff)
downloadchromium_src-06611a3e6f332ce1889d64d3b4be4730d6d83ca6.zip
chromium_src-06611a3e6f332ce1889d64d3b4be4730d6d83ca6.tar.gz
chromium_src-06611a3e6f332ce1889d64d3b4be4730d6d83ca6.tar.bz2
Rename DOMWindow to Window
BUG=None TEST=None Review URL: http://codereview.chromium.org/9466027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@123884 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/extensions/docs')
-rw-r--r--chrome/common/extensions/docs/devtools.panels.html8
-rw-r--r--chrome/common/extensions/docs/examples/extensions/benchmark/background.html2
-rw-r--r--chrome/common/extensions/docs/extension.html8
-rw-r--r--chrome/common/extensions/docs/overview.html4
-rw-r--r--chrome/common/extensions/docs/samples.json2
-rw-r--r--chrome/common/extensions/docs/static/overview.html4
6 files changed, 14 insertions, 14 deletions
diff --git a/chrome/common/extensions/docs/devtools.panels.html b/chrome/common/extensions/docs/devtools.panels.html
index b99c89a..020d859 100644
--- a/chrome/common/extensions/docs/devtools.panels.html
+++ b/chrome/common/extensions/docs/devtools.panels.html
@@ -1067,7 +1067,7 @@ You can find examples that use this API in
<h4>onShown</h4>
<div class="summary">
<!-- Note: intentionally longer 80 columns -->
- <span class="subdued">extensionPanel.</span><span>onShown</span><span class="subdued">.addListener</span>(function(<span>DOMWindow window</span>) <span class="subdued">{...}</span><span></span>);
+ <span class="subdued">extensionPanel.</span><span>onShown</span><span class="subdued">.addListener</span>(function(<span>Window window</span>) <span class="subdued">{...}</span><span></span>);
</div>
<div class="description">
<p>Fired when the user switches to the panel.</p>
@@ -1085,7 +1085,7 @@ You can find examples that use this API in
(
<span id="typeTemplate">
<span>
- <span>DOMWindow</span>
+ <span>Window</span>
</span>
</span>
)
@@ -1464,7 +1464,7 @@ You can find examples that use this API in
<h4>onShown</h4>
<div class="summary">
<!-- Note: intentionally longer 80 columns -->
- <span class="subdued">extensionSidebarPane.</span><span>onShown</span><span class="subdued">.addListener</span>(function(<span>DOMWindow window</span>) <span class="subdued">{...}</span><span></span>);
+ <span class="subdued">extensionSidebarPane.</span><span>onShown</span><span class="subdued">.addListener</span>(function(<span>Window window</span>) <span class="subdued">{...}</span><span></span>);
</div>
<div class="description">
<p>Fired when the sidebar pane becomes visible as a result of user switching to the panel that hosts it.</p>
@@ -1483,7 +1483,7 @@ You can find examples that use this API in
<span class="optional">optional</span>
<span id="typeTemplate">
<span>
- <span>DOMWindow</span>
+ <span>Window</span>
</span>
</span>
)
diff --git a/chrome/common/extensions/docs/examples/extensions/benchmark/background.html b/chrome/common/extensions/docs/examples/extensions/benchmark/background.html
index 36e4c31..6c9ef51 100644
--- a/chrome/common/extensions/docs/examples/extensions/benchmark/background.html
+++ b/chrome/common/extensions/docs/examples/extensions/benchmark/background.html
@@ -113,7 +113,7 @@ function show_options() {
}
var tabs = chrome.extension.getExtensionTabs();
if (tabs && tabs.length) {
- // To avoid "Uncaught TypeError: Object DOMWindow has no method
+ // To avoid "Uncaught TypeError: Object Window has no method
// 'setUrl' ". Sometimes tabs are not the desired extension tabs.
if (tabs[0].$suburl != undefined) {
tabs[0].setUrl(testUrl);
diff --git a/chrome/common/extensions/docs/extension.html b/chrome/common/extensions/docs/extension.html
index f66bf1a..8ba15ce 100644
--- a/chrome/common/extensions/docs/extension.html
+++ b/chrome/common/extensions/docs/extension.html
@@ -542,7 +542,7 @@ For details, see
</div><div class="apiItem">
<a name="method-getBackgroundPage"></a> <!-- method-anchor -->
<h4>getBackgroundPage</h4>
- <div class="summary"><span>DOMWindow</span>
+ <div class="summary"><span>Window</span>
<!-- Note: intentionally longer 80 columns -->
<span>chrome.extension.getBackgroundPage</span>()</div>
<div class="description">
@@ -562,7 +562,7 @@ For details, see
(
<span id="typeTemplate">
<span>
- <span>DOMWindow</span>
+ <span>Window</span>
</span>
</span>
)
@@ -656,7 +656,7 @@ For details, see
</div><div class="apiItem">
<a name="method-getViews"></a> <!-- method-anchor -->
<h4>getViews</h4>
- <div class="summary"><span>array of DOMWindow</span>
+ <div class="summary"><span>array of Window</span>
<!-- Note: intentionally longer 80 columns -->
<span>chrome.extension.getViews</span>(<span class="optional"><span>object</span>
<var><span>fetchProperties</span></var></span>)</div>
@@ -763,7 +763,7 @@ For details, see
<span>
array of <span><span>
<span>
- <span>DOMWindow</span>
+ <span>Window</span>
</span>
</span></span>
</span>
diff --git a/chrome/common/extensions/docs/overview.html b/chrome/common/extensions/docs/overview.html
index 68718f5..f66e1ad 100644
--- a/chrome/common/extensions/docs/overview.html
+++ b/chrome/common/extensions/docs/overview.html
@@ -633,11 +633,11 @@ Consider the
</p>
<p>
<code>
-DOMWindow chrome.extension.getBackgroundPage()
+Window chrome.extension.getBackgroundPage()
</code>
</p>
<p>
-This method has no callback and a return type of <code>DOMWindow</code>
+This method has no callback and a return type of <code>Window</code>
because it synchronously returns the background page
and performs no other, asynchronous work.
</p>
diff --git a/chrome/common/extensions/docs/samples.json b/chrome/common/extensions/docs/samples.json
index 4dd6b06..c9048c9 100644
--- a/chrome/common/extensions/docs/samples.json
+++ b/chrome/common/extensions/docs/samples.json
@@ -1761,7 +1761,7 @@
"util\/sorttable.js",
"util\/table2CSV.js"
],
- "source_hash": "27f84f0c3cc8f61a4b1c60bd88656f6d9e660d54",
+ "source_hash": "c570c40b63675b8a8718cb843aabab4ed0ea575a",
"zip_path": "examples\/extensions\/benchmark.zip"
},
{
diff --git a/chrome/common/extensions/docs/static/overview.html b/chrome/common/extensions/docs/static/overview.html
index 6f22946..a2aa9ec 100644
--- a/chrome/common/extensions/docs/static/overview.html
+++ b/chrome/common/extensions/docs/static/overview.html
@@ -470,12 +470,12 @@ Consider the
<p>
<code>
-DOMWindow chrome.extension.getBackgroundPage()
+Window chrome.extension.getBackgroundPage()
</code>
</p>
<p>
-This method has no callback and a return type of <code>DOMWindow</code>
+This method has no callback and a return type of <code>Window</code>
because it synchronously returns the background page
and performs no other, asynchronous work.
</p>