summaryrefslogtreecommitdiffstats
path: root/chrome/common/extensions
diff options
context:
space:
mode:
authorkathyw@chromium.org <kathyw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-01-27 04:58:07 +0000
committerkathyw@chromium.org <kathyw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-01-27 04:58:07 +0000
commit8db5077affc7df8eacaf477254c6d0b98329f00d (patch)
treeede077757bc6f6c2c589c4840025ddc2ca42501d /chrome/common/extensions
parente578e76354f5838edb54dc1d9457561030002123 (diff)
downloadchromium_src-8db5077affc7df8eacaf477254c6d0b98329f00d.zip
chromium_src-8db5077affc7df8eacaf477254c6d0b98329f00d.tar.gz
chromium_src-8db5077affc7df8eacaf477254c6d0b98329f00d.tar.bz2
The windows API had no pointers to examples.
Until we create a chrome.windows-specific example (see bug crbug.com/33213), we can point to the tabs example that uses chrome.windows. TEST=none BUG=none TBR=aa Review URL: http://codereview.chromium.org/552172 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@37233 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/extensions')
-rw-r--r--chrome/common/extensions/docs/static/windows.html12
-rw-r--r--chrome/common/extensions/docs/windows.html19
2 files changed, 31 insertions, 0 deletions
diff --git a/chrome/common/extensions/docs/static/windows.html b/chrome/common/extensions/docs/static/windows.html
index 19925bc..81b802f 100644
--- a/chrome/common/extensions/docs/static/windows.html
+++ b/chrome/common/extensions/docs/static/windows.html
@@ -55,4 +55,16 @@ the call, no matter what the topmost window is.
the value of the current window falls back to the topmost window.
</p>
+<h2 id="examples"> Examples </h2>
+
+<p>
+You can find an example of using the windows module in the
+<a href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/api/tabs/inspector/tabs_api.html?content-type=text/plain">tabs_api.html</a> file
+of the
+<a href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/api/tabs/inspector/">inspector</a>
+example.
+For other examples and for help in viewing the source code, see
+<a href="samples.html">Samples</a>.
+</p>
+
<!-- END AUTHORED CONTENT -->
diff --git a/chrome/common/extensions/docs/windows.html b/chrome/common/extensions/docs/windows.html
index ec412d0..919c51d 100644
--- a/chrome/common/extensions/docs/windows.html
+++ b/chrome/common/extensions/docs/windows.html
@@ -209,6 +209,13 @@
<a>h3Name</a>
</li>
</ol>
+ </li><li>
+ <a href="#examples"> Examples </a>
+ <ol>
+ <li style="display: none; ">
+ <a>h3Name</a>
+ </li>
+ </ol>
</li>
<li>
<a href="#apiReference">API reference: chrome.windows</a>
@@ -324,6 +331,18 @@ the call, no matter what the topmost window is.
the value of the current window falls back to the topmost window.
</p>
+<h2 id="examples"> Examples </h2>
+
+<p>
+You can find an example of using the windows module in the
+<a href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/api/tabs/inspector/tabs_api.html?content-type=text/plain">tabs_api.html</a> file
+of the
+<a href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/api/tabs/inspector/">inspector</a>
+example.
+For other examples and for help in viewing the source code, see
+<a href="samples.html">Samples</a>.
+</p>
+
<!-- END AUTHORED CONTENT -->
</div>