summaryrefslogtreecommitdiffstats
path: root/chrome/common
diff options
context:
space:
mode:
authorrafaelw@chromium.org <rafaelw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-12-03 19:38:17 +0000
committerrafaelw@chromium.org <rafaelw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-12-03 19:38:17 +0000
commit128760848eb252751893719a0789e3122a62109f (patch)
treeed59de02d2f851b7fec577773f6fc222b0c26c7a /chrome/common
parent0c73994bb85ce288a7fb1d86009677ecb5cb1da8 (diff)
downloadchromium_src-128760848eb252751893719a0789e3122a62109f.zip
chromium_src-128760848eb252751893719a0789e3122a62109f.tar.gz
chromium_src-128760848eb252751893719a0789e3122a62109f.tar.bz2
Extension Doc Changes (no building or testable changes)
This includes three minor doc changes. (1) Conditional text for description of callback based on whether it is optional -- to be less confusing. (2) Setting the page title to "" from the static pageData-title no longer shows a leading " - ". (C) Allows for a page to specify whether it shows the sideNav (and index.html declines to do so). TBR=kathyw,aa Review URL: http://codereview.chromium.org/460039 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@33705 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common')
-rw-r--r--chrome/common/extensions/docs/api_index.html12
-rw-r--r--chrome/common/extensions/docs/api_other.html12
-rw-r--r--chrome/common/extensions/docs/autoupdate.html12
-rw-r--r--chrome/common/extensions/docs/background_pages.html12
-rw-r--r--chrome/common/extensions/docs/bookmarks.html76
-rw-r--r--chrome/common/extensions/docs/browserAction.html36
-rw-r--r--chrome/common/extensions/docs/content_scripts.html12
-rwxr-xr-xchrome/common/extensions/docs/css/ApiRefStyles.css13
-rw-r--r--chrome/common/extensions/docs/devguide.html12
-rw-r--r--chrome/common/extensions/docs/devtools.html12
-rw-r--r--chrome/common/extensions/docs/docs.html12
-rw-r--r--chrome/common/extensions/docs/events.html12
-rw-r--r--chrome/common/extensions/docs/extension.html60
-rw-r--r--chrome/common/extensions/docs/faq.html12
-rw-r--r--chrome/common/extensions/docs/getstarted.html12
-rw-r--r--chrome/common/extensions/docs/hosting.html12
-rw-r--r--chrome/common/extensions/docs/i18n.html20
-rw-r--r--chrome/common/extensions/docs/index.html21
-rwxr-xr-xchrome/common/extensions/docs/js/api_page_generator.js18
-rw-r--r--chrome/common/extensions/docs/manifest.html12
-rw-r--r--chrome/common/extensions/docs/match_patterns.html12
-rw-r--r--chrome/common/extensions/docs/messaging.html12
-rw-r--r--chrome/common/extensions/docs/npapi.html12
-rw-r--r--chrome/common/extensions/docs/options.html12
-rw-r--r--chrome/common/extensions/docs/override.html12
-rw-r--r--chrome/common/extensions/docs/overview.html12
-rw-r--r--chrome/common/extensions/docs/packaging.html12
-rw-r--r--chrome/common/extensions/docs/pageAction.html36
-rw-r--r--chrome/common/extensions/docs/samples.html12
-rw-r--r--chrome/common/extensions/docs/static/index.html3
-rw-r--r--chrome/common/extensions/docs/tabs.html108
-rw-r--r--chrome/common/extensions/docs/template/api_template.html14
-rw-r--r--chrome/common/extensions/docs/test.html28
-rw-r--r--chrome/common/extensions/docs/themes.html12
-rw-r--r--chrome/common/extensions/docs/tut_debugging.html12
-rw-r--r--chrome/common/extensions/docs/tutorials.html12
-rw-r--r--chrome/common/extensions/docs/windows.html60
-rw-r--r--chrome/common/extensions/docs/xhr.html12
38 files changed, 563 insertions, 230 deletions
diff --git a/chrome/common/extensions/docs/api_index.html b/chrome/common/extensions/docs/api_index.html
index 2ae73da..449bf00 100644
--- a/chrome/common/extensions/docs/api_index.html
+++ b/chrome/common/extensions/docs/api_index.html
@@ -97,7 +97,7 @@
</tr>
</tbody></table>
- <div id="codesiteContent">
+ <div id="codesiteContent" class="">
<a id="gc-topnav-anchor"></a>
<div id="gc-topnav">
@@ -189,7 +189,7 @@
<div class="g-unit" id="gc-pagecontent">
<div id="pageTitle">
- <h1 class="page_title">chrome.* APIs</h1>
+ <h1 class="page_title">chrome.* APIs - Google Chrome Extensions - Google Code</h1>
</div>
<!-- TABLE OF CONTENTS -->
<div id="toc" style="display: none; ">
@@ -344,8 +344,12 @@ then you pass a callback function into the method.
<div>
<h4>Callback function</h4>
<p>
- If you specify the <em>callback</em> parameter,
- it should specify a function that looks like this:
+ The callback <em>parameter</em> should specify a function
+ that looks like this:
+ </p>
+ <p>
+ If you specify the <em>callback</em> parameter, it should
+ specify a function that looks like this:
</p>
<!-- Note: intentionally longer 80 columns -->
diff --git a/chrome/common/extensions/docs/api_other.html b/chrome/common/extensions/docs/api_other.html
index dfe2306..fbbe865 100644
--- a/chrome/common/extensions/docs/api_other.html
+++ b/chrome/common/extensions/docs/api_other.html
@@ -97,7 +97,7 @@
</tr>
</tbody></table>
- <div id="codesiteContent">
+ <div id="codesiteContent" class="">
<a id="gc-topnav-anchor"></a>
<div id="gc-topnav">
@@ -189,7 +189,7 @@
<div class="g-unit" id="gc-pagecontent">
<div id="pageTitle">
- <h1 class="page_title">Other APIs</h1>
+ <h1 class="page_title">Other APIs - Google Chrome Extensions - Google Code</h1>
</div>
<!-- TABLE OF CONTENTS -->
<div id="toc" style="display: none; ">
@@ -381,8 +381,12 @@ just as they would in any other web pages.
<div>
<h4>Callback function</h4>
<p>
- If you specify the <em>callback</em> parameter,
- it should specify a function that looks like this:
+ The callback <em>parameter</em> should specify a function
+ that looks like this:
+ </p>
+ <p>
+ If you specify the <em>callback</em> parameter, it should
+ specify a function that looks like this:
</p>
<!-- Note: intentionally longer 80 columns -->
diff --git a/chrome/common/extensions/docs/autoupdate.html b/chrome/common/extensions/docs/autoupdate.html
index 2fcbe8f..ead87a1 100644
--- a/chrome/common/extensions/docs/autoupdate.html
+++ b/chrome/common/extensions/docs/autoupdate.html
@@ -97,7 +97,7 @@
</tr>
</tbody></table>
- <div id="codesiteContent">
+ <div id="codesiteContent" class="">
<a id="gc-topnav-anchor"></a>
<div id="gc-topnav">
@@ -189,7 +189,7 @@
<div class="g-unit" id="gc-pagecontent">
<div id="pageTitle">
- <h1 class="page_title">Autoupdating</h1>
+ <h1 class="page_title">Autoupdating - Google Chrome Extensions - Google Code</h1>
</div>
<!-- TABLE OF CONTENTS -->
<div id="toc">
@@ -455,8 +455,12 @@ Another option is to use the --extensions-update-frequency command-line flag to
<div>
<h4>Callback function</h4>
<p>
- If you specify the <em>callback</em> parameter,
- it should specify a function that looks like this:
+ The callback <em>parameter</em> should specify a function
+ that looks like this:
+ </p>
+ <p>
+ If you specify the <em>callback</em> parameter, it should
+ specify a function that looks like this:
</p>
<!-- Note: intentionally longer 80 columns -->
diff --git a/chrome/common/extensions/docs/background_pages.html b/chrome/common/extensions/docs/background_pages.html
index ef9b0a9..dce8a72 100644
--- a/chrome/common/extensions/docs/background_pages.html
+++ b/chrome/common/extensions/docs/background_pages.html
@@ -97,7 +97,7 @@
</tr>
</tbody></table>
- <div id="codesiteContent">
+ <div id="codesiteContent" class="">
<a id="gc-topnav-anchor"></a>
<div id="gc-topnav">
@@ -189,7 +189,7 @@
<div class="g-unit" id="gc-pagecontent">
<div id="pageTitle">
- <h1 class="page_title">Background Pages</h1>
+ <h1 class="page_title">Background Pages - Google Chrome Extensions - Google Code</h1>
</div>
<!-- TABLE OF CONTENTS -->
<div id="toc">
@@ -448,8 +448,12 @@ from a file named <code>image.html</code>.
<div>
<h4>Callback function</h4>
<p>
- If you specify the <em>callback</em> parameter,
- it should specify a function that looks like this:
+ The callback <em>parameter</em> should specify a function
+ that looks like this:
+ </p>
+ <p>
+ If you specify the <em>callback</em> parameter, it should
+ specify a function that looks like this:
</p>
<!-- Note: intentionally longer 80 columns -->
diff --git a/chrome/common/extensions/docs/bookmarks.html b/chrome/common/extensions/docs/bookmarks.html
index fd7fd67..cb9da79 100644
--- a/chrome/common/extensions/docs/bookmarks.html
+++ b/chrome/common/extensions/docs/bookmarks.html
@@ -97,7 +97,7 @@
</tr>
</tbody></table>
- <div id="codesiteContent">
+ <div id="codesiteContent" class="">
<a id="gc-topnav-anchor"></a>
<div id="gc-topnav">
@@ -189,7 +189,7 @@
<div class="g-unit" id="gc-pagecontent">
<div id="pageTitle">
- <h1 class="page_title">Bookmarks</h1>
+ <h1 class="page_title">Bookmarks - Google Chrome Extensions - Google Code</h1>
</div>
<!-- TABLE OF CONTENTS -->
<div id="toc">
@@ -688,9 +688,13 @@ For a full example of using bookmarks, see the
<div>
<div>
<h4>Callback function</h4>
+ <p style="display: none; ">
+ The callback <em>parameter</em> should specify a function
+ that looks like this:
+ </p>
<p>
- If you specify the <em>callback</em> parameter,
- it should specify a function that looks like this:
+ If you specify the <em>callback</em> parameter, it should
+ specify a function that looks like this:
</p>
<!-- Note: intentionally longer 80 columns -->
@@ -864,8 +868,12 @@ For a full example of using bookmarks, see the
<div>
<h4>Callback function</h4>
<p>
- If you specify the <em>callback</em> parameter,
- it should specify a function that looks like this:
+ The callback <em>parameter</em> should specify a function
+ that looks like this:
+ </p>
+ <p style="display: none; ">
+ If you specify the <em>callback</em> parameter, it should
+ specify a function that looks like this:
</p>
<!-- Note: intentionally longer 80 columns -->
@@ -1051,8 +1059,12 @@ For a full example of using bookmarks, see the
<div>
<h4>Callback function</h4>
<p>
- If you specify the <em>callback</em> parameter,
- it should specify a function that looks like this:
+ The callback <em>parameter</em> should specify a function
+ that looks like this:
+ </p>
+ <p style="display: none; ">
+ If you specify the <em>callback</em> parameter, it should
+ specify a function that looks like this:
</p>
<!-- Note: intentionally longer 80 columns -->
@@ -1194,8 +1206,12 @@ For a full example of using bookmarks, see the
<div>
<h4>Callback function</h4>
<p>
- If you specify the <em>callback</em> parameter,
- it should specify a function that looks like this:
+ The callback <em>parameter</em> should specify a function
+ that looks like this:
+ </p>
+ <p style="display: none; ">
+ If you specify the <em>callback</em> parameter, it should
+ specify a function that looks like this:
</p>
<!-- Note: intentionally longer 80 columns -->
@@ -1507,9 +1523,13 @@ For a full example of using bookmarks, see the
<div>
<div>
<h4>Callback function</h4>
+ <p style="display: none; ">
+ The callback <em>parameter</em> should specify a function
+ that looks like this:
+ </p>
<p>
- If you specify the <em>callback</em> parameter,
- it should specify a function that looks like this:
+ If you specify the <em>callback</em> parameter, it should
+ specify a function that looks like this:
</p>
<!-- Note: intentionally longer 80 columns -->
@@ -1684,9 +1704,13 @@ For a full example of using bookmarks, see the
<div>
<div>
<h4>Callback function</h4>
+ <p style="display: none; ">
+ The callback <em>parameter</em> should specify a function
+ that looks like this:
+ </p>
<p>
- If you specify the <em>callback</em> parameter,
- it should specify a function that looks like this:
+ If you specify the <em>callback</em> parameter, it should
+ specify a function that looks like this:
</p>
<!-- Note: intentionally longer 80 columns -->
@@ -1821,9 +1845,13 @@ For a full example of using bookmarks, see the
<div>
<div>
<h4>Callback function</h4>
+ <p style="display: none; ">
+ The callback <em>parameter</em> should specify a function
+ that looks like this:
+ </p>
<p>
- If you specify the <em>callback</em> parameter,
- it should specify a function that looks like this:
+ If you specify the <em>callback</em> parameter, it should
+ specify a function that looks like this:
</p>
<!-- Note: intentionally longer 80 columns -->
@@ -1959,8 +1987,12 @@ For a full example of using bookmarks, see the
<div>
<h4>Callback function</h4>
<p>
- If you specify the <em>callback</em> parameter,
- it should specify a function that looks like this:
+ The callback <em>parameter</em> should specify a function
+ that looks like this:
+ </p>
+ <p style="display: none; ">
+ If you specify the <em>callback</em> parameter, it should
+ specify a function that looks like this:
</p>
<!-- Note: intentionally longer 80 columns -->
@@ -2229,9 +2261,13 @@ For a full example of using bookmarks, see the
<div>
<div>
<h4>Callback function</h4>
+ <p style="display: none; ">
+ The callback <em>parameter</em> should specify a function
+ that looks like this:
+ </p>
<p>
- If you specify the <em>callback</em> parameter,
- it should specify a function that looks like this:
+ If you specify the <em>callback</em> parameter, it should
+ specify a function that looks like this:
</p>
<!-- Note: intentionally longer 80 columns -->
diff --git a/chrome/common/extensions/docs/browserAction.html b/chrome/common/extensions/docs/browserAction.html
index f46b16c..5f4810c 100644
--- a/chrome/common/extensions/docs/browserAction.html
+++ b/chrome/common/extensions/docs/browserAction.html
@@ -97,7 +97,7 @@
</tr>
</tbody></table>
- <div id="codesiteContent">
+ <div id="codesiteContent" class="">
<a id="gc-topnav-anchor"></a>
<div id="gc-topnav">
@@ -189,7 +189,7 @@
<div class="g-unit" id="gc-pagecontent">
<div id="pageTitle">
- <h1 class="page_title">Browser Actions</h1>
+ <h1 class="page_title">Browser Actions - Google Chrome Extensions - Google Code</h1>
</div>
<!-- TABLE OF CONTENTS -->
<div id="toc">
@@ -624,8 +624,12 @@ using the <b>popup</b> field of <b>browser_action</b>.
<div>
<h4>Callback function</h4>
<p>
- If you specify the <em>callback</em> parameter,
- it should specify a function that looks like this:
+ The callback <em>parameter</em> should specify a function
+ that looks like this:
+ </p>
+ <p>
+ If you specify the <em>callback</em> parameter, it should
+ specify a function that looks like this:
</p>
<!-- Note: intentionally longer 80 columns -->
@@ -796,8 +800,12 @@ using the <b>popup</b> field of <b>browser_action</b>.
<div>
<h4>Callback function</h4>
<p>
- If you specify the <em>callback</em> parameter,
- it should specify a function that looks like this:
+ The callback <em>parameter</em> should specify a function
+ that looks like this:
+ </p>
+ <p>
+ If you specify the <em>callback</em> parameter, it should
+ specify a function that looks like this:
</p>
<!-- Note: intentionally longer 80 columns -->
@@ -1009,8 +1017,12 @@ using the <b>popup</b> field of <b>browser_action</b>.
<div>
<h4>Callback function</h4>
<p>
- If you specify the <em>callback</em> parameter,
- it should specify a function that looks like this:
+ The callback <em>parameter</em> should specify a function
+ that looks like this:
+ </p>
+ <p>
+ If you specify the <em>callback</em> parameter, it should
+ specify a function that looks like this:
</p>
<!-- Note: intentionally longer 80 columns -->
@@ -1181,8 +1193,12 @@ using the <b>popup</b> field of <b>browser_action</b>.
<div>
<h4>Callback function</h4>
<p>
- If you specify the <em>callback</em> parameter,
- it should specify a function that looks like this:
+ The callback <em>parameter</em> should specify a function
+ that looks like this:
+ </p>
+ <p>
+ If you specify the <em>callback</em> parameter, it should
+ specify a function that looks like this:
</p>
<!-- Note: intentionally longer 80 columns -->
diff --git a/chrome/common/extensions/docs/content_scripts.html b/chrome/common/extensions/docs/content_scripts.html
index f975bc4..554e12c 100644
--- a/chrome/common/extensions/docs/content_scripts.html
+++ b/chrome/common/extensions/docs/content_scripts.html
@@ -97,7 +97,7 @@
</tr>
</tbody></table>
- <div id="codesiteContent">
+ <div id="codesiteContent" class="">
<a id="gc-topnav-anchor"></a>
<div id="gc-topnav">
@@ -189,7 +189,7 @@
<div class="g-unit" id="gc-pagecontent">
<div id="pageTitle">
- <h1 class="page_title">Content Scripts</h1>
+ <h1 class="page_title">Content Scripts - Google Chrome Extensions - Google Code</h1>
</div>
<!-- TABLE OF CONTENTS -->
<div id="toc">
@@ -607,8 +607,12 @@ document.getElementById("someImage").src = imgURL;
<div>
<h4>Callback function</h4>
<p>
- If you specify the <em>callback</em> parameter,
- it should specify a function that looks like this:
+ The callback <em>parameter</em> should specify a function
+ that looks like this:
+ </p>
+ <p>
+ If you specify the <em>callback</em> parameter, it should
+ specify a function that looks like this:
</p>
<!-- Note: intentionally longer 80 columns -->
diff --git a/chrome/common/extensions/docs/css/ApiRefStyles.css b/chrome/common/extensions/docs/css/ApiRefStyles.css
index b36dd8d..eefb206 100755
--- a/chrome/common/extensions/docs/css/ApiRefStyles.css
+++ b/chrome/common/extensions/docs/css/ApiRefStyles.css
@@ -1326,3 +1326,16 @@ table.noborders td {
border:none;
padding:6px 12px 6px 0px
}
+
+#codesiteContent.hideSideNav #gc-pagecontent {
+ padding-left:24px;
+ border-left:0px;
+}
+
+#codesiteContent.hideSideNav .g-tpl-170 .g-unit {
+ display:block;
+ margin:0 0 0 0px;
+ width:auto;
+ float:none
+}
+
diff --git a/chrome/common/extensions/docs/devguide.html b/chrome/common/extensions/docs/devguide.html
index 6413831..4998c3c 100644
--- a/chrome/common/extensions/docs/devguide.html
+++ b/chrome/common/extensions/docs/devguide.html
@@ -97,7 +97,7 @@
</tr>
</tbody></table>
- <div id="codesiteContent">
+ <div id="codesiteContent" class="">
<a id="gc-topnav-anchor"></a>
<div id="gc-topnav">
@@ -189,7 +189,7 @@
<div class="g-unit" id="gc-pagecontent">
<div id="pageTitle">
- <h1 class="page_title">Developer's Guide</h1>
+ <h1 class="page_title">Developer's Guide - Google Chrome Extensions - Google Code</h1>
</div>
<!-- TABLE OF CONTENTS -->
<div id="toc" style="display: none; ">
@@ -428,8 +428,12 @@ and <a href="overview.html">Overview</a>.
<div>
<h4>Callback function</h4>
<p>
- If you specify the <em>callback</em> parameter,
- it should specify a function that looks like this:
+ The callback <em>parameter</em> should specify a function
+ that looks like this:
+ </p>
+ <p>
+ If you specify the <em>callback</em> parameter, it should
+ specify a function that looks like this:
</p>
<!-- Note: intentionally longer 80 columns -->
diff --git a/chrome/common/extensions/docs/devtools.html b/chrome/common/extensions/docs/devtools.html
index 5311552..eb2ec0e 100644
--- a/chrome/common/extensions/docs/devtools.html
+++ b/chrome/common/extensions/docs/devtools.html
@@ -97,7 +97,7 @@
</tr>
</tbody></table>
- <div id="codesiteContent">
+ <div id="codesiteContent" class="">
<a id="gc-topnav-anchor"></a>
<div id="gc-topnav">
@@ -189,7 +189,7 @@
<div class="g-unit" id="gc-pagecontent">
<div id="pageTitle">
- <h1 class="page_title">chrome.devtools</h1>
+ <h1 class="page_title">chrome.devtools - Google Chrome Extensions - Google Code</h1>
</div>
<!-- TABLE OF CONTENTS -->
<div id="toc">
@@ -316,8 +316,12 @@
<div>
<h4>Callback function</h4>
<p>
- If you specify the <em>callback</em> parameter,
- it should specify a function that looks like this:
+ The callback <em>parameter</em> should specify a function
+ that looks like this:
+ </p>
+ <p>
+ If you specify the <em>callback</em> parameter, it should
+ specify a function that looks like this:
</p>
<!-- Note: intentionally longer 80 columns -->
diff --git a/chrome/common/extensions/docs/docs.html b/chrome/common/extensions/docs/docs.html
index 457b29e..5cd9f31 100644
--- a/chrome/common/extensions/docs/docs.html
+++ b/chrome/common/extensions/docs/docs.html
@@ -97,7 +97,7 @@
</tr>
</tbody></table>
- <div id="codesiteContent">
+ <div id="codesiteContent" class="">
<a id="gc-topnav-anchor"></a>
<div id="gc-topnav">
@@ -189,7 +189,7 @@
<div class="g-unit" id="gc-pagecontent">
<div id="pageTitle">
- <h1 class="page_title">Hello There!</h1>
+ <h1 class="page_title">Hello There! - Google Chrome Extensions - Google Code</h1>
</div>
<!-- TABLE OF CONTENTS -->
<div id="toc" style="display: none; ">
@@ -449,8 +449,12 @@ The following table lists the doc locations and explains how they differ.
<div>
<h4>Callback function</h4>
<p>
- If you specify the <em>callback</em> parameter,
- it should specify a function that looks like this:
+ The callback <em>parameter</em> should specify a function
+ that looks like this:
+ </p>
+ <p>
+ If you specify the <em>callback</em> parameter, it should
+ specify a function that looks like this:
</p>
<!-- Note: intentionally longer 80 columns -->
diff --git a/chrome/common/extensions/docs/events.html b/chrome/common/extensions/docs/events.html
index 1da72ae..1de9a08 100644
--- a/chrome/common/extensions/docs/events.html
+++ b/chrome/common/extensions/docs/events.html
@@ -97,7 +97,7 @@
</tr>
</tbody></table>
- <div id="codesiteContent">
+ <div id="codesiteContent" class="">
<a id="gc-topnav-anchor"></a>
<div id="gc-topnav">
@@ -189,7 +189,7 @@
<div class="g-unit" id="gc-pagecontent">
<div id="pageTitle">
- <h1 class="page_title">Events</h1>
+ <h1 class="page_title">Events - Google Chrome Extensions - Google Code</h1>
</div>
<!-- TABLE OF CONTENTS -->
<div id="toc" style="display: none; ">
@@ -362,8 +362,12 @@ bool hasListener(function callback(...))
<div>
<h4>Callback function</h4>
<p>
- If you specify the <em>callback</em> parameter,
- it should specify a function that looks like this:
+ The callback <em>parameter</em> should specify a function
+ that looks like this:
+ </p>
+ <p>
+ If you specify the <em>callback</em> parameter, it should
+ specify a function that looks like this:
</p>
<!-- Note: intentionally longer 80 columns -->
diff --git a/chrome/common/extensions/docs/extension.html b/chrome/common/extensions/docs/extension.html
index f1c05ec..f68dfe7 100644
--- a/chrome/common/extensions/docs/extension.html
+++ b/chrome/common/extensions/docs/extension.html
@@ -97,7 +97,7 @@
</tr>
</tbody></table>
- <div id="codesiteContent">
+ <div id="codesiteContent" class="">
<a id="gc-topnav-anchor"></a>
<div id="gc-topnav">
@@ -189,7 +189,7 @@
<div class="g-unit" id="gc-pagecontent">
<div id="pageTitle">
- <h1 class="page_title">chrome.extension</h1>
+ <h1 class="page_title">chrome.extension - Google Chrome Extensions - Google Code</h1>
</div>
<!-- TABLE OF CONTENTS -->
<div id="toc">
@@ -605,8 +605,12 @@ For details, see
<div>
<h4>Callback function</h4>
<p>
- If you specify the <em>callback</em> parameter,
- it should specify a function that looks like this:
+ The callback <em>parameter</em> should specify a function
+ that looks like this:
+ </p>
+ <p>
+ If you specify the <em>callback</em> parameter, it should
+ specify a function that looks like this:
</p>
<!-- Note: intentionally longer 80 columns -->
@@ -698,8 +702,12 @@ For details, see
<div>
<h4>Callback function</h4>
<p>
- If you specify the <em>callback</em> parameter,
- it should specify a function that looks like this:
+ The callback <em>parameter</em> should specify a function
+ that looks like this:
+ </p>
+ <p>
+ If you specify the <em>callback</em> parameter, it should
+ specify a function that looks like this:
</p>
<!-- Note: intentionally longer 80 columns -->
@@ -839,8 +847,12 @@ For details, see
<div>
<h4>Callback function</h4>
<p>
- If you specify the <em>callback</em> parameter,
- it should specify a function that looks like this:
+ The callback <em>parameter</em> should specify a function
+ that looks like this:
+ </p>
+ <p>
+ If you specify the <em>callback</em> parameter, it should
+ specify a function that looks like this:
</p>
<!-- Note: intentionally longer 80 columns -->
@@ -894,8 +906,12 @@ For details, see
<div>
<h4>Callback function</h4>
<p>
- If you specify the <em>callback</em> parameter,
- it should specify a function that looks like this:
+ The callback <em>parameter</em> should specify a function
+ that looks like this:
+ </p>
+ <p>
+ If you specify the <em>callback</em> parameter, it should
+ specify a function that looks like this:
</p>
<!-- Note: intentionally longer 80 columns -->
@@ -1023,8 +1039,12 @@ For details, see
<div>
<h4>Callback function</h4>
<p>
- If you specify the <em>callback</em> parameter,
- it should specify a function that looks like this:
+ The callback <em>parameter</em> should specify a function
+ that looks like this:
+ </p>
+ <p>
+ If you specify the <em>callback</em> parameter, it should
+ specify a function that looks like this:
</p>
<!-- Note: intentionally longer 80 columns -->
@@ -1124,8 +1144,12 @@ For details, see
<div>
<h4>Callback function</h4>
<p>
- If you specify the <em>callback</em> parameter,
- it should specify a function that looks like this:
+ The callback <em>parameter</em> should specify a function
+ that looks like this:
+ </p>
+ <p>
+ If you specify the <em>callback</em> parameter, it should
+ specify a function that looks like this:
</p>
<!-- Note: intentionally longer 80 columns -->
@@ -1302,9 +1326,13 @@ For details, see
<div>
<div>
<h4>Callback function</h4>
+ <p style="display: none; ">
+ The callback <em>parameter</em> should specify a function
+ that looks like this:
+ </p>
<p>
- If you specify the <em>callback</em> parameter,
- it should specify a function that looks like this:
+ If you specify the <em>callback</em> parameter, it should
+ specify a function that looks like this:
</p>
<!-- Note: intentionally longer 80 columns -->
diff --git a/chrome/common/extensions/docs/faq.html b/chrome/common/extensions/docs/faq.html
index 97ceb05..de9bfbb 100644
--- a/chrome/common/extensions/docs/faq.html
+++ b/chrome/common/extensions/docs/faq.html
@@ -97,7 +97,7 @@
</tr>
</tbody></table>
- <div id="codesiteContent">
+ <div id="codesiteContent" class="">
<a id="gc-topnav-anchor"></a>
<div id="gc-topnav">
@@ -189,7 +189,7 @@
<div class="g-unit" id="gc-pagecontent">
<div id="pageTitle">
- <h1 class="page_title">FAQ</h1>
+ <h1 class="page_title">FAQ - Google Chrome Extensions - Google Code</h1>
</div>
<!-- TABLE OF CONTENTS -->
<div id="toc" style="display: none; ">
@@ -325,8 +325,12 @@ This page will give answers to frequently asked questions.
<div>
<h4>Callback function</h4>
<p>
- If you specify the <em>callback</em> parameter,
- it should specify a function that looks like this:
+ The callback <em>parameter</em> should specify a function
+ that looks like this:
+ </p>
+ <p>
+ If you specify the <em>callback</em> parameter, it should
+ specify a function that looks like this:
</p>
<!-- Note: intentionally longer 80 columns -->
diff --git a/chrome/common/extensions/docs/getstarted.html b/chrome/common/extensions/docs/getstarted.html
index f45a05f..fdfc133 100644
--- a/chrome/common/extensions/docs/getstarted.html
+++ b/chrome/common/extensions/docs/getstarted.html
@@ -97,7 +97,7 @@
</tr>
</tbody></table>
- <div id="codesiteContent">
+ <div id="codesiteContent" class="">
<a id="gc-topnav-anchor"></a>
<div id="gc-topnav">
@@ -189,7 +189,7 @@
<div class="g-unit" id="gc-pagecontent">
<div id="pageTitle">
- <h1 class="page_title">Tutorial: Getting Started (Hello, World!)</h1>
+ <h1 class="page_title">Tutorial: Getting Started (Hello, World!) - Google Chrome Extensions - Google Code</h1>
</div>
<!-- TABLE OF CONTENTS -->
<div id="toc">
@@ -499,8 +499,12 @@ Here are some suggestions for what to do next:
<div>
<h4>Callback function</h4>
<p>
- If you specify the <em>callback</em> parameter,
- it should specify a function that looks like this:
+ The callback <em>parameter</em> should specify a function
+ that looks like this:
+ </p>
+ <p>
+ If you specify the <em>callback</em> parameter, it should
+ specify a function that looks like this:
</p>
<!-- Note: intentionally longer 80 columns -->
diff --git a/chrome/common/extensions/docs/hosting.html b/chrome/common/extensions/docs/hosting.html
index 8bc4bbd..89f8292 100644
--- a/chrome/common/extensions/docs/hosting.html
+++ b/chrome/common/extensions/docs/hosting.html
@@ -97,7 +97,7 @@
</tr>
</tbody></table>
- <div id="codesiteContent">
+ <div id="codesiteContent" class="">
<a id="gc-topnav-anchor"></a>
<div id="gc-topnav">
@@ -189,7 +189,7 @@
<div class="g-unit" id="gc-pagecontent">
<div id="pageTitle">
- <h1 class="page_title">Hosting</h1>
+ <h1 class="page_title">Hosting - Google Chrome Extensions - Google Code</h1>
</div>
<!-- TABLE OF CONTENTS -->
<div id="toc" style="display: none; ">
@@ -378,8 +378,12 @@ or try hosting the extension at another server.
<div>
<h4>Callback function</h4>
<p>
- If you specify the <em>callback</em> parameter,
- it should specify a function that looks like this:
+ The callback <em>parameter</em> should specify a function
+ that looks like this:
+ </p>
+ <p>
+ If you specify the <em>callback</em> parameter, it should
+ specify a function that looks like this:
</p>
<!-- Note: intentionally longer 80 columns -->
diff --git a/chrome/common/extensions/docs/i18n.html b/chrome/common/extensions/docs/i18n.html
index 229b829..0926be8 100644
--- a/chrome/common/extensions/docs/i18n.html
+++ b/chrome/common/extensions/docs/i18n.html
@@ -97,7 +97,7 @@
</tr>
</tbody></table>
- <div id="codesiteContent">
+ <div id="codesiteContent" class="">
<a id="gc-topnav-anchor"></a>
<div id="gc-topnav">
@@ -189,7 +189,7 @@
<div class="g-unit" id="gc-pagecontent">
<div id="pageTitle">
- <h1 class="page_title">i18n</h1>
+ <h1 class="page_title">i18n - Google Chrome Extensions - Google Code</h1>
</div>
<!-- TABLE OF CONTENTS -->
<div id="toc">
@@ -396,8 +396,12 @@ function getMessage() {
<div>
<h4>Callback function</h4>
<p>
- If you specify the <em>callback</em> parameter,
- it should specify a function that looks like this:
+ The callback <em>parameter</em> should specify a function
+ that looks like this:
+ </p>
+ <p style="display: none; ">
+ If you specify the <em>callback</em> parameter, it should
+ specify a function that looks like this:
</p>
<!-- Note: intentionally longer 80 columns -->
@@ -499,8 +503,12 @@ function getMessage() {
<div>
<h4>Callback function</h4>
<p>
- If you specify the <em>callback</em> parameter,
- it should specify a function that looks like this:
+ The callback <em>parameter</em> should specify a function
+ that looks like this:
+ </p>
+ <p>
+ If you specify the <em>callback</em> parameter, it should
+ specify a function that looks like this:
</p>
<!-- Note: intentionally longer 80 columns -->
diff --git a/chrome/common/extensions/docs/index.html b/chrome/common/extensions/docs/index.html
index 0ebd80b..d55301d 100644
--- a/chrome/common/extensions/docs/index.html
+++ b/chrome/common/extensions/docs/index.html
@@ -15,7 +15,7 @@
</script>
<script type="text/javascript" src="js/api_page_generator.js"></script>
<script type="text/javascript" src="js/bootstrap.js"></script>
- <title>Developer Documentation - Google Chrome Extensions - Google Code</title></head><body> <div id="gc-container" class="labs">
+ <title>Google Chrome Extensions - Google Code</title></head><body> <div id="gc-container" class="labs">
<!-- SUBTEMPLATES: DO NOT MOVE FROM THIS LOCATION -->
<!-- In particular, sub-templates that recurse, must be used by allowing
jstemplate to make a copy of the template in this section which
@@ -97,7 +97,7 @@
</tr>
</tbody></table>
- <div id="codesiteContent">
+ <div id="codesiteContent" class="hideSideNav">
<a id="gc-topnav-anchor"></a>
<div id="gc-topnav">
@@ -125,7 +125,7 @@
<div class="g-section g-tpl-170">
<!-- SIDENAV -->
- <div class="g-unit g-first" id="gc-toc">
+ <div class="g-unit g-first" id="gc-toc" style="display: none; ">
<ul>
<li><a href="getstarted.html">Getting Started</a></li>
<li><a href="overview.html">Overview</a></li>
@@ -189,7 +189,7 @@
<div class="g-unit" id="gc-pagecontent">
<div id="pageTitle">
- <h1 class="page_title">Developer Documentation</h1>
+ <h1 class="page_title">Google Chrome Extensions - Google Code</h1>
</div>
<!-- TABLE OF CONTENTS -->
<div id="toc" style="display: none; ">
@@ -247,7 +247,10 @@
<!-- /TABLE OF CONTENTS -->
<!-- STATIC CONTENT PLACEHOLDER -->
- <div id="static"><style>
+ <div id="static"><div id="pageData-title" class="pageData"></div>
+<div id="pageData-showSideNav" class="pageData">false</div>
+
+<style>
#pics {
margin:1em;
border:none;
@@ -409,8 +412,12 @@ Also check out the discussion group:
<div>
<h4>Callback function</h4>
<p>
- If you specify the <em>callback</em> parameter,
- it should specify a function that looks like this:
+ The callback <em>parameter</em> should specify a function
+ that looks like this:
+ </p>
+ <p>
+ If you specify the <em>callback</em> parameter, it should
+ specify a function that looks like this:
</p>
<!-- Note: intentionally longer 80 columns -->
diff --git a/chrome/common/extensions/docs/js/api_page_generator.js b/chrome/common/extensions/docs/js/api_page_generator.js
index 310ea64..c493842 100755
--- a/chrome/common/extensions/docs/js/api_page_generator.js
+++ b/chrome/common/extensions/docs/js/api_page_generator.js
@@ -189,7 +189,7 @@ function renderTemplate() {
selectCurrentPageOnLeftNav();
- document.title = getPageTitle() + " - Google Chrome Extensions - Google Code";
+ document.title = getPageTitle();
// Show
if (window.postRender)
window.postRender();
@@ -283,6 +283,10 @@ function showPageTOC() {
return module || getDataFromPageHTML('pageData-showTOC');
}
+function showSideNav() {
+ return getDataFromPageHTML("pageData-showSideNav") != "false";
+}
+
function getStaticTOC() {
var staticHNodes = evalXPathFromId(".//h2|h3", "static");
var retval = [];
@@ -314,9 +318,15 @@ function getTypeRefPage(type) {
}
function getPageTitle() {
- return getDataFromPageHTML("pageData-title") ||
- apiModuleTitle ||
- pageName;
+ var pageTitleSuffix = "Google Chrome Extensions - Google Code";
+ var pageDataTitle = getDataFromPageHTML("pageData-title");
+ // Allows an emptry string to be set as the title from pageData.
+ if (pageDataTitle == "") {
+ return pageTitleSuffix;
+ }
+
+ return (pageDataTitle || apiModuleTitle || pageName) +
+ " - " + pageTitleSuffix;
}
function getModuleName() {
diff --git a/chrome/common/extensions/docs/manifest.html b/chrome/common/extensions/docs/manifest.html
index 72d6c82..527a253 100644
--- a/chrome/common/extensions/docs/manifest.html
+++ b/chrome/common/extensions/docs/manifest.html
@@ -97,7 +97,7 @@
</tr>
</tbody></table>
- <div id="codesiteContent">
+ <div id="codesiteContent" class="">
<a id="gc-topnav-anchor"></a>
<div id="gc-topnav">
@@ -189,7 +189,7 @@
<div class="g-unit" id="gc-pagecontent">
<div id="pageTitle">
- <h1 class="page_title">Formats: Manifest Files</h1>
+ <h1 class="page_title">Formats: Manifest Files - Google Chrome Extensions - Google Code</h1>
</div>
<!-- TABLE OF CONTENTS -->
<div id="toc">
@@ -519,8 +519,12 @@ For more information, see
<div>
<h4>Callback function</h4>
<p>
- If you specify the <em>callback</em> parameter,
- it should specify a function that looks like this:
+ The callback <em>parameter</em> should specify a function
+ that looks like this:
+ </p>
+ <p>
+ If you specify the <em>callback</em> parameter, it should
+ specify a function that looks like this:
</p>
<!-- Note: intentionally longer 80 columns -->
diff --git a/chrome/common/extensions/docs/match_patterns.html b/chrome/common/extensions/docs/match_patterns.html
index 2460784..a443fa6 100644
--- a/chrome/common/extensions/docs/match_patterns.html
+++ b/chrome/common/extensions/docs/match_patterns.html
@@ -97,7 +97,7 @@
</tr>
</tbody></table>
- <div id="codesiteContent">
+ <div id="codesiteContent" class="">
<a id="gc-topnav-anchor"></a>
<div id="gc-topnav">
@@ -189,7 +189,7 @@
<div class="g-unit" id="gc-pagecontent">
<div id="pageTitle">
- <h1 class="page_title">Match Patterns</h1>
+ <h1 class="page_title">Match Patterns - Google Chrome Extensions - Google Code</h1>
</div>
<!-- TABLE OF CONTENTS -->
<div id="toc" style="display: none; ">
@@ -506,8 +506,12 @@ Here are some examples of <em>invalid</em> pattern matches:
<div>
<h4>Callback function</h4>
<p>
- If you specify the <em>callback</em> parameter,
- it should specify a function that looks like this:
+ The callback <em>parameter</em> should specify a function
+ that looks like this:
+ </p>
+ <p>
+ If you specify the <em>callback</em> parameter, it should
+ specify a function that looks like this:
</p>
<!-- Note: intentionally longer 80 columns -->
diff --git a/chrome/common/extensions/docs/messaging.html b/chrome/common/extensions/docs/messaging.html
index f4908e7..96755d8 100644
--- a/chrome/common/extensions/docs/messaging.html
+++ b/chrome/common/extensions/docs/messaging.html
@@ -97,7 +97,7 @@
</tr>
</tbody></table>
- <div id="codesiteContent">
+ <div id="codesiteContent" class="">
<a id="gc-topnav-anchor"></a>
<div id="gc-topnav">
@@ -189,7 +189,7 @@
<div class="g-unit" id="gc-pagecontent">
<div id="pageTitle">
- <h1 class="page_title">Message Passing</h1>
+ <h1 class="page_title">Message Passing - Google Chrome Extensions - Google Code</h1>
</div>
<!-- TABLE OF CONTENTS -->
<div id="toc">
@@ -588,8 +588,12 @@ chrome.tabs.sendRequest(tab.id, {greeting: "hello"}, function(response) {
<div>
<h4>Callback function</h4>
<p>
- If you specify the <em>callback</em> parameter,
- it should specify a function that looks like this:
+ The callback <em>parameter</em> should specify a function
+ that looks like this:
+ </p>
+ <p>
+ If you specify the <em>callback</em> parameter, it should
+ specify a function that looks like this:
</p>
<!-- Note: intentionally longer 80 columns -->
diff --git a/chrome/common/extensions/docs/npapi.html b/chrome/common/extensions/docs/npapi.html
index 0bf33da..108dfba 100644
--- a/chrome/common/extensions/docs/npapi.html
+++ b/chrome/common/extensions/docs/npapi.html
@@ -97,7 +97,7 @@
</tr>
</tbody></table>
- <div id="codesiteContent">
+ <div id="codesiteContent" class="">
<a id="gc-topnav-anchor"></a>
<div id="gc-topnav">
@@ -189,7 +189,7 @@
<div class="g-unit" id="gc-pagecontent">
<div id="pageTitle">
- <h1 class="page_title">NPAPI Plugins</h1>
+ <h1 class="page_title">NPAPI Plugins - Google Chrome Extensions - Google Code</h1>
</div>
<!-- TABLE OF CONTENTS -->
<div id="toc" style="display: none; ">
@@ -412,8 +412,12 @@ avoid making your NPAPI plugin public whenever possible.
<div>
<h4>Callback function</h4>
<p>
- If you specify the <em>callback</em> parameter,
- it should specify a function that looks like this:
+ The callback <em>parameter</em> should specify a function
+ that looks like this:
+ </p>
+ <p>
+ If you specify the <em>callback</em> parameter, it should
+ specify a function that looks like this:
</p>
<!-- Note: intentionally longer 80 columns -->
diff --git a/chrome/common/extensions/docs/options.html b/chrome/common/extensions/docs/options.html
index 9f07a50..3d10207 100644
--- a/chrome/common/extensions/docs/options.html
+++ b/chrome/common/extensions/docs/options.html
@@ -97,7 +97,7 @@
</tr>
</tbody></table>
- <div id="codesiteContent">
+ <div id="codesiteContent" class="">
<a id="gc-topnav-anchor"></a>
<div id="gc-topnav">
@@ -189,7 +189,7 @@
<div class="g-unit" id="gc-pagecontent">
<div id="pageTitle">
- <h1 class="page_title">Options</h1>
+ <h1 class="page_title">Options - Google Chrome Extensions - Google Code</h1>
</div>
<!-- TABLE OF CONTENTS -->
<div id="toc">
@@ -406,8 +406,12 @@ Favorite Color:
<div>
<h4>Callback function</h4>
<p>
- If you specify the <em>callback</em> parameter,
- it should specify a function that looks like this:
+ The callback <em>parameter</em> should specify a function
+ that looks like this:
+ </p>
+ <p>
+ If you specify the <em>callback</em> parameter, it should
+ specify a function that looks like this:
</p>
<!-- Note: intentionally longer 80 columns -->
diff --git a/chrome/common/extensions/docs/override.html b/chrome/common/extensions/docs/override.html
index 5d83684..c32ceca 100644
--- a/chrome/common/extensions/docs/override.html
+++ b/chrome/common/extensions/docs/override.html
@@ -97,7 +97,7 @@
</tr>
</tbody></table>
- <div id="codesiteContent">
+ <div id="codesiteContent" class="">
<a id="gc-topnav-anchor"></a>
<div id="gc-topnav">
@@ -189,7 +189,7 @@
<div class="g-unit" id="gc-pagecontent">
<div id="pageTitle">
- <h1 class="page_title">Override Pages</h1>
+ <h1 class="page_title">Override Pages - Google Chrome Extensions - Google Code</h1>
</div>
<!-- TABLE OF CONTENTS -->
<div id="toc" style="display: none; ">
@@ -443,8 +443,12 @@ to implement the New Tab page.
<div>
<h4>Callback function</h4>
<p>
- If you specify the <em>callback</em> parameter,
- it should specify a function that looks like this:
+ The callback <em>parameter</em> should specify a function
+ that looks like this:
+ </p>
+ <p>
+ If you specify the <em>callback</em> parameter, it should
+ specify a function that looks like this:
</p>
<!-- Note: intentionally longer 80 columns -->
diff --git a/chrome/common/extensions/docs/overview.html b/chrome/common/extensions/docs/overview.html
index 9b16690..f921a51 100644
--- a/chrome/common/extensions/docs/overview.html
+++ b/chrome/common/extensions/docs/overview.html
@@ -97,7 +97,7 @@
</tr>
</tbody></table>
- <div id="codesiteContent">
+ <div id="codesiteContent" class="">
<a id="gc-topnav-anchor"></a>
<div id="gc-topnav">
@@ -189,7 +189,7 @@
<div class="g-unit" id="gc-pagecontent">
<div id="pageTitle">
- <h1 class="page_title">Overview</h1>
+ <h1 class="page_title">Overview - Google Chrome Extensions - Google Code</h1>
</div>
<!-- TABLE OF CONTENTS -->
<div id="toc">
@@ -651,8 +651,12 @@ Here are some ideas for where to go next:
<div>
<h4>Callback function</h4>
<p>
- If you specify the <em>callback</em> parameter,
- it should specify a function that looks like this:
+ The callback <em>parameter</em> should specify a function
+ that looks like this:
+ </p>
+ <p>
+ If you specify the <em>callback</em> parameter, it should
+ specify a function that looks like this:
</p>
<!-- Note: intentionally longer 80 columns -->
diff --git a/chrome/common/extensions/docs/packaging.html b/chrome/common/extensions/docs/packaging.html
index ad3ccbf..c76a85e 100644
--- a/chrome/common/extensions/docs/packaging.html
+++ b/chrome/common/extensions/docs/packaging.html
@@ -97,7 +97,7 @@
</tr>
</tbody></table>
- <div id="codesiteContent">
+ <div id="codesiteContent" class="">
<a id="gc-topnav-anchor"></a>
<div id="gc-topnav">
@@ -189,7 +189,7 @@
<div class="g-unit" id="gc-pagecontent">
<div id="pageTitle">
- <h1 class="page_title">Packaging</h1>
+ <h1 class="page_title">Packaging - Google Chrome Extensions - Google Code</h1>
</div>
<!-- TABLE OF CONTENTS -->
<div id="toc">
@@ -497,8 +497,12 @@ See the following page for details:
<div>
<h4>Callback function</h4>
<p>
- If you specify the <em>callback</em> parameter,
- it should specify a function that looks like this:
+ The callback <em>parameter</em> should specify a function
+ that looks like this:
+ </p>
+ <p>
+ If you specify the <em>callback</em> parameter, it should
+ specify a function that looks like this:
</p>
<!-- Note: intentionally longer 80 columns -->
diff --git a/chrome/common/extensions/docs/pageAction.html b/chrome/common/extensions/docs/pageAction.html
index 92d1971..1cc0008 100644
--- a/chrome/common/extensions/docs/pageAction.html
+++ b/chrome/common/extensions/docs/pageAction.html
@@ -97,7 +97,7 @@
</tr>
</tbody></table>
- <div id="codesiteContent">
+ <div id="codesiteContent" class="">
<a id="gc-topnav-anchor"></a>
<div id="gc-topnav">
@@ -189,7 +189,7 @@
<div class="g-unit" id="gc-pagecontent">
<div id="pageTitle">
- <h1 class="page_title">Page Actions</h1>
+ <h1 class="page_title">Page Actions - Google Chrome Extensions - Google Code</h1>
</div>
<!-- TABLE OF CONTENTS -->
<div id="toc">
@@ -472,8 +472,12 @@ follow these guidelines:</p>
<div>
<h4>Callback function</h4>
<p>
- If you specify the <em>callback</em> parameter,
- it should specify a function that looks like this:
+ The callback <em>parameter</em> should specify a function
+ that looks like this:
+ </p>
+ <p>
+ If you specify the <em>callback</em> parameter, it should
+ specify a function that looks like this:
</p>
<!-- Note: intentionally longer 80 columns -->
@@ -726,8 +730,12 @@ follow these guidelines:</p>
<div>
<h4>Callback function</h4>
<p>
- If you specify the <em>callback</em> parameter,
- it should specify a function that looks like this:
+ The callback <em>parameter</em> should specify a function
+ that looks like this:
+ </p>
+ <p>
+ If you specify the <em>callback</em> parameter, it should
+ specify a function that looks like this:
</p>
<!-- Note: intentionally longer 80 columns -->
@@ -898,8 +906,12 @@ follow these guidelines:</p>
<div>
<h4>Callback function</h4>
<p>
- If you specify the <em>callback</em> parameter,
- it should specify a function that looks like this:
+ The callback <em>parameter</em> should specify a function
+ that looks like this:
+ </p>
+ <p>
+ If you specify the <em>callback</em> parameter, it should
+ specify a function that looks like this:
</p>
<!-- Note: intentionally longer 80 columns -->
@@ -989,8 +1001,12 @@ follow these guidelines:</p>
<div>
<h4>Callback function</h4>
<p>
- If you specify the <em>callback</em> parameter,
- it should specify a function that looks like this:
+ The callback <em>parameter</em> should specify a function
+ that looks like this:
+ </p>
+ <p>
+ If you specify the <em>callback</em> parameter, it should
+ specify a function that looks like this:
</p>
<!-- Note: intentionally longer 80 columns -->
diff --git a/chrome/common/extensions/docs/samples.html b/chrome/common/extensions/docs/samples.html
index 18cfb57..07d4766 100644
--- a/chrome/common/extensions/docs/samples.html
+++ b/chrome/common/extensions/docs/samples.html
@@ -97,7 +97,7 @@
</tr>
</tbody></table>
- <div id="codesiteContent">
+ <div id="codesiteContent" class="">
<a id="gc-topnav-anchor"></a>
<div id="gc-topnav">
@@ -189,7 +189,7 @@
<div class="g-unit" id="gc-pagecontent">
<div id="pageTitle">
- <h1 class="page_title">Samples</h1>
+ <h1 class="page_title">Samples - Google Chrome Extensions - Google Code</h1>
</div>
<!-- TABLE OF CONTENTS -->
<div id="toc">
@@ -432,8 +432,12 @@ For more example code, see the
<div>
<h4>Callback function</h4>
<p>
- If you specify the <em>callback</em> parameter,
- it should specify a function that looks like this:
+ The callback <em>parameter</em> should specify a function
+ that looks like this:
+ </p>
+ <p>
+ If you specify the <em>callback</em> parameter, it should
+ specify a function that looks like this:
</p>
<!-- Note: intentionally longer 80 columns -->
diff --git a/chrome/common/extensions/docs/static/index.html b/chrome/common/extensions/docs/static/index.html
index 8563fc1..c84c271 100644
--- a/chrome/common/extensions/docs/static/index.html
+++ b/chrome/common/extensions/docs/static/index.html
@@ -1,3 +1,6 @@
+<div id="pageData-title" class="pageData"></div>
+<div id="pageData-showSideNav" class="pageData">false</div>
+
<style>
#pics {
margin:1em;
diff --git a/chrome/common/extensions/docs/tabs.html b/chrome/common/extensions/docs/tabs.html
index a53bd45..5d5e040 100644
--- a/chrome/common/extensions/docs/tabs.html
+++ b/chrome/common/extensions/docs/tabs.html
@@ -97,7 +97,7 @@
</tr>
</tbody></table>
- <div id="codesiteContent">
+ <div id="codesiteContent" class="">
<a id="gc-topnav-anchor"></a>
<div id="gc-topnav">
@@ -189,7 +189,7 @@
<div class="g-unit" id="gc-pagecontent">
<div id="pageTitle">
- <h1 class="page_title">Tabs</h1>
+ <h1 class="page_title">Tabs - Google Chrome Extensions - Google Code</h1>
</div>
<!-- TABLE OF CONTENTS -->
<div id="toc">
@@ -457,8 +457,12 @@ For example:
<div>
<h4>Callback function</h4>
<p>
- If you specify the <em>callback</em> parameter,
- it should specify a function that looks like this:
+ The callback <em>parameter</em> should specify a function
+ that looks like this:
+ </p>
+ <p style="display: none; ">
+ If you specify the <em>callback</em> parameter, it should
+ specify a function that looks like this:
</p>
<!-- Note: intentionally longer 80 columns -->
@@ -708,8 +712,12 @@ For example:
<div>
<h4>Callback function</h4>
<p>
- If you specify the <em>callback</em> parameter,
- it should specify a function that looks like this:
+ The callback <em>parameter</em> should specify a function
+ that looks like this:
+ </p>
+ <p>
+ If you specify the <em>callback</em> parameter, it should
+ specify a function that looks like this:
</p>
<!-- Note: intentionally longer 80 columns -->
@@ -1005,9 +1013,13 @@ For example:
<div>
<div>
<h4>Callback function</h4>
+ <p style="display: none; ">
+ The callback <em>parameter</em> should specify a function
+ that looks like this:
+ </p>
<p>
- If you specify the <em>callback</em> parameter,
- it should specify a function that looks like this:
+ If you specify the <em>callback</em> parameter, it should
+ specify a function that looks like this:
</p>
<!-- Note: intentionally longer 80 columns -->
@@ -1179,8 +1191,12 @@ For example:
<div>
<h4>Callback function</h4>
<p>
- If you specify the <em>callback</em> parameter,
- it should specify a function that looks like this:
+ The callback <em>parameter</em> should specify a function
+ that looks like this:
+ </p>
+ <p style="display: none; ">
+ If you specify the <em>callback</em> parameter, it should
+ specify a function that looks like this:
</p>
<!-- Note: intentionally longer 80 columns -->
@@ -1513,9 +1529,13 @@ For example:
<div>
<div>
<h4>Callback function</h4>
+ <p style="display: none; ">
+ The callback <em>parameter</em> should specify a function
+ that looks like this:
+ </p>
<p>
- If you specify the <em>callback</em> parameter,
- it should specify a function that looks like this:
+ If you specify the <em>callback</em> parameter, it should
+ specify a function that looks like this:
</p>
<!-- Note: intentionally longer 80 columns -->
@@ -1651,8 +1671,12 @@ For example:
<div>
<h4>Callback function</h4>
<p>
- If you specify the <em>callback</em> parameter,
- it should specify a function that looks like this:
+ The callback <em>parameter</em> should specify a function
+ that looks like this:
+ </p>
+ <p style="display: none; ">
+ If you specify the <em>callback</em> parameter, it should
+ specify a function that looks like this:
</p>
<!-- Note: intentionally longer 80 columns -->
@@ -1826,8 +1850,12 @@ For example:
<div>
<h4>Callback function</h4>
<p>
- If you specify the <em>callback</em> parameter,
- it should specify a function that looks like this:
+ The callback <em>parameter</em> should specify a function
+ that looks like this:
+ </p>
+ <p style="display: none; ">
+ If you specify the <em>callback</em> parameter, it should
+ specify a function that looks like this:
</p>
<!-- Note: intentionally longer 80 columns -->
@@ -2011,8 +2039,12 @@ For example:
<div>
<h4>Callback function</h4>
<p>
- If you specify the <em>callback</em> parameter,
- it should specify a function that looks like this:
+ The callback <em>parameter</em> should specify a function
+ that looks like this:
+ </p>
+ <p style="display: none; ">
+ If you specify the <em>callback</em> parameter, it should
+ specify a function that looks like this:
</p>
<!-- Note: intentionally longer 80 columns -->
@@ -2347,9 +2379,13 @@ For example:
<div>
<div>
<h4>Callback function</h4>
+ <p style="display: none; ">
+ The callback <em>parameter</em> should specify a function
+ that looks like this:
+ </p>
<p>
- If you specify the <em>callback</em> parameter,
- it should specify a function that looks like this:
+ If you specify the <em>callback</em> parameter, it should
+ specify a function that looks like this:
</p>
<!-- Note: intentionally longer 80 columns -->
@@ -2607,9 +2643,13 @@ For example:
<div>
<div>
<h4>Callback function</h4>
+ <p style="display: none; ">
+ The callback <em>parameter</em> should specify a function
+ that looks like this:
+ </p>
<p>
- If you specify the <em>callback</em> parameter,
- it should specify a function that looks like this:
+ If you specify the <em>callback</em> parameter, it should
+ specify a function that looks like this:
</p>
<!-- Note: intentionally longer 80 columns -->
@@ -2782,9 +2822,13 @@ For example:
<div>
<div>
<h4>Callback function</h4>
+ <p style="display: none; ">
+ The callback <em>parameter</em> should specify a function
+ that looks like this:
+ </p>
<p>
- If you specify the <em>callback</em> parameter,
- it should specify a function that looks like this:
+ If you specify the <em>callback</em> parameter, it should
+ specify a function that looks like this:
</p>
<!-- Note: intentionally longer 80 columns -->
@@ -2963,9 +3007,13 @@ For example:
<div>
<div>
<h4>Callback function</h4>
+ <p style="display: none; ">
+ The callback <em>parameter</em> should specify a function
+ that looks like this:
+ </p>
<p>
- If you specify the <em>callback</em> parameter,
- it should specify a function that looks like this:
+ If you specify the <em>callback</em> parameter, it should
+ specify a function that looks like this:
</p>
<!-- Note: intentionally longer 80 columns -->
@@ -3265,9 +3313,13 @@ For example:
<div>
<div>
<h4>Callback function</h4>
+ <p style="display: none; ">
+ The callback <em>parameter</em> should specify a function
+ that looks like this:
+ </p>
<p>
- If you specify the <em>callback</em> parameter,
- it should specify a function that looks like this:
+ If you specify the <em>callback</em> parameter, it should
+ specify a function that looks like this:
</p>
<!-- Note: intentionally longer 80 columns -->
diff --git a/chrome/common/extensions/docs/template/api_template.html b/chrome/common/extensions/docs/template/api_template.html
index 5ffa8ce..c6bb05c 100644
--- a/chrome/common/extensions/docs/template/api_template.html
+++ b/chrome/common/extensions/docs/template/api_template.html
@@ -84,7 +84,7 @@
</tr>
</table>
- <div id="codesiteContent">
+ <div id="codesiteContent" jsvalues=".className: showSideNav() ? '' : 'hideSideNav'">
<a id="gc-topnav-anchor"></a>
<div id="gc-topnav">
@@ -112,7 +112,7 @@
<div class="g-section g-tpl-170">
<!-- SIDENAV -->
- <div class="g-unit g-first" id="gc-toc">
+ <div class="g-unit g-first" id="gc-toc" jsdisplay="showSideNav()">
<ul>
<li><a href="getstarted.html">Getting Started</a></li>
<li><a href="overview.html">Overview</a></li>
@@ -315,9 +315,13 @@
<div jsdisplay="hasCallback(parameters)">
<div jsselect="getCallbackParameters(parameters)">
<h4>Callback function</h4>
- <p>
- If you specify the <em>callback</em> parameter,
- it should specify a function that looks like this:
+ <p jsdisplay="!$this.optional">
+ The callback <em>parameter</em> should specify a function
+ that looks like this:
+ </p>
+ <p jsdisplay="$this.optional">
+ If you specify the <em>callback</em> parameter, it should
+ specify a function that looks like this:
</p>
<!-- Note: intentionally longer 80 columns -->
diff --git a/chrome/common/extensions/docs/test.html b/chrome/common/extensions/docs/test.html
index 03918f5..d41dfad 100644
--- a/chrome/common/extensions/docs/test.html
+++ b/chrome/common/extensions/docs/test.html
@@ -97,7 +97,7 @@
</tr>
</tbody></table>
- <div id="codesiteContent">
+ <div id="codesiteContent" class="">
<a id="gc-topnav-anchor"></a>
<div id="gc-topnav">
@@ -189,7 +189,7 @@
<div class="g-unit" id="gc-pagecontent">
<div id="pageTitle">
- <h1 class="page_title">chrome.test</h1>
+ <h1 class="page_title">chrome.test - Google Chrome Extensions - Google Code</h1>
</div>
<!-- TABLE OF CONTENTS -->
<div id="toc">
@@ -358,8 +358,12 @@
<div>
<h4>Callback function</h4>
<p>
- If you specify the <em>callback</em> parameter,
- it should specify a function that looks like this:
+ The callback <em>parameter</em> should specify a function
+ that looks like this:
+ </p>
+ <p>
+ If you specify the <em>callback</em> parameter, it should
+ specify a function that looks like this:
</p>
<!-- Note: intentionally longer 80 columns -->
@@ -451,8 +455,12 @@
<div>
<h4>Callback function</h4>
<p>
- If you specify the <em>callback</em> parameter,
- it should specify a function that looks like this:
+ The callback <em>parameter</em> should specify a function
+ that looks like this:
+ </p>
+ <p>
+ If you specify the <em>callback</em> parameter, it should
+ specify a function that looks like this:
</p>
<!-- Note: intentionally longer 80 columns -->
@@ -544,8 +552,12 @@
<div>
<h4>Callback function</h4>
<p>
- If you specify the <em>callback</em> parameter,
- it should specify a function that looks like this:
+ The callback <em>parameter</em> should specify a function
+ that looks like this:
+ </p>
+ <p>
+ If you specify the <em>callback</em> parameter, it should
+ specify a function that looks like this:
</p>
<!-- Note: intentionally longer 80 columns -->
diff --git a/chrome/common/extensions/docs/themes.html b/chrome/common/extensions/docs/themes.html
index 7e20615..99ec12d 100644
--- a/chrome/common/extensions/docs/themes.html
+++ b/chrome/common/extensions/docs/themes.html
@@ -97,7 +97,7 @@
</tr>
</tbody></table>
- <div id="codesiteContent">
+ <div id="codesiteContent" class="">
<a id="gc-topnav-anchor"></a>
<div id="gc-topnav">
@@ -189,7 +189,7 @@
<div class="g-unit" id="gc-pagecontent">
<div id="pageTitle">
- <h1 class="page_title">Themes</h1>
+ <h1 class="page_title">Themes - Google Chrome Extensions - Google Code</h1>
</div>
<!-- TABLE OF CONTENTS -->
<div id="toc">
@@ -458,8 +458,12 @@ to specify <em>no change</em>.
<div>
<h4>Callback function</h4>
<p>
- If you specify the <em>callback</em> parameter,
- it should specify a function that looks like this:
+ The callback <em>parameter</em> should specify a function
+ that looks like this:
+ </p>
+ <p>
+ If you specify the <em>callback</em> parameter, it should
+ specify a function that looks like this:
</p>
<!-- Note: intentionally longer 80 columns -->
diff --git a/chrome/common/extensions/docs/tut_debugging.html b/chrome/common/extensions/docs/tut_debugging.html
index f7b23df..97177cd 100644
--- a/chrome/common/extensions/docs/tut_debugging.html
+++ b/chrome/common/extensions/docs/tut_debugging.html
@@ -97,7 +97,7 @@
</tr>
</tbody></table>
- <div id="codesiteContent">
+ <div id="codesiteContent" class="">
<a id="gc-topnav-anchor"></a>
<div id="gc-topnav">
@@ -189,7 +189,7 @@
<div class="g-unit" id="gc-pagecontent">
<div id="pageTitle">
- <h1 class="page_title">Tutorial: Debugging</h1>
+ <h1 class="page_title">Tutorial: Debugging - Google Chrome Extensions - Google Code</h1>
</div>
<!-- TABLE OF CONTENTS -->
<div id="toc">
@@ -631,8 +631,12 @@ of Getting Started.
<div>
<h4>Callback function</h4>
<p>
- If you specify the <em>callback</em> parameter,
- it should specify a function that looks like this:
+ The callback <em>parameter</em> should specify a function
+ that looks like this:
+ </p>
+ <p>
+ If you specify the <em>callback</em> parameter, it should
+ specify a function that looks like this:
</p>
<!-- Note: intentionally longer 80 columns -->
diff --git a/chrome/common/extensions/docs/tutorials.html b/chrome/common/extensions/docs/tutorials.html
index f04b44f..e1d3f45 100644
--- a/chrome/common/extensions/docs/tutorials.html
+++ b/chrome/common/extensions/docs/tutorials.html
@@ -97,7 +97,7 @@
</tr>
</tbody></table>
- <div id="codesiteContent">
+ <div id="codesiteContent" class="">
<a id="gc-topnav-anchor"></a>
<div id="gc-topnav">
@@ -189,7 +189,7 @@
<div class="g-unit" id="gc-pagecontent">
<div id="pageTitle">
- <h1 class="page_title">Tutorials</h1>
+ <h1 class="page_title">Tutorials - Google Chrome Extensions - Google Code</h1>
</div>
<!-- TABLE OF CONTENTS -->
<div id="toc" style="display: none; ">
@@ -326,8 +326,12 @@ Here's what we have, so far:
<div>
<h4>Callback function</h4>
<p>
- If you specify the <em>callback</em> parameter,
- it should specify a function that looks like this:
+ The callback <em>parameter</em> should specify a function
+ that looks like this:
+ </p>
+ <p>
+ If you specify the <em>callback</em> parameter, it should
+ specify a function that looks like this:
</p>
<!-- Note: intentionally longer 80 columns -->
diff --git a/chrome/common/extensions/docs/windows.html b/chrome/common/extensions/docs/windows.html
index 0c9900d..eafbe7a 100644
--- a/chrome/common/extensions/docs/windows.html
+++ b/chrome/common/extensions/docs/windows.html
@@ -97,7 +97,7 @@
</tr>
</tbody></table>
- <div id="codesiteContent">
+ <div id="codesiteContent" class="">
<a id="gc-topnav-anchor"></a>
<div id="gc-topnav">
@@ -189,7 +189,7 @@
<div class="g-unit" id="gc-pagecontent">
<div id="pageTitle">
- <h1 class="page_title">Windows</h1>
+ <h1 class="page_title">Windows - Google Chrome Extensions - Google Code</h1>
</div>
<!-- TABLE OF CONTENTS -->
<div id="toc">
@@ -674,9 +674,13 @@ the value of the current window falls back to the topmost window.
<div>
<div>
<h4>Callback function</h4>
+ <p style="display: none; ">
+ The callback <em>parameter</em> should specify a function
+ that looks like this:
+ </p>
<p>
- If you specify the <em>callback</em> parameter,
- it should specify a function that looks like this:
+ If you specify the <em>callback</em> parameter, it should
+ specify a function that looks like this:
</p>
<!-- Note: intentionally longer 80 columns -->
@@ -850,8 +854,12 @@ the value of the current window falls back to the topmost window.
<div>
<h4>Callback function</h4>
<p>
- If you specify the <em>callback</em> parameter,
- it should specify a function that looks like this:
+ The callback <em>parameter</em> should specify a function
+ that looks like this:
+ </p>
+ <p style="display: none; ">
+ If you specify the <em>callback</em> parameter, it should
+ specify a function that looks like this:
</p>
<!-- Note: intentionally longer 80 columns -->
@@ -1065,8 +1073,12 @@ the value of the current window falls back to the topmost window.
<div>
<h4>Callback function</h4>
<p>
- If you specify the <em>callback</em> parameter,
- it should specify a function that looks like this:
+ The callback <em>parameter</em> should specify a function
+ that looks like this:
+ </p>
+ <p style="display: none; ">
+ If you specify the <em>callback</em> parameter, it should
+ specify a function that looks like this:
</p>
<!-- Note: intentionally longer 80 columns -->
@@ -1208,8 +1220,12 @@ the value of the current window falls back to the topmost window.
<div>
<h4>Callback function</h4>
<p>
- If you specify the <em>callback</em> parameter,
- it should specify a function that looks like this:
+ The callback <em>parameter</em> should specify a function
+ that looks like this:
+ </p>
+ <p style="display: none; ">
+ If you specify the <em>callback</em> parameter, it should
+ specify a function that looks like this:
</p>
<!-- Note: intentionally longer 80 columns -->
@@ -1341,8 +1357,12 @@ the value of the current window falls back to the topmost window.
<div>
<h4>Callback function</h4>
<p>
- If you specify the <em>callback</em> parameter,
- it should specify a function that looks like this:
+ The callback <em>parameter</em> should specify a function
+ that looks like this:
+ </p>
+ <p style="display: none; ">
+ If you specify the <em>callback</em> parameter, it should
+ specify a function that looks like this:
</p>
<!-- Note: intentionally longer 80 columns -->
@@ -1517,9 +1537,13 @@ the value of the current window falls back to the topmost window.
<div>
<div>
<h4>Callback function</h4>
+ <p style="display: none; ">
+ The callback <em>parameter</em> should specify a function
+ that looks like this:
+ </p>
<p>
- If you specify the <em>callback</em> parameter,
- it should specify a function that looks like this:
+ If you specify the <em>callback</em> parameter, it should
+ specify a function that looks like this:
</p>
<!-- Note: intentionally longer 80 columns -->
@@ -1859,9 +1883,13 @@ the value of the current window falls back to the topmost window.
<div>
<div>
<h4>Callback function</h4>
+ <p style="display: none; ">
+ The callback <em>parameter</em> should specify a function
+ that looks like this:
+ </p>
<p>
- If you specify the <em>callback</em> parameter,
- it should specify a function that looks like this:
+ If you specify the <em>callback</em> parameter, it should
+ specify a function that looks like this:
</p>
<!-- Note: intentionally longer 80 columns -->
diff --git a/chrome/common/extensions/docs/xhr.html b/chrome/common/extensions/docs/xhr.html
index 56b879a..c6fe831 100644
--- a/chrome/common/extensions/docs/xhr.html
+++ b/chrome/common/extensions/docs/xhr.html
@@ -97,7 +97,7 @@
</tr>
</tbody></table>
- <div id="codesiteContent">
+ <div id="codesiteContent" class="">
<a id="gc-topnav-anchor"></a>
<div id="gc-topnav">
@@ -189,7 +189,7 @@
<div class="g-unit" id="gc-pagecontent">
<div id="pageTitle">
- <h1 class="page_title">Cross-Origin XMLHttpRequest</h1>
+ <h1 class="page_title">Cross-Origin XMLHttpRequest - Google Chrome Extensions - Google Code</h1>
</div>
<!-- TABLE OF CONTENTS -->
<div id="toc" style="display: none; ">
@@ -461,8 +461,12 @@ prefer HTTPS whenever possible.
<div>
<h4>Callback function</h4>
<p>
- If you specify the <em>callback</em> parameter,
- it should specify a function that looks like this:
+ The callback <em>parameter</em> should specify a function
+ that looks like this:
+ </p>
+ <p>
+ If you specify the <em>callback</em> parameter, it should
+ specify a function that looks like this:
</p>
<!-- Note: intentionally longer 80 columns -->