summaryrefslogtreecommitdiffstats
path: root/chrome/common
diff options
context:
space:
mode:
authoraa@chromium.org <aa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-12-16 07:17:08 +0000
committeraa@chromium.org <aa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-12-16 07:17:08 +0000
commit7dac442fb50930837e829fa9f374b8fc018d18fc (patch)
tree0115742e5874826609569ac3f5388ee22e4f40ab /chrome/common
parentfee416d70559cdbf6710f90d5b95f1571a3d5aaf (diff)
downloadchromium_src-7dac442fb50930837e829fa9f374b8fc018d18fc.zip
chromium_src-7dac442fb50930837e829fa9f374b8fc018d18fc.tar.gz
chromium_src-7dac442fb50930837e829fa9f374b8fc018d18fc.tar.bz2
Merge 32043 - Changes to follow the codesite L&F.
Also a bit of copyediting and cleanup. Future work: * improve these styles * make these styles work well in IE (the old styles didn't work well in IE, either) * separate the codesite styles from ours (for easier update) BUG=27434 TEST=none TBR=aa Review URL: http://codereview.chromium.org/398005 TBR=kathyw@google.com git-svn-id: svn://svn.chromium.org/chrome/branches/249/src@34658 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common')
-rw-r--r--chrome/common/extensions/docs/api_index.html116
-rw-r--r--chrome/common/extensions/docs/api_other.html116
-rw-r--r--chrome/common/extensions/docs/autoupdate.html216
-rw-r--r--chrome/common/extensions/docs/background_pages.html116
-rw-r--r--chrome/common/extensions/docs/bookmarks.html116
-rw-r--r--chrome/common/extensions/docs/browserAction.html116
-rw-r--r--chrome/common/extensions/docs/content_scripts.html116
-rwxr-xr-xchrome/common/extensions/docs/css/ApiRefStyles.css1317
-rw-r--r--chrome/common/extensions/docs/devguide.html128
-rw-r--r--chrome/common/extensions/docs/devtools.html116
-rw-r--r--chrome/common/extensions/docs/events.html116
-rw-r--r--chrome/common/extensions/docs/extension.html116
-rw-r--r--chrome/common/extensions/docs/faq.html116
-rw-r--r--chrome/common/extensions/docs/getstarted.html122
-rw-r--r--chrome/common/extensions/docs/hosting.html116
-rw-r--r--chrome/common/extensions/docs/i18n.html129
-rwxr-xr-xchrome/common/extensions/docs/images/code_labs_logo.gifbin0 -> 3783 bytes
-rw-r--r--chrome/common/extensions/docs/index.html121
-rwxr-xr-xchrome/common/extensions/docs/js/api_page_generator.js36
-rw-r--r--chrome/common/extensions/docs/manifest.html116
-rw-r--r--chrome/common/extensions/docs/match_patterns.html130
-rw-r--r--chrome/common/extensions/docs/messaging.html120
-rw-r--r--chrome/common/extensions/docs/npapi.html116
-rw-r--r--chrome/common/extensions/docs/options.html122
-rw-r--r--chrome/common/extensions/docs/override.html116
-rw-r--r--chrome/common/extensions/docs/overview.html116
-rw-r--r--chrome/common/extensions/docs/packaging.html116
-rw-r--r--chrome/common/extensions/docs/pageAction.html116
-rw-r--r--chrome/common/extensions/docs/samples.html162
-rw-r--r--chrome/common/extensions/docs/static/autoupdate.html56
-rw-r--r--chrome/common/extensions/docs/static/devguide.html12
-rw-r--r--chrome/common/extensions/docs/static/getstarted.html6
-rw-r--r--chrome/common/extensions/docs/static/i18n.html13
-rw-r--r--chrome/common/extensions/docs/static/index.html5
-rw-r--r--chrome/common/extensions/docs/static/match_patterns.html14
-rw-r--r--chrome/common/extensions/docs/static/messaging.html4
-rw-r--r--chrome/common/extensions/docs/static/options.html4
-rw-r--r--chrome/common/extensions/docs/static/samples.html18
-rw-r--r--chrome/common/extensions/docs/static/tut_debugging.html9
-rw-r--r--chrome/common/extensions/docs/tabs.html116
-rw-r--r--chrome/common/extensions/docs/template/api_template.html116
-rw-r--r--chrome/common/extensions/docs/test.html116
-rw-r--r--chrome/common/extensions/docs/themes.html116
-rw-r--r--chrome/common/extensions/docs/tut_debugging.html120
-rw-r--r--chrome/common/extensions/docs/tutorials.html116
-rw-r--r--chrome/common/extensions/docs/windows.html116
-rw-r--r--chrome/common/extensions/docs/xhr.html116
47 files changed, 4110 insertions, 1538 deletions
diff --git a/chrome/common/extensions/docs/api_index.html b/chrome/common/extensions/docs/api_index.html
index 88dadbe..700f26e 100644
--- a/chrome/common/extensions/docs/api_index.html
+++ b/chrome/common/extensions/docs/api_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>chrome.* APIs</title></head><body> <div id="container">
+ <title>chrome.* APIs</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
@@ -68,39 +68,74 @@
</div> <!-- /SUBTEMPLATES -->
- <a name="top"> </a>
+ <a id="top"></a>
+ <div id="skipto">
+ <a href="#gc-pagecontent">Skip to page content</a>
+ <a href="#gc-toc">Skip to main navigation</a>
+ </div>
<!-- API HEADER -->
- <div id="pageHeader">
- <div id="searchbox">
- <form action="http://www.google.com/cse" id="cse-search-box">
- <div>
+ <div id="gc-header">
+ <div id="logo">
+
+
+ <img src="images/code_labs_logo.gif" height="43" width="161" alt="Google Code Labs" style="border:0;">
+
+
+ </div>
+ <div id="search">
+ <div id="searchForm" class="searchForm">
+ <form action="http://www.google.com/cse" id="cse">
+ <div id="gsc-search-box">
<input type="hidden" name="cx" value="002967670403910741006:61_cvzfqtno">
<input type="hidden" name="ie" value="UTF-8">
<input type="text" name="q" size="31">
- <input type="submit" name="sa" value="Search">
+ <input class="gsc-search-button" type="submit" name="sa" value="Search">
</div>
</form>
+ <p>&nbsp;</p>
+ </div> <!-- end searchForm -->
<script type="text/javascript" src="http://www.google.com/jsapi"></script>
<script type="text/javascript">google.load("elements", "1", {packages: "transliteration"});</script>
- <script type="text/javascript" src="http://www.google.com/coop/cse/t13n?form=cse-search-box&amp;t13n_langs=en"></script>
- <script type="text/javascript" src="http://www.google.com/coop/cse/brand?form=cse-search-box&amp;lang=en"></script>
- </div>
- <div id="pageTitle">
- <h1>chrome.* APIs</h1>
- </div>
- </div> <!-- /pageHeader -->
+ <script type="text/javascript" src="http://www.google.com/coop/cse/t13n?form=cse&amp;t13n_langs=en"></script>
+ <script type="text/javascript" src="http://www.google.com/coop/cse/brand?form=cse&amp;lang=en"></script>
+ </div> <!-- end search -->
+ </div> <!-- end gc-header -->
+
+ <div id="codesiteContent">
+
+ <a id="gc-topnav-anchor"></a>
+ <div id="gc-topnav">
+ <h1>Google Chrome Extensions (<a href="/labs/">Labs</a>)</h1>
+ <ul id="home" class="gc-topnav-tabs">
+ <li id="home_link">
+ <a href="index.html" class="selected" title="Google Chrome Extensions documentation home page">Home</a>
+ </li>
+ <li id="blog_link">
+ <a href="http://blog.chromium.org/" title="Chromium blog">Blog</a>
+ </li>
+ <li id="faq_link">
+ <a href="faq.html" title="Google Chrome Extensions FAQ">FAQ</a>
+ </li>
+ <li id="group_link">
+ <a href="http://groups.google.com/group/chromium-extensions" title="Chromium-Extensions group">Group</a>
+ </li>
+ <li id="terms_link">
+ Terms
+ </li>
+ </ul>
+ </div> <!-- end gc-topnav -->
- <div id="pageContent">
+ <div class="g-section g-tpl-170">
<!-- SIDENAV -->
- <div id="leftNav">
+ <div class="g-unit g-first" id="gc-toc">
<ul>
- <li> <a href="index.html">Home</a></li>
- <li> <a href="getstarted.html">Getting Started</a></li>
- <li> <a href="overview.html">Overview</a></li>
- <li> <a href="devguide.html"><div>Developer's Guide</div></a>
+ <li><a href="index.html">Home</a></li>
+ <li><a href="getstarted.html">Getting Started</a></li>
+ <li><a href="overview.html">Overview</a></li>
+ <li><h2><a href="devguide.html">Developer's Guide</a></h2>
<ul>
- <li> Browser UI
+ <li>Browser UI
<ul>
<li><a href="browserAction.html">Browser Actions</a></li>
<li><a href="options.html">Options Pages</a></li>
@@ -109,7 +144,7 @@
<li><a href="themes.html">Themes</a></li>
</ul>
</li>
- <li> Browser Interaction
+ <li>Browser Interaction
<ul>
<li><a href="bookmarks.html">Bookmarks</a></li>
<li><a href="events.html">Events</a></li>
@@ -117,7 +152,7 @@
<li><a href="windows.html">Windows</a></li>
</ul>
</li>
- <li> Implementation
+ <li>Implementation
<ul>
<li><a href="background_pages.html">Background Pages</a></li>
<li><a href="content_scripts.html">Content Scripts</a></li>
@@ -126,7 +161,7 @@
<li><a href="npapi.html">NPAPI Plugins</a></li>
</ul>
</li>
- <li> Finishing
+ <li>Finishing
<ul>
<li><a href="autoupdate.html">Autoupdating</a></li>
<li><a href="packaging.html">Packaging</a></li>
@@ -134,32 +169,35 @@
</li>
</ul>
</li>
- <li><a href="tutorials.html"><div>Tutorials</div></a>
+ <li><h2><a href="tutorials.html">Tutorials</a></h2>
<ul>
<li><a href="tut_debugging.html">Debugging</a></li>
</ul>
</li>
- <li>Reference
+ <li><h2>Reference</h2>
<ul>
- <li> Formats
+ <li>Formats
<ul>
<li><a href="manifest.html">Manifest Files</a></li>
<li><a href="match_patterns.html">Match Patterns</a></li>
<!-- <li>Packages (.crx)</li> -->
</ul>
</li>
- <li class="leftNavSelected">chrome.* APIs </li>
- <li> <a href="api_other.html">Other APIs</a> </li>
+ <li class="leftNavSelected">chrome.* APIs</li>
+ <li><a href="api_other.html">Other APIs</a></li>
</ul>
</li>
- <li><a href="samples.html">Samples</a></li>
+ <li><h2><a href="samples.html">Samples</a></h2></li>
</ul>
</div>
- <div id="mainColumn">
+ <div class="g-unit" id="gc-pagecontent">
+ <div id="pageTitle">
+ <h1 class="page_title">chrome.* APIs</h1>
+ </div>
<!-- TABLE OF CONTENTS -->
<div id="toc" style="display: none; ">
- <p>Contents</p>
+ <h2>Contents</h2>
<ol>
<li>
<a>h2Name</a>
@@ -385,9 +423,11 @@ then you pass a callback function into the method.
</div> <!-- /apiGroup -->
</div> <!-- /apiPage -->
- </div> <!-- /mainColumn -->
- </div> <!-- /pageContent -->
- <div id="pageFooter" --="">
+ </div> <!-- /gc-pagecontent -->
+ </div> <!-- /g-section -->
+ </div> <!-- /codesiteContent -->
+ <div id="gc-footer" --="">
+ <div class="text">
<p>
Except as otherwise <a href="http://code.google.com/policies.html#restrictions">noted</a>,
the content of this page is licensed under the <a rel="license" href="http://creativecommons.org/licenses/by/3.0/">Creative Commons
@@ -419,8 +459,8 @@ then you pass a callback function into the method.
catch(e) {/* urchinTracker not available. */}
</script>
<!-- end analytics -->
-
- </div> <!-- /pageFooter -->
- </div> <!-- /container -->
+ </div>
+ </div> <!-- /gc-footer -->
+ </div> <!-- /gc-container -->
</body></html>
diff --git a/chrome/common/extensions/docs/api_other.html b/chrome/common/extensions/docs/api_other.html
index 2692524..e2278e3 100644
--- a/chrome/common/extensions/docs/api_other.html
+++ b/chrome/common/extensions/docs/api_other.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>Other APIs</title></head><body> <div id="container">
+ <title>Other APIs</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
@@ -68,39 +68,74 @@
</div> <!-- /SUBTEMPLATES -->
- <a name="top"> </a>
+ <a id="top"></a>
+ <div id="skipto">
+ <a href="#gc-pagecontent">Skip to page content</a>
+ <a href="#gc-toc">Skip to main navigation</a>
+ </div>
<!-- API HEADER -->
- <div id="pageHeader">
- <div id="searchbox">
- <form action="http://www.google.com/cse" id="cse-search-box">
- <div>
+ <div id="gc-header">
+ <div id="logo">
+
+
+ <img src="images/code_labs_logo.gif" height="43" width="161" alt="Google Code Labs" style="border:0;">
+
+
+ </div>
+ <div id="search">
+ <div id="searchForm" class="searchForm">
+ <form action="http://www.google.com/cse" id="cse">
+ <div id="gsc-search-box">
<input type="hidden" name="cx" value="002967670403910741006:61_cvzfqtno">
<input type="hidden" name="ie" value="UTF-8">
<input type="text" name="q" size="31">
- <input type="submit" name="sa" value="Search">
+ <input class="gsc-search-button" type="submit" name="sa" value="Search">
</div>
</form>
+ <p>&nbsp;</p>
+ </div> <!-- end searchForm -->
<script type="text/javascript" src="http://www.google.com/jsapi"></script>
<script type="text/javascript">google.load("elements", "1", {packages: "transliteration"});</script>
- <script type="text/javascript" src="http://www.google.com/coop/cse/t13n?form=cse-search-box&amp;t13n_langs=en"></script>
- <script type="text/javascript" src="http://www.google.com/coop/cse/brand?form=cse-search-box&amp;lang=en"></script>
- </div>
- <div id="pageTitle">
- <h1>Other APIs</h1>
- </div>
- </div> <!-- /pageHeader -->
+ <script type="text/javascript" src="http://www.google.com/coop/cse/t13n?form=cse&amp;t13n_langs=en"></script>
+ <script type="text/javascript" src="http://www.google.com/coop/cse/brand?form=cse&amp;lang=en"></script>
+ </div> <!-- end search -->
+ </div> <!-- end gc-header -->
+
+ <div id="codesiteContent">
+
+ <a id="gc-topnav-anchor"></a>
+ <div id="gc-topnav">
+ <h1>Google Chrome Extensions (<a href="/labs/">Labs</a>)</h1>
+ <ul id="home" class="gc-topnav-tabs">
+ <li id="home_link">
+ <a href="index.html" class="selected" title="Google Chrome Extensions documentation home page">Home</a>
+ </li>
+ <li id="blog_link">
+ <a href="http://blog.chromium.org/" title="Chromium blog">Blog</a>
+ </li>
+ <li id="faq_link">
+ <a href="faq.html" title="Google Chrome Extensions FAQ">FAQ</a>
+ </li>
+ <li id="group_link">
+ <a href="http://groups.google.com/group/chromium-extensions" title="Chromium-Extensions group">Group</a>
+ </li>
+ <li id="terms_link">
+ Terms
+ </li>
+ </ul>
+ </div> <!-- end gc-topnav -->
- <div id="pageContent">
+ <div class="g-section g-tpl-170">
<!-- SIDENAV -->
- <div id="leftNav">
+ <div class="g-unit g-first" id="gc-toc">
<ul>
- <li> <a href="index.html">Home</a></li>
- <li> <a href="getstarted.html">Getting Started</a></li>
- <li> <a href="overview.html">Overview</a></li>
- <li> <a href="devguide.html"><div>Developer's Guide</div></a>
+ <li><a href="index.html">Home</a></li>
+ <li><a href="getstarted.html">Getting Started</a></li>
+ <li><a href="overview.html">Overview</a></li>
+ <li><h2><a href="devguide.html">Developer's Guide</a></h2>
<ul>
- <li> Browser UI
+ <li>Browser UI
<ul>
<li><a href="browserAction.html">Browser Actions</a></li>
<li><a href="options.html">Options Pages</a></li>
@@ -109,7 +144,7 @@
<li><a href="themes.html">Themes</a></li>
</ul>
</li>
- <li> Browser Interaction
+ <li>Browser Interaction
<ul>
<li><a href="bookmarks.html">Bookmarks</a></li>
<li><a href="events.html">Events</a></li>
@@ -117,7 +152,7 @@
<li><a href="windows.html">Windows</a></li>
</ul>
</li>
- <li> Implementation
+ <li>Implementation
<ul>
<li><a href="background_pages.html">Background Pages</a></li>
<li><a href="content_scripts.html">Content Scripts</a></li>
@@ -126,7 +161,7 @@
<li><a href="npapi.html">NPAPI Plugins</a></li>
</ul>
</li>
- <li> Finishing
+ <li>Finishing
<ul>
<li><a href="autoupdate.html">Autoupdating</a></li>
<li><a href="packaging.html">Packaging</a></li>
@@ -134,32 +169,35 @@
</li>
</ul>
</li>
- <li><a href="tutorials.html"><div>Tutorials</div></a>
+ <li><h2><a href="tutorials.html">Tutorials</a></h2>
<ul>
<li><a href="tut_debugging.html">Debugging</a></li>
</ul>
</li>
- <li>Reference
+ <li><h2>Reference</h2>
<ul>
- <li> Formats
+ <li>Formats
<ul>
<li><a href="manifest.html">Manifest Files</a></li>
<li><a href="match_patterns.html">Match Patterns</a></li>
<!-- <li>Packages (.crx)</li> -->
</ul>
</li>
- <li> <a href="api_index.html">chrome.* APIs</a> </li>
- <li class="leftNavSelected">Other APIs </li>
+ <li><a href="api_index.html">chrome.* APIs</a></li>
+ <li class="leftNavSelected">Other APIs</li>
</ul>
</li>
- <li><a href="samples.html">Samples</a></li>
+ <li><h2><a href="samples.html">Samples</a></h2></li>
</ul>
</div>
- <div id="mainColumn">
+ <div class="g-unit" id="gc-pagecontent">
+ <div id="pageTitle">
+ <h1 class="page_title">Other APIs</h1>
+ </div>
<!-- TABLE OF CONTENTS -->
<div id="toc" style="display: none; ">
- <p>Contents</p>
+ <h2>Contents</h2>
<ol>
<li>
<a>h2Name</a>
@@ -422,9 +460,11 @@ just as they would in any other web pages.
</div> <!-- /apiGroup -->
</div> <!-- /apiPage -->
- </div> <!-- /mainColumn -->
- </div> <!-- /pageContent -->
- <div id="pageFooter" --="">
+ </div> <!-- /gc-pagecontent -->
+ </div> <!-- /g-section -->
+ </div> <!-- /codesiteContent -->
+ <div id="gc-footer" --="">
+ <div class="text">
<p>
Except as otherwise <a href="http://code.google.com/policies.html#restrictions">noted</a>,
the content of this page is licensed under the <a rel="license" href="http://creativecommons.org/licenses/by/3.0/">Creative Commons
@@ -456,8 +496,8 @@ just as they would in any other web pages.
catch(e) {/* urchinTracker not available. */}
</script>
<!-- end analytics -->
-
- </div> <!-- /pageFooter -->
- </div> <!-- /container -->
+ </div>
+ </div> <!-- /gc-footer -->
+ </div> <!-- /gc-container -->
</body></html>
diff --git a/chrome/common/extensions/docs/autoupdate.html b/chrome/common/extensions/docs/autoupdate.html
index a645f60..0f21696 100644
--- a/chrome/common/extensions/docs/autoupdate.html
+++ b/chrome/common/extensions/docs/autoupdate.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>Autoupdating</title></head><body> <div id="container">
+ <title>Autoupdating</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
@@ -68,39 +68,74 @@
</div> <!-- /SUBTEMPLATES -->
- <a name="top"> </a>
+ <a id="top"></a>
+ <div id="skipto">
+ <a href="#gc-pagecontent">Skip to page content</a>
+ <a href="#gc-toc">Skip to main navigation</a>
+ </div>
<!-- API HEADER -->
- <div id="pageHeader">
- <div id="searchbox">
- <form action="http://www.google.com/cse" id="cse-search-box">
- <div>
+ <div id="gc-header">
+ <div id="logo">
+
+
+ <img src="images/code_labs_logo.gif" height="43" width="161" alt="Google Code Labs" style="border:0;">
+
+
+ </div>
+ <div id="search">
+ <div id="searchForm" class="searchForm">
+ <form action="http://www.google.com/cse" id="cse">
+ <div id="gsc-search-box">
<input type="hidden" name="cx" value="002967670403910741006:61_cvzfqtno">
<input type="hidden" name="ie" value="UTF-8">
<input type="text" name="q" size="31">
- <input type="submit" name="sa" value="Search">
+ <input class="gsc-search-button" type="submit" name="sa" value="Search">
</div>
</form>
+ <p>&nbsp;</p>
+ </div> <!-- end searchForm -->
<script type="text/javascript" src="http://www.google.com/jsapi"></script>
<script type="text/javascript">google.load("elements", "1", {packages: "transliteration"});</script>
- <script type="text/javascript" src="http://www.google.com/coop/cse/t13n?form=cse-search-box&amp;t13n_langs=en"></script>
- <script type="text/javascript" src="http://www.google.com/coop/cse/brand?form=cse-search-box&amp;lang=en"></script>
- </div>
- <div id="pageTitle">
- <h1>Autoupdating</h1>
- </div>
- </div> <!-- /pageHeader -->
+ <script type="text/javascript" src="http://www.google.com/coop/cse/t13n?form=cse&amp;t13n_langs=en"></script>
+ <script type="text/javascript" src="http://www.google.com/coop/cse/brand?form=cse&amp;lang=en"></script>
+ </div> <!-- end search -->
+ </div> <!-- end gc-header -->
+
+ <div id="codesiteContent">
+
+ <a id="gc-topnav-anchor"></a>
+ <div id="gc-topnav">
+ <h1>Google Chrome Extensions (<a href="/labs/">Labs</a>)</h1>
+ <ul id="home" class="gc-topnav-tabs">
+ <li id="home_link">
+ <a href="index.html" class="selected" title="Google Chrome Extensions documentation home page">Home</a>
+ </li>
+ <li id="blog_link">
+ <a href="http://blog.chromium.org/" title="Chromium blog">Blog</a>
+ </li>
+ <li id="faq_link">
+ <a href="faq.html" title="Google Chrome Extensions FAQ">FAQ</a>
+ </li>
+ <li id="group_link">
+ <a href="http://groups.google.com/group/chromium-extensions" title="Chromium-Extensions group">Group</a>
+ </li>
+ <li id="terms_link">
+ Terms
+ </li>
+ </ul>
+ </div> <!-- end gc-topnav -->
- <div id="pageContent">
+ <div class="g-section g-tpl-170">
<!-- SIDENAV -->
- <div id="leftNav">
+ <div class="g-unit g-first" id="gc-toc">
<ul>
- <li> <a href="index.html">Home</a></li>
- <li> <a href="getstarted.html">Getting Started</a></li>
- <li> <a href="overview.html">Overview</a></li>
- <li> <a href="devguide.html"><div>Developer's Guide</div></a>
+ <li><a href="index.html">Home</a></li>
+ <li><a href="getstarted.html">Getting Started</a></li>
+ <li><a href="overview.html">Overview</a></li>
+ <li><h2><a href="devguide.html">Developer's Guide</a></h2>
<ul>
- <li> Browser UI
+ <li>Browser UI
<ul>
<li><a href="browserAction.html">Browser Actions</a></li>
<li><a href="options.html">Options Pages</a></li>
@@ -109,7 +144,7 @@
<li><a href="themes.html">Themes</a></li>
</ul>
</li>
- <li> Browser Interaction
+ <li>Browser Interaction
<ul>
<li><a href="bookmarks.html">Bookmarks</a></li>
<li><a href="events.html">Events</a></li>
@@ -117,7 +152,7 @@
<li><a href="windows.html">Windows</a></li>
</ul>
</li>
- <li> Implementation
+ <li>Implementation
<ul>
<li><a href="background_pages.html">Background Pages</a></li>
<li><a href="content_scripts.html">Content Scripts</a></li>
@@ -126,7 +161,7 @@
<li><a href="npapi.html">NPAPI Plugins</a></li>
</ul>
</li>
- <li> Finishing
+ <li>Finishing
<ul>
<li class="leftNavSelected">Autoupdating</li>
<li><a href="packaging.html">Packaging</a></li>
@@ -134,53 +169,76 @@
</li>
</ul>
</li>
- <li><a href="tutorials.html"><div>Tutorials</div></a>
+ <li><h2><a href="tutorials.html">Tutorials</a></h2>
<ul>
<li><a href="tut_debugging.html">Debugging</a></li>
</ul>
</li>
- <li>Reference
+ <li><h2>Reference</h2>
<ul>
- <li> Formats
+ <li>Formats
<ul>
<li><a href="manifest.html">Manifest Files</a></li>
<li><a href="match_patterns.html">Match Patterns</a></li>
<!-- <li>Packages (.crx)</li> -->
</ul>
</li>
- <li> <a href="api_index.html">chrome.* APIs</a> </li>
- <li> <a href="api_other.html">Other APIs</a> </li>
+ <li><a href="api_index.html">chrome.* APIs</a></li>
+ <li><a href="api_other.html">Other APIs</a></li>
</ul>
</li>
- <li><a href="samples.html">Samples</a></li>
+ <li><h2><a href="samples.html">Samples</a></h2></li>
</ul>
</div>
- <div id="mainColumn">
+ <div class="g-unit" id="gc-pagecontent">
+ <div id="pageTitle">
+ <h1 class="page_title">Autoupdating</h1>
+ </div>
<!-- TABLE OF CONTENTS -->
<div id="toc">
- <p>Contents</p>
+ <h2>Contents</h2>
<ol>
<li>
- <a href="#H2-0">Introduction</a>
+ <a href="#H2-0">Overview</a>
<ol>
<li style="display: none; ">
<a>h3Name</a>
</li>
</ol>
</li><li>
- <a href="#H2-1">Overview</a>
+ <a href="#H2-1">Update URL</a>
+ <ol>
+ <li style="display: none; ">
+ <a>h3Name</a>
+ </li>
+ </ol>
+ </li><li>
+ <a href="#H2-2">Update manifest</a>
+ <ol>
+ <li style="display: none; ">
+ <a>h3Name</a>
+ </li>
+ </ol>
+ </li><li>
+ <a href="#H2-3">Testing</a>
+ <ol>
+ <li style="display: none; ">
+ <a>h3Name</a>
+ </li>
+ </ol>
+ </li><li>
+ <a href="#H2-4">Advanced usage: request parameters</a>
<ol>
<li>
- <a href="#H3-2">Update URL</a>
- </li><li>
- <a href="#H3-3">Update Manifest</a>
- </li><li>
- <a href="#H3-4">Testing</a>
- </li><li>
- <a href="#H3-5">Advanced Usage : Request Parameters</a>
- </li><li>
- <a href="#H3-6">Advanced Usage : Minimum Browser Version</a>
+ <a href="#H3-5">Future work</a>
+ </li>
+ </ol>
+ </li><li>
+ <a href="#H2-6">Advanced usage: minimum browser version</a>
+ <ol>
+ <li style="display: none; ">
+ <a>h3Name</a>
</li>
</ol>
</li>
@@ -230,22 +288,22 @@
<!-- STATIC CONTENT PLACEHOLDER -->
<div id="static"><div id="pageData-title" class="pageData">Autoupdating</div>
<div id="pageData-showTOC" class="pageData">true</div>
-<a name="H2-0"></a><h2>Introduction</h2>
-<p>We want extensions to be autoupdated for some of the same reasons as chrome itself: to incorporate bug and security fixes, add new features or performance enhancements, and improve user interfaces.</p>
-<p>For extensions packaged and distributed via the extensions gallery, developers will be able to use a web interface to release updated versions of their extensions and do not need to concern themselves with the rest of this document.</p>
+<p>We want extensions to be autoupdated for some of the same reasons as Google Chrome itself: to incorporate bug and security fixes, add new features or performance enhancements, and improve user interfaces.</p>
+
+<p>For extensions packaged and distributed via the gallery, developers will be able to use a web interface to release updated versions of their extensions and do not need to concern themselves with the rest of this document.</p>
<p>Those who choose to host extensions themselves instead of using the gallery will probably want to use autoupdate for their extensions as described below. You might want to make sure you are familiar with <a href="packaging.html">Packaging</a> first.</p>
-<a name="H2-1"></a><h2>Overview</h2>
+<a name="H2-0"></a><h2>Overview</h2>
<ul><li>An extension manifest may contain an "update_url" for doing update checks.</li>
-<li>The content returned by an update check is an "update manifest" xml document listing the latest version of an extension (or set of extensions, more on that later).</li></ul>
+<li>The content returned by an update check is an "update manifest" XML document listing the latest version of an extension (or set of extensions, more on that later).</li></ul>
-<p>Every few hours, the browser will check if any installed extensions have an autoupdate url. For each one, it will make a request to that url looking for an update manifest xml file. If the update manifest mentions a version of an extension that is more recent than what's installed, it will download and install the new version. Similar to manual updates, the new crx must be signed with the same private key as the currently installed version.</p>
+<p>Every few hours, the browser will check if any installed extensions have an autoupdate URL. For each one, it will make a request to that URL looking for an update manifest XML file. If the update manifest mentions a version of an extension that is more recent than what's installed, it will download and install the new version. Similar to manual updates, the new crx must be signed with the same private key as the currently installed version.</p>
-<a name="H3-2"></a><h3>Update URL</h3>
+<a name="H2-1"></a><h2>Update URL</h2>
<p>For those who are hosting their own extensions, you need to add the "update_url" key to your <a href="manifest.html">manifest.json</a> file like this:</p>
<pre>{
...
@@ -254,8 +312,8 @@
}
</pre>
-<a name="H3-3"></a><h3>Update Manifest</h3>
-<p>The "update manifest" returned by the server&nbsp;should be an xml document that looks like this (parts you'll want to modify highlighted):</p>
+<a name="H2-2"></a><h2>Update manifest</h2>
+<p>The "update manifest" returned by the server&nbsp;should be an XML document that looks like this (parts you'll want to modify highlighted):</p>
<pre>&lt;?xml version='1.0' encoding='UTF-8'?&gt;
&lt;gupdate xmlns='http://www.google.com/update2/response' protocol='2.0'&gt;
@@ -265,34 +323,38 @@
&lt;/gupdate&gt;
</pre>
-<p>(This xml format is borrowed from that used by Omaha, Google's update infrastructure. See <a href="http://code.google.com/p/omaha/">http://code.google.com/p/omaha/</a> for more details.)</p>
+<p>(This XML format is borrowed from that used by Omaha, Google's update infrastructure. See <a href="http://code.google.com/p/omaha/">http://code.google.com/p/omaha/</a> for more details.)</p>
<p><b>appid</b><br>
-The 'appid' property is the extension id, generated based on a hash of the extension's public key as described in <a href="packaging.html">Packaging</a>. You can find out the id of your extension by going to chrome://extensions/ in a chrome browser where you have the extension installed.</p>
+The 'appid' property is the extension id, generated based on a hash of the extension's public key as described in <a href="packaging.html">Packaging</a>. You can find out the id of your extension by going to <b>chrome://extensions</b>.</p>
<p><b>codebase</b><br>
-The 'codebase' property is a url to the crx file.</p>
+The 'codebase' property is a URL to the crx file.</p>
<p><b>version</b><br>
This is used by the client to determine whether it should download the crx file at 'codebase'. It should match the version parameter in the crx file's manifest.json file.</p>
-<p>The update manifest xml file may contain information about multiple extensions by including multiple <code>&lt;app&gt;</code> tags.</p>
+<p>The update manifest XML file may contain information about multiple extensions by including multiple <code>&lt;app&gt;</code> tags.</p>
-<a name="H3-4"></a><h3>Testing</h3>
-<p>The default update check frequency is several hours, which obviously makes testing challenging. To overcome this, you can use the --extensions-update-frequency command line flag to set a more frequent interval in seconds. For instance, to make checks run every 45 seconds, you would run chrome like this:</p>
-<pre>chrome.exe <b>--extensions-update-frequency=45</b></pre>
+<a name="H2-3"></a><h2>Testing</h2>
+<p>The default update check frequency is several hours,
+but you can force an update using the Extensions page's
+<b>Update extensions now</b> button.
+</p>
-<p>Note that this affects checks for all installed extensions, so consider the bandwidth and server load implications of this. You may want to temporarily uninstall all but the one extension you are testing with, and should not run with this option turned on during normal browser usage. In the future we may remove this command flag and replace it with a different mechanism to trigger update checks for testing (perhaps a button on the chrome://extensions page). Star the following issue to receive updates: <a href="http://crbug.com/17853" rel="nofollow">http://crbug.com/17853</a>.</p>
+<p>
+Another option is to use the --extensions-update-frequency command-line flag to set a more frequent interval in seconds. For instance, to make checks run every 45 seconds, you would run Google Chrome like this:</p>
+<pre>chrome.exe <b>--extensions-update-frequency=45</b></pre>
-<p><b>Addendum:</b> the "Update now" button has been added, and will be present in dev channel builds soon (likely 4.0.207.x and above).</p>
+<p>Note that this affects checks for all installed extensions, so consider the bandwidth and server load implications of this. You may want to temporarily uninstall all but the one extension you are testing with, and should not run with this option turned on during normal browser usage.</p>
-<a name="H3-5"></a><h3>Advanced Usage : Request Parameters</h3>
-<p>The basic autoupdate mechanism is designed to make the server-side work as easy as just dropping a static xml file onto any plain webserver such as apache, and updating that xml file as you release new versions of your extension(s).</p>
-<p>More advanced developers may wish to take advantage of the fact that we add on parameters to the request for the update manifest to indicate the extension id and version. Then they can use the same update_url for all of their extensions pointing to a url running dynamic server side code instead of a static xml file.</p>
+<a name="H2-4"></a><h2>Advanced usage: request parameters</h2>
+<p>The basic autoupdate mechanism is designed to make the server-side work as easy as just dropping a static XML file onto any plain webserver such as apache, and updating that XML file as you release new versions of your extension(s).</p>
+<p>More advanced developers may wish to take advantage of the fact that we add on parameters to the request for the update manifest to indicate the extension id and version. Then they can use the same update_url for all of their extensions pointing to a URL running dynamic server side code instead of a static XML file.</p>
<p>The format of the request parameters is:</p>
<p><code>&nbsp;&nbsp;?x=&lt;extension_data&gt;</code></p>
-<p>where <code>&lt;extension_data&gt;</code> is an url-encoded string of the format:</p>
+<p>where <code>&lt;extension_data&gt;</code> is an URL-encoded string of the format:</p>
<p><code>&nbsp;&nbsp;id=&lt;id&gt;&amp;v=&lt;version&gt;</code></p>
<p>So for example, say we have two extensions installed</p>
@@ -308,15 +370,15 @@ This is used by the client to determine whether it should download the crx file
<p><b>Note</b>: in releases before 3.0.196.x there was a bug in how request parameters were put together (<a href="http://crbug.com/17469" rel="nofollow">http://crbug.com/17469</a>).</p>
-<h4>Future work for Request Parameters</h4>
+<a name="H3-5"></a><h3>Future work</h3>
<p>While not implemented yet, we will eventually list multiple extensions in a single request for each unique update_url. For the above example, the request would end up being:</p>
<p><code>http://test.com/extension_updates.php?x=id%3Daaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa%26v%3D1.1&amp;x=id%3Dbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb%26v%3D0.4</code></p>
-<p>If the number of installed extensions using the same update_url is large enough that a GET request url would be too long (probably greater than 1024 characters or so), the update check will instead issue a POST with the request parameters in the POST body.</p>
+<p>If the number of installed extensions using the same update_url is large enough that a GET request URL would be too long (probably greater than 1024 characters or so), the update check will instead issue a POST with the request parameters in the POST body.</p>
-<a name="H3-6"></a><h3>Advanced Usage : Minimum Browser Version</h3>
-<p>As we add more API's to the extensions system, it's possible you will want to release an updated version of an extension that will only work with newer versions of the chrome browser. While chrome itself is autoupdated, it can take a few days before the majority of the userbase has updated to any given new release. To ensure that a given extension update will only apply to chrome version at or higher than a specific version, you would add the prodversionmin parameter to the <code>&lt;app&gt;</code> tag in your update manifest. For example:</p>
+<a name="H2-6"></a><h2>Advanced usage: minimum browser version</h2>
+<p>As we add more APIs to the extensions system, it's possible you will want to release an updated version of an extension that will only work with newer versions of the browser. While Google Chrome itself is autoupdated, it can take a few days before the majority of the user base has updated to any given new release. To ensure that a given extension update will apply only to Google Chrome versions at or higher than a specific version, you would add the prodversionmin parameter to the <code>&lt;app&gt;</code> tag in your update manifest. For example:</p>
<pre>&lt;?xml version='1.0' encoding='UTF-8'?&gt;
&lt;gupdate xmlns='http://www.google.com/update2/response' protocol='2.0'&gt;
@@ -326,7 +388,7 @@ This is used by the client to determine whether it should download the crx file
&lt;/gupdate&gt;
</pre>
-<p>This would ensure that users of this extension would only autoupdate to version 2 if they are running chrome 3.0.193.0 or greater.</p>
+<p>This would ensure that users of this extension would autoupdate to version 2 only if they are running Google Chrome 3.0.193.0 or greater.</p>
</div>
@@ -472,9 +534,11 @@ This is used by the client to determine whether it should download the crx file
</div> <!-- /apiGroup -->
</div> <!-- /apiPage -->
- </div> <!-- /mainColumn -->
- </div> <!-- /pageContent -->
- <div id="pageFooter" --="">
+ </div> <!-- /gc-pagecontent -->
+ </div> <!-- /g-section -->
+ </div> <!-- /codesiteContent -->
+ <div id="gc-footer" --="">
+ <div class="text">
<p>
Except as otherwise <a href="http://code.google.com/policies.html#restrictions">noted</a>,
the content of this page is licensed under the <a rel="license" href="http://creativecommons.org/licenses/by/3.0/">Creative Commons
@@ -506,8 +570,8 @@ This is used by the client to determine whether it should download the crx file
catch(e) {/* urchinTracker not available. */}
</script>
<!-- end analytics -->
-
- </div> <!-- /pageFooter -->
- </div> <!-- /container -->
+ </div>
+ </div> <!-- /gc-footer -->
+ </div> <!-- /gc-container -->
</body></html>
diff --git a/chrome/common/extensions/docs/background_pages.html b/chrome/common/extensions/docs/background_pages.html
index 2565787..4630a50 100644
--- a/chrome/common/extensions/docs/background_pages.html
+++ b/chrome/common/extensions/docs/background_pages.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>Background Pages</title></head><body> <div id="container">
+ <title>Background Pages</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
@@ -68,39 +68,74 @@
</div> <!-- /SUBTEMPLATES -->
- <a name="top"> </a>
+ <a id="top"></a>
+ <div id="skipto">
+ <a href="#gc-pagecontent">Skip to page content</a>
+ <a href="#gc-toc">Skip to main navigation</a>
+ </div>
<!-- API HEADER -->
- <div id="pageHeader">
- <div id="searchbox">
- <form action="http://www.google.com/cse" id="cse-search-box">
- <div>
+ <div id="gc-header">
+ <div id="logo">
+
+
+ <img src="images/code_labs_logo.gif" height="43" width="161" alt="Google Code Labs" style="border:0;">
+
+
+ </div>
+ <div id="search">
+ <div id="searchForm" class="searchForm">
+ <form action="http://www.google.com/cse" id="cse">
+ <div id="gsc-search-box">
<input type="hidden" name="cx" value="002967670403910741006:61_cvzfqtno">
<input type="hidden" name="ie" value="UTF-8">
<input type="text" name="q" size="31">
- <input type="submit" name="sa" value="Search">
+ <input class="gsc-search-button" type="submit" name="sa" value="Search">
</div>
</form>
+ <p>&nbsp;</p>
+ </div> <!-- end searchForm -->
<script type="text/javascript" src="http://www.google.com/jsapi"></script>
<script type="text/javascript">google.load("elements", "1", {packages: "transliteration"});</script>
- <script type="text/javascript" src="http://www.google.com/coop/cse/t13n?form=cse-search-box&amp;t13n_langs=en"></script>
- <script type="text/javascript" src="http://www.google.com/coop/cse/brand?form=cse-search-box&amp;lang=en"></script>
- </div>
- <div id="pageTitle">
- <h1>Background Pages</h1>
- </div>
- </div> <!-- /pageHeader -->
+ <script type="text/javascript" src="http://www.google.com/coop/cse/t13n?form=cse&amp;t13n_langs=en"></script>
+ <script type="text/javascript" src="http://www.google.com/coop/cse/brand?form=cse&amp;lang=en"></script>
+ </div> <!-- end search -->
+ </div> <!-- end gc-header -->
+
+ <div id="codesiteContent">
+
+ <a id="gc-topnav-anchor"></a>
+ <div id="gc-topnav">
+ <h1>Google Chrome Extensions (<a href="/labs/">Labs</a>)</h1>
+ <ul id="home" class="gc-topnav-tabs">
+ <li id="home_link">
+ <a href="index.html" class="selected" title="Google Chrome Extensions documentation home page">Home</a>
+ </li>
+ <li id="blog_link">
+ <a href="http://blog.chromium.org/" title="Chromium blog">Blog</a>
+ </li>
+ <li id="faq_link">
+ <a href="faq.html" title="Google Chrome Extensions FAQ">FAQ</a>
+ </li>
+ <li id="group_link">
+ <a href="http://groups.google.com/group/chromium-extensions" title="Chromium-Extensions group">Group</a>
+ </li>
+ <li id="terms_link">
+ Terms
+ </li>
+ </ul>
+ </div> <!-- end gc-topnav -->
- <div id="pageContent">
+ <div class="g-section g-tpl-170">
<!-- SIDENAV -->
- <div id="leftNav">
+ <div class="g-unit g-first" id="gc-toc">
<ul>
- <li> <a href="index.html">Home</a></li>
- <li> <a href="getstarted.html">Getting Started</a></li>
- <li> <a href="overview.html">Overview</a></li>
- <li> <a href="devguide.html"><div>Developer's Guide</div></a>
+ <li><a href="index.html">Home</a></li>
+ <li><a href="getstarted.html">Getting Started</a></li>
+ <li><a href="overview.html">Overview</a></li>
+ <li><h2><a href="devguide.html">Developer's Guide</a></h2>
<ul>
- <li> Browser UI
+ <li>Browser UI
<ul>
<li><a href="browserAction.html">Browser Actions</a></li>
<li><a href="options.html">Options Pages</a></li>
@@ -109,7 +144,7 @@
<li><a href="themes.html">Themes</a></li>
</ul>
</li>
- <li> Browser Interaction
+ <li>Browser Interaction
<ul>
<li><a href="bookmarks.html">Bookmarks</a></li>
<li><a href="events.html">Events</a></li>
@@ -117,7 +152,7 @@
<li><a href="windows.html">Windows</a></li>
</ul>
</li>
- <li> Implementation
+ <li>Implementation
<ul>
<li class="leftNavSelected">Background Pages</li>
<li><a href="content_scripts.html">Content Scripts</a></li>
@@ -126,7 +161,7 @@
<li><a href="npapi.html">NPAPI Plugins</a></li>
</ul>
</li>
- <li> Finishing
+ <li>Finishing
<ul>
<li><a href="autoupdate.html">Autoupdating</a></li>
<li><a href="packaging.html">Packaging</a></li>
@@ -134,32 +169,35 @@
</li>
</ul>
</li>
- <li><a href="tutorials.html"><div>Tutorials</div></a>
+ <li><h2><a href="tutorials.html">Tutorials</a></h2>
<ul>
<li><a href="tut_debugging.html">Debugging</a></li>
</ul>
</li>
- <li>Reference
+ <li><h2>Reference</h2>
<ul>
- <li> Formats
+ <li>Formats
<ul>
<li><a href="manifest.html">Manifest Files</a></li>
<li><a href="match_patterns.html">Match Patterns</a></li>
<!-- <li>Packages (.crx)</li> -->
</ul>
</li>
- <li> <a href="api_index.html">chrome.* APIs</a> </li>
- <li> <a href="api_other.html">Other APIs</a> </li>
+ <li><a href="api_index.html">chrome.* APIs</a></li>
+ <li><a href="api_other.html">Other APIs</a></li>
</ul>
</li>
- <li><a href="samples.html">Samples</a></li>
+ <li><h2><a href="samples.html">Samples</a></h2></li>
</ul>
</div>
- <div id="mainColumn">
+ <div class="g-unit" id="gc-pagecontent">
+ <div id="pageTitle">
+ <h1 class="page_title">Background Pages</h1>
+ </div>
<!-- TABLE OF CONTENTS -->
<div id="toc">
- <p>Contents</p>
+ <h2>Contents</h2>
<ol>
<li>
<a href="#manifest">Manifest</a>
@@ -495,9 +533,11 @@ the screenshot sample.]
</div> <!-- /apiGroup -->
</div> <!-- /apiPage -->
- </div> <!-- /mainColumn -->
- </div> <!-- /pageContent -->
- <div id="pageFooter" --="">
+ </div> <!-- /gc-pagecontent -->
+ </div> <!-- /g-section -->
+ </div> <!-- /codesiteContent -->
+ <div id="gc-footer" --="">
+ <div class="text">
<p>
Except as otherwise <a href="http://code.google.com/policies.html#restrictions">noted</a>,
the content of this page is licensed under the <a rel="license" href="http://creativecommons.org/licenses/by/3.0/">Creative Commons
@@ -529,8 +569,8 @@ the screenshot sample.]
catch(e) {/* urchinTracker not available. */}
</script>
<!-- end analytics -->
-
- </div> <!-- /pageFooter -->
- </div> <!-- /container -->
+ </div>
+ </div> <!-- /gc-footer -->
+ </div> <!-- /gc-container -->
</body></html>
diff --git a/chrome/common/extensions/docs/bookmarks.html b/chrome/common/extensions/docs/bookmarks.html
index 556f0017..765d4f1 100644
--- a/chrome/common/extensions/docs/bookmarks.html
+++ b/chrome/common/extensions/docs/bookmarks.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>Bookmarks</title></head><body> <div id="container">
+ <title>Bookmarks</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
@@ -68,39 +68,74 @@
</div> <!-- /SUBTEMPLATES -->
- <a name="top"> </a>
+ <a id="top"></a>
+ <div id="skipto">
+ <a href="#gc-pagecontent">Skip to page content</a>
+ <a href="#gc-toc">Skip to main navigation</a>
+ </div>
<!-- API HEADER -->
- <div id="pageHeader">
- <div id="searchbox">
- <form action="http://www.google.com/cse" id="cse-search-box">
- <div>
+ <div id="gc-header">
+ <div id="logo">
+
+
+ <img src="images/code_labs_logo.gif" height="43" width="161" alt="Google Code Labs" style="border:0;">
+
+
+ </div>
+ <div id="search">
+ <div id="searchForm" class="searchForm">
+ <form action="http://www.google.com/cse" id="cse">
+ <div id="gsc-search-box">
<input type="hidden" name="cx" value="002967670403910741006:61_cvzfqtno">
<input type="hidden" name="ie" value="UTF-8">
<input type="text" name="q" size="31">
- <input type="submit" name="sa" value="Search">
+ <input class="gsc-search-button" type="submit" name="sa" value="Search">
</div>
</form>
+ <p>&nbsp;</p>
+ </div> <!-- end searchForm -->
<script type="text/javascript" src="http://www.google.com/jsapi"></script>
<script type="text/javascript">google.load("elements", "1", {packages: "transliteration"});</script>
- <script type="text/javascript" src="http://www.google.com/coop/cse/t13n?form=cse-search-box&amp;t13n_langs=en"></script>
- <script type="text/javascript" src="http://www.google.com/coop/cse/brand?form=cse-search-box&amp;lang=en"></script>
- </div>
- <div id="pageTitle">
- <h1>Bookmarks</h1>
- </div>
- </div> <!-- /pageHeader -->
+ <script type="text/javascript" src="http://www.google.com/coop/cse/t13n?form=cse&amp;t13n_langs=en"></script>
+ <script type="text/javascript" src="http://www.google.com/coop/cse/brand?form=cse&amp;lang=en"></script>
+ </div> <!-- end search -->
+ </div> <!-- end gc-header -->
+
+ <div id="codesiteContent">
+
+ <a id="gc-topnav-anchor"></a>
+ <div id="gc-topnav">
+ <h1>Google Chrome Extensions (<a href="/labs/">Labs</a>)</h1>
+ <ul id="home" class="gc-topnav-tabs">
+ <li id="home_link">
+ <a href="index.html" class="selected" title="Google Chrome Extensions documentation home page">Home</a>
+ </li>
+ <li id="blog_link">
+ <a href="http://blog.chromium.org/" title="Chromium blog">Blog</a>
+ </li>
+ <li id="faq_link">
+ <a href="faq.html" title="Google Chrome Extensions FAQ">FAQ</a>
+ </li>
+ <li id="group_link">
+ <a href="http://groups.google.com/group/chromium-extensions" title="Chromium-Extensions group">Group</a>
+ </li>
+ <li id="terms_link">
+ Terms
+ </li>
+ </ul>
+ </div> <!-- end gc-topnav -->
- <div id="pageContent">
+ <div class="g-section g-tpl-170">
<!-- SIDENAV -->
- <div id="leftNav">
+ <div class="g-unit g-first" id="gc-toc">
<ul>
- <li> <a href="index.html">Home</a></li>
- <li> <a href="getstarted.html">Getting Started</a></li>
- <li> <a href="overview.html">Overview</a></li>
- <li> <a href="devguide.html"><div>Developer's Guide</div></a>
+ <li><a href="index.html">Home</a></li>
+ <li><a href="getstarted.html">Getting Started</a></li>
+ <li><a href="overview.html">Overview</a></li>
+ <li><h2><a href="devguide.html">Developer's Guide</a></h2>
<ul>
- <li> Browser UI
+ <li>Browser UI
<ul>
<li><a href="browserAction.html">Browser Actions</a></li>
<li><a href="options.html">Options Pages</a></li>
@@ -109,7 +144,7 @@
<li><a href="themes.html">Themes</a></li>
</ul>
</li>
- <li> Browser Interaction
+ <li>Browser Interaction
<ul>
<li class="leftNavSelected">Bookmarks</li>
<li><a href="events.html">Events</a></li>
@@ -117,7 +152,7 @@
<li><a href="windows.html">Windows</a></li>
</ul>
</li>
- <li> Implementation
+ <li>Implementation
<ul>
<li><a href="background_pages.html">Background Pages</a></li>
<li><a href="content_scripts.html">Content Scripts</a></li>
@@ -126,7 +161,7 @@
<li><a href="npapi.html">NPAPI Plugins</a></li>
</ul>
</li>
- <li> Finishing
+ <li>Finishing
<ul>
<li><a href="autoupdate.html">Autoupdating</a></li>
<li><a href="packaging.html">Packaging</a></li>
@@ -134,32 +169,35 @@
</li>
</ul>
</li>
- <li><a href="tutorials.html"><div>Tutorials</div></a>
+ <li><h2><a href="tutorials.html">Tutorials</a></h2>
<ul>
<li><a href="tut_debugging.html">Debugging</a></li>
</ul>
</li>
- <li>Reference
+ <li><h2>Reference</h2>
<ul>
- <li> Formats
+ <li>Formats
<ul>
<li><a href="manifest.html">Manifest Files</a></li>
<li><a href="match_patterns.html">Match Patterns</a></li>
<!-- <li>Packages (.crx)</li> -->
</ul>
</li>
- <li> <a href="api_index.html">chrome.* APIs</a> </li>
- <li> <a href="api_other.html">Other APIs</a> </li>
+ <li><a href="api_index.html">chrome.* APIs</a></li>
+ <li><a href="api_other.html">Other APIs</a></li>
</ul>
</li>
- <li><a href="samples.html">Samples</a></li>
+ <li><h2><a href="samples.html">Samples</a></h2></li>
</ul>
</div>
- <div id="mainColumn">
+ <div class="g-unit" id="gc-pagecontent">
+ <div id="pageTitle">
+ <h1 class="page_title">Bookmarks</h1>
+ </div>
<!-- TABLE OF CONTENTS -->
<div id="toc">
- <p>Contents</p>
+ <h2>Contents</h2>
<ol>
<li>
<a href="#manifest">Manifest</a>
@@ -3572,9 +3610,11 @@ For a full example of using bookmarks, see the
</div> <!-- /apiGroup -->
</div> <!-- /apiPage -->
- </div> <!-- /mainColumn -->
- </div> <!-- /pageContent -->
- <div id="pageFooter" --="">
+ </div> <!-- /gc-pagecontent -->
+ </div> <!-- /g-section -->
+ </div> <!-- /codesiteContent -->
+ <div id="gc-footer" --="">
+ <div class="text">
<p>
Except as otherwise <a href="http://code.google.com/policies.html#restrictions">noted</a>,
the content of this page is licensed under the <a rel="license" href="http://creativecommons.org/licenses/by/3.0/">Creative Commons
@@ -3606,8 +3646,8 @@ For a full example of using bookmarks, see the
catch(e) {/* urchinTracker not available. */}
</script>
<!-- end analytics -->
-
- </div> <!-- /pageFooter -->
- </div> <!-- /container -->
+ </div>
+ </div> <!-- /gc-footer -->
+ </div> <!-- /gc-container -->
</body></html>
diff --git a/chrome/common/extensions/docs/browserAction.html b/chrome/common/extensions/docs/browserAction.html
index 351a6b9..88ca834 100644
--- a/chrome/common/extensions/docs/browserAction.html
+++ b/chrome/common/extensions/docs/browserAction.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>Browser Actions</title></head><body> <div id="container">
+ <title>Browser Actions</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
@@ -68,39 +68,74 @@
</div> <!-- /SUBTEMPLATES -->
- <a name="top"> </a>
+ <a id="top"></a>
+ <div id="skipto">
+ <a href="#gc-pagecontent">Skip to page content</a>
+ <a href="#gc-toc">Skip to main navigation</a>
+ </div>
<!-- API HEADER -->
- <div id="pageHeader">
- <div id="searchbox">
- <form action="http://www.google.com/cse" id="cse-search-box">
- <div>
+ <div id="gc-header">
+ <div id="logo">
+
+
+ <img src="images/code_labs_logo.gif" height="43" width="161" alt="Google Code Labs" style="border:0;">
+
+
+ </div>
+ <div id="search">
+ <div id="searchForm" class="searchForm">
+ <form action="http://www.google.com/cse" id="cse">
+ <div id="gsc-search-box">
<input type="hidden" name="cx" value="002967670403910741006:61_cvzfqtno">
<input type="hidden" name="ie" value="UTF-8">
<input type="text" name="q" size="31">
- <input type="submit" name="sa" value="Search">
+ <input class="gsc-search-button" type="submit" name="sa" value="Search">
</div>
</form>
+ <p>&nbsp;</p>
+ </div> <!-- end searchForm -->
<script type="text/javascript" src="http://www.google.com/jsapi"></script>
<script type="text/javascript">google.load("elements", "1", {packages: "transliteration"});</script>
- <script type="text/javascript" src="http://www.google.com/coop/cse/t13n?form=cse-search-box&amp;t13n_langs=en"></script>
- <script type="text/javascript" src="http://www.google.com/coop/cse/brand?form=cse-search-box&amp;lang=en"></script>
- </div>
- <div id="pageTitle">
- <h1>Browser Actions</h1>
- </div>
- </div> <!-- /pageHeader -->
+ <script type="text/javascript" src="http://www.google.com/coop/cse/t13n?form=cse&amp;t13n_langs=en"></script>
+ <script type="text/javascript" src="http://www.google.com/coop/cse/brand?form=cse&amp;lang=en"></script>
+ </div> <!-- end search -->
+ </div> <!-- end gc-header -->
+
+ <div id="codesiteContent">
+
+ <a id="gc-topnav-anchor"></a>
+ <div id="gc-topnav">
+ <h1>Google Chrome Extensions (<a href="/labs/">Labs</a>)</h1>
+ <ul id="home" class="gc-topnav-tabs">
+ <li id="home_link">
+ <a href="index.html" class="selected" title="Google Chrome Extensions documentation home page">Home</a>
+ </li>
+ <li id="blog_link">
+ <a href="http://blog.chromium.org/" title="Chromium blog">Blog</a>
+ </li>
+ <li id="faq_link">
+ <a href="faq.html" title="Google Chrome Extensions FAQ">FAQ</a>
+ </li>
+ <li id="group_link">
+ <a href="http://groups.google.com/group/chromium-extensions" title="Chromium-Extensions group">Group</a>
+ </li>
+ <li id="terms_link">
+ Terms
+ </li>
+ </ul>
+ </div> <!-- end gc-topnav -->
- <div id="pageContent">
+ <div class="g-section g-tpl-170">
<!-- SIDENAV -->
- <div id="leftNav">
+ <div class="g-unit g-first" id="gc-toc">
<ul>
- <li> <a href="index.html">Home</a></li>
- <li> <a href="getstarted.html">Getting Started</a></li>
- <li> <a href="overview.html">Overview</a></li>
- <li> <a href="devguide.html"><div>Developer's Guide</div></a>
+ <li><a href="index.html">Home</a></li>
+ <li><a href="getstarted.html">Getting Started</a></li>
+ <li><a href="overview.html">Overview</a></li>
+ <li><h2><a href="devguide.html">Developer's Guide</a></h2>
<ul>
- <li> Browser UI
+ <li>Browser UI
<ul>
<li class="leftNavSelected">Browser Actions</li>
<li><a href="options.html">Options Pages</a></li>
@@ -109,7 +144,7 @@
<li><a href="themes.html">Themes</a></li>
</ul>
</li>
- <li> Browser Interaction
+ <li>Browser Interaction
<ul>
<li><a href="bookmarks.html">Bookmarks</a></li>
<li><a href="events.html">Events</a></li>
@@ -117,7 +152,7 @@
<li><a href="windows.html">Windows</a></li>
</ul>
</li>
- <li> Implementation
+ <li>Implementation
<ul>
<li><a href="background_pages.html">Background Pages</a></li>
<li><a href="content_scripts.html">Content Scripts</a></li>
@@ -126,7 +161,7 @@
<li><a href="npapi.html">NPAPI Plugins</a></li>
</ul>
</li>
- <li> Finishing
+ <li>Finishing
<ul>
<li><a href="autoupdate.html">Autoupdating</a></li>
<li><a href="packaging.html">Packaging</a></li>
@@ -134,32 +169,35 @@
</li>
</ul>
</li>
- <li><a href="tutorials.html"><div>Tutorials</div></a>
+ <li><h2><a href="tutorials.html">Tutorials</a></h2>
<ul>
<li><a href="tut_debugging.html">Debugging</a></li>
</ul>
</li>
- <li>Reference
+ <li><h2>Reference</h2>
<ul>
- <li> Formats
+ <li>Formats
<ul>
<li><a href="manifest.html">Manifest Files</a></li>
<li><a href="match_patterns.html">Match Patterns</a></li>
<!-- <li>Packages (.crx)</li> -->
</ul>
</li>
- <li> <a href="api_index.html">chrome.* APIs</a> </li>
- <li> <a href="api_other.html">Other APIs</a> </li>
+ <li><a href="api_index.html">chrome.* APIs</a></li>
+ <li><a href="api_other.html">Other APIs</a></li>
</ul>
</li>
- <li><a href="samples.html">Samples</a></li>
+ <li><h2><a href="samples.html">Samples</a></h2></li>
</ul>
</div>
- <div id="mainColumn">
+ <div class="g-unit" id="gc-pagecontent">
+ <div id="pageTitle">
+ <h1 class="page_title">Browser Actions</h1>
+ </div>
<!-- TABLE OF CONTENTS -->
<div id="toc">
- <p>Contents</p>
+ <h2>Contents</h2>
<ol>
<li>
<a href="#manifest">Manifest</a>
@@ -1269,9 +1307,11 @@ using the <b>popup</b> field of <b>browser_action</b>.
</div> <!-- /apiGroup -->
</div> <!-- /apiPage -->
- </div> <!-- /mainColumn -->
- </div> <!-- /pageContent -->
- <div id="pageFooter" --="">
+ </div> <!-- /gc-pagecontent -->
+ </div> <!-- /g-section -->
+ </div> <!-- /codesiteContent -->
+ <div id="gc-footer" --="">
+ <div class="text">
<p>
Except as otherwise <a href="http://code.google.com/policies.html#restrictions">noted</a>,
the content of this page is licensed under the <a rel="license" href="http://creativecommons.org/licenses/by/3.0/">Creative Commons
@@ -1303,8 +1343,8 @@ using the <b>popup</b> field of <b>browser_action</b>.
catch(e) {/* urchinTracker not available. */}
</script>
<!-- end analytics -->
-
- </div> <!-- /pageFooter -->
- </div> <!-- /container -->
+ </div>
+ </div> <!-- /gc-footer -->
+ </div> <!-- /gc-container -->
</body></html>
diff --git a/chrome/common/extensions/docs/content_scripts.html b/chrome/common/extensions/docs/content_scripts.html
index f37f1fa..a20dcd9 100644
--- a/chrome/common/extensions/docs/content_scripts.html
+++ b/chrome/common/extensions/docs/content_scripts.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>Content Scripts</title></head><body> <div id="container">
+ <title>Content Scripts</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
@@ -68,39 +68,74 @@
</div> <!-- /SUBTEMPLATES -->
- <a name="top"> </a>
+ <a id="top"></a>
+ <div id="skipto">
+ <a href="#gc-pagecontent">Skip to page content</a>
+ <a href="#gc-toc">Skip to main navigation</a>
+ </div>
<!-- API HEADER -->
- <div id="pageHeader">
- <div id="searchbox">
- <form action="http://www.google.com/cse" id="cse-search-box">
- <div>
+ <div id="gc-header">
+ <div id="logo">
+
+
+ <img src="images/code_labs_logo.gif" height="43" width="161" alt="Google Code Labs" style="border:0;">
+
+
+ </div>
+ <div id="search">
+ <div id="searchForm" class="searchForm">
+ <form action="http://www.google.com/cse" id="cse">
+ <div id="gsc-search-box">
<input type="hidden" name="cx" value="002967670403910741006:61_cvzfqtno">
<input type="hidden" name="ie" value="UTF-8">
<input type="text" name="q" size="31">
- <input type="submit" name="sa" value="Search">
+ <input class="gsc-search-button" type="submit" name="sa" value="Search">
</div>
</form>
+ <p>&nbsp;</p>
+ </div> <!-- end searchForm -->
<script type="text/javascript" src="http://www.google.com/jsapi"></script>
<script type="text/javascript">google.load("elements", "1", {packages: "transliteration"});</script>
- <script type="text/javascript" src="http://www.google.com/coop/cse/t13n?form=cse-search-box&amp;t13n_langs=en"></script>
- <script type="text/javascript" src="http://www.google.com/coop/cse/brand?form=cse-search-box&amp;lang=en"></script>
- </div>
- <div id="pageTitle">
- <h1>Content Scripts</h1>
- </div>
- </div> <!-- /pageHeader -->
+ <script type="text/javascript" src="http://www.google.com/coop/cse/t13n?form=cse&amp;t13n_langs=en"></script>
+ <script type="text/javascript" src="http://www.google.com/coop/cse/brand?form=cse&amp;lang=en"></script>
+ </div> <!-- end search -->
+ </div> <!-- end gc-header -->
+
+ <div id="codesiteContent">
+
+ <a id="gc-topnav-anchor"></a>
+ <div id="gc-topnav">
+ <h1>Google Chrome Extensions (<a href="/labs/">Labs</a>)</h1>
+ <ul id="home" class="gc-topnav-tabs">
+ <li id="home_link">
+ <a href="index.html" class="selected" title="Google Chrome Extensions documentation home page">Home</a>
+ </li>
+ <li id="blog_link">
+ <a href="http://blog.chromium.org/" title="Chromium blog">Blog</a>
+ </li>
+ <li id="faq_link">
+ <a href="faq.html" title="Google Chrome Extensions FAQ">FAQ</a>
+ </li>
+ <li id="group_link">
+ <a href="http://groups.google.com/group/chromium-extensions" title="Chromium-Extensions group">Group</a>
+ </li>
+ <li id="terms_link">
+ Terms
+ </li>
+ </ul>
+ </div> <!-- end gc-topnav -->
- <div id="pageContent">
+ <div class="g-section g-tpl-170">
<!-- SIDENAV -->
- <div id="leftNav">
+ <div class="g-unit g-first" id="gc-toc">
<ul>
- <li> <a href="index.html">Home</a></li>
- <li> <a href="getstarted.html">Getting Started</a></li>
- <li> <a href="overview.html">Overview</a></li>
- <li> <a href="devguide.html"><div>Developer's Guide</div></a>
+ <li><a href="index.html">Home</a></li>
+ <li><a href="getstarted.html">Getting Started</a></li>
+ <li><a href="overview.html">Overview</a></li>
+ <li><h2><a href="devguide.html">Developer's Guide</a></h2>
<ul>
- <li> Browser UI
+ <li>Browser UI
<ul>
<li><a href="browserAction.html">Browser Actions</a></li>
<li><a href="options.html">Options Pages</a></li>
@@ -109,7 +144,7 @@
<li><a href="themes.html">Themes</a></li>
</ul>
</li>
- <li> Browser Interaction
+ <li>Browser Interaction
<ul>
<li><a href="bookmarks.html">Bookmarks</a></li>
<li><a href="events.html">Events</a></li>
@@ -117,7 +152,7 @@
<li><a href="windows.html">Windows</a></li>
</ul>
</li>
- <li> Implementation
+ <li>Implementation
<ul>
<li><a href="background_pages.html">Background Pages</a></li>
<li class="leftNavSelected">Content Scripts</li>
@@ -126,7 +161,7 @@
<li><a href="npapi.html">NPAPI Plugins</a></li>
</ul>
</li>
- <li> Finishing
+ <li>Finishing
<ul>
<li><a href="autoupdate.html">Autoupdating</a></li>
<li><a href="packaging.html">Packaging</a></li>
@@ -134,32 +169,35 @@
</li>
</ul>
</li>
- <li><a href="tutorials.html"><div>Tutorials</div></a>
+ <li><h2><a href="tutorials.html">Tutorials</a></h2>
<ul>
<li><a href="tut_debugging.html">Debugging</a></li>
</ul>
</li>
- <li>Reference
+ <li><h2>Reference</h2>
<ul>
- <li> Formats
+ <li>Formats
<ul>
<li><a href="manifest.html">Manifest Files</a></li>
<li><a href="match_patterns.html">Match Patterns</a></li>
<!-- <li>Packages (.crx)</li> -->
</ul>
</li>
- <li> <a href="api_index.html">chrome.* APIs</a> </li>
- <li> <a href="api_other.html">Other APIs</a> </li>
+ <li><a href="api_index.html">chrome.* APIs</a></li>
+ <li><a href="api_other.html">Other APIs</a></li>
</ul>
</li>
- <li><a href="samples.html">Samples</a></li>
+ <li><h2><a href="samples.html">Samples</a></h2></li>
</ul>
</div>
- <div id="mainColumn">
+ <div class="g-unit" id="gc-pagecontent">
+ <div id="pageTitle">
+ <h1 class="page_title">Content Scripts</h1>
+ </div>
<!-- TABLE OF CONTENTS -->
<div id="toc">
- <p>Contents</p>
+ <h2>Contents</h2>
<ol>
<li>
<a href="#registration">Manifest</a>
@@ -638,9 +676,11 @@ document.getElementById("someImage").src = imgURL;
</div> <!-- /apiGroup -->
</div> <!-- /apiPage -->
- </div> <!-- /mainColumn -->
- </div> <!-- /pageContent -->
- <div id="pageFooter" --="">
+ </div> <!-- /gc-pagecontent -->
+ </div> <!-- /g-section -->
+ </div> <!-- /codesiteContent -->
+ <div id="gc-footer" --="">
+ <div class="text">
<p>
Except as otherwise <a href="http://code.google.com/policies.html#restrictions">noted</a>,
the content of this page is licensed under the <a rel="license" href="http://creativecommons.org/licenses/by/3.0/">Creative Commons
@@ -672,8 +712,8 @@ document.getElementById("someImage").src = imgURL;
catch(e) {/* urchinTracker not available. */}
</script>
<!-- end analytics -->
-
- </div> <!-- /pageFooter -->
- </div> <!-- /container -->
+ </div>
+ </div> <!-- /gc-footer -->
+ </div> <!-- /gc-container -->
</body></html>
diff --git a/chrome/common/extensions/docs/css/ApiRefStyles.css b/chrome/common/extensions/docs/css/ApiRefStyles.css
index 7726805..6af8ed7 100755
--- a/chrome/common/extensions/docs/css/ApiRefStyles.css
+++ b/chrome/common/extensions/docs/css/ApiRefStyles.css
@@ -11,51 +11,336 @@
display: none;
}
+/* This is the start of the styles imported from Codesite. */
+
+.g-section:after {
+ content:".";
+ display:block;
+ height:0;
+ clear:both;
+ visibility:hidden
+}
+
+.g-section,.g-unit {
+ zoom:1
+}
+
body {
- font-family:Arial, Helvetica, sans-serif;
- font-size: 13px;
+ font-family:Helvetica,Arial,sans-serif;
+ font-size:small;
+ color:#000;
+ background-color:#fff;
+ margin:3px 8px
}
-h2,h3 {
- margin-top: 2em;
+a,a:link {
+ color:#00c
}
-div.summary .subdued {
- color: rgb(147, 180, 217);
+a:active {
+ color:red
}
-.optional {
- color: rgb(125, 125, 125);
+a:visited {
+ color:#551a8b
}
-.apiGroup div.description {
- margin-left: 2em;
+p {
+ /* padding:1em 0 0 0; */
+ margin:1em 0 0 0;
+ line-height:125%
}
-.apiGroup div.summary {
- border: 1px solid rgb(147, 180, 217);
- font-family: "Courier New", courier, monospace;
- padding: 0.5em;
- background-color: rgb(202, 222, 244);
+img {
+ border:none;
+ padding:0;
+ margin:1em 0 0 0;
}
-div.summary div {
- margin-bottom: 0.5em;
+a img {
+ border:1px solid;
+ padding:1px
}
pre b {
- background-color: rgb(255, 255, 0);
+ background:yellow
+}
+
+code,pre {
+ font-family:monospace;
+ color:#007000
+}
+
+code {
+ font-size:10pt
}
pre {
- border: 1px solid rgb(187, 187, 187);
- padding: 0.5em;
- background-color: rgb(250, 250, 250);
+ font-size:9pt;
+ background-color:#fafafa;
+ border:1px solid #bbb;
+ line-height:125%;
+ margin:1em 0 0 0;
+ padding:.99em;
+ overflow:auto;
+ word-wrap:break-word
+}
+
+form {
+ margin:1em 0 0 0;
+ padding:0
+}
+
+blockquote {
+ text-align:justify;
+ margin:1em 90px 0 70px;
+ padding:0 20px
+}
+
+hr {
+ border:1px solid;
+ border-color:#36C;
+ margin:1em 0
+}
+
+h1,h2,h3,h4 {
+ margin-bottom:0
+}
+
+h1 {
+ font-size:160%
+}
+
+h2 {
+ font-size:140%
+}
+
+h3 {
+ font-size:120%
+}
+
+h4 {
+ font-size:110%
+}
+
+#gc-pagecontent h1 {
+ font-size:130%;
+ font-weight:bold;
+ margin:2em 0 0 -10px;
+ padding:1px 3px;
+ position:relative;
+ border-top:1px solid #36C;
+ background-color:#e5ecf9
+}
+
+.labs #gc-pagecontent h1 {
+ background-color:#dcf6db;
+ border-top:1px solid #090
+}
+
+.depr #gc-pagecontent h1 {
+ background-color:#ddd;
+ border-top:1px solid #333
+}
+
+#gc-pagecontent h2 {
+ font-size:130%;
+ font-weight:bold;
+ margin:1.5em 0 0 0
+}
+
+#gc-pagecontent h3 {
+ font-size:110%;
+ margin:.7em 0 0 0;
+ position:relative;
+ top:.4em
+}
+
+#gc-pagecontent h4 {
+ font-size:100%;
+ font-weight:bold;
+ margin:.6em 0 0 0;
+ position:relative;
+ top:.4em;
+ z-index:5
+}
+
+#gc-pagecontent h5 {
+ font-size:100%;
+ font-weight:normal;
+ font-style:italic;
+ text-decoration:underline;
+ margin:.4em 0 0 0;
+ position:relative;
+ top:.4em;
+ z-index:5
+}
+
+/* This next set of rules for headings comes from the Codesite "semantic_headers.css" file. */
+
+#gc-pagecontent h1 {
+ line-height: 130%;
+ font-size: 170%;
+ margin: 0 0 0 -10px;
+ padding: .8em 0 0;
+ border: none;
+ background: none;
+}
+
+#gc-pagecontent h2 {
+ font-size: 130%;
+ font-weight: bold;
+ margin: 2em 0 0 -10px;
+ padding: 1px 3px;
+ /* position: relative; */
+ border-top: 1px solid #3366CC;
+ background-color: #e5ecf9;
+}
+
+.labs #gc-pagecontent h2 {
+ background-color: #dcf6db;
+ border-top: 1px solid #009900;
+}
+
+#gc-pagecontent h3 {
+ font-size: 130%;
+ font-weight: bold;
+ margin: 1.5em 0 0 0;
+ top: 0em;
+}
+
+#gc-pagecontent h4 {
+ font-size: 110%;
+ margin: .7em 0 0 0;
+ position: relative;
+ top: .4em;
+}
+
+#gc-pagecontent h5 {
+ font-size: 100%;
+ font-weight: bold;
+ margin: .6em 0 0 0;
+ position: relative;
+ top: .4em;
+ z-index: 5;
+}
+
+#gc-pagecontent h6 {
+ font-size: 100%;
+ font-weight: normal;
+ font-style: italic;
+ text-decoration: underline;
+ margin: .4em 0 0 0;
+ position: relative;
+ top: .4em;
+ z-index: 5;
+}
+
+#gc-pagecontent h1.page_title,#gc-pagecontent h2.page_title {
+ line-height:130%;
+ font-size:170%;
+ margin:0 0 0 -10px;
+ padding:.8em 0 0;
+ border:none;
+ background:none
+}
+
+ol,ul {
+ padding:0;
+ margin:.5em 0 0 15px;
+ line-height:125%
+}
+
+li ol,li ul {
+ padding:0;
+ margin:0 0 0 10px
+}
+
+li {
+ margin:.3em 0 0 1.5em;
+ padding:0
+}
+
+dl {
+ margin:0;
+ padding:0;
+ line-height:125%
+}
+
+dt {
+ font-weight:bold;
+ margin:.75em 0 0 0;
+ padding:0
+}
+
+dd {
+ margin:.4em 0 0 2em;
+ padding:0;
+ font-weight:normal
+}
+
+li pre {
+ margin:.5em 0 .6em 0
+}
+
+li p,dd p {
+ padding:.5em 0 .6em 0;
+ margin:0
+}
+
+ol.alpha {
+ list-style:lower-alpha
+}
+
+ol.alphacap {
+ list-style:upper-alpha
+}
+
+ol.roman {
+ list-style:lower-roman
+}
+
+ol.romancap {
+ list-style:upper-roman
+}
+
+ol.termslist {
+ list-style-type:decimal
+}
+
+ol.termslist>li>ol {
+ list-style-type:lower-alpha
+}
+
+ol.termslist>li>ol>li>ol {
+ list-style-type:lower-roman
+}
+
+.listhead li {
+ font-weight:bold
+}
+
+.listhead li *,.listhead li li {
+ font-weight:normal
+}
+
+.code li {
+ font-family:monospace;
+ font-size:10pt
+}
+
+.code li p,.code li li {
+ font-family:Arial,Helvetica,sans-serif
+}
+
+li p.note,li p.warning,li p.labswarning,li p.caution {
+ margin:.8em 0 0 0;
+ padding:.2em .5em .2em .9em
}
div#toc {
background-color: rgb(232, 237, 235);
- border: 1px solid rgb(176, 189, 204);
+ border: 1px solid #090;
display: inline;
float: right;
margin: 5px 0px 5px 20px;
@@ -69,174 +354,984 @@ div#toc {
}
#toc ol {
- list-style-image: none;
- list-style-type: none;
- padding-left: 1em;
+ margin:1em 0 0 0;
+ padding:0;
+ list-style:none
}
-#toc li {
- margin-top: 0;
+#toc ol li {
+ margin:.4em 0 0 1em;
+ padding:0
}
-div#breadcrumbs {
- display: inline;
- font-size: 80%;
+#toc ol li ol {
+ margin:0;
+ padding:0
}
-div#searchbox {
- display: inline;
- float: right;
- /*
- margin: 5px 0px 5px 20px;
- padding: 5px;
- width: 250px; */
+#toc ol li ol li {
+ padding:0;
+ margin:.1em 0 0 1em;
+ font-weight:normal;
+ list-style:none
}
-.exampleLink {
- font-size: 80%;
+table {
+ border-collapse:collapse;
+ line-height:125%
}
-dd {
- margin-bottom: 0.75em;
+th,td {
+ text-align:left;
+ vertical-align:top
}
-ol li {
- margin-top: 1em;
+table {
+ margin:0 0 0 1px;
+ /* border:1px solid; */
+ border-color:#36C;
+ border-spacing:0;
+ clear:right
}
-.example {
+.labs #gc-pagecontent table {
+ border-color:#090
}
-p#classSummary {
+th {
+ font-weight:bold;
+ text-align:left;
+ padding:6px 12px;
+
+ /* IE ignores labs */
+ /* border:1px solid #36C; */
+ /* background-color:#e5ecf9 */
}
-.apiItem {
+.labs #gc-pagecontent th {
+ border-color:#090 important!;
+ background-color:#dcf6db important!
}
-div.note {
- background-color: rgb(202, 222, 244);
- border: 1px solid rgb(147, 180, 217);
- padding: 0.5em;
- margin: 1em 0px;
+td {
+ padding:6px 12px;
+ border:1px solid #36C;
+ background-color:#fff;
+ text-align:left;
+ vertical-align:top
}
-img {
- border-width: 0px;
+
+.labs #gc-pagecontent td {
+ border-color:#090
}
-.hidden {
- display: none;
+td h1,td h2,td h3,td h4,td h5 {
+ margin-left:0
}
-#container {
- height:auto !important;
+td ul,td ol {
+ margin:0 0 1em 15px;
+ padding:0
+}
+
+td p,td dl {
+ margin:0 0 1em 0;
+ padding:0
+}
+
+td *+p {
+ margin:1em 0 0 0;
+ padding:0
+}
+
+table.columns {
+ border:none;
+ margin:1em 0 0;
+ /* margin-right omitted to avoid IE6 bug */
+}
+
+#gc-pagecontent table.columns th {
+ border:none;
+ background-color:white;
+ padding:1em 1em 0 0
+ margin:1em 0 0;
+}
+
+.labs #gc-pagecontent table.columns th {
+ border:none;
+ background-color:white;
+}
+
+table.columns td {
+ border:none;
+ padding:0 1em 0 0
+}
+
+table.columns td p {
+ margin:1em 0 0 0;
+ padding:0
+}
+
+.deprecated,.deprecated *,.deprecated a:link,.deprecated a:hover,.deprecated a:visited {
+ color:#9b9b9b
+}
+
+.grey {
+ color:#666
+}
+
+.blue {
+ color:#36e
+}
+
+.topmargin {
+ margin-top:1em !important
+}
+
+.nomargin {
+ margin:0 !important
+}
+
+.nopadding {
+ padding:0 !important
+}
+
+.noborder {
+ border:none !important
+}
+
+.border {
+ border:1px solid gray;
+ padding:1px
+}
+
+.normalsize {
+ font-size:100% !important
+}
+
+.nolist li {
+ margin-left:0;
+ list-style:none
+}
+
+.noindent {
+ margin-left:0
+}
+
+.doublespace,.doublespace li {
+ margin-top:1em
+}
+
+ul.doublespace,ol.doublespace {
+ margin-top:0;
+ padding-top:0
+}
+
+div.row {
+ float:left;
+ clear:left;
+ position:relative;
+ margin:1em 0 0;
+ padding:0
+}
+
+.left {
+ float:left;
+ margin:0 1em 0 0;
+ padding:0
+}
+
+div.special {
+ border:1px solid;
+ padding:0 .9em .9em;
+ margin:1em 0 0 0;
+ background-color:#e5ecf9;
+ border-color:#36C
+}
+
+.labs div.special {
+ background-color:#dcf6db;
+ border:1px solid #090
+}
+
+p.note,p.caution,p.warning {
+ margin:1em 0 0 0;
+ padding:.2em .5em .2em .9em;
+ background-color:#efefef;
+ border-top:1px solid;
+ border-bottom:1px solid
+}
+
+p.labswarning {
+ margin:1em 0 0 0;
+ padding:.2em .5em .2em 20px;
+ background:url(/images/labs-11.png) top left no-repeat;
+ background-position:4px 6px;
+ background-color:#dcf6db;
+ border-top:1px solid;
+ border-bottom:1px solid;
+ border-color:#090
+}
+
+p.note {
+ border-color:#36C
+}
+
+p.caution {
+ border-color:#fc3
+}
+
+p.warning {
+ border-color:#a03
+}
+
+p.warning b,p.warning em,p.warning strong {
+ color:#a03;
+ font-weight:bold
+}
+
+p.caption {
+ padding:1px 0 0;
+ margin:0
+}
+
+p#date,p.date {
+ text-align:left;
+ margin:0;
+ padding:1em;
+ font-style:italic;
+ font-size:x-small
+}
+
+p.backtotop {
+ float:right;
+ margin:.5em 0 0 4em;
+ position:relative;
+ padding:0;
+ font-size:x-small;
+ z-index:99
+}
+
+.hidden,.hidden *,#skipto,#skipto *,#skipto a,#skipto a:hover,#skipto a:visited {
+ position:relative;
+ top:-9999px;
+ left:-9999px;
+ height:0;
+ width:0;
+ overflow:hidden;
+ z-index:4444
+}
+
+#skipto,#skipto *,#skipto a,#skipto a:hover,#skipto a:visited {
+ _position:relative
+}
+
+#skipto a:focus {
+ position:fixed;
+ top:5px;
+ left:5px;
+ height:auto;
+ width:auto;
+ background-color:#fff;
+ border:2px solid #00C;
+ font-weight:bold;
+ padding:5px
+}
+
+#gc-container {
margin:0;
+ padding:0;
max-width:1160px;
+ position:relative;
min-height:100%;
+ height:auto !important;
+ _height:100%
+}
+
+#gc-pagecontent {
+ padding-left:24px;
+ border-left:3px solid #e5ecf9
+}
+
+.moreright {
+ margin:2px 0 2px 0;
+ text-align:right
+}
+
+#gc-header {
+ padding:7px 0 0 0;
+ margin:9px 0 12px
+}
+
+#gc-header #logo {
+ margin:0;
+ padding-top:5px;
+ position:absolute
+}
+
+#gc-header a img {
+ border:none;
padding:0;
- position:relative;
+ margin:0
+}
+
+#gc-header #gc-logo-img {
+ background-image:url(/images/sprites08132008.png);
+ background-position:-28px -36px;
+ width:153px;
+ height:55px;
+ cursor:pointer
+}
+
+#gc-topnav {
+ font-size:1em;
+ margin:0;
+ padding:.1em 0;
+ width:100%;
+ white-space:nowrap;
+ word-wrap:normal;
+ background-color:#e5ecf9;
+ border-top:1px solid #36C
+}
+
+.labs #gc-topnav {
+ background-color:#dcf6db;
+ border-top:1px solid #090
+}
+
+.depr #gc-topnav {
+ background-color:#ddd;
+ border-top:1px solid #333
+}
+
+#gc-topnav h1 {
+ font-size:1.5em;
+ line-height:1.3em;
+ font-weight:bold;
+ background-color:transparent;
+ border:0;
+ margin:0;
+ padding:0 0 0 26px;
+ float:left
+}
+
+#gc-topnav h1.msie {
+ padding-left:0
+}
+
+#gc-topnav h1.mozilla {
+ padding-left:1px
}
-#pageHeader {
- margin:9px 0 12px;
- padding:7px 0 0;
+#gc-topnav h1.default {
+ padding-left:2px
}
-#pageTitle {
+#gc-topnav img {
+ padding:.3em .3em .3em .5em;
+ float:left;
+ cursor:pointer
+}
+
+#gc-topnav ul {
+ line-height:1em;
+ text-align:right;
+ list-style:none;
+ margin:0;
+ padding:.47em 0
+}
+
+#gc-topnav ul li {
+ float:none;
+ display:inline;
+ margin:0;
+ padding:0
}
-#pageContent {
+#gc-topnav li a {
+ padding:0 .8em
}
-#leftNav {
+a.leftNavSelected,.leftNavSelected a,a.leftNavSelected:visited,.leftNavSelected a:visited {
+ color:#000;
+ text-decoration:none
+}
+
+#gc-topnav a.leftNavSelected,#gc-topnav a.leftNavSelected:visited {
+ font-weight:bold
+}
+
+#gc-toc {
clear:left;
- padding:0.5em 0 140px !important;
+ padding:.5em 0 140px 0 !important;
display:block;
- float:left;
margin:0;
width:171px;
+ float:left
}
-#leftNav ul {
- line-height:120%;
+#gc-toc * {
+ zoom:1
+}
+
+#gc-toc ul,#gc-toc ol {
+ padding:.6em 0 0;
margin:0;
+ line-height:120%
+}
+
+#gc-toc ul ul,#gc-toc ol ol {
padding:0;
+ margin:0
+}
+
+#gc-toc ul *,#gc-toc ol *,.treelist * {
+ vertical-align:middle
+}
+
+#gc-toc li a {
+ padding-right:4px;
+ _padding-right:0
+}
+
+#gc-toc ul li,#gc-toc ol li,#gc-toc .treelist li {
+ list-style:none;
+ padding:.2em 0 .2em 2px;
+ margin:0
+}
+
+#gc-toc ul li li,#gc-toc ol li li,#gc-toc .treelist li li {
+ padding:.2em 0 .2em 15px
}
-#leftNav ul li {
- list-style-image:none;
- list-style-position:outside;
- list-style-type:none;
+#gc-toc ul h1,#gc-toc ol h1,#gc-toc ul h2,#gc-toc ol h2 {
+ font-weight:bold;
+ font-size:100%;
margin:0;
- padding:0.2em 0 0.2em 1em;
+ padding:.2em 0;
+ border:none;
+ background:#fff
+}
+
+#toc h2 {
+ font-weight:bold;
+ font-size:100%;
+ margin:0;
+ border:none !important;
+ background-color: rgb(232, 237, 235) !important;
+ padding:0
+}
+
+#gc-toc ul .leftNavSelected,#gc-toc ol .leftNavSelected,.treelist .leftNavSelected {
+ background-color:#e5ecf9;
+ color:#000;
+ text-decoration:none;
+ z-index:2;
+ position:relative
+}
+
+.labs #gc-toc ul .leftNavSelected,.labs #gc-toc ol .leftNavSelected,.labs .treelist .leftNavSelected {
+ background-color:#dcf6db
+}
+
+.depr #gc-toc ul .leftNavSelected,.depr #gc-toc ol .leftNavSelected,.depr .treelist .leftNavSelected {
+ background-color:#ddd
+}
+
+#gc-toc ul div.tlw-title,#gc-toc ol div.tlw-title,#gc-toc .treelist div.tlw-title {
+ position:relative;
+ margin:0 0 0 -15px;
+ padding:.2em 0 .2em 15px
+}
+
+#gc-toc ul div.tlw-title img.tlw-control,#gc-toc ol div.tlw-title img.tlw-control,.treelist div.tlw-title img.tlw-control {
+ position:relative;
+ height:inherit;
+ width:9px;
+ margin:0 !important;
+ padding:0;
+ border:none
+}
+
+#gc-toc ul .tlw-plus,#gc-toc ol .tlw-plus,.treelist .tlw-plus {
+ background-image:url(/images/sprites08132008.png);
+ background-position:-28px -146px;
+ width:9px;
+ height:9px
+}
+
+#gc-toc ul .tlw-minus,#gc-toc ol .tlw-minus,.treelist .tlw-minus {
+ background-image:url(/images/sprites08132008.png);
+ background-position:-28px -210px;
+ width:9px;
+ height:9px
+}
+
+#gc-toc ul .tlw-plus:hover,#gc-toc ol .tlw-plus:hover,.treelist .tlw-plus:hover {
+ background-image:url(/images/sprites08132008.png);
+ background-position:-28px -344px;
+ width:9px;
+ height:9px
+}
+
+#gc-toc ul .tlw-minus:hover,#gc-toc ol .tlw-minus:hover,.treelist .tlw-minus:hover {
+ background-image:url(/images/sprites08132008.png);
+ background-position:-28px -408px;
+ width:9px;
+ height:9px
+}
+
+#gc-toc h1,#gc-toc h2 {
+ font-weight:bold;
+ font-size:100%;
+ margin:0;
+ padding:0;
+ border:none;
+ background:#fff
+}
+
+#gc-toc div.line {
+ border-top:thin dotted #bbb;
+ height:1px;
+ margin:1.3em 1em 0 0;
+ padding:0
+}
+
+#gc-toc.hidden {
+ display:none
+}
+
+#gc-toc.visible * {
+ zoom:1
+}
+
+#gc-pagecontent.expanded {
+ margin-left:0;
+ width:auto
+}
+
+#gc-collapsible {
+ position:absolute;
+ left:-5px;
+ top:0;
+ width:3px;
+ overflow:hidden;
+ border:2px solid #fff;
+ border-top:none;
+ border-bottom:none;
+ background:#e5ecf9;
+ cursor:pointer
+}
+
+.labs #gc-collapsible {
+ background-color:#dcf6db
+}
+
+.depr #gc-collapsible {
+ background-color:#ddd
+}
+
+#gc-collapsible.hover {
+ border-color:#d3d9e5;
+ border-width:1px;
+ width:5px
+}
+
+.labs #gc-collapsible.hover {
+ border-color:#090
+}
+
+.depr #gc-collapsible.hover {
+ border-color:#333
+}
+
+#gc-collapsible-arrow {
+ width:4px;
+ height:12px;
+ background:url(/images/hide-arrow.gif) top left no-repeat;
+ position:absolute;
+ margin-left:-15px;
+ display:none;
+ z-index:5
+}
+
+#gc-collapsible-arrow.collapsed {
+ background:url(/images/show-arrow.gif) top left no-repeat;
+ margin-left:17px
+}
+
+#gc-footer {
+ clear:both;
+ margin:0;
+ color:#666
+}
+
+#gc-footer .text {
+ text-align:center;
+ padding:30px 0;
+ margin:0 0 0 0
+}
+
+#gc-footer .notice {
+ padding:0 0 8px 0
+}
+
+#search {
+ margin:12px 0 0 170px
+}
+
+#search table,#search table td {
+ border:none;
+ padding:0;
+ margin:0;
+ clear:none
+}
+
+#search form {
+ margin:0
+}
+
+.greytext {
+ color:#aaa;
+ font-size:small;
+ height:14px
+}
+
+div.search-control {
+ display:none;
+ margin-top:3px;
+ padding:3px
+}
+
+div.search-control .gsc-control {
+ width:100%
+}
+
+div.search-control .gsc-ad-box {
+ display:none
+}
+
+.gsc-control form.gsc-search-box {
+ display:none
+}
+
+td.gsc-clear-button {
+ display:none
+}
+
+.gsc-search-button {
+ margin-left:1px
+}
+
+.gsc-branding {
+ display:none
+}
+
+.gsc-tabsArea {
+ border-top:1px solid #36C;
+ background:#e5ecf9 none repeat scroll 0;
+ padding:5px 1px 4px;
+ width:100%
+}
+
+.gsc-tabsArea .gs-spacer {
+ font-size:0;
+ margin-right:0;
+ overflow:hidden
+}
+
+.gsc-tabsArea .gs-spacer-opera {
+ margin-right:0
+}
+
+.gsc-tabsAreaInvisible {
+ display:none
+}
+
+.gsc-tabHeader {
+ display:inline;
+ cursor:pointer;
+ padding-left:0;
+ padding-right:0;
+ margin-right:0;
+ font-weight:bold
+}
+
+.gsc-tabHeader.gsc-tabhActive {
+ position:relative;
+ padding:0 10px 0 5px;
+ font-weight:bold;
+ color:#000;
+ cursor:auto
+}
+
+.gsc-tabHeader.gsc-tabhInactive {
+ padding:0 10px 0 5px;
+ font-weight:normal;
+ text-decoration:underline;
+ color:#00C
}
-.leftNavSelected {
- background-color: rgb(229, 236, 249);
+.gsc-tabData.gsc-tabdActive {
+ display:block
}
-div.leftNavSelected {
- padding-top: 1px;
- padding-bottom: 1px;
- margin-left: -12px;
- padding-left: 12px;
+.gsc-tabData.gsc-tabdInactive {
+ display:none
}
+
+.gsc-resultsbox-visible {
+ width:42em
+}
+
+.gsc-results {
+ clear:both;
+ padding-bottom:2px;
+ padding-top:15px
+}
+
+.gsc-results table,.gsc-results td {
+ border:0
+}
+
+#searchControl .gs-publisher {
+ display:none
+}
+
+.gsc-result {
+ margin-bottom:1.2em
+}
+
+.gsc-result .gs-title {
+ height:1.4em;
+ overflow:hidden;
+ font-size:110%
+}
+
+.gsc-result div.gs-watermark {
+ display:none
+}
+
+.gsc-resultsHeader {
+ display:none
+}
+
+.gsc-results .gsc-trailing-more-results {
+ margin-bottom:10px
+}
+
+.gsc-results .gsc-trailing-more-results,.gsc-results .gsc-trailing-more-results * {
+ color:#00c;
+ text-decoration:underline
+}
+
+.gsc-results .gsc-cursor-box .gsc-trailing-more-results {
+ margin-bottom:0;
+ display:inline
+}
+
+.gsc-results .gsc-cursor {
+ display:inline
+}
+
+.gsc-results .gsc-cursor-box {
+ margin-bottom:10px
+}
+
+.gsc-results .gsc-cursor-box .gsc-cursor-page {
+ cursor:pointer;
+ color:#000;
+ text-decoration:underline;
+ margin-right:8px;
+ display:inline
+}
+
+.gsc-results .gsc-cursor-box .gsc-cursor-current-page {
+ color:#a90a08;
+ font-weight:bold;
+ text-decoration:none
+}
+
+.gs-result .gs-title,.gs-result .gs-title * {
+ color:#00c;
+ text-decoration:underline
+}
+
+.gs-divider {
+ padding-bottom:8px;
+ text-align:center;
+ color:#676767
+}
+
+.gs-result a.gs-visibleUrl,.gs-result .gs-visibleUrl {
+ color:green;
+ text-decoration:none
+}
+
+.gsc-webResult div.gs-visibleUrl-short {
+ display:none
+}
+
+.gs-webResult div.gs-visibleUrl-long {
+ width:100%;
+ overflow:hidden;
+ display:block;
+ white-space:nowrap
+}
+
+.g-tpl-170 .g-unit,.g-unit .g-tpl-170 .g-unit,.g-unit .g-unit .g-tpl-170 .g-unit {
+ display:block;
+ margin:0 0 0 171px;
+ width:auto;
+ float:none
+}
+
+.g-unit .g-unit .g-tpl-170 .g-first,.g-unit .g-tpl-170 .g-first,.g-tpl-170 .g-first {
+ display:block;
+ margin:0;
+ width:171px;
+ float:left
+}
+
+#cs-searcharea a.unselectable {
+ -moz-user-select:none;
+ -user-select:none
+}
+
+#cs-recommended {
+ text-align:left;
+ background-color:#e3effe;
+ font-style:italic
+}
+
+#cs-searchresults {
+ position:absolute;
+ margin-left:-.3em;
+ background:#fff;
+ line-height:140%;
+ border:1px #c9c9c9 solid;
+ cursor:pointer;
+ position:absolute;
+ z-index:2010;
+ display:none
+}
+
+#cs-searchresults a {
+ text-decoration:none;
+ color:#000
+}
+
+.cs-searchresult {
+ padding:0;
+ display:block
+}
+
+img.collapsible-control {
+ width:9px;
+ height:9px;
+ cursor:pointer;
+ margin:1px;
+ vertical-align:middle
+}
+
+img.collapsible-control.collapsible-plus {
+ background-image:url(/images/plus.gif)
+}
+
+img.collapsible-control.collapsible-plus.collapsible-hover {
+ background-image:url(/images/plus_hover.gif)
+}
+
+img.collapsible-control.collapsible-minus {
+ background-image:url(/images/minus.gif)
+}
+
+img.collapsible-control.collapsible-minus.collapsible-hover {
+ background-image:url(/images/minus_hover.gif)
+}
+
#mainColumn {
- border-left:3px solid #E5ECF9;
- padding-left:24px;
display:block;
- float:none;
margin:0 0 0 171px;
- position:relative;
width:auto;
+ float:none
}
-#pageFooter {
- margin-top:5em;
- padding:0 10em;
- text-align:center;
+div.summary .subdued {
+ color: rgb(147, 180, 217);
+}
+
+.optional {
color: rgb(125, 125, 125);
+}
+
+.apiGroup div.description {
+ margin-left: 2em;
+}
+
+.apiGroup div.summary {
+ border: 1px solid rgb(147, 180, 217);
+ font-family: "Courier New", courier, monospace;
+ padding: 0.5em;
+ background-color: rgb(202, 222, 244);
+ margin-top: 1em;
+}
+
+div.summary div {
+ margin-bottom: 0.5em;
+}
+
+div#breadcrumbs {
+ display: inline;
font-size: 80%;
}
-#pageFooter a:link { color: rgb(125,125,125) }
+.exampleLink {
+ font-size: 80%;
+}
-#mainColumn table {
- border-collapse:collapse;
+dd {
+ margin-bottom: 0.75em;
}
-#mainColumn th {
- background:#ccc;
- border:1px solid #999;
+ol li {
+ margin-top: 1em;
}
-#mainColumn td {
- text-align:left;
- vertical-align:top;
- border:1px solid #999;
- padding:6px;
+.example {
+}
+
+p#classSummary {
+}
+
+.apiItem {
+}
+
+div.note {
+ background-color: rgb(202, 222, 244);
+ border: 1px solid rgb(147, 180, 217);
+ padding: 0.5em;
+ margin: 1em 0px;
+}
+
+.hidden {
+ display: none;
+}
+
+#gc-pagecontent {
}
#mainColumn table.imagelayout {
border:none;
}
+
#mainColumn table.imagelayout td {
border:none;
padding:0px 6px 6px;
text-align:center;
}
+
#mainColumn table.imagelayout tr.images td {
vertical-align:bottom;
}
-#mainColumn .columns {
- border: none;
- margin-top:0;
- margin-bottom:0;
- margin-left:0;
- /* margin-right omitted to avoid IE6 bug */
- }
-
-#mainColumn .columns td{
- border: none;
- padding:0 10px 0 0px;
- }
diff --git a/chrome/common/extensions/docs/devguide.html b/chrome/common/extensions/docs/devguide.html
index 1e86117..bd38826 100644
--- a/chrome/common/extensions/docs/devguide.html
+++ b/chrome/common/extensions/docs/devguide.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's Guide</title></head><body> <div id="container">
+ <title>Developer's Guide</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
@@ -68,39 +68,74 @@
</div> <!-- /SUBTEMPLATES -->
- <a name="top"> </a>
+ <a id="top"></a>
+ <div id="skipto">
+ <a href="#gc-pagecontent">Skip to page content</a>
+ <a href="#gc-toc">Skip to main navigation</a>
+ </div>
<!-- API HEADER -->
- <div id="pageHeader">
- <div id="searchbox">
- <form action="http://www.google.com/cse" id="cse-search-box">
- <div>
+ <div id="gc-header">
+ <div id="logo">
+
+
+ <img src="images/code_labs_logo.gif" height="43" width="161" alt="Google Code Labs" style="border:0;">
+
+
+ </div>
+ <div id="search">
+ <div id="searchForm" class="searchForm">
+ <form action="http://www.google.com/cse" id="cse">
+ <div id="gsc-search-box">
<input type="hidden" name="cx" value="002967670403910741006:61_cvzfqtno">
<input type="hidden" name="ie" value="UTF-8">
<input type="text" name="q" size="31">
- <input type="submit" name="sa" value="Search">
+ <input class="gsc-search-button" type="submit" name="sa" value="Search">
</div>
</form>
+ <p>&nbsp;</p>
+ </div> <!-- end searchForm -->
<script type="text/javascript" src="http://www.google.com/jsapi"></script>
<script type="text/javascript">google.load("elements", "1", {packages: "transliteration"});</script>
- <script type="text/javascript" src="http://www.google.com/coop/cse/t13n?form=cse-search-box&amp;t13n_langs=en"></script>
- <script type="text/javascript" src="http://www.google.com/coop/cse/brand?form=cse-search-box&amp;lang=en"></script>
- </div>
- <div id="pageTitle">
- <h1>Developer's Guide</h1>
- </div>
- </div> <!-- /pageHeader -->
+ <script type="text/javascript" src="http://www.google.com/coop/cse/t13n?form=cse&amp;t13n_langs=en"></script>
+ <script type="text/javascript" src="http://www.google.com/coop/cse/brand?form=cse&amp;lang=en"></script>
+ </div> <!-- end search -->
+ </div> <!-- end gc-header -->
+
+ <div id="codesiteContent">
+
+ <a id="gc-topnav-anchor"></a>
+ <div id="gc-topnav">
+ <h1>Google Chrome Extensions (<a href="/labs/">Labs</a>)</h1>
+ <ul id="home" class="gc-topnav-tabs">
+ <li id="home_link">
+ <a href="index.html" class="selected" title="Google Chrome Extensions documentation home page">Home</a>
+ </li>
+ <li id="blog_link">
+ <a href="http://blog.chromium.org/" title="Chromium blog">Blog</a>
+ </li>
+ <li id="faq_link">
+ <a href="faq.html" title="Google Chrome Extensions FAQ">FAQ</a>
+ </li>
+ <li id="group_link">
+ <a href="http://groups.google.com/group/chromium-extensions" title="Chromium-Extensions group">Group</a>
+ </li>
+ <li id="terms_link">
+ Terms
+ </li>
+ </ul>
+ </div> <!-- end gc-topnav -->
- <div id="pageContent">
+ <div class="g-section g-tpl-170">
<!-- SIDENAV -->
- <div id="leftNav">
+ <div class="g-unit g-first" id="gc-toc">
<ul>
- <li> <a href="index.html">Home</a></li>
- <li> <a href="getstarted.html">Getting Started</a></li>
- <li> <a href="overview.html">Overview</a></li>
- <li><div class="leftNavSelected">Developer's Guide</div>
+ <li><a href="index.html">Home</a></li>
+ <li><a href="getstarted.html">Getting Started</a></li>
+ <li><a href="overview.html">Overview</a></li>
+ <li><h2><a href="devguide.html">Developer's Guide</a></h2>
<ul>
- <li> Browser UI
+ <li>Browser UI
<ul>
<li><a href="browserAction.html">Browser Actions</a></li>
<li><a href="options.html">Options Pages</a></li>
@@ -109,7 +144,7 @@
<li><a href="themes.html">Themes</a></li>
</ul>
</li>
- <li> Browser Interaction
+ <li>Browser Interaction
<ul>
<li><a href="bookmarks.html">Bookmarks</a></li>
<li><a href="events.html">Events</a></li>
@@ -117,7 +152,7 @@
<li><a href="windows.html">Windows</a></li>
</ul>
</li>
- <li> Implementation
+ <li>Implementation
<ul>
<li><a href="background_pages.html">Background Pages</a></li>
<li><a href="content_scripts.html">Content Scripts</a></li>
@@ -126,7 +161,7 @@
<li><a href="npapi.html">NPAPI Plugins</a></li>
</ul>
</li>
- <li> Finishing
+ <li>Finishing
<ul>
<li><a href="autoupdate.html">Autoupdating</a></li>
<li><a href="packaging.html">Packaging</a></li>
@@ -134,32 +169,35 @@
</li>
</ul>
</li>
- <li><a href="tutorials.html"><div>Tutorials</div></a>
+ <li><h2><a href="tutorials.html">Tutorials</a></h2>
<ul>
<li><a href="tut_debugging.html">Debugging</a></li>
</ul>
</li>
- <li>Reference
+ <li><h2>Reference</h2>
<ul>
- <li> Formats
+ <li>Formats
<ul>
<li><a href="manifest.html">Manifest Files</a></li>
<li><a href="match_patterns.html">Match Patterns</a></li>
<!-- <li>Packages (.crx)</li> -->
</ul>
</li>
- <li> <a href="api_index.html">chrome.* APIs</a> </li>
- <li> <a href="api_other.html">Other APIs</a> </li>
+ <li><a href="api_index.html">chrome.* APIs</a></li>
+ <li><a href="api_other.html">Other APIs</a></li>
</ul>
</li>
- <li><a href="samples.html">Samples</a></li>
+ <li><h2><a href="samples.html">Samples</a></h2></li>
</ul>
</div>
- <div id="mainColumn">
+ <div class="g-unit" id="gc-pagecontent">
+ <div id="pageTitle">
+ <h1 class="page_title">Developer's Guide</h1>
+ </div>
<!-- TABLE OF CONTENTS -->
<div id="toc" style="display: none; ">
- <p>Contents</p>
+ <h2>Contents</h2>
<ol>
<li>
<a>h2Name</a>
@@ -228,6 +266,9 @@ and <a href="overview.html">Overview</a>.
<td colspan="2"><h4>Changing the Google Chrome chrome</h4></td>
</tr>
<tr>
+ <td colspan="2"> &nbsp;</td>
+ </tr>
+ <tr>
<td> <a href="browserAction.html">Browser&nbsp;Actions</a> </td>
<td> Add icons to the toolbar </td>
</tr>
@@ -253,6 +294,9 @@ and <a href="overview.html">Overview</a>.
<td colspan="2"><h4>Interacting with Google Chrome in other ways</h4></td>
</tr>
<tr>
+ <td colspan="2"> &nbsp;</td>
+ </tr>
+ <tr>
<td> <a href="bookmarks.html">Bookmarks</a> </td>
<td> Create, organize, and otherwise manipulate the user's bookmarks </td>
</tr>
@@ -277,6 +321,9 @@ and <a href="overview.html">Overview</a>.
<td colspan="2"><h4>Implementing the innards of your extension</h4></td>
</tr>
<tr>
+ <td colspan="2"> &nbsp;</td>
+ </tr>
+ <tr>
<td> <a href="background_pages.html">Background&nbsp;Pages</a> </td>
<td> Put all the common code for your extension in a single place </td>
</tr>
@@ -302,6 +349,9 @@ and <a href="overview.html">Overview</a>.
<td colspan="2"><h4>Finishing and distributing your extension</h4></td>
</tr>
<tr>
+ <td colspan="2"> &nbsp;</td>
+ </tr>
+ <tr>
<td> <a href="autoupdate.html">Autoupdating</a> </td>
<td> Update extensions automatically </td>
</tr>
@@ -459,9 +509,11 @@ and <a href="overview.html">Overview</a>.
</div> <!-- /apiGroup -->
</div> <!-- /apiPage -->
- </div> <!-- /mainColumn -->
- </div> <!-- /pageContent -->
- <div id="pageFooter" --="">
+ </div> <!-- /gc-pagecontent -->
+ </div> <!-- /g-section -->
+ </div> <!-- /codesiteContent -->
+ <div id="gc-footer" --="">
+ <div class="text">
<p>
Except as otherwise <a href="http://code.google.com/policies.html#restrictions">noted</a>,
the content of this page is licensed under the <a rel="license" href="http://creativecommons.org/licenses/by/3.0/">Creative Commons
@@ -493,8 +545,8 @@ and <a href="overview.html">Overview</a>.
catch(e) {/* urchinTracker not available. */}
</script>
<!-- end analytics -->
-
- </div> <!-- /pageFooter -->
- </div> <!-- /container -->
+ </div>
+ </div> <!-- /gc-footer -->
+ </div> <!-- /gc-container -->
</body></html>
diff --git a/chrome/common/extensions/docs/devtools.html b/chrome/common/extensions/docs/devtools.html
index bb9c2a4..7745320 100644
--- a/chrome/common/extensions/docs/devtools.html
+++ b/chrome/common/extensions/docs/devtools.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>chrome.devtools</title></head><body> <div id="container">
+ <title>chrome.devtools</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
@@ -68,39 +68,74 @@
</div> <!-- /SUBTEMPLATES -->
- <a name="top"> </a>
+ <a id="top"></a>
+ <div id="skipto">
+ <a href="#gc-pagecontent">Skip to page content</a>
+ <a href="#gc-toc">Skip to main navigation</a>
+ </div>
<!-- API HEADER -->
- <div id="pageHeader">
- <div id="searchbox">
- <form action="http://www.google.com/cse" id="cse-search-box">
- <div>
+ <div id="gc-header">
+ <div id="logo">
+
+
+ <img src="images/code_labs_logo.gif" height="43" width="161" alt="Google Code Labs" style="border:0;">
+
+
+ </div>
+ <div id="search">
+ <div id="searchForm" class="searchForm">
+ <form action="http://www.google.com/cse" id="cse">
+ <div id="gsc-search-box">
<input type="hidden" name="cx" value="002967670403910741006:61_cvzfqtno">
<input type="hidden" name="ie" value="UTF-8">
<input type="text" name="q" size="31">
- <input type="submit" name="sa" value="Search">
+ <input class="gsc-search-button" type="submit" name="sa" value="Search">
</div>
</form>
+ <p>&nbsp;</p>
+ </div> <!-- end searchForm -->
<script type="text/javascript" src="http://www.google.com/jsapi"></script>
<script type="text/javascript">google.load("elements", "1", {packages: "transliteration"});</script>
- <script type="text/javascript" src="http://www.google.com/coop/cse/t13n?form=cse-search-box&amp;t13n_langs=en"></script>
- <script type="text/javascript" src="http://www.google.com/coop/cse/brand?form=cse-search-box&amp;lang=en"></script>
- </div>
- <div id="pageTitle">
- <h1>chrome.devtools</h1>
- </div>
- </div> <!-- /pageHeader -->
+ <script type="text/javascript" src="http://www.google.com/coop/cse/t13n?form=cse&amp;t13n_langs=en"></script>
+ <script type="text/javascript" src="http://www.google.com/coop/cse/brand?form=cse&amp;lang=en"></script>
+ </div> <!-- end search -->
+ </div> <!-- end gc-header -->
+
+ <div id="codesiteContent">
+
+ <a id="gc-topnav-anchor"></a>
+ <div id="gc-topnav">
+ <h1>Google Chrome Extensions (<a href="/labs/">Labs</a>)</h1>
+ <ul id="home" class="gc-topnav-tabs">
+ <li id="home_link">
+ <a href="index.html" class="selected" title="Google Chrome Extensions documentation home page">Home</a>
+ </li>
+ <li id="blog_link">
+ <a href="http://blog.chromium.org/" title="Chromium blog">Blog</a>
+ </li>
+ <li id="faq_link">
+ <a href="faq.html" title="Google Chrome Extensions FAQ">FAQ</a>
+ </li>
+ <li id="group_link">
+ <a href="http://groups.google.com/group/chromium-extensions" title="Chromium-Extensions group">Group</a>
+ </li>
+ <li id="terms_link">
+ Terms
+ </li>
+ </ul>
+ </div> <!-- end gc-topnav -->
- <div id="pageContent">
+ <div class="g-section g-tpl-170">
<!-- SIDENAV -->
- <div id="leftNav">
+ <div class="g-unit g-first" id="gc-toc">
<ul>
- <li> <a href="index.html">Home</a></li>
- <li> <a href="getstarted.html">Getting Started</a></li>
- <li> <a href="overview.html">Overview</a></li>
- <li> <a href="devguide.html"><div>Developer's Guide</div></a>
+ <li><a href="index.html">Home</a></li>
+ <li><a href="getstarted.html">Getting Started</a></li>
+ <li><a href="overview.html">Overview</a></li>
+ <li><h2><a href="devguide.html">Developer's Guide</a></h2>
<ul>
- <li> Browser UI
+ <li>Browser UI
<ul>
<li><a href="browserAction.html">Browser Actions</a></li>
<li><a href="options.html">Options Pages</a></li>
@@ -109,7 +144,7 @@
<li><a href="themes.html">Themes</a></li>
</ul>
</li>
- <li> Browser Interaction
+ <li>Browser Interaction
<ul>
<li><a href="bookmarks.html">Bookmarks</a></li>
<li><a href="events.html">Events</a></li>
@@ -117,7 +152,7 @@
<li><a href="windows.html">Windows</a></li>
</ul>
</li>
- <li> Implementation
+ <li>Implementation
<ul>
<li><a href="background_pages.html">Background Pages</a></li>
<li><a href="content_scripts.html">Content Scripts</a></li>
@@ -126,7 +161,7 @@
<li><a href="npapi.html">NPAPI Plugins</a></li>
</ul>
</li>
- <li> Finishing
+ <li>Finishing
<ul>
<li><a href="autoupdate.html">Autoupdating</a></li>
<li><a href="packaging.html">Packaging</a></li>
@@ -134,32 +169,35 @@
</li>
</ul>
</li>
- <li><a href="tutorials.html"><div>Tutorials</div></a>
+ <li><h2><a href="tutorials.html">Tutorials</a></h2>
<ul>
<li><a href="tut_debugging.html">Debugging</a></li>
</ul>
</li>
- <li>Reference
+ <li><h2>Reference</h2>
<ul>
- <li> Formats
+ <li>Formats
<ul>
<li><a href="manifest.html">Manifest Files</a></li>
<li><a href="match_patterns.html">Match Patterns</a></li>
<!-- <li>Packages (.crx)</li> -->
</ul>
</li>
- <li> <a href="api_index.html">chrome.* APIs</a> </li>
- <li> <a href="api_other.html">Other APIs</a> </li>
+ <li><a href="api_index.html">chrome.* APIs</a></li>
+ <li><a href="api_other.html">Other APIs</a></li>
</ul>
</li>
- <li><a href="samples.html">Samples</a></li>
+ <li><h2><a href="samples.html">Samples</a></h2></li>
</ul>
</div>
- <div id="mainColumn">
+ <div class="g-unit" id="gc-pagecontent">
+ <div id="pageTitle">
+ <h1 class="page_title">chrome.devtools</h1>
+ </div>
<!-- TABLE OF CONTENTS -->
<div id="toc">
- <p>Contents</p>
+ <h2>Contents</h2>
<ol>
<li style="display: none; ">
<a>h2Name</a>
@@ -357,9 +395,11 @@
</div> <!-- /apiGroup -->
</div> <!-- /apiPage -->
- </div> <!-- /mainColumn -->
- </div> <!-- /pageContent -->
- <div id="pageFooter" --="">
+ </div> <!-- /gc-pagecontent -->
+ </div> <!-- /g-section -->
+ </div> <!-- /codesiteContent -->
+ <div id="gc-footer" --="">
+ <div class="text">
<p>
Except as otherwise <a href="http://code.google.com/policies.html#restrictions">noted</a>,
the content of this page is licensed under the <a rel="license" href="http://creativecommons.org/licenses/by/3.0/">Creative Commons
@@ -391,8 +431,8 @@
catch(e) {/* urchinTracker not available. */}
</script>
<!-- end analytics -->
-
- </div> <!-- /pageFooter -->
- </div> <!-- /container -->
+ </div>
+ </div> <!-- /gc-footer -->
+ </div> <!-- /gc-container -->
</body></html>
diff --git a/chrome/common/extensions/docs/events.html b/chrome/common/extensions/docs/events.html
index ed40f8a..8209c34 100644
--- a/chrome/common/extensions/docs/events.html
+++ b/chrome/common/extensions/docs/events.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>Events</title></head><body> <div id="container">
+ <title>Events</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
@@ -68,39 +68,74 @@
</div> <!-- /SUBTEMPLATES -->
- <a name="top"> </a>
+ <a id="top"></a>
+ <div id="skipto">
+ <a href="#gc-pagecontent">Skip to page content</a>
+ <a href="#gc-toc">Skip to main navigation</a>
+ </div>
<!-- API HEADER -->
- <div id="pageHeader">
- <div id="searchbox">
- <form action="http://www.google.com/cse" id="cse-search-box">
- <div>
+ <div id="gc-header">
+ <div id="logo">
+
+
+ <img src="images/code_labs_logo.gif" height="43" width="161" alt="Google Code Labs" style="border:0;">
+
+
+ </div>
+ <div id="search">
+ <div id="searchForm" class="searchForm">
+ <form action="http://www.google.com/cse" id="cse">
+ <div id="gsc-search-box">
<input type="hidden" name="cx" value="002967670403910741006:61_cvzfqtno">
<input type="hidden" name="ie" value="UTF-8">
<input type="text" name="q" size="31">
- <input type="submit" name="sa" value="Search">
+ <input class="gsc-search-button" type="submit" name="sa" value="Search">
</div>
</form>
+ <p>&nbsp;</p>
+ </div> <!-- end searchForm -->
<script type="text/javascript" src="http://www.google.com/jsapi"></script>
<script type="text/javascript">google.load("elements", "1", {packages: "transliteration"});</script>
- <script type="text/javascript" src="http://www.google.com/coop/cse/t13n?form=cse-search-box&amp;t13n_langs=en"></script>
- <script type="text/javascript" src="http://www.google.com/coop/cse/brand?form=cse-search-box&amp;lang=en"></script>
- </div>
- <div id="pageTitle">
- <h1>Events</h1>
- </div>
- </div> <!-- /pageHeader -->
+ <script type="text/javascript" src="http://www.google.com/coop/cse/t13n?form=cse&amp;t13n_langs=en"></script>
+ <script type="text/javascript" src="http://www.google.com/coop/cse/brand?form=cse&amp;lang=en"></script>
+ </div> <!-- end search -->
+ </div> <!-- end gc-header -->
+
+ <div id="codesiteContent">
+
+ <a id="gc-topnav-anchor"></a>
+ <div id="gc-topnav">
+ <h1>Google Chrome Extensions (<a href="/labs/">Labs</a>)</h1>
+ <ul id="home" class="gc-topnav-tabs">
+ <li id="home_link">
+ <a href="index.html" class="selected" title="Google Chrome Extensions documentation home page">Home</a>
+ </li>
+ <li id="blog_link">
+ <a href="http://blog.chromium.org/" title="Chromium blog">Blog</a>
+ </li>
+ <li id="faq_link">
+ <a href="faq.html" title="Google Chrome Extensions FAQ">FAQ</a>
+ </li>
+ <li id="group_link">
+ <a href="http://groups.google.com/group/chromium-extensions" title="Chromium-Extensions group">Group</a>
+ </li>
+ <li id="terms_link">
+ Terms
+ </li>
+ </ul>
+ </div> <!-- end gc-topnav -->
- <div id="pageContent">
+ <div class="g-section g-tpl-170">
<!-- SIDENAV -->
- <div id="leftNav">
+ <div class="g-unit g-first" id="gc-toc">
<ul>
- <li> <a href="index.html">Home</a></li>
- <li> <a href="getstarted.html">Getting Started</a></li>
- <li> <a href="overview.html">Overview</a></li>
- <li> <a href="devguide.html"><div>Developer's Guide</div></a>
+ <li><a href="index.html">Home</a></li>
+ <li><a href="getstarted.html">Getting Started</a></li>
+ <li><a href="overview.html">Overview</a></li>
+ <li><h2><a href="devguide.html">Developer's Guide</a></h2>
<ul>
- <li> Browser UI
+ <li>Browser UI
<ul>
<li><a href="browserAction.html">Browser Actions</a></li>
<li><a href="options.html">Options Pages</a></li>
@@ -109,7 +144,7 @@
<li><a href="themes.html">Themes</a></li>
</ul>
</li>
- <li> Browser Interaction
+ <li>Browser Interaction
<ul>
<li><a href="bookmarks.html">Bookmarks</a></li>
<li class="leftNavSelected">Events</li>
@@ -117,7 +152,7 @@
<li><a href="windows.html">Windows</a></li>
</ul>
</li>
- <li> Implementation
+ <li>Implementation
<ul>
<li><a href="background_pages.html">Background Pages</a></li>
<li><a href="content_scripts.html">Content Scripts</a></li>
@@ -126,7 +161,7 @@
<li><a href="npapi.html">NPAPI Plugins</a></li>
</ul>
</li>
- <li> Finishing
+ <li>Finishing
<ul>
<li><a href="autoupdate.html">Autoupdating</a></li>
<li><a href="packaging.html">Packaging</a></li>
@@ -134,32 +169,35 @@
</li>
</ul>
</li>
- <li><a href="tutorials.html"><div>Tutorials</div></a>
+ <li><h2><a href="tutorials.html">Tutorials</a></h2>
<ul>
<li><a href="tut_debugging.html">Debugging</a></li>
</ul>
</li>
- <li>Reference
+ <li><h2>Reference</h2>
<ul>
- <li> Formats
+ <li>Formats
<ul>
<li><a href="manifest.html">Manifest Files</a></li>
<li><a href="match_patterns.html">Match Patterns</a></li>
<!-- <li>Packages (.crx)</li> -->
</ul>
</li>
- <li> <a href="api_index.html">chrome.* APIs</a> </li>
- <li> <a href="api_other.html">Other APIs</a> </li>
+ <li><a href="api_index.html">chrome.* APIs</a></li>
+ <li><a href="api_other.html">Other APIs</a></li>
</ul>
</li>
- <li><a href="samples.html">Samples</a></li>
+ <li><h2><a href="samples.html">Samples</a></h2></li>
</ul>
</div>
- <div id="mainColumn">
+ <div class="g-unit" id="gc-pagecontent">
+ <div id="pageTitle">
+ <h1 class="page_title">Events</h1>
+ </div>
<!-- TABLE OF CONTENTS -->
<div id="toc" style="display: none; ">
- <p>Contents</p>
+ <h2>Contents</h2>
<ol>
<li>
<a>h2Name</a>
@@ -404,9 +442,11 @@ bool hasListener(function callback(...))
</div> <!-- /apiGroup -->
</div> <!-- /apiPage -->
- </div> <!-- /mainColumn -->
- </div> <!-- /pageContent -->
- <div id="pageFooter" --="">
+ </div> <!-- /gc-pagecontent -->
+ </div> <!-- /g-section -->
+ </div> <!-- /codesiteContent -->
+ <div id="gc-footer" --="">
+ <div class="text">
<p>
Except as otherwise <a href="http://code.google.com/policies.html#restrictions">noted</a>,
the content of this page is licensed under the <a rel="license" href="http://creativecommons.org/licenses/by/3.0/">Creative Commons
@@ -438,8 +478,8 @@ bool hasListener(function callback(...))
catch(e) {/* urchinTracker not available. */}
</script>
<!-- end analytics -->
-
- </div> <!-- /pageFooter -->
- </div> <!-- /container -->
+ </div>
+ </div> <!-- /gc-footer -->
+ </div> <!-- /gc-container -->
</body></html>
diff --git a/chrome/common/extensions/docs/extension.html b/chrome/common/extensions/docs/extension.html
index bb5cf0a9..f71a215 100644
--- a/chrome/common/extensions/docs/extension.html
+++ b/chrome/common/extensions/docs/extension.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>chrome.extension</title></head><body> <div id="container">
+ <title>chrome.extension</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
@@ -68,39 +68,74 @@
</div> <!-- /SUBTEMPLATES -->
- <a name="top"> </a>
+ <a id="top"></a>
+ <div id="skipto">
+ <a href="#gc-pagecontent">Skip to page content</a>
+ <a href="#gc-toc">Skip to main navigation</a>
+ </div>
<!-- API HEADER -->
- <div id="pageHeader">
- <div id="searchbox">
- <form action="http://www.google.com/cse" id="cse-search-box">
- <div>
+ <div id="gc-header">
+ <div id="logo">
+
+
+ <img src="images/code_labs_logo.gif" height="43" width="161" alt="Google Code Labs" style="border:0;">
+
+
+ </div>
+ <div id="search">
+ <div id="searchForm" class="searchForm">
+ <form action="http://www.google.com/cse" id="cse">
+ <div id="gsc-search-box">
<input type="hidden" name="cx" value="002967670403910741006:61_cvzfqtno">
<input type="hidden" name="ie" value="UTF-8">
<input type="text" name="q" size="31">
- <input type="submit" name="sa" value="Search">
+ <input class="gsc-search-button" type="submit" name="sa" value="Search">
</div>
</form>
+ <p>&nbsp;</p>
+ </div> <!-- end searchForm -->
<script type="text/javascript" src="http://www.google.com/jsapi"></script>
<script type="text/javascript">google.load("elements", "1", {packages: "transliteration"});</script>
- <script type="text/javascript" src="http://www.google.com/coop/cse/t13n?form=cse-search-box&amp;t13n_langs=en"></script>
- <script type="text/javascript" src="http://www.google.com/coop/cse/brand?form=cse-search-box&amp;lang=en"></script>
- </div>
- <div id="pageTitle">
- <h1>chrome.extension</h1>
- </div>
- </div> <!-- /pageHeader -->
+ <script type="text/javascript" src="http://www.google.com/coop/cse/t13n?form=cse&amp;t13n_langs=en"></script>
+ <script type="text/javascript" src="http://www.google.com/coop/cse/brand?form=cse&amp;lang=en"></script>
+ </div> <!-- end search -->
+ </div> <!-- end gc-header -->
+
+ <div id="codesiteContent">
+
+ <a id="gc-topnav-anchor"></a>
+ <div id="gc-topnav">
+ <h1>Google Chrome Extensions (<a href="/labs/">Labs</a>)</h1>
+ <ul id="home" class="gc-topnav-tabs">
+ <li id="home_link">
+ <a href="index.html" class="selected" title="Google Chrome Extensions documentation home page">Home</a>
+ </li>
+ <li id="blog_link">
+ <a href="http://blog.chromium.org/" title="Chromium blog">Blog</a>
+ </li>
+ <li id="faq_link">
+ <a href="faq.html" title="Google Chrome Extensions FAQ">FAQ</a>
+ </li>
+ <li id="group_link">
+ <a href="http://groups.google.com/group/chromium-extensions" title="Chromium-Extensions group">Group</a>
+ </li>
+ <li id="terms_link">
+ Terms
+ </li>
+ </ul>
+ </div> <!-- end gc-topnav -->
- <div id="pageContent">
+ <div class="g-section g-tpl-170">
<!-- SIDENAV -->
- <div id="leftNav">
+ <div class="g-unit g-first" id="gc-toc">
<ul>
- <li> <a href="index.html">Home</a></li>
- <li> <a href="getstarted.html">Getting Started</a></li>
- <li> <a href="overview.html">Overview</a></li>
- <li> <a href="devguide.html"><div>Developer's Guide</div></a>
+ <li><a href="index.html">Home</a></li>
+ <li><a href="getstarted.html">Getting Started</a></li>
+ <li><a href="overview.html">Overview</a></li>
+ <li><h2><a href="devguide.html">Developer's Guide</a></h2>
<ul>
- <li> Browser UI
+ <li>Browser UI
<ul>
<li><a href="browserAction.html">Browser Actions</a></li>
<li><a href="options.html">Options Pages</a></li>
@@ -109,7 +144,7 @@
<li><a href="themes.html">Themes</a></li>
</ul>
</li>
- <li> Browser Interaction
+ <li>Browser Interaction
<ul>
<li><a href="bookmarks.html">Bookmarks</a></li>
<li><a href="events.html">Events</a></li>
@@ -117,7 +152,7 @@
<li><a href="windows.html">Windows</a></li>
</ul>
</li>
- <li> Implementation
+ <li>Implementation
<ul>
<li><a href="background_pages.html">Background Pages</a></li>
<li><a href="content_scripts.html">Content Scripts</a></li>
@@ -126,7 +161,7 @@
<li><a href="npapi.html">NPAPI Plugins</a></li>
</ul>
</li>
- <li> Finishing
+ <li>Finishing
<ul>
<li><a href="autoupdate.html">Autoupdating</a></li>
<li><a href="packaging.html">Packaging</a></li>
@@ -134,32 +169,35 @@
</li>
</ul>
</li>
- <li><a href="tutorials.html"><div>Tutorials</div></a>
+ <li><h2><a href="tutorials.html">Tutorials</a></h2>
<ul>
<li><a href="tut_debugging.html">Debugging</a></li>
</ul>
</li>
- <li>Reference
+ <li><h2>Reference</h2>
<ul>
- <li> Formats
+ <li>Formats
<ul>
<li><a href="manifest.html">Manifest Files</a></li>
<li><a href="match_patterns.html">Match Patterns</a></li>
<!-- <li>Packages (.crx)</li> -->
</ul>
</li>
- <li> <a href="api_index.html">chrome.* APIs</a> </li>
- <li> <a href="api_other.html">Other APIs</a> </li>
+ <li><a href="api_index.html">chrome.* APIs</a></li>
+ <li><a href="api_other.html">Other APIs</a></li>
</ul>
</li>
- <li><a href="samples.html">Samples</a></li>
+ <li><h2><a href="samples.html">Samples</a></h2></li>
</ul>
</div>
- <div id="mainColumn">
+ <div class="g-unit" id="gc-pagecontent">
+ <div id="pageTitle">
+ <h1 class="page_title">chrome.extension</h1>
+ </div>
<!-- TABLE OF CONTENTS -->
<div id="toc">
- <p>Contents</p>
+ <h2>Contents</h2>
<ol>
<li>
<a href="#content scripts">Support for content scripts</a>
@@ -2448,9 +2486,11 @@ For details, see
</div> <!-- /apiGroup -->
</div> <!-- /apiPage -->
- </div> <!-- /mainColumn -->
- </div> <!-- /pageContent -->
- <div id="pageFooter" --="">
+ </div> <!-- /gc-pagecontent -->
+ </div> <!-- /g-section -->
+ </div> <!-- /codesiteContent -->
+ <div id="gc-footer" --="">
+ <div class="text">
<p>
Except as otherwise <a href="http://code.google.com/policies.html#restrictions">noted</a>,
the content of this page is licensed under the <a rel="license" href="http://creativecommons.org/licenses/by/3.0/">Creative Commons
@@ -2482,8 +2522,8 @@ For details, see
catch(e) {/* urchinTracker not available. */}
</script>
<!-- end analytics -->
-
- </div> <!-- /pageFooter -->
- </div> <!-- /container -->
+ </div>
+ </div> <!-- /gc-footer -->
+ </div> <!-- /gc-container -->
</body></html>
diff --git a/chrome/common/extensions/docs/faq.html b/chrome/common/extensions/docs/faq.html
index b692232..001d0ea 100644
--- a/chrome/common/extensions/docs/faq.html
+++ b/chrome/common/extensions/docs/faq.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>FAQ</title></head><body> <div id="container">
+ <title>FAQ</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
@@ -68,39 +68,74 @@
</div> <!-- /SUBTEMPLATES -->
- <a name="top"> </a>
+ <a id="top"></a>
+ <div id="skipto">
+ <a href="#gc-pagecontent">Skip to page content</a>
+ <a href="#gc-toc">Skip to main navigation</a>
+ </div>
<!-- API HEADER -->
- <div id="pageHeader">
- <div id="searchbox">
- <form action="http://www.google.com/cse" id="cse-search-box">
- <div>
+ <div id="gc-header">
+ <div id="logo">
+
+
+ <img src="images/code_labs_logo.gif" height="43" width="161" alt="Google Code Labs" style="border:0;">
+
+
+ </div>
+ <div id="search">
+ <div id="searchForm" class="searchForm">
+ <form action="http://www.google.com/cse" id="cse">
+ <div id="gsc-search-box">
<input type="hidden" name="cx" value="002967670403910741006:61_cvzfqtno">
<input type="hidden" name="ie" value="UTF-8">
<input type="text" name="q" size="31">
- <input type="submit" name="sa" value="Search">
+ <input class="gsc-search-button" type="submit" name="sa" value="Search">
</div>
</form>
+ <p>&nbsp;</p>
+ </div> <!-- end searchForm -->
<script type="text/javascript" src="http://www.google.com/jsapi"></script>
<script type="text/javascript">google.load("elements", "1", {packages: "transliteration"});</script>
- <script type="text/javascript" src="http://www.google.com/coop/cse/t13n?form=cse-search-box&amp;t13n_langs=en"></script>
- <script type="text/javascript" src="http://www.google.com/coop/cse/brand?form=cse-search-box&amp;lang=en"></script>
- </div>
- <div id="pageTitle">
- <h1>FAQ</h1>
- </div>
- </div> <!-- /pageHeader -->
+ <script type="text/javascript" src="http://www.google.com/coop/cse/t13n?form=cse&amp;t13n_langs=en"></script>
+ <script type="text/javascript" src="http://www.google.com/coop/cse/brand?form=cse&amp;lang=en"></script>
+ </div> <!-- end search -->
+ </div> <!-- end gc-header -->
+
+ <div id="codesiteContent">
+
+ <a id="gc-topnav-anchor"></a>
+ <div id="gc-topnav">
+ <h1>Google Chrome Extensions (<a href="/labs/">Labs</a>)</h1>
+ <ul id="home" class="gc-topnav-tabs">
+ <li id="home_link">
+ <a href="index.html" class="selected" title="Google Chrome Extensions documentation home page">Home</a>
+ </li>
+ <li id="blog_link">
+ <a href="http://blog.chromium.org/" title="Chromium blog">Blog</a>
+ </li>
+ <li id="faq_link">
+ <a href="faq.html" title="Google Chrome Extensions FAQ">FAQ</a>
+ </li>
+ <li id="group_link">
+ <a href="http://groups.google.com/group/chromium-extensions" title="Chromium-Extensions group">Group</a>
+ </li>
+ <li id="terms_link">
+ Terms
+ </li>
+ </ul>
+ </div> <!-- end gc-topnav -->
- <div id="pageContent">
+ <div class="g-section g-tpl-170">
<!-- SIDENAV -->
- <div id="leftNav">
+ <div class="g-unit g-first" id="gc-toc">
<ul>
- <li> <a href="index.html">Home</a></li>
- <li> <a href="getstarted.html">Getting Started</a></li>
- <li> <a href="overview.html">Overview</a></li>
- <li> <a href="devguide.html"><div>Developer's Guide</div></a>
+ <li><a href="index.html">Home</a></li>
+ <li><a href="getstarted.html">Getting Started</a></li>
+ <li><a href="overview.html">Overview</a></li>
+ <li><h2><a href="devguide.html">Developer's Guide</a></h2>
<ul>
- <li> Browser UI
+ <li>Browser UI
<ul>
<li><a href="browserAction.html">Browser Actions</a></li>
<li><a href="options.html">Options Pages</a></li>
@@ -109,7 +144,7 @@
<li><a href="themes.html">Themes</a></li>
</ul>
</li>
- <li> Browser Interaction
+ <li>Browser Interaction
<ul>
<li><a href="bookmarks.html">Bookmarks</a></li>
<li><a href="events.html">Events</a></li>
@@ -117,7 +152,7 @@
<li><a href="windows.html">Windows</a></li>
</ul>
</li>
- <li> Implementation
+ <li>Implementation
<ul>
<li><a href="background_pages.html">Background Pages</a></li>
<li><a href="content_scripts.html">Content Scripts</a></li>
@@ -126,7 +161,7 @@
<li><a href="npapi.html">NPAPI Plugins</a></li>
</ul>
</li>
- <li> Finishing
+ <li>Finishing
<ul>
<li><a href="autoupdate.html">Autoupdating</a></li>
<li><a href="packaging.html">Packaging</a></li>
@@ -134,32 +169,35 @@
</li>
</ul>
</li>
- <li><a href="tutorials.html"><div>Tutorials</div></a>
+ <li><h2><a href="tutorials.html">Tutorials</a></h2>
<ul>
<li><a href="tut_debugging.html">Debugging</a></li>
</ul>
</li>
- <li>Reference
+ <li><h2>Reference</h2>
<ul>
- <li> Formats
+ <li>Formats
<ul>
<li><a href="manifest.html">Manifest Files</a></li>
<li><a href="match_patterns.html">Match Patterns</a></li>
<!-- <li>Packages (.crx)</li> -->
</ul>
</li>
- <li> <a href="api_index.html">chrome.* APIs</a> </li>
- <li> <a href="api_other.html">Other APIs</a> </li>
+ <li><a href="api_index.html">chrome.* APIs</a></li>
+ <li><a href="api_other.html">Other APIs</a></li>
</ul>
</li>
- <li><a href="samples.html">Samples</a></li>
+ <li><h2><a href="samples.html">Samples</a></h2></li>
</ul>
</div>
- <div id="mainColumn">
+ <div class="g-unit" id="gc-pagecontent">
+ <div id="pageTitle">
+ <h1 class="page_title">FAQ</h1>
+ </div>
<!-- TABLE OF CONTENTS -->
<div id="toc" style="display: none; ">
- <p>Contents</p>
+ <h2>Contents</h2>
<ol>
<li>
<a>h2Name</a>
@@ -369,9 +407,11 @@ This page will give answers to frequently asked questions.
</div> <!-- /apiGroup -->
</div> <!-- /apiPage -->
- </div> <!-- /mainColumn -->
- </div> <!-- /pageContent -->
- <div id="pageFooter" --="">
+ </div> <!-- /gc-pagecontent -->
+ </div> <!-- /g-section -->
+ </div> <!-- /codesiteContent -->
+ <div id="gc-footer" --="">
+ <div class="text">
<p>
Except as otherwise <a href="http://code.google.com/policies.html#restrictions">noted</a>,
the content of this page is licensed under the <a rel="license" href="http://creativecommons.org/licenses/by/3.0/">Creative Commons
@@ -403,8 +443,8 @@ This page will give answers to frequently asked questions.
catch(e) {/* urchinTracker not available. */}
</script>
<!-- end analytics -->
-
- </div> <!-- /pageFooter -->
- </div> <!-- /container -->
+ </div>
+ </div> <!-- /gc-footer -->
+ </div> <!-- /gc-container -->
</body></html>
diff --git a/chrome/common/extensions/docs/getstarted.html b/chrome/common/extensions/docs/getstarted.html
index 098b90a..e81f5da 100644
--- a/chrome/common/extensions/docs/getstarted.html
+++ b/chrome/common/extensions/docs/getstarted.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>Tutorial: Getting Started (Hello, World!)</title></head><body> <div id="container">
+ <title>Tutorial: Getting Started (Hello, World!)</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
@@ -68,39 +68,74 @@
</div> <!-- /SUBTEMPLATES -->
- <a name="top"> </a>
+ <a id="top"></a>
+ <div id="skipto">
+ <a href="#gc-pagecontent">Skip to page content</a>
+ <a href="#gc-toc">Skip to main navigation</a>
+ </div>
<!-- API HEADER -->
- <div id="pageHeader">
- <div id="searchbox">
- <form action="http://www.google.com/cse" id="cse-search-box">
- <div>
+ <div id="gc-header">
+ <div id="logo">
+
+
+ <img src="images/code_labs_logo.gif" height="43" width="161" alt="Google Code Labs" style="border:0;">
+
+
+ </div>
+ <div id="search">
+ <div id="searchForm" class="searchForm">
+ <form action="http://www.google.com/cse" id="cse">
+ <div id="gsc-search-box">
<input type="hidden" name="cx" value="002967670403910741006:61_cvzfqtno">
<input type="hidden" name="ie" value="UTF-8">
<input type="text" name="q" size="31">
- <input type="submit" name="sa" value="Search">
+ <input class="gsc-search-button" type="submit" name="sa" value="Search">
</div>
</form>
+ <p>&nbsp;</p>
+ </div> <!-- end searchForm -->
<script type="text/javascript" src="http://www.google.com/jsapi"></script>
<script type="text/javascript">google.load("elements", "1", {packages: "transliteration"});</script>
- <script type="text/javascript" src="http://www.google.com/coop/cse/t13n?form=cse-search-box&amp;t13n_langs=en"></script>
- <script type="text/javascript" src="http://www.google.com/coop/cse/brand?form=cse-search-box&amp;lang=en"></script>
- </div>
- <div id="pageTitle">
- <h1>Tutorial: Getting Started (Hello, World!)</h1>
- </div>
- </div> <!-- /pageHeader -->
+ <script type="text/javascript" src="http://www.google.com/coop/cse/t13n?form=cse&amp;t13n_langs=en"></script>
+ <script type="text/javascript" src="http://www.google.com/coop/cse/brand?form=cse&amp;lang=en"></script>
+ </div> <!-- end search -->
+ </div> <!-- end gc-header -->
+
+ <div id="codesiteContent">
+
+ <a id="gc-topnav-anchor"></a>
+ <div id="gc-topnav">
+ <h1>Google Chrome Extensions (<a href="/labs/">Labs</a>)</h1>
+ <ul id="home" class="gc-topnav-tabs">
+ <li id="home_link">
+ <a href="index.html" class="selected" title="Google Chrome Extensions documentation home page">Home</a>
+ </li>
+ <li id="blog_link">
+ <a href="http://blog.chromium.org/" title="Chromium blog">Blog</a>
+ </li>
+ <li id="faq_link">
+ <a href="faq.html" title="Google Chrome Extensions FAQ">FAQ</a>
+ </li>
+ <li id="group_link">
+ <a href="http://groups.google.com/group/chromium-extensions" title="Chromium-Extensions group">Group</a>
+ </li>
+ <li id="terms_link">
+ Terms
+ </li>
+ </ul>
+ </div> <!-- end gc-topnav -->
- <div id="pageContent">
+ <div class="g-section g-tpl-170">
<!-- SIDENAV -->
- <div id="leftNav">
+ <div class="g-unit g-first" id="gc-toc">
<ul>
- <li> <a href="index.html">Home</a></li>
- <li class="leftNavSelected">Getting Started </li>
- <li> <a href="overview.html">Overview</a></li>
- <li> <a href="devguide.html"><div>Developer's Guide</div></a>
+ <li><a href="index.html">Home</a></li>
+ <li class="leftNavSelected">Getting Started</li>
+ <li><a href="overview.html">Overview</a></li>
+ <li><h2><a href="devguide.html">Developer's Guide</a></h2>
<ul>
- <li> Browser UI
+ <li>Browser UI
<ul>
<li><a href="browserAction.html">Browser Actions</a></li>
<li><a href="options.html">Options Pages</a></li>
@@ -109,7 +144,7 @@
<li><a href="themes.html">Themes</a></li>
</ul>
</li>
- <li> Browser Interaction
+ <li>Browser Interaction
<ul>
<li><a href="bookmarks.html">Bookmarks</a></li>
<li><a href="events.html">Events</a></li>
@@ -117,7 +152,7 @@
<li><a href="windows.html">Windows</a></li>
</ul>
</li>
- <li> Implementation
+ <li>Implementation
<ul>
<li><a href="background_pages.html">Background Pages</a></li>
<li><a href="content_scripts.html">Content Scripts</a></li>
@@ -126,7 +161,7 @@
<li><a href="npapi.html">NPAPI Plugins</a></li>
</ul>
</li>
- <li> Finishing
+ <li>Finishing
<ul>
<li><a href="autoupdate.html">Autoupdating</a></li>
<li><a href="packaging.html">Packaging</a></li>
@@ -134,32 +169,35 @@
</li>
</ul>
</li>
- <li><a href="tutorials.html"><div>Tutorials</div></a>
+ <li><h2><a href="tutorials.html">Tutorials</a></h2>
<ul>
<li><a href="tut_debugging.html">Debugging</a></li>
</ul>
</li>
- <li>Reference
+ <li><h2>Reference</h2>
<ul>
- <li> Formats
+ <li>Formats
<ul>
<li><a href="manifest.html">Manifest Files</a></li>
<li><a href="match_patterns.html">Match Patterns</a></li>
<!-- <li>Packages (.crx)</li> -->
</ul>
</li>
- <li> <a href="api_index.html">chrome.* APIs</a> </li>
- <li> <a href="api_other.html">Other APIs</a> </li>
+ <li><a href="api_index.html">chrome.* APIs</a></li>
+ <li><a href="api_other.html">Other APIs</a></li>
</ul>
</li>
- <li><a href="samples.html">Samples</a></li>
+ <li><h2><a href="samples.html">Samples</a></h2></li>
</ul>
</div>
- <div id="mainColumn">
+ <div class="g-unit" id="gc-pagecontent">
+ <div id="pageTitle">
+ <h1 class="page_title">Tutorial: Getting Started (Hello, World!)</h1>
+ </div>
<!-- TABLE OF CONTENTS -->
<div id="toc">
- <p>Contents</p>
+ <h2>Contents</h2>
<ol>
<li>
<a href="#browser">Get your browser ready</a>
@@ -293,7 +331,7 @@ to the toolbar of Google Chrome.
</li>
<li>
Copy this icon to the same folder:<br>
- <table cellpadding="0" cellspacing="0">
+ <table cellpadding="0" cellspacing="0" style="border:0">
<tbody><tr>
<td style="text-align:center; border:0;"><a href="examples/tutorials/getstarted/icon.png"><img src="examples/tutorials/getstarted/icon.png" width="19" height="19" border="0"></a><br>
<a href="examples/tutorials/getstarted/icon.png">Download icon.png</a></td>
@@ -305,8 +343,8 @@ to the toolbar of Google Chrome.
<li>
Bring up the extensions management page
by clicking the Tools menu
- <img src="images/toolsmenu.gif" width="43" height="34" alt="" align="absmiddle">
- and choosing <b>Extensions</b>.
+ <img src="images/toolsmenu.gif" width="43" height="34" alt="" align="absmiddle" style="margin:0; padding:0">and
+ choosing <b>Extensions</b>.
</li>
<li>
@@ -555,9 +593,11 @@ Here are some suggestions for what to do next:
</div> <!-- /apiGroup -->
</div> <!-- /apiPage -->
- </div> <!-- /mainColumn -->
- </div> <!-- /pageContent -->
- <div id="pageFooter" --="">
+ </div> <!-- /gc-pagecontent -->
+ </div> <!-- /g-section -->
+ </div> <!-- /codesiteContent -->
+ <div id="gc-footer" --="">
+ <div class="text">
<p>
Except as otherwise <a href="http://code.google.com/policies.html#restrictions">noted</a>,
the content of this page is licensed under the <a rel="license" href="http://creativecommons.org/licenses/by/3.0/">Creative Commons
@@ -589,8 +629,8 @@ Here are some suggestions for what to do next:
catch(e) {/* urchinTracker not available. */}
</script>
<!-- end analytics -->
-
- </div> <!-- /pageFooter -->
- </div> <!-- /container -->
+ </div>
+ </div> <!-- /gc-footer -->
+ </div> <!-- /gc-container -->
</body></html>
diff --git a/chrome/common/extensions/docs/hosting.html b/chrome/common/extensions/docs/hosting.html
index ea7620d..33df815 100644
--- a/chrome/common/extensions/docs/hosting.html
+++ b/chrome/common/extensions/docs/hosting.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>Hosting</title></head><body> <div id="container">
+ <title>Hosting</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
@@ -68,39 +68,74 @@
</div> <!-- /SUBTEMPLATES -->
- <a name="top"> </a>
+ <a id="top"></a>
+ <div id="skipto">
+ <a href="#gc-pagecontent">Skip to page content</a>
+ <a href="#gc-toc">Skip to main navigation</a>
+ </div>
<!-- API HEADER -->
- <div id="pageHeader">
- <div id="searchbox">
- <form action="http://www.google.com/cse" id="cse-search-box">
- <div>
+ <div id="gc-header">
+ <div id="logo">
+
+
+ <img src="images/code_labs_logo.gif" height="43" width="161" alt="Google Code Labs" style="border:0;">
+
+
+ </div>
+ <div id="search">
+ <div id="searchForm" class="searchForm">
+ <form action="http://www.google.com/cse" id="cse">
+ <div id="gsc-search-box">
<input type="hidden" name="cx" value="002967670403910741006:61_cvzfqtno">
<input type="hidden" name="ie" value="UTF-8">
<input type="text" name="q" size="31">
- <input type="submit" name="sa" value="Search">
+ <input class="gsc-search-button" type="submit" name="sa" value="Search">
</div>
</form>
+ <p>&nbsp;</p>
+ </div> <!-- end searchForm -->
<script type="text/javascript" src="http://www.google.com/jsapi"></script>
<script type="text/javascript">google.load("elements", "1", {packages: "transliteration"});</script>
- <script type="text/javascript" src="http://www.google.com/coop/cse/t13n?form=cse-search-box&amp;t13n_langs=en"></script>
- <script type="text/javascript" src="http://www.google.com/coop/cse/brand?form=cse-search-box&amp;lang=en"></script>
- </div>
- <div id="pageTitle">
- <h1>Hosting</h1>
- </div>
- </div> <!-- /pageHeader -->
+ <script type="text/javascript" src="http://www.google.com/coop/cse/t13n?form=cse&amp;t13n_langs=en"></script>
+ <script type="text/javascript" src="http://www.google.com/coop/cse/brand?form=cse&amp;lang=en"></script>
+ </div> <!-- end search -->
+ </div> <!-- end gc-header -->
+
+ <div id="codesiteContent">
+
+ <a id="gc-topnav-anchor"></a>
+ <div id="gc-topnav">
+ <h1>Google Chrome Extensions (<a href="/labs/">Labs</a>)</h1>
+ <ul id="home" class="gc-topnav-tabs">
+ <li id="home_link">
+ <a href="index.html" class="selected" title="Google Chrome Extensions documentation home page">Home</a>
+ </li>
+ <li id="blog_link">
+ <a href="http://blog.chromium.org/" title="Chromium blog">Blog</a>
+ </li>
+ <li id="faq_link">
+ <a href="faq.html" title="Google Chrome Extensions FAQ">FAQ</a>
+ </li>
+ <li id="group_link">
+ <a href="http://groups.google.com/group/chromium-extensions" title="Chromium-Extensions group">Group</a>
+ </li>
+ <li id="terms_link">
+ Terms
+ </li>
+ </ul>
+ </div> <!-- end gc-topnav -->
- <div id="pageContent">
+ <div class="g-section g-tpl-170">
<!-- SIDENAV -->
- <div id="leftNav">
+ <div class="g-unit g-first" id="gc-toc">
<ul>
- <li> <a href="index.html">Home</a></li>
- <li> <a href="getstarted.html">Getting Started</a></li>
- <li> <a href="overview.html">Overview</a></li>
- <li> <a href="devguide.html"><div>Developer's Guide</div></a>
+ <li><a href="index.html">Home</a></li>
+ <li><a href="getstarted.html">Getting Started</a></li>
+ <li><a href="overview.html">Overview</a></li>
+ <li><h2><a href="devguide.html">Developer's Guide</a></h2>
<ul>
- <li> Browser UI
+ <li>Browser UI
<ul>
<li><a href="browserAction.html">Browser Actions</a></li>
<li><a href="options.html">Options Pages</a></li>
@@ -109,7 +144,7 @@
<li><a href="themes.html">Themes</a></li>
</ul>
</li>
- <li> Browser Interaction
+ <li>Browser Interaction
<ul>
<li><a href="bookmarks.html">Bookmarks</a></li>
<li><a href="events.html">Events</a></li>
@@ -117,7 +152,7 @@
<li><a href="windows.html">Windows</a></li>
</ul>
</li>
- <li> Implementation
+ <li>Implementation
<ul>
<li><a href="background_pages.html">Background Pages</a></li>
<li><a href="content_scripts.html">Content Scripts</a></li>
@@ -126,7 +161,7 @@
<li><a href="npapi.html">NPAPI Plugins</a></li>
</ul>
</li>
- <li> Finishing
+ <li>Finishing
<ul>
<li><a href="autoupdate.html">Autoupdating</a></li>
<li><a href="packaging.html">Packaging</a></li>
@@ -134,32 +169,35 @@
</li>
</ul>
</li>
- <li><a href="tutorials.html"><div>Tutorials</div></a>
+ <li><h2><a href="tutorials.html">Tutorials</a></h2>
<ul>
<li><a href="tut_debugging.html">Debugging</a></li>
</ul>
</li>
- <li>Reference
+ <li><h2>Reference</h2>
<ul>
- <li> Formats
+ <li>Formats
<ul>
<li><a href="manifest.html">Manifest Files</a></li>
<li><a href="match_patterns.html">Match Patterns</a></li>
<!-- <li>Packages (.crx)</li> -->
</ul>
</li>
- <li> <a href="api_index.html">chrome.* APIs</a> </li>
- <li> <a href="api_other.html">Other APIs</a> </li>
+ <li><a href="api_index.html">chrome.* APIs</a></li>
+ <li><a href="api_other.html">Other APIs</a></li>
</ul>
</li>
- <li><a href="samples.html">Samples</a></li>
+ <li><h2><a href="samples.html">Samples</a></h2></li>
</ul>
</div>
- <div id="mainColumn">
+ <div class="g-unit" id="gc-pagecontent">
+ <div id="pageTitle">
+ <h1 class="page_title">Hosting</h1>
+ </div>
<!-- TABLE OF CONTENTS -->
<div id="toc" style="display: none; ">
- <p>Contents</p>
+ <h2>Contents</h2>
<ol>
<li>
<a>h2Name</a>
@@ -418,9 +456,11 @@ or try hosting the extension at another server.
</div> <!-- /apiGroup -->
</div> <!-- /apiPage -->
- </div> <!-- /mainColumn -->
- </div> <!-- /pageContent -->
- <div id="pageFooter" --="">
+ </div> <!-- /gc-pagecontent -->
+ </div> <!-- /g-section -->
+ </div> <!-- /codesiteContent -->
+ <div id="gc-footer" --="">
+ <div class="text">
<p>
Except as otherwise <a href="http://code.google.com/policies.html#restrictions">noted</a>,
the content of this page is licensed under the <a rel="license" href="http://creativecommons.org/licenses/by/3.0/">Creative Commons
@@ -452,8 +492,8 @@ or try hosting the extension at another server.
catch(e) {/* urchinTracker not available. */}
</script>
<!-- end analytics -->
-
- </div> <!-- /pageFooter -->
- </div> <!-- /container -->
+ </div>
+ </div> <!-- /gc-footer -->
+ </div> <!-- /gc-container -->
</body></html>
diff --git a/chrome/common/extensions/docs/i18n.html b/chrome/common/extensions/docs/i18n.html
index 4fae7e8..a7c74f9 100644
--- a/chrome/common/extensions/docs/i18n.html
+++ b/chrome/common/extensions/docs/i18n.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>i18n</title></head><body> <div id="container">
+ <title>i18n</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
@@ -68,39 +68,74 @@
</div> <!-- /SUBTEMPLATES -->
- <a name="top"> </a>
+ <a id="top"></a>
+ <div id="skipto">
+ <a href="#gc-pagecontent">Skip to page content</a>
+ <a href="#gc-toc">Skip to main navigation</a>
+ </div>
<!-- API HEADER -->
- <div id="pageHeader">
- <div id="searchbox">
- <form action="http://www.google.com/cse" id="cse-search-box">
- <div>
+ <div id="gc-header">
+ <div id="logo">
+
+
+ <img src="images/code_labs_logo.gif" height="43" width="161" alt="Google Code Labs" style="border:0;">
+
+
+ </div>
+ <div id="search">
+ <div id="searchForm" class="searchForm">
+ <form action="http://www.google.com/cse" id="cse">
+ <div id="gsc-search-box">
<input type="hidden" name="cx" value="002967670403910741006:61_cvzfqtno">
<input type="hidden" name="ie" value="UTF-8">
<input type="text" name="q" size="31">
- <input type="submit" name="sa" value="Search">
+ <input class="gsc-search-button" type="submit" name="sa" value="Search">
</div>
</form>
+ <p>&nbsp;</p>
+ </div> <!-- end searchForm -->
<script type="text/javascript" src="http://www.google.com/jsapi"></script>
<script type="text/javascript">google.load("elements", "1", {packages: "transliteration"});</script>
- <script type="text/javascript" src="http://www.google.com/coop/cse/t13n?form=cse-search-box&amp;t13n_langs=en"></script>
- <script type="text/javascript" src="http://www.google.com/coop/cse/brand?form=cse-search-box&amp;lang=en"></script>
- </div>
- <div id="pageTitle">
- <h1>i18n</h1>
- </div>
- </div> <!-- /pageHeader -->
+ <script type="text/javascript" src="http://www.google.com/coop/cse/t13n?form=cse&amp;t13n_langs=en"></script>
+ <script type="text/javascript" src="http://www.google.com/coop/cse/brand?form=cse&amp;lang=en"></script>
+ </div> <!-- end search -->
+ </div> <!-- end gc-header -->
+
+ <div id="codesiteContent">
+
+ <a id="gc-topnav-anchor"></a>
+ <div id="gc-topnav">
+ <h1>Google Chrome Extensions (<a href="/labs/">Labs</a>)</h1>
+ <ul id="home" class="gc-topnav-tabs">
+ <li id="home_link">
+ <a href="index.html" class="selected" title="Google Chrome Extensions documentation home page">Home</a>
+ </li>
+ <li id="blog_link">
+ <a href="http://blog.chromium.org/" title="Chromium blog">Blog</a>
+ </li>
+ <li id="faq_link">
+ <a href="faq.html" title="Google Chrome Extensions FAQ">FAQ</a>
+ </li>
+ <li id="group_link">
+ <a href="http://groups.google.com/group/chromium-extensions" title="Chromium-Extensions group">Group</a>
+ </li>
+ <li id="terms_link">
+ Terms
+ </li>
+ </ul>
+ </div> <!-- end gc-topnav -->
- <div id="pageContent">
+ <div class="g-section g-tpl-170">
<!-- SIDENAV -->
- <div id="leftNav">
+ <div class="g-unit g-first" id="gc-toc">
<ul>
- <li> <a href="index.html">Home</a></li>
- <li> <a href="getstarted.html">Getting Started</a></li>
- <li> <a href="overview.html">Overview</a></li>
- <li> <a href="devguide.html"><div>Developer's Guide</div></a>
+ <li><a href="index.html">Home</a></li>
+ <li><a href="getstarted.html">Getting Started</a></li>
+ <li><a href="overview.html">Overview</a></li>
+ <li><h2><a href="devguide.html">Developer's Guide</a></h2>
<ul>
- <li> Browser UI
+ <li>Browser UI
<ul>
<li><a href="browserAction.html">Browser Actions</a></li>
<li><a href="options.html">Options Pages</a></li>
@@ -109,7 +144,7 @@
<li><a href="themes.html">Themes</a></li>
</ul>
</li>
- <li> Browser Interaction
+ <li>Browser Interaction
<ul>
<li><a href="bookmarks.html">Bookmarks</a></li>
<li><a href="events.html">Events</a></li>
@@ -117,7 +152,7 @@
<li><a href="windows.html">Windows</a></li>
</ul>
</li>
- <li> Implementation
+ <li>Implementation
<ul>
<li><a href="background_pages.html">Background Pages</a></li>
<li><a href="content_scripts.html">Content Scripts</a></li>
@@ -126,7 +161,7 @@
<li><a href="npapi.html">NPAPI Plugins</a></li>
</ul>
</li>
- <li> Finishing
+ <li>Finishing
<ul>
<li><a href="autoupdate.html">Autoupdating</a></li>
<li><a href="packaging.html">Packaging</a></li>
@@ -134,32 +169,35 @@
</li>
</ul>
</li>
- <li><a href="tutorials.html"><div>Tutorials</div></a>
+ <li><h2><a href="tutorials.html">Tutorials</a></h2>
<ul>
<li><a href="tut_debugging.html">Debugging</a></li>
</ul>
</li>
- <li>Reference
+ <li><h2>Reference</h2>
<ul>
- <li> Formats
+ <li>Formats
<ul>
<li><a href="manifest.html">Manifest Files</a></li>
<li><a href="match_patterns.html">Match Patterns</a></li>
<!-- <li>Packages (.crx)</li> -->
</ul>
</li>
- <li> <a href="api_index.html">chrome.* APIs</a> </li>
- <li> <a href="api_other.html">Other APIs</a> </li>
+ <li><a href="api_index.html">chrome.* APIs</a></li>
+ <li><a href="api_other.html">Other APIs</a></li>
</ul>
</li>
- <li><a href="samples.html">Samples</a></li>
+ <li><h2><a href="samples.html">Samples</a></h2></li>
</ul>
</div>
- <div id="mainColumn">
+ <div class="g-unit" id="gc-pagecontent">
+ <div id="pageTitle">
+ <h1 class="page_title">i18n</h1>
+ </div>
<!-- TABLE OF CONTENTS -->
<div id="toc">
- <p>Contents</p>
+ <h2>Contents</h2>
<ol>
<li style="display: none; ">
<a>h2Name</a>
@@ -220,8 +258,11 @@
<!-- BEGIN AUTHORED CONTENT -->
<p id="classSummary">
Use the <code>chrome.i18n</code> module to manipulate the i18n related browser
-settings, such as the accept languages, or to get localized messages for current
-locale.
+settings, such as the accept languages.
+<span class="comment">
+[PENDING: add when getMessage works:
+"or to get localized messages for the current locale."]
+</span>
</p>
<h3 id="overview-examples">Examples</h3>
@@ -239,8 +280,11 @@ string by separating each accept-language with ','.
}
</pre>
+<div class="comment">
+[PENDING: add the following when getMessage is working]
+
<p>
-The following code gets localized message from the browser and displays it as a
+The following code gets a localized message from the browser and displays it as a
string. It replaces two placeholders within the message with values arg1 and
arg2.
</p>
@@ -250,6 +294,7 @@ arg2.
document.getElementById("languageSpan").innerHTML = message;
}
</pre>
+</div>
<!-- END AUTHORED CONTENT -->
</div>
@@ -536,9 +581,11 @@ arg2.
</div> <!-- /apiGroup -->
</div> <!-- /apiPage -->
- </div> <!-- /mainColumn -->
- </div> <!-- /pageContent -->
- <div id="pageFooter" --="">
+ </div> <!-- /gc-pagecontent -->
+ </div> <!-- /g-section -->
+ </div> <!-- /codesiteContent -->
+ <div id="gc-footer" --="">
+ <div class="text">
<p>
Except as otherwise <a href="http://code.google.com/policies.html#restrictions">noted</a>,
the content of this page is licensed under the <a rel="license" href="http://creativecommons.org/licenses/by/3.0/">Creative Commons
@@ -570,8 +617,8 @@ arg2.
catch(e) {/* urchinTracker not available. */}
</script>
<!-- end analytics -->
-
- </div> <!-- /pageFooter -->
- </div> <!-- /container -->
+ </div>
+ </div> <!-- /gc-footer -->
+ </div> <!-- /gc-container -->
</body></html>
diff --git a/chrome/common/extensions/docs/images/code_labs_logo.gif b/chrome/common/extensions/docs/images/code_labs_logo.gif
new file mode 100755
index 0000000..b1c5f0d
--- /dev/null
+++ b/chrome/common/extensions/docs/images/code_labs_logo.gif
Binary files differ
diff --git a/chrome/common/extensions/docs/index.html b/chrome/common/extensions/docs/index.html
index 3ade9f6..af5e754 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>Google Chrome Extensions: Developer Documentation</title></head><body> <div id="container">
+ <title>Google Chrome Extensions: Developer Documentation</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
@@ -68,39 +68,74 @@
</div> <!-- /SUBTEMPLATES -->
- <a name="top"> </a>
+ <a id="top"></a>
+ <div id="skipto">
+ <a href="#gc-pagecontent">Skip to page content</a>
+ <a href="#gc-toc">Skip to main navigation</a>
+ </div>
<!-- API HEADER -->
- <div id="pageHeader">
- <div id="searchbox">
- <form action="http://www.google.com/cse" id="cse-search-box">
- <div>
+ <div id="gc-header">
+ <div id="logo">
+
+
+ <img src="images/code_labs_logo.gif" height="43" width="161" alt="Google Code Labs" style="border:0;">
+
+
+ </div>
+ <div id="search">
+ <div id="searchForm" class="searchForm">
+ <form action="http://www.google.com/cse" id="cse">
+ <div id="gsc-search-box">
<input type="hidden" name="cx" value="002967670403910741006:61_cvzfqtno">
<input type="hidden" name="ie" value="UTF-8">
<input type="text" name="q" size="31">
- <input type="submit" name="sa" value="Search">
+ <input class="gsc-search-button" type="submit" name="sa" value="Search">
</div>
</form>
+ <p>&nbsp;</p>
+ </div> <!-- end searchForm -->
<script type="text/javascript" src="http://www.google.com/jsapi"></script>
<script type="text/javascript">google.load("elements", "1", {packages: "transliteration"});</script>
- <script type="text/javascript" src="http://www.google.com/coop/cse/t13n?form=cse-search-box&amp;t13n_langs=en"></script>
- <script type="text/javascript" src="http://www.google.com/coop/cse/brand?form=cse-search-box&amp;lang=en"></script>
- </div>
- <div id="pageTitle">
- <h1>Google Chrome Extensions: Developer Documentation</h1>
- </div>
- </div> <!-- /pageHeader -->
+ <script type="text/javascript" src="http://www.google.com/coop/cse/t13n?form=cse&amp;t13n_langs=en"></script>
+ <script type="text/javascript" src="http://www.google.com/coop/cse/brand?form=cse&amp;lang=en"></script>
+ </div> <!-- end search -->
+ </div> <!-- end gc-header -->
+
+ <div id="codesiteContent">
+
+ <a id="gc-topnav-anchor"></a>
+ <div id="gc-topnav">
+ <h1>Google Chrome Extensions (<a href="/labs/">Labs</a>)</h1>
+ <ul id="home" class="gc-topnav-tabs">
+ <li id="home_link">
+ <a href="index.html" class="selected" title="Google Chrome Extensions documentation home page">Home</a>
+ </li>
+ <li id="blog_link">
+ <a href="http://blog.chromium.org/" title="Chromium blog">Blog</a>
+ </li>
+ <li id="faq_link">
+ <a href="faq.html" title="Google Chrome Extensions FAQ">FAQ</a>
+ </li>
+ <li id="group_link">
+ <a href="http://groups.google.com/group/chromium-extensions" title="Chromium-Extensions group">Group</a>
+ </li>
+ <li id="terms_link">
+ Terms
+ </li>
+ </ul>
+ </div> <!-- end gc-topnav -->
- <div id="pageContent">
+ <div class="g-section g-tpl-170">
<!-- SIDENAV -->
- <div id="leftNav">
+ <div class="g-unit g-first" id="gc-toc">
<ul>
- <li class="leftNavSelected">Home </li>
- <li> <a href="getstarted.html">Getting Started</a></li>
- <li> <a href="overview.html">Overview</a></li>
- <li> <a href="devguide.html"><div>Developer's Guide</div></a>
+ <li class="leftNavSelected">Home</li>
+ <li><a href="getstarted.html">Getting Started</a></li>
+ <li><a href="overview.html">Overview</a></li>
+ <li><h2><a href="devguide.html">Developer's Guide</a></h2>
<ul>
- <li> Browser UI
+ <li>Browser UI
<ul>
<li><a href="browserAction.html">Browser Actions</a></li>
<li><a href="options.html">Options Pages</a></li>
@@ -109,7 +144,7 @@
<li><a href="themes.html">Themes</a></li>
</ul>
</li>
- <li> Browser Interaction
+ <li>Browser Interaction
<ul>
<li><a href="bookmarks.html">Bookmarks</a></li>
<li><a href="events.html">Events</a></li>
@@ -117,7 +152,7 @@
<li><a href="windows.html">Windows</a></li>
</ul>
</li>
- <li> Implementation
+ <li>Implementation
<ul>
<li><a href="background_pages.html">Background Pages</a></li>
<li><a href="content_scripts.html">Content Scripts</a></li>
@@ -126,7 +161,7 @@
<li><a href="npapi.html">NPAPI Plugins</a></li>
</ul>
</li>
- <li> Finishing
+ <li>Finishing
<ul>
<li><a href="autoupdate.html">Autoupdating</a></li>
<li><a href="packaging.html">Packaging</a></li>
@@ -134,32 +169,35 @@
</li>
</ul>
</li>
- <li><a href="tutorials.html"><div>Tutorials</div></a>
+ <li><h2><a href="tutorials.html">Tutorials</a></h2>
<ul>
<li><a href="tut_debugging.html">Debugging</a></li>
</ul>
</li>
- <li>Reference
+ <li><h2>Reference</h2>
<ul>
- <li> Formats
+ <li>Formats
<ul>
<li><a href="manifest.html">Manifest Files</a></li>
<li><a href="match_patterns.html">Match Patterns</a></li>
<!-- <li>Packages (.crx)</li> -->
</ul>
</li>
- <li> <a href="api_index.html">chrome.* APIs</a> </li>
- <li> <a href="api_other.html">Other APIs</a> </li>
+ <li><a href="api_index.html">chrome.* APIs</a></li>
+ <li><a href="api_other.html">Other APIs</a></li>
</ul>
</li>
- <li><a href="samples.html">Samples</a></li>
+ <li><h2><a href="samples.html">Samples</a></h2></li>
</ul>
</div>
- <div id="mainColumn">
+ <div class="g-unit" id="gc-pagecontent">
+ <div id="pageTitle">
+ <h1 class="page_title">Google Chrome Extensions: Developer Documentation</h1>
+ </div>
<!-- TABLE OF CONTENTS -->
<div id="toc" style="display: none; ">
- <p>Contents</p>
+ <h2>Contents</h2>
<ol>
<li>
<a>h2Name</a>
@@ -215,14 +253,15 @@
<!-- STATIC CONTENT PLACEHOLDER -->
<div id="static"><style>
#pics {
- margin:2em 1em 1.5em;
+ margin:1em;
+ border:none;
}
#pics td {
text-align:center;
width:33%!important;
border:none;
- padding:1em;
+ padding:0 1em;
font-size:90%;
}
@@ -452,9 +491,11 @@ Also check out the discussion group:
</div> <!-- /apiGroup -->
</div> <!-- /apiPage -->
- </div> <!-- /mainColumn -->
- </div> <!-- /pageContent -->
- <div id="pageFooter" --="">
+ </div> <!-- /gc-pagecontent -->
+ </div> <!-- /g-section -->
+ </div> <!-- /codesiteContent -->
+ <div id="gc-footer" --="">
+ <div class="text">
<p>
Except as otherwise <a href="http://code.google.com/policies.html#restrictions">noted</a>,
the content of this page is licensed under the <a rel="license" href="http://creativecommons.org/licenses/by/3.0/">Creative Commons
@@ -486,8 +527,8 @@ Also check out the discussion group:
catch(e) {/* urchinTracker not available. */}
</script>
<!-- end analytics -->
-
- </div> <!-- /pageFooter -->
- </div> <!-- /container -->
+ </div>
+ </div> <!-- /gc-footer -->
+ </div> <!-- /gc-container -->
</body></html>
diff --git a/chrome/common/extensions/docs/js/api_page_generator.js b/chrome/common/extensions/docs/js/api_page_generator.js
index 2e2a0af..744fdfe 100755
--- a/chrome/common/extensions/docs/js/api_page_generator.js
+++ b/chrome/common/extensions/docs/js/api_page_generator.js
@@ -84,7 +84,7 @@ function renderPage() {
alert("Empty page name for: " + document.location.href);
return;
}
-
+
pageName = pageBase.replace(/([A-Z])/g, " $1");
pageName = pageName.substring(0, 1).toUpperCase() + pageName.substring(1);
@@ -94,7 +94,7 @@ function renderPage() {
fetchStatic();
}, function(error) {
alert("Failed to load " + API_TEMPLATE + ". " + error);
- });
+ });
}
function fetchStatic() {
@@ -115,7 +115,7 @@ function fetchSchema() {
fetchContent(SCHEMA, function(schemaContent) {
schema = JSON.parse(schemaContent);
renderTemplate();
-
+
}, function(error) {
alert("Failed to load " + SCHEMA);
});
@@ -171,10 +171,10 @@ function renderTemplate() {
if (mod.namespace == pageBase) {
// This page is an api page. Setup types and apiDefinition.
module = mod;
- apiModuleTitle = "chrome." + module.namespace;
+ apiModuleTitle = "chrome." + module.namespace;
pageData.apiDefinition = module;
}
-
+
if (mod.types) {
mod.types.each(function(type) {
typeModule[type.id] = mod;
@@ -188,7 +188,7 @@ function renderTemplate() {
jstProcess(input, output);
selectCurrentPageOnLeftNav();
-
+
document.title = getPageTitle();
// Show
if (window.postRender)
@@ -225,7 +225,7 @@ function evalXPathFromNode(expression, node) {
while(n = results.iterateNext()) {
retval.push(n);
}
-
+
return retval;
}
@@ -233,7 +233,7 @@ function evalXPathFromId(expression, id) {
return evalXPathFromNode(expression, document.getElementById(id));
}
-// Select the current page on the left nav. Note: if already rendered, this
+// Select the current page on the left nav. Note: if already rendered, this
// will not effect any nodes.
function selectCurrentPageOnLeftNav() {
function finalPathPart(str) {
@@ -241,10 +241,10 @@ function selectCurrentPageOnLeftNav() {
var lastPart = pathParts[pathParts.length - 1];
return lastPart.split(/\?/)[0];
}
-
+
var pageBase = finalPathPart(document.location.href);
-
- evalXPathFromId(".//li/a", "leftNav").select(function(node) {
+
+ evalXPathFromId(".//li/a", "gc-toc").select(function(node) {
if (pageBase == finalPathPart(node.href)) {
var parent = node.parentNode;
if (node.firstChild.nodeName == 'DIV') {
@@ -255,7 +255,7 @@ function selectCurrentPageOnLeftNav() {
parent.removeChild(node);
parent.insertBefore(node.firstChild, parent.firstChild);
return true;
- }
+ }
});
}
@@ -287,7 +287,7 @@ function getStaticTOC() {
var staticHNodes = evalXPathFromId(".//h2|h3", "static");
var retval = [];
var lastH2;
-
+
staticHNodes.each(function(n, i) {
var anchorName = n.id || n.nodeName + "-" + i;
if (!n.id) {
@@ -296,7 +296,7 @@ function getStaticTOC() {
n.parentNode.insertBefore(a, n);
}
var dataNode = { name: n.innerHTML, href: anchorName };
-
+
if (n.nodeName == "H2") {
retval.push(dataNode);
lastH2 = dataNode;
@@ -305,7 +305,7 @@ function getStaticTOC() {
lastH2.children.push(dataNode);
}
});
-
+
return retval;
}
@@ -314,8 +314,8 @@ function getTypeRefPage(type) {
}
function getPageTitle() {
- return getDataFromPageHTML("pageData-title") ||
- apiModuleTitle ||
+ return getDataFromPageHTML("pageData-title") ||
+ apiModuleTitle ||
pageName;
}
@@ -378,7 +378,7 @@ function getSignatureString(parameters) {
retval.push(getTypeName(param) + " " + param.name);
});
- return retval.join(", ");
+ return retval.join(", ");
}
function sortByName(a, b) {
diff --git a/chrome/common/extensions/docs/manifest.html b/chrome/common/extensions/docs/manifest.html
index ef423d3..7ffbc59 100644
--- a/chrome/common/extensions/docs/manifest.html
+++ b/chrome/common/extensions/docs/manifest.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>Formats: Manifest Files</title></head><body> <div id="container">
+ <title>Formats: Manifest Files</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
@@ -68,39 +68,74 @@
</div> <!-- /SUBTEMPLATES -->
- <a name="top"> </a>
+ <a id="top"></a>
+ <div id="skipto">
+ <a href="#gc-pagecontent">Skip to page content</a>
+ <a href="#gc-toc">Skip to main navigation</a>
+ </div>
<!-- API HEADER -->
- <div id="pageHeader">
- <div id="searchbox">
- <form action="http://www.google.com/cse" id="cse-search-box">
- <div>
+ <div id="gc-header">
+ <div id="logo">
+
+
+ <img src="images/code_labs_logo.gif" height="43" width="161" alt="Google Code Labs" style="border:0;">
+
+
+ </div>
+ <div id="search">
+ <div id="searchForm" class="searchForm">
+ <form action="http://www.google.com/cse" id="cse">
+ <div id="gsc-search-box">
<input type="hidden" name="cx" value="002967670403910741006:61_cvzfqtno">
<input type="hidden" name="ie" value="UTF-8">
<input type="text" name="q" size="31">
- <input type="submit" name="sa" value="Search">
+ <input class="gsc-search-button" type="submit" name="sa" value="Search">
</div>
</form>
+ <p>&nbsp;</p>
+ </div> <!-- end searchForm -->
<script type="text/javascript" src="http://www.google.com/jsapi"></script>
<script type="text/javascript">google.load("elements", "1", {packages: "transliteration"});</script>
- <script type="text/javascript" src="http://www.google.com/coop/cse/t13n?form=cse-search-box&amp;t13n_langs=en"></script>
- <script type="text/javascript" src="http://www.google.com/coop/cse/brand?form=cse-search-box&amp;lang=en"></script>
- </div>
- <div id="pageTitle">
- <h1>Formats: Manifest Files</h1>
- </div>
- </div> <!-- /pageHeader -->
+ <script type="text/javascript" src="http://www.google.com/coop/cse/t13n?form=cse&amp;t13n_langs=en"></script>
+ <script type="text/javascript" src="http://www.google.com/coop/cse/brand?form=cse&amp;lang=en"></script>
+ </div> <!-- end search -->
+ </div> <!-- end gc-header -->
+
+ <div id="codesiteContent">
+
+ <a id="gc-topnav-anchor"></a>
+ <div id="gc-topnav">
+ <h1>Google Chrome Extensions (<a href="/labs/">Labs</a>)</h1>
+ <ul id="home" class="gc-topnav-tabs">
+ <li id="home_link">
+ <a href="index.html" class="selected" title="Google Chrome Extensions documentation home page">Home</a>
+ </li>
+ <li id="blog_link">
+ <a href="http://blog.chromium.org/" title="Chromium blog">Blog</a>
+ </li>
+ <li id="faq_link">
+ <a href="faq.html" title="Google Chrome Extensions FAQ">FAQ</a>
+ </li>
+ <li id="group_link">
+ <a href="http://groups.google.com/group/chromium-extensions" title="Chromium-Extensions group">Group</a>
+ </li>
+ <li id="terms_link">
+ Terms
+ </li>
+ </ul>
+ </div> <!-- end gc-topnav -->
- <div id="pageContent">
+ <div class="g-section g-tpl-170">
<!-- SIDENAV -->
- <div id="leftNav">
+ <div class="g-unit g-first" id="gc-toc">
<ul>
- <li> <a href="index.html">Home</a></li>
- <li> <a href="getstarted.html">Getting Started</a></li>
- <li> <a href="overview.html">Overview</a></li>
- <li> <a href="devguide.html"><div>Developer's Guide</div></a>
+ <li><a href="index.html">Home</a></li>
+ <li><a href="getstarted.html">Getting Started</a></li>
+ <li><a href="overview.html">Overview</a></li>
+ <li><h2><a href="devguide.html">Developer's Guide</a></h2>
<ul>
- <li> Browser UI
+ <li>Browser UI
<ul>
<li><a href="browserAction.html">Browser Actions</a></li>
<li><a href="options.html">Options Pages</a></li>
@@ -109,7 +144,7 @@
<li><a href="themes.html">Themes</a></li>
</ul>
</li>
- <li> Browser Interaction
+ <li>Browser Interaction
<ul>
<li><a href="bookmarks.html">Bookmarks</a></li>
<li><a href="events.html">Events</a></li>
@@ -117,7 +152,7 @@
<li><a href="windows.html">Windows</a></li>
</ul>
</li>
- <li> Implementation
+ <li>Implementation
<ul>
<li><a href="background_pages.html">Background Pages</a></li>
<li><a href="content_scripts.html">Content Scripts</a></li>
@@ -126,7 +161,7 @@
<li><a href="npapi.html">NPAPI Plugins</a></li>
</ul>
</li>
- <li> Finishing
+ <li>Finishing
<ul>
<li><a href="autoupdate.html">Autoupdating</a></li>
<li><a href="packaging.html">Packaging</a></li>
@@ -134,32 +169,35 @@
</li>
</ul>
</li>
- <li><a href="tutorials.html"><div>Tutorials</div></a>
+ <li><h2><a href="tutorials.html">Tutorials</a></h2>
<ul>
<li><a href="tut_debugging.html">Debugging</a></li>
</ul>
</li>
- <li>Reference
+ <li><h2>Reference</h2>
<ul>
- <li> Formats
+ <li>Formats
<ul>
<li class="leftNavSelected">Manifest Files</li>
<li><a href="match_patterns.html">Match Patterns</a></li>
<!-- <li>Packages (.crx)</li> -->
</ul>
</li>
- <li> <a href="api_index.html">chrome.* APIs</a> </li>
- <li> <a href="api_other.html">Other APIs</a> </li>
+ <li><a href="api_index.html">chrome.* APIs</a></li>
+ <li><a href="api_other.html">Other APIs</a></li>
</ul>
</li>
- <li><a href="samples.html">Samples</a></li>
+ <li><h2><a href="samples.html">Samples</a></h2></li>
</ul>
</div>
- <div id="mainColumn">
+ <div class="g-unit" id="gc-pagecontent">
+ <div id="pageTitle">
+ <h1 class="page_title">Formats: Manifest Files</h1>
+ </div>
<!-- TABLE OF CONTENTS -->
<div id="toc">
- <p>Contents</p>
+ <h2>Contents</h2>
<ol>
<li>
<a href="#overview"> Field summary </a>
@@ -562,9 +600,11 @@ if you use the gallery.]
</div> <!-- /apiGroup -->
</div> <!-- /apiPage -->
- </div> <!-- /mainColumn -->
- </div> <!-- /pageContent -->
- <div id="pageFooter" --="">
+ </div> <!-- /gc-pagecontent -->
+ </div> <!-- /g-section -->
+ </div> <!-- /codesiteContent -->
+ <div id="gc-footer" --="">
+ <div class="text">
<p>
Except as otherwise <a href="http://code.google.com/policies.html#restrictions">noted</a>,
the content of this page is licensed under the <a rel="license" href="http://creativecommons.org/licenses/by/3.0/">Creative Commons
@@ -596,8 +636,8 @@ if you use the gallery.]
catch(e) {/* urchinTracker not available. */}
</script>
<!-- end analytics -->
-
- </div> <!-- /pageFooter -->
- </div> <!-- /container -->
+ </div>
+ </div> <!-- /gc-footer -->
+ </div> <!-- /gc-container -->
</body></html>
diff --git a/chrome/common/extensions/docs/match_patterns.html b/chrome/common/extensions/docs/match_patterns.html
index d82db2d..a3e135e 100644
--- a/chrome/common/extensions/docs/match_patterns.html
+++ b/chrome/common/extensions/docs/match_patterns.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>Match Patterns</title></head><body> <div id="container">
+ <title>Match Patterns</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
@@ -68,39 +68,74 @@
</div> <!-- /SUBTEMPLATES -->
- <a name="top"> </a>
+ <a id="top"></a>
+ <div id="skipto">
+ <a href="#gc-pagecontent">Skip to page content</a>
+ <a href="#gc-toc">Skip to main navigation</a>
+ </div>
<!-- API HEADER -->
- <div id="pageHeader">
- <div id="searchbox">
- <form action="http://www.google.com/cse" id="cse-search-box">
- <div>
+ <div id="gc-header">
+ <div id="logo">
+
+
+ <img src="images/code_labs_logo.gif" height="43" width="161" alt="Google Code Labs" style="border:0;">
+
+
+ </div>
+ <div id="search">
+ <div id="searchForm" class="searchForm">
+ <form action="http://www.google.com/cse" id="cse">
+ <div id="gsc-search-box">
<input type="hidden" name="cx" value="002967670403910741006:61_cvzfqtno">
<input type="hidden" name="ie" value="UTF-8">
<input type="text" name="q" size="31">
- <input type="submit" name="sa" value="Search">
+ <input class="gsc-search-button" type="submit" name="sa" value="Search">
</div>
</form>
+ <p>&nbsp;</p>
+ </div> <!-- end searchForm -->
<script type="text/javascript" src="http://www.google.com/jsapi"></script>
<script type="text/javascript">google.load("elements", "1", {packages: "transliteration"});</script>
- <script type="text/javascript" src="http://www.google.com/coop/cse/t13n?form=cse-search-box&amp;t13n_langs=en"></script>
- <script type="text/javascript" src="http://www.google.com/coop/cse/brand?form=cse-search-box&amp;lang=en"></script>
- </div>
- <div id="pageTitle">
- <h1>Match Patterns</h1>
- </div>
- </div> <!-- /pageHeader -->
+ <script type="text/javascript" src="http://www.google.com/coop/cse/t13n?form=cse&amp;t13n_langs=en"></script>
+ <script type="text/javascript" src="http://www.google.com/coop/cse/brand?form=cse&amp;lang=en"></script>
+ </div> <!-- end search -->
+ </div> <!-- end gc-header -->
+
+ <div id="codesiteContent">
+
+ <a id="gc-topnav-anchor"></a>
+ <div id="gc-topnav">
+ <h1>Google Chrome Extensions (<a href="/labs/">Labs</a>)</h1>
+ <ul id="home" class="gc-topnav-tabs">
+ <li id="home_link">
+ <a href="index.html" class="selected" title="Google Chrome Extensions documentation home page">Home</a>
+ </li>
+ <li id="blog_link">
+ <a href="http://blog.chromium.org/" title="Chromium blog">Blog</a>
+ </li>
+ <li id="faq_link">
+ <a href="faq.html" title="Google Chrome Extensions FAQ">FAQ</a>
+ </li>
+ <li id="group_link">
+ <a href="http://groups.google.com/group/chromium-extensions" title="Chromium-Extensions group">Group</a>
+ </li>
+ <li id="terms_link">
+ Terms
+ </li>
+ </ul>
+ </div> <!-- end gc-topnav -->
- <div id="pageContent">
+ <div class="g-section g-tpl-170">
<!-- SIDENAV -->
- <div id="leftNav">
+ <div class="g-unit g-first" id="gc-toc">
<ul>
- <li> <a href="index.html">Home</a></li>
- <li> <a href="getstarted.html">Getting Started</a></li>
- <li> <a href="overview.html">Overview</a></li>
- <li> <a href="devguide.html"><div>Developer's Guide</div></a>
+ <li><a href="index.html">Home</a></li>
+ <li><a href="getstarted.html">Getting Started</a></li>
+ <li><a href="overview.html">Overview</a></li>
+ <li><h2><a href="devguide.html">Developer's Guide</a></h2>
<ul>
- <li> Browser UI
+ <li>Browser UI
<ul>
<li><a href="browserAction.html">Browser Actions</a></li>
<li><a href="options.html">Options Pages</a></li>
@@ -109,7 +144,7 @@
<li><a href="themes.html">Themes</a></li>
</ul>
</li>
- <li> Browser Interaction
+ <li>Browser Interaction
<ul>
<li><a href="bookmarks.html">Bookmarks</a></li>
<li><a href="events.html">Events</a></li>
@@ -117,7 +152,7 @@
<li><a href="windows.html">Windows</a></li>
</ul>
</li>
- <li> Implementation
+ <li>Implementation
<ul>
<li><a href="background_pages.html">Background Pages</a></li>
<li><a href="content_scripts.html">Content Scripts</a></li>
@@ -126,7 +161,7 @@
<li><a href="npapi.html">NPAPI Plugins</a></li>
</ul>
</li>
- <li> Finishing
+ <li>Finishing
<ul>
<li><a href="autoupdate.html">Autoupdating</a></li>
<li><a href="packaging.html">Packaging</a></li>
@@ -134,32 +169,35 @@
</li>
</ul>
</li>
- <li><a href="tutorials.html"><div>Tutorials</div></a>
+ <li><h2><a href="tutorials.html">Tutorials</a></h2>
<ul>
<li><a href="tut_debugging.html">Debugging</a></li>
</ul>
</li>
- <li>Reference
+ <li><h2>Reference</h2>
<ul>
- <li> Formats
+ <li>Formats
<ul>
<li><a href="manifest.html">Manifest Files</a></li>
<li class="leftNavSelected">Match Patterns</li>
<!-- <li>Packages (.crx)</li> -->
</ul>
</li>
- <li> <a href="api_index.html">chrome.* APIs</a> </li>
- <li> <a href="api_other.html">Other APIs</a> </li>
+ <li><a href="api_index.html">chrome.* APIs</a></li>
+ <li><a href="api_other.html">Other APIs</a></li>
</ul>
</li>
- <li><a href="samples.html">Samples</a></li>
+ <li><h2><a href="samples.html">Samples</a></h2></li>
</ul>
</div>
- <div id="mainColumn">
+ <div class="g-unit" id="gc-pagecontent">
+ <div id="pageTitle">
+ <h1 class="page_title">Match Patterns</h1>
+ </div>
<!-- TABLE OF CONTENTS -->
<div id="toc" style="display: none; ">
- <p>Contents</p>
+ <h2>Contents</h2>
<ol>
<li>
<a>h2Name</a>
@@ -267,12 +305,12 @@ each '<code>*</code>' matches 0 or more characters.
The following table shows some valid patterns.
</p>
-<table>
+<table class="columns">
<tbody>
<tr>
- <th>Pattern</th>
- <th>What it does</th>
- <th>Examples of matching URLs</th>
+ <th style="margin-left:0; padding-left:0">Pattern</th>
+ <th style="margin-left:0; padding-left:0">What it does</th>
+ <th style="margin-left:0; padding-left:0">Examples of matching URLs</th>
</tr>
<tr>
@@ -369,11 +407,11 @@ The following table shows some valid patterns.
Here are some examples of <em>invalid</em> pattern matches:
</p>
-<table>
+<table class="columns">
<tbody>
<tr>
- <th>Bad pattern</th>
- <th>Why it's bad</th>
+ <th style="margin-left:0; padding-left:0">Bad pattern</th>
+ <th style="margin-left:0; padding-left:0">Why it's bad</th>
</tr>
<tr>
@@ -547,9 +585,11 @@ Here are some examples of <em>invalid</em> pattern matches:
</div> <!-- /apiGroup -->
</div> <!-- /apiPage -->
- </div> <!-- /mainColumn -->
- </div> <!-- /pageContent -->
- <div id="pageFooter" --="">
+ </div> <!-- /gc-pagecontent -->
+ </div> <!-- /g-section -->
+ </div> <!-- /codesiteContent -->
+ <div id="gc-footer" --="">
+ <div class="text">
<p>
Except as otherwise <a href="http://code.google.com/policies.html#restrictions">noted</a>,
the content of this page is licensed under the <a rel="license" href="http://creativecommons.org/licenses/by/3.0/">Creative Commons
@@ -581,8 +621,8 @@ Here are some examples of <em>invalid</em> pattern matches:
catch(e) {/* urchinTracker not available. */}
</script>
<!-- end analytics -->
-
- </div> <!-- /pageFooter -->
- </div> <!-- /container -->
+ </div>
+ </div> <!-- /gc-footer -->
+ </div> <!-- /gc-container -->
</body></html>
diff --git a/chrome/common/extensions/docs/messaging.html b/chrome/common/extensions/docs/messaging.html
index aaab35a..ab4758b 100644
--- a/chrome/common/extensions/docs/messaging.html
+++ b/chrome/common/extensions/docs/messaging.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>Message Passing</title></head><body> <div id="container">
+ <title>Message Passing</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
@@ -68,39 +68,74 @@
</div> <!-- /SUBTEMPLATES -->
- <a name="top"> </a>
+ <a id="top"></a>
+ <div id="skipto">
+ <a href="#gc-pagecontent">Skip to page content</a>
+ <a href="#gc-toc">Skip to main navigation</a>
+ </div>
<!-- API HEADER -->
- <div id="pageHeader">
- <div id="searchbox">
- <form action="http://www.google.com/cse" id="cse-search-box">
- <div>
+ <div id="gc-header">
+ <div id="logo">
+
+
+ <img src="images/code_labs_logo.gif" height="43" width="161" alt="Google Code Labs" style="border:0;">
+
+
+ </div>
+ <div id="search">
+ <div id="searchForm" class="searchForm">
+ <form action="http://www.google.com/cse" id="cse">
+ <div id="gsc-search-box">
<input type="hidden" name="cx" value="002967670403910741006:61_cvzfqtno">
<input type="hidden" name="ie" value="UTF-8">
<input type="text" name="q" size="31">
- <input type="submit" name="sa" value="Search">
+ <input class="gsc-search-button" type="submit" name="sa" value="Search">
</div>
</form>
+ <p>&nbsp;</p>
+ </div> <!-- end searchForm -->
<script type="text/javascript" src="http://www.google.com/jsapi"></script>
<script type="text/javascript">google.load("elements", "1", {packages: "transliteration"});</script>
- <script type="text/javascript" src="http://www.google.com/coop/cse/t13n?form=cse-search-box&amp;t13n_langs=en"></script>
- <script type="text/javascript" src="http://www.google.com/coop/cse/brand?form=cse-search-box&amp;lang=en"></script>
- </div>
- <div id="pageTitle">
- <h1>Message Passing</h1>
- </div>
- </div> <!-- /pageHeader -->
+ <script type="text/javascript" src="http://www.google.com/coop/cse/t13n?form=cse&amp;t13n_langs=en"></script>
+ <script type="text/javascript" src="http://www.google.com/coop/cse/brand?form=cse&amp;lang=en"></script>
+ </div> <!-- end search -->
+ </div> <!-- end gc-header -->
+
+ <div id="codesiteContent">
+
+ <a id="gc-topnav-anchor"></a>
+ <div id="gc-topnav">
+ <h1>Google Chrome Extensions (<a href="/labs/">Labs</a>)</h1>
+ <ul id="home" class="gc-topnav-tabs">
+ <li id="home_link">
+ <a href="index.html" class="selected" title="Google Chrome Extensions documentation home page">Home</a>
+ </li>
+ <li id="blog_link">
+ <a href="http://blog.chromium.org/" title="Chromium blog">Blog</a>
+ </li>
+ <li id="faq_link">
+ <a href="faq.html" title="Google Chrome Extensions FAQ">FAQ</a>
+ </li>
+ <li id="group_link">
+ <a href="http://groups.google.com/group/chromium-extensions" title="Chromium-Extensions group">Group</a>
+ </li>
+ <li id="terms_link">
+ Terms
+ </li>
+ </ul>
+ </div> <!-- end gc-topnav -->
- <div id="pageContent">
+ <div class="g-section g-tpl-170">
<!-- SIDENAV -->
- <div id="leftNav">
+ <div class="g-unit g-first" id="gc-toc">
<ul>
- <li> <a href="index.html">Home</a></li>
- <li> <a href="getstarted.html">Getting Started</a></li>
- <li> <a href="overview.html">Overview</a></li>
- <li> <a href="devguide.html"><div>Developer's Guide</div></a>
+ <li><a href="index.html">Home</a></li>
+ <li><a href="getstarted.html">Getting Started</a></li>
+ <li><a href="overview.html">Overview</a></li>
+ <li><h2><a href="devguide.html">Developer's Guide</a></h2>
<ul>
- <li> Browser UI
+ <li>Browser UI
<ul>
<li><a href="browserAction.html">Browser Actions</a></li>
<li><a href="options.html">Options Pages</a></li>
@@ -109,7 +144,7 @@
<li><a href="themes.html">Themes</a></li>
</ul>
</li>
- <li> Browser Interaction
+ <li>Browser Interaction
<ul>
<li><a href="bookmarks.html">Bookmarks</a></li>
<li><a href="events.html">Events</a></li>
@@ -117,7 +152,7 @@
<li><a href="windows.html">Windows</a></li>
</ul>
</li>
- <li> Implementation
+ <li>Implementation
<ul>
<li><a href="background_pages.html">Background Pages</a></li>
<li><a href="content_scripts.html">Content Scripts</a></li>
@@ -126,7 +161,7 @@
<li><a href="npapi.html">NPAPI Plugins</a></li>
</ul>
</li>
- <li> Finishing
+ <li>Finishing
<ul>
<li><a href="autoupdate.html">Autoupdating</a></li>
<li><a href="packaging.html">Packaging</a></li>
@@ -134,32 +169,35 @@
</li>
</ul>
</li>
- <li><a href="tutorials.html"><div>Tutorials</div></a>
+ <li><h2><a href="tutorials.html">Tutorials</a></h2>
<ul>
<li><a href="tut_debugging.html">Debugging</a></li>
</ul>
</li>
- <li>Reference
+ <li><h2>Reference</h2>
<ul>
- <li> Formats
+ <li>Formats
<ul>
<li><a href="manifest.html">Manifest Files</a></li>
<li><a href="match_patterns.html">Match Patterns</a></li>
<!-- <li>Packages (.crx)</li> -->
</ul>
</li>
- <li> <a href="api_index.html">chrome.* APIs</a> </li>
- <li> <a href="api_other.html">Other APIs</a> </li>
+ <li><a href="api_index.html">chrome.* APIs</a></li>
+ <li><a href="api_other.html">Other APIs</a></li>
</ul>
</li>
- <li><a href="samples.html">Samples</a></li>
+ <li><h2><a href="samples.html">Samples</a></h2></li>
</ul>
</div>
- <div id="mainColumn">
+ <div class="g-unit" id="gc-pagecontent">
+ <div id="pageTitle">
+ <h1 class="page_title">Message Passing</h1>
+ </div>
<!-- TABLE OF CONTENTS -->
<div id="toc">
- <p>Contents</p>
+ <h2>Contents</h2>
<ol>
<li>
<a href="#simple">Simple one-time requests</a>
@@ -317,7 +355,7 @@ object to allow the request to be cleaned up.
<p>
Sometimes it's useful to have a conversation that lasts longer than a single
request and response. In this case, you can open a long-lived channel from
-your content script to an extension page, or vice versa, using
+your content script to an extension page, or vice versa, using
<a href="extension.html#method-connect">chrome.extension.connect()</a>
or
<a href="tabs.html#method-connect">chrome.tabs.connect()</a> respectively. The
@@ -386,7 +424,7 @@ You may want to find out when a connection is closed, for example if you are
maintaining separate state for each open port. For this you can listen to the
<a href="extension.html#type-Port">Port.onDisconnect</a>
event. This event is fired either when the other side of the channel manually
-calls
+calls
<a href="extension.html#type-Port">Port.disconnect()</a>, or when the page
containing the port is unloaded (for example if the tab is navigated).
onDisconnect is guaranteed to be fired only once for any given port.
@@ -629,9 +667,11 @@ chrome.tabs.sendRequest(tab.id, {greeting: "hello"}, function(response) {
</div> <!-- /apiGroup -->
</div> <!-- /apiPage -->
- </div> <!-- /mainColumn -->
- </div> <!-- /pageContent -->
- <div id="pageFooter" --="">
+ </div> <!-- /gc-pagecontent -->
+ </div> <!-- /g-section -->
+ </div> <!-- /codesiteContent -->
+ <div id="gc-footer" --="">
+ <div class="text">
<p>
Except as otherwise <a href="http://code.google.com/policies.html#restrictions">noted</a>,
the content of this page is licensed under the <a rel="license" href="http://creativecommons.org/licenses/by/3.0/">Creative Commons
@@ -663,8 +703,8 @@ chrome.tabs.sendRequest(tab.id, {greeting: "hello"}, function(response) {
catch(e) {/* urchinTracker not available. */}
</script>
<!-- end analytics -->
-
- </div> <!-- /pageFooter -->
- </div> <!-- /container -->
+ </div>
+ </div> <!-- /gc-footer -->
+ </div> <!-- /gc-container -->
</body></html>
diff --git a/chrome/common/extensions/docs/npapi.html b/chrome/common/extensions/docs/npapi.html
index 618c9fe..4c22eaa 100644
--- a/chrome/common/extensions/docs/npapi.html
+++ b/chrome/common/extensions/docs/npapi.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>NPAPI Plugins</title></head><body> <div id="container">
+ <title>NPAPI Plugins</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
@@ -68,39 +68,74 @@
</div> <!-- /SUBTEMPLATES -->
- <a name="top"> </a>
+ <a id="top"></a>
+ <div id="skipto">
+ <a href="#gc-pagecontent">Skip to page content</a>
+ <a href="#gc-toc">Skip to main navigation</a>
+ </div>
<!-- API HEADER -->
- <div id="pageHeader">
- <div id="searchbox">
- <form action="http://www.google.com/cse" id="cse-search-box">
- <div>
+ <div id="gc-header">
+ <div id="logo">
+
+
+ <img src="images/code_labs_logo.gif" height="43" width="161" alt="Google Code Labs" style="border:0;">
+
+
+ </div>
+ <div id="search">
+ <div id="searchForm" class="searchForm">
+ <form action="http://www.google.com/cse" id="cse">
+ <div id="gsc-search-box">
<input type="hidden" name="cx" value="002967670403910741006:61_cvzfqtno">
<input type="hidden" name="ie" value="UTF-8">
<input type="text" name="q" size="31">
- <input type="submit" name="sa" value="Search">
+ <input class="gsc-search-button" type="submit" name="sa" value="Search">
</div>
</form>
+ <p>&nbsp;</p>
+ </div> <!-- end searchForm -->
<script type="text/javascript" src="http://www.google.com/jsapi"></script>
<script type="text/javascript">google.load("elements", "1", {packages: "transliteration"});</script>
- <script type="text/javascript" src="http://www.google.com/coop/cse/t13n?form=cse-search-box&amp;t13n_langs=en"></script>
- <script type="text/javascript" src="http://www.google.com/coop/cse/brand?form=cse-search-box&amp;lang=en"></script>
- </div>
- <div id="pageTitle">
- <h1>NPAPI Plugins</h1>
- </div>
- </div> <!-- /pageHeader -->
+ <script type="text/javascript" src="http://www.google.com/coop/cse/t13n?form=cse&amp;t13n_langs=en"></script>
+ <script type="text/javascript" src="http://www.google.com/coop/cse/brand?form=cse&amp;lang=en"></script>
+ </div> <!-- end search -->
+ </div> <!-- end gc-header -->
+
+ <div id="codesiteContent">
+
+ <a id="gc-topnav-anchor"></a>
+ <div id="gc-topnav">
+ <h1>Google Chrome Extensions (<a href="/labs/">Labs</a>)</h1>
+ <ul id="home" class="gc-topnav-tabs">
+ <li id="home_link">
+ <a href="index.html" class="selected" title="Google Chrome Extensions documentation home page">Home</a>
+ </li>
+ <li id="blog_link">
+ <a href="http://blog.chromium.org/" title="Chromium blog">Blog</a>
+ </li>
+ <li id="faq_link">
+ <a href="faq.html" title="Google Chrome Extensions FAQ">FAQ</a>
+ </li>
+ <li id="group_link">
+ <a href="http://groups.google.com/group/chromium-extensions" title="Chromium-Extensions group">Group</a>
+ </li>
+ <li id="terms_link">
+ Terms
+ </li>
+ </ul>
+ </div> <!-- end gc-topnav -->
- <div id="pageContent">
+ <div class="g-section g-tpl-170">
<!-- SIDENAV -->
- <div id="leftNav">
+ <div class="g-unit g-first" id="gc-toc">
<ul>
- <li> <a href="index.html">Home</a></li>
- <li> <a href="getstarted.html">Getting Started</a></li>
- <li> <a href="overview.html">Overview</a></li>
- <li> <a href="devguide.html"><div>Developer's Guide</div></a>
+ <li><a href="index.html">Home</a></li>
+ <li><a href="getstarted.html">Getting Started</a></li>
+ <li><a href="overview.html">Overview</a></li>
+ <li><h2><a href="devguide.html">Developer's Guide</a></h2>
<ul>
- <li> Browser UI
+ <li>Browser UI
<ul>
<li><a href="browserAction.html">Browser Actions</a></li>
<li><a href="options.html">Options Pages</a></li>
@@ -109,7 +144,7 @@
<li><a href="themes.html">Themes</a></li>
</ul>
</li>
- <li> Browser Interaction
+ <li>Browser Interaction
<ul>
<li><a href="bookmarks.html">Bookmarks</a></li>
<li><a href="events.html">Events</a></li>
@@ -117,7 +152,7 @@
<li><a href="windows.html">Windows</a></li>
</ul>
</li>
- <li> Implementation
+ <li>Implementation
<ul>
<li><a href="background_pages.html">Background Pages</a></li>
<li><a href="content_scripts.html">Content Scripts</a></li>
@@ -126,7 +161,7 @@
<li class="leftNavSelected">NPAPI Plugins</li>
</ul>
</li>
- <li> Finishing
+ <li>Finishing
<ul>
<li><a href="autoupdate.html">Autoupdating</a></li>
<li><a href="packaging.html">Packaging</a></li>
@@ -134,32 +169,35 @@
</li>
</ul>
</li>
- <li><a href="tutorials.html"><div>Tutorials</div></a>
+ <li><h2><a href="tutorials.html">Tutorials</a></h2>
<ul>
<li><a href="tut_debugging.html">Debugging</a></li>
</ul>
</li>
- <li>Reference
+ <li><h2>Reference</h2>
<ul>
- <li> Formats
+ <li>Formats
<ul>
<li><a href="manifest.html">Manifest Files</a></li>
<li><a href="match_patterns.html">Match Patterns</a></li>
<!-- <li>Packages (.crx)</li> -->
</ul>
</li>
- <li> <a href="api_index.html">chrome.* APIs</a> </li>
- <li> <a href="api_other.html">Other APIs</a> </li>
+ <li><a href="api_index.html">chrome.* APIs</a></li>
+ <li><a href="api_other.html">Other APIs</a></li>
</ul>
</li>
- <li><a href="samples.html">Samples</a></li>
+ <li><h2><a href="samples.html">Samples</a></h2></li>
</ul>
</div>
- <div id="mainColumn">
+ <div class="g-unit" id="gc-pagecontent">
+ <div id="pageTitle">
+ <h1 class="page_title">NPAPI Plugins</h1>
+ </div>
<!-- TABLE OF CONTENTS -->
<div id="toc" style="display: none; ">
- <p>Contents</p>
+ <h2>Contents</h2>
<ol>
<li>
<a>h2Name</a>
@@ -444,9 +482,11 @@ avoid making your NPAPI plugin public whenever possible.
</div> <!-- /apiGroup -->
</div> <!-- /apiPage -->
- </div> <!-- /mainColumn -->
- </div> <!-- /pageContent -->
- <div id="pageFooter" --="">
+ </div> <!-- /gc-pagecontent -->
+ </div> <!-- /g-section -->
+ </div> <!-- /codesiteContent -->
+ <div id="gc-footer" --="">
+ <div class="text">
<p>
Except as otherwise <a href="http://code.google.com/policies.html#restrictions">noted</a>,
the content of this page is licensed under the <a rel="license" href="http://creativecommons.org/licenses/by/3.0/">Creative Commons
@@ -478,8 +518,8 @@ avoid making your NPAPI plugin public whenever possible.
catch(e) {/* urchinTracker not available. */}
</script>
<!-- end analytics -->
-
- </div> <!-- /pageFooter -->
- </div> <!-- /container -->
+ </div>
+ </div> <!-- /gc-footer -->
+ </div> <!-- /gc-container -->
</body></html>
diff --git a/chrome/common/extensions/docs/options.html b/chrome/common/extensions/docs/options.html
index 846a0b7..a30f43c 100644
--- a/chrome/common/extensions/docs/options.html
+++ b/chrome/common/extensions/docs/options.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>Options</title></head><body> <div id="container">
+ <title>Options</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
@@ -68,39 +68,74 @@
</div> <!-- /SUBTEMPLATES -->
- <a name="top"> </a>
+ <a id="top"></a>
+ <div id="skipto">
+ <a href="#gc-pagecontent">Skip to page content</a>
+ <a href="#gc-toc">Skip to main navigation</a>
+ </div>
<!-- API HEADER -->
- <div id="pageHeader">
- <div id="searchbox">
- <form action="http://www.google.com/cse" id="cse-search-box">
- <div>
+ <div id="gc-header">
+ <div id="logo">
+
+
+ <img src="images/code_labs_logo.gif" height="43" width="161" alt="Google Code Labs" style="border:0;">
+
+
+ </div>
+ <div id="search">
+ <div id="searchForm" class="searchForm">
+ <form action="http://www.google.com/cse" id="cse">
+ <div id="gsc-search-box">
<input type="hidden" name="cx" value="002967670403910741006:61_cvzfqtno">
<input type="hidden" name="ie" value="UTF-8">
<input type="text" name="q" size="31">
- <input type="submit" name="sa" value="Search">
+ <input class="gsc-search-button" type="submit" name="sa" value="Search">
</div>
</form>
+ <p>&nbsp;</p>
+ </div> <!-- end searchForm -->
<script type="text/javascript" src="http://www.google.com/jsapi"></script>
<script type="text/javascript">google.load("elements", "1", {packages: "transliteration"});</script>
- <script type="text/javascript" src="http://www.google.com/coop/cse/t13n?form=cse-search-box&amp;t13n_langs=en"></script>
- <script type="text/javascript" src="http://www.google.com/coop/cse/brand?form=cse-search-box&amp;lang=en"></script>
- </div>
- <div id="pageTitle">
- <h1>Options</h1>
- </div>
- </div> <!-- /pageHeader -->
+ <script type="text/javascript" src="http://www.google.com/coop/cse/t13n?form=cse&amp;t13n_langs=en"></script>
+ <script type="text/javascript" src="http://www.google.com/coop/cse/brand?form=cse&amp;lang=en"></script>
+ </div> <!-- end search -->
+ </div> <!-- end gc-header -->
+
+ <div id="codesiteContent">
+
+ <a id="gc-topnav-anchor"></a>
+ <div id="gc-topnav">
+ <h1>Google Chrome Extensions (<a href="/labs/">Labs</a>)</h1>
+ <ul id="home" class="gc-topnav-tabs">
+ <li id="home_link">
+ <a href="index.html" class="selected" title="Google Chrome Extensions documentation home page">Home</a>
+ </li>
+ <li id="blog_link">
+ <a href="http://blog.chromium.org/" title="Chromium blog">Blog</a>
+ </li>
+ <li id="faq_link">
+ <a href="faq.html" title="Google Chrome Extensions FAQ">FAQ</a>
+ </li>
+ <li id="group_link">
+ <a href="http://groups.google.com/group/chromium-extensions" title="Chromium-Extensions group">Group</a>
+ </li>
+ <li id="terms_link">
+ Terms
+ </li>
+ </ul>
+ </div> <!-- end gc-topnav -->
- <div id="pageContent">
+ <div class="g-section g-tpl-170">
<!-- SIDENAV -->
- <div id="leftNav">
+ <div class="g-unit g-first" id="gc-toc">
<ul>
- <li> <a href="index.html">Home</a></li>
- <li> <a href="getstarted.html">Getting Started</a></li>
- <li> <a href="overview.html">Overview</a></li>
- <li> <a href="devguide.html"><div>Developer's Guide</div></a>
+ <li><a href="index.html">Home</a></li>
+ <li><a href="getstarted.html">Getting Started</a></li>
+ <li><a href="overview.html">Overview</a></li>
+ <li><h2><a href="devguide.html">Developer's Guide</a></h2>
<ul>
- <li> Browser UI
+ <li>Browser UI
<ul>
<li><a href="browserAction.html">Browser Actions</a></li>
<li class="leftNavSelected">Options Pages</li>
@@ -109,7 +144,7 @@
<li><a href="themes.html">Themes</a></li>
</ul>
</li>
- <li> Browser Interaction
+ <li>Browser Interaction
<ul>
<li><a href="bookmarks.html">Bookmarks</a></li>
<li><a href="events.html">Events</a></li>
@@ -117,7 +152,7 @@
<li><a href="windows.html">Windows</a></li>
</ul>
</li>
- <li> Implementation
+ <li>Implementation
<ul>
<li><a href="background_pages.html">Background Pages</a></li>
<li><a href="content_scripts.html">Content Scripts</a></li>
@@ -126,7 +161,7 @@
<li><a href="npapi.html">NPAPI Plugins</a></li>
</ul>
</li>
- <li> Finishing
+ <li>Finishing
<ul>
<li><a href="autoupdate.html">Autoupdating</a></li>
<li><a href="packaging.html">Packaging</a></li>
@@ -134,32 +169,35 @@
</li>
</ul>
</li>
- <li><a href="tutorials.html"><div>Tutorials</div></a>
+ <li><h2><a href="tutorials.html">Tutorials</a></h2>
<ul>
<li><a href="tut_debugging.html">Debugging</a></li>
</ul>
</li>
- <li>Reference
+ <li><h2>Reference</h2>
<ul>
- <li> Formats
+ <li>Formats
<ul>
<li><a href="manifest.html">Manifest Files</a></li>
<li><a href="match_patterns.html">Match Patterns</a></li>
<!-- <li>Packages (.crx)</li> -->
</ul>
</li>
- <li> <a href="api_index.html">chrome.* APIs</a> </li>
- <li> <a href="api_other.html">Other APIs</a> </li>
+ <li><a href="api_index.html">chrome.* APIs</a></li>
+ <li><a href="api_other.html">Other APIs</a></li>
</ul>
</li>
- <li><a href="samples.html">Samples</a></li>
+ <li><h2><a href="samples.html">Samples</a></h2></li>
</ul>
</div>
- <div id="mainColumn">
+ <div class="g-unit" id="gc-pagecontent">
+ <div id="pageTitle">
+ <h1 class="page_title">Options</h1>
+ </div>
<!-- TABLE OF CONTENTS -->
<div id="toc">
- <p>Contents</p>
+ <h2>Contents</h2>
<ol>
<li>
<a href="#H2-0">Step 1: Declare your options page in the manifest</a>
@@ -176,7 +214,7 @@
</li>
</ol>
</li><li>
- <a href="#H2-2">Important Notes</a>
+ <a href="#H2-2">Important notes</a>
<ol>
<li style="display: none; ">
<a>h3Name</a>
@@ -229,7 +267,7 @@
<!-- STATIC CONTENT PLACEHOLDER -->
<div id="static"><div id="pageData-title" class="pageData">Options</div>
<div id="pageData-showTOC" class="pageData">true</div>
-<p>To allow users to customize the behavior of your extension, you may wish to provide an options page. If you do, a link to it will be provided from the Extensions Management page at chrome://extensions. Clicking on this link will open a new tab pointing at your options page.
+<p>To allow users to customize the behavior of your extension, you may wish to provide an options page. If you do, a link to it will be provided from the extensions management page at chrome://extensions. Clicking the Options link opens a new tab pointing at your options page.
</p><a name="H2-0"></a><h2>Step 1: Declare your options page in the manifest</h2>
@@ -298,7 +336,7 @@ Favorite Color:
&lt;/html&gt;
</pre>
-<a name="H2-2"></a><h2>Important Notes</h2>
+<a name="H2-2"></a><h2>Important notes</h2>
<ul>
<li>This feature is checked in to the trunk and should land in official builds sometime <b>after</b> version 4.0.222.x.</li>
<li>We plan on providing some default css styles to encourage a consistent look across different extensions' options pages. You can star <a href="http://crbug.com/25317">crbug.com/25317</a> to be notified of updates.</li>
@@ -447,9 +485,11 @@ Favorite Color:
</div> <!-- /apiGroup -->
</div> <!-- /apiPage -->
- </div> <!-- /mainColumn -->
- </div> <!-- /pageContent -->
- <div id="pageFooter" --="">
+ </div> <!-- /gc-pagecontent -->
+ </div> <!-- /g-section -->
+ </div> <!-- /codesiteContent -->
+ <div id="gc-footer" --="">
+ <div class="text">
<p>
Except as otherwise <a href="http://code.google.com/policies.html#restrictions">noted</a>,
the content of this page is licensed under the <a rel="license" href="http://creativecommons.org/licenses/by/3.0/">Creative Commons
@@ -481,8 +521,8 @@ Favorite Color:
catch(e) {/* urchinTracker not available. */}
</script>
<!-- end analytics -->
-
- </div> <!-- /pageFooter -->
- </div> <!-- /container -->
+ </div>
+ </div> <!-- /gc-footer -->
+ </div> <!-- /gc-container -->
</body></html>
diff --git a/chrome/common/extensions/docs/override.html b/chrome/common/extensions/docs/override.html
index 75e50e8..3c9c750 100644
--- a/chrome/common/extensions/docs/override.html
+++ b/chrome/common/extensions/docs/override.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>Override Pages</title></head><body> <div id="container">
+ <title>Override Pages</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
@@ -68,39 +68,74 @@
</div> <!-- /SUBTEMPLATES -->
- <a name="top"> </a>
+ <a id="top"></a>
+ <div id="skipto">
+ <a href="#gc-pagecontent">Skip to page content</a>
+ <a href="#gc-toc">Skip to main navigation</a>
+ </div>
<!-- API HEADER -->
- <div id="pageHeader">
- <div id="searchbox">
- <form action="http://www.google.com/cse" id="cse-search-box">
- <div>
+ <div id="gc-header">
+ <div id="logo">
+
+
+ <img src="images/code_labs_logo.gif" height="43" width="161" alt="Google Code Labs" style="border:0;">
+
+
+ </div>
+ <div id="search">
+ <div id="searchForm" class="searchForm">
+ <form action="http://www.google.com/cse" id="cse">
+ <div id="gsc-search-box">
<input type="hidden" name="cx" value="002967670403910741006:61_cvzfqtno">
<input type="hidden" name="ie" value="UTF-8">
<input type="text" name="q" size="31">
- <input type="submit" name="sa" value="Search">
+ <input class="gsc-search-button" type="submit" name="sa" value="Search">
</div>
</form>
+ <p>&nbsp;</p>
+ </div> <!-- end searchForm -->
<script type="text/javascript" src="http://www.google.com/jsapi"></script>
<script type="text/javascript">google.load("elements", "1", {packages: "transliteration"});</script>
- <script type="text/javascript" src="http://www.google.com/coop/cse/t13n?form=cse-search-box&amp;t13n_langs=en"></script>
- <script type="text/javascript" src="http://www.google.com/coop/cse/brand?form=cse-search-box&amp;lang=en"></script>
- </div>
- <div id="pageTitle">
- <h1>Override Pages</h1>
- </div>
- </div> <!-- /pageHeader -->
+ <script type="text/javascript" src="http://www.google.com/coop/cse/t13n?form=cse&amp;t13n_langs=en"></script>
+ <script type="text/javascript" src="http://www.google.com/coop/cse/brand?form=cse&amp;lang=en"></script>
+ </div> <!-- end search -->
+ </div> <!-- end gc-header -->
+
+ <div id="codesiteContent">
+
+ <a id="gc-topnav-anchor"></a>
+ <div id="gc-topnav">
+ <h1>Google Chrome Extensions (<a href="/labs/">Labs</a>)</h1>
+ <ul id="home" class="gc-topnav-tabs">
+ <li id="home_link">
+ <a href="index.html" class="selected" title="Google Chrome Extensions documentation home page">Home</a>
+ </li>
+ <li id="blog_link">
+ <a href="http://blog.chromium.org/" title="Chromium blog">Blog</a>
+ </li>
+ <li id="faq_link">
+ <a href="faq.html" title="Google Chrome Extensions FAQ">FAQ</a>
+ </li>
+ <li id="group_link">
+ <a href="http://groups.google.com/group/chromium-extensions" title="Chromium-Extensions group">Group</a>
+ </li>
+ <li id="terms_link">
+ Terms
+ </li>
+ </ul>
+ </div> <!-- end gc-topnav -->
- <div id="pageContent">
+ <div class="g-section g-tpl-170">
<!-- SIDENAV -->
- <div id="leftNav">
+ <div class="g-unit g-first" id="gc-toc">
<ul>
- <li> <a href="index.html">Home</a></li>
- <li> <a href="getstarted.html">Getting Started</a></li>
- <li> <a href="overview.html">Overview</a></li>
- <li> <a href="devguide.html"><div>Developer's Guide</div></a>
+ <li><a href="index.html">Home</a></li>
+ <li><a href="getstarted.html">Getting Started</a></li>
+ <li><a href="overview.html">Overview</a></li>
+ <li><h2><a href="devguide.html">Developer's Guide</a></h2>
<ul>
- <li> Browser UI
+ <li>Browser UI
<ul>
<li><a href="browserAction.html">Browser Actions</a></li>
<li><a href="options.html">Options Pages</a></li>
@@ -109,7 +144,7 @@
<li><a href="themes.html">Themes</a></li>
</ul>
</li>
- <li> Browser Interaction
+ <li>Browser Interaction
<ul>
<li><a href="bookmarks.html">Bookmarks</a></li>
<li><a href="events.html">Events</a></li>
@@ -117,7 +152,7 @@
<li><a href="windows.html">Windows</a></li>
</ul>
</li>
- <li> Implementation
+ <li>Implementation
<ul>
<li><a href="background_pages.html">Background Pages</a></li>
<li><a href="content_scripts.html">Content Scripts</a></li>
@@ -126,7 +161,7 @@
<li><a href="npapi.html">NPAPI Plugins</a></li>
</ul>
</li>
- <li> Finishing
+ <li>Finishing
<ul>
<li><a href="autoupdate.html">Autoupdating</a></li>
<li><a href="packaging.html">Packaging</a></li>
@@ -134,32 +169,35 @@
</li>
</ul>
</li>
- <li><a href="tutorials.html"><div>Tutorials</div></a>
+ <li><h2><a href="tutorials.html">Tutorials</a></h2>
<ul>
<li><a href="tut_debugging.html">Debugging</a></li>
</ul>
</li>
- <li>Reference
+ <li><h2>Reference</h2>
<ul>
- <li> Formats
+ <li>Formats
<ul>
<li><a href="manifest.html">Manifest Files</a></li>
<li><a href="match_patterns.html">Match Patterns</a></li>
<!-- <li>Packages (.crx)</li> -->
</ul>
</li>
- <li> <a href="api_index.html">chrome.* APIs</a> </li>
- <li> <a href="api_other.html">Other APIs</a> </li>
+ <li><a href="api_index.html">chrome.* APIs</a></li>
+ <li><a href="api_other.html">Other APIs</a></li>
</ul>
</li>
- <li><a href="samples.html">Samples</a></li>
+ <li><h2><a href="samples.html">Samples</a></h2></li>
</ul>
</div>
- <div id="mainColumn">
+ <div class="g-unit" id="gc-pagecontent">
+ <div id="pageTitle">
+ <h1 class="page_title">Override Pages</h1>
+ </div>
<!-- TABLE OF CONTENTS -->
<div id="toc" style="display: none; ">
- <p>Contents</p>
+ <h2>Contents</h2>
<ol>
<li>
<a>h2Name</a>
@@ -488,9 +526,11 @@ to implement the New Tab page.
</div> <!-- /apiGroup -->
</div> <!-- /apiPage -->
- </div> <!-- /mainColumn -->
- </div> <!-- /pageContent -->
- <div id="pageFooter" --="">
+ </div> <!-- /gc-pagecontent -->
+ </div> <!-- /g-section -->
+ </div> <!-- /codesiteContent -->
+ <div id="gc-footer" --="">
+ <div class="text">
<p>
Except as otherwise <a href="http://code.google.com/policies.html#restrictions">noted</a>,
the content of this page is licensed under the <a rel="license" href="http://creativecommons.org/licenses/by/3.0/">Creative Commons
@@ -522,8 +562,8 @@ to implement the New Tab page.
catch(e) {/* urchinTracker not available. */}
</script>
<!-- end analytics -->
-
- </div> <!-- /pageFooter -->
- </div> <!-- /container -->
+ </div>
+ </div> <!-- /gc-footer -->
+ </div> <!-- /gc-container -->
</body></html>
diff --git a/chrome/common/extensions/docs/overview.html b/chrome/common/extensions/docs/overview.html
index 76b218d..e7961dc 100644
--- a/chrome/common/extensions/docs/overview.html
+++ b/chrome/common/extensions/docs/overview.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>Overview</title></head><body> <div id="container">
+ <title>Overview</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
@@ -68,39 +68,74 @@
</div> <!-- /SUBTEMPLATES -->
- <a name="top"> </a>
+ <a id="top"></a>
+ <div id="skipto">
+ <a href="#gc-pagecontent">Skip to page content</a>
+ <a href="#gc-toc">Skip to main navigation</a>
+ </div>
<!-- API HEADER -->
- <div id="pageHeader">
- <div id="searchbox">
- <form action="http://www.google.com/cse" id="cse-search-box">
- <div>
+ <div id="gc-header">
+ <div id="logo">
+
+
+ <img src="images/code_labs_logo.gif" height="43" width="161" alt="Google Code Labs" style="border:0;">
+
+
+ </div>
+ <div id="search">
+ <div id="searchForm" class="searchForm">
+ <form action="http://www.google.com/cse" id="cse">
+ <div id="gsc-search-box">
<input type="hidden" name="cx" value="002967670403910741006:61_cvzfqtno">
<input type="hidden" name="ie" value="UTF-8">
<input type="text" name="q" size="31">
- <input type="submit" name="sa" value="Search">
+ <input class="gsc-search-button" type="submit" name="sa" value="Search">
</div>
</form>
+ <p>&nbsp;</p>
+ </div> <!-- end searchForm -->
<script type="text/javascript" src="http://www.google.com/jsapi"></script>
<script type="text/javascript">google.load("elements", "1", {packages: "transliteration"});</script>
- <script type="text/javascript" src="http://www.google.com/coop/cse/t13n?form=cse-search-box&amp;t13n_langs=en"></script>
- <script type="text/javascript" src="http://www.google.com/coop/cse/brand?form=cse-search-box&amp;lang=en"></script>
- </div>
- <div id="pageTitle">
- <h1>Overview</h1>
- </div>
- </div> <!-- /pageHeader -->
+ <script type="text/javascript" src="http://www.google.com/coop/cse/t13n?form=cse&amp;t13n_langs=en"></script>
+ <script type="text/javascript" src="http://www.google.com/coop/cse/brand?form=cse&amp;lang=en"></script>
+ </div> <!-- end search -->
+ </div> <!-- end gc-header -->
+
+ <div id="codesiteContent">
+
+ <a id="gc-topnav-anchor"></a>
+ <div id="gc-topnav">
+ <h1>Google Chrome Extensions (<a href="/labs/">Labs</a>)</h1>
+ <ul id="home" class="gc-topnav-tabs">
+ <li id="home_link">
+ <a href="index.html" class="selected" title="Google Chrome Extensions documentation home page">Home</a>
+ </li>
+ <li id="blog_link">
+ <a href="http://blog.chromium.org/" title="Chromium blog">Blog</a>
+ </li>
+ <li id="faq_link">
+ <a href="faq.html" title="Google Chrome Extensions FAQ">FAQ</a>
+ </li>
+ <li id="group_link">
+ <a href="http://groups.google.com/group/chromium-extensions" title="Chromium-Extensions group">Group</a>
+ </li>
+ <li id="terms_link">
+ Terms
+ </li>
+ </ul>
+ </div> <!-- end gc-topnav -->
- <div id="pageContent">
+ <div class="g-section g-tpl-170">
<!-- SIDENAV -->
- <div id="leftNav">
+ <div class="g-unit g-first" id="gc-toc">
<ul>
- <li> <a href="index.html">Home</a></li>
- <li> <a href="getstarted.html">Getting Started</a></li>
- <li class="leftNavSelected">Overview </li>
- <li> <a href="devguide.html"><div>Developer's Guide</div></a>
+ <li><a href="index.html">Home</a></li>
+ <li><a href="getstarted.html">Getting Started</a></li>
+ <li class="leftNavSelected">Overview</li>
+ <li><h2><a href="devguide.html">Developer's Guide</a></h2>
<ul>
- <li> Browser UI
+ <li>Browser UI
<ul>
<li><a href="browserAction.html">Browser Actions</a></li>
<li><a href="options.html">Options Pages</a></li>
@@ -109,7 +144,7 @@
<li><a href="themes.html">Themes</a></li>
</ul>
</li>
- <li> Browser Interaction
+ <li>Browser Interaction
<ul>
<li><a href="bookmarks.html">Bookmarks</a></li>
<li><a href="events.html">Events</a></li>
@@ -117,7 +152,7 @@
<li><a href="windows.html">Windows</a></li>
</ul>
</li>
- <li> Implementation
+ <li>Implementation
<ul>
<li><a href="background_pages.html">Background Pages</a></li>
<li><a href="content_scripts.html">Content Scripts</a></li>
@@ -126,7 +161,7 @@
<li><a href="npapi.html">NPAPI Plugins</a></li>
</ul>
</li>
- <li> Finishing
+ <li>Finishing
<ul>
<li><a href="autoupdate.html">Autoupdating</a></li>
<li><a href="packaging.html">Packaging</a></li>
@@ -134,32 +169,35 @@
</li>
</ul>
</li>
- <li><a href="tutorials.html"><div>Tutorials</div></a>
+ <li><h2><a href="tutorials.html">Tutorials</a></h2>
<ul>
<li><a href="tut_debugging.html">Debugging</a></li>
</ul>
</li>
- <li>Reference
+ <li><h2>Reference</h2>
<ul>
- <li> Formats
+ <li>Formats
<ul>
<li><a href="manifest.html">Manifest Files</a></li>
<li><a href="match_patterns.html">Match Patterns</a></li>
<!-- <li>Packages (.crx)</li> -->
</ul>
</li>
- <li> <a href="api_index.html">chrome.* APIs</a> </li>
- <li> <a href="api_other.html">Other APIs</a> </li>
+ <li><a href="api_index.html">chrome.* APIs</a></li>
+ <li><a href="api_other.html">Other APIs</a></li>
</ul>
</li>
- <li><a href="samples.html">Samples</a></li>
+ <li><h2><a href="samples.html">Samples</a></h2></li>
</ul>
</div>
- <div id="mainColumn">
+ <div class="g-unit" id="gc-pagecontent">
+ <div id="pageTitle">
+ <h1 class="page_title">Overview</h1>
+ </div>
<!-- TABLE OF CONTENTS -->
<div id="toc">
- <p>Contents</p>
+ <h2>Contents</h2>
<ol>
<li>
<a href="#what">The basics</a>
@@ -712,9 +750,11 @@ Here are some ideas for where to go next:
</div> <!-- /apiGroup -->
</div> <!-- /apiPage -->
- </div> <!-- /mainColumn -->
- </div> <!-- /pageContent -->
- <div id="pageFooter" --="">
+ </div> <!-- /gc-pagecontent -->
+ </div> <!-- /g-section -->
+ </div> <!-- /codesiteContent -->
+ <div id="gc-footer" --="">
+ <div class="text">
<p>
Except as otherwise <a href="http://code.google.com/policies.html#restrictions">noted</a>,
the content of this page is licensed under the <a rel="license" href="http://creativecommons.org/licenses/by/3.0/">Creative Commons
@@ -746,8 +786,8 @@ Here are some ideas for where to go next:
catch(e) {/* urchinTracker not available. */}
</script>
<!-- end analytics -->
-
- </div> <!-- /pageFooter -->
- </div> <!-- /container -->
+ </div>
+ </div> <!-- /gc-footer -->
+ </div> <!-- /gc-container -->
</body></html>
diff --git a/chrome/common/extensions/docs/packaging.html b/chrome/common/extensions/docs/packaging.html
index 5edbd7e..8a9fa0a 100644
--- a/chrome/common/extensions/docs/packaging.html
+++ b/chrome/common/extensions/docs/packaging.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>Packaging</title></head><body> <div id="container">
+ <title>Packaging</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
@@ -68,39 +68,74 @@
</div> <!-- /SUBTEMPLATES -->
- <a name="top"> </a>
+ <a id="top"></a>
+ <div id="skipto">
+ <a href="#gc-pagecontent">Skip to page content</a>
+ <a href="#gc-toc">Skip to main navigation</a>
+ </div>
<!-- API HEADER -->
- <div id="pageHeader">
- <div id="searchbox">
- <form action="http://www.google.com/cse" id="cse-search-box">
- <div>
+ <div id="gc-header">
+ <div id="logo">
+
+
+ <img src="images/code_labs_logo.gif" height="43" width="161" alt="Google Code Labs" style="border:0;">
+
+
+ </div>
+ <div id="search">
+ <div id="searchForm" class="searchForm">
+ <form action="http://www.google.com/cse" id="cse">
+ <div id="gsc-search-box">
<input type="hidden" name="cx" value="002967670403910741006:61_cvzfqtno">
<input type="hidden" name="ie" value="UTF-8">
<input type="text" name="q" size="31">
- <input type="submit" name="sa" value="Search">
+ <input class="gsc-search-button" type="submit" name="sa" value="Search">
</div>
</form>
+ <p>&nbsp;</p>
+ </div> <!-- end searchForm -->
<script type="text/javascript" src="http://www.google.com/jsapi"></script>
<script type="text/javascript">google.load("elements", "1", {packages: "transliteration"});</script>
- <script type="text/javascript" src="http://www.google.com/coop/cse/t13n?form=cse-search-box&amp;t13n_langs=en"></script>
- <script type="text/javascript" src="http://www.google.com/coop/cse/brand?form=cse-search-box&amp;lang=en"></script>
- </div>
- <div id="pageTitle">
- <h1>Packaging</h1>
- </div>
- </div> <!-- /pageHeader -->
+ <script type="text/javascript" src="http://www.google.com/coop/cse/t13n?form=cse&amp;t13n_langs=en"></script>
+ <script type="text/javascript" src="http://www.google.com/coop/cse/brand?form=cse&amp;lang=en"></script>
+ </div> <!-- end search -->
+ </div> <!-- end gc-header -->
+
+ <div id="codesiteContent">
+
+ <a id="gc-topnav-anchor"></a>
+ <div id="gc-topnav">
+ <h1>Google Chrome Extensions (<a href="/labs/">Labs</a>)</h1>
+ <ul id="home" class="gc-topnav-tabs">
+ <li id="home_link">
+ <a href="index.html" class="selected" title="Google Chrome Extensions documentation home page">Home</a>
+ </li>
+ <li id="blog_link">
+ <a href="http://blog.chromium.org/" title="Chromium blog">Blog</a>
+ </li>
+ <li id="faq_link">
+ <a href="faq.html" title="Google Chrome Extensions FAQ">FAQ</a>
+ </li>
+ <li id="group_link">
+ <a href="http://groups.google.com/group/chromium-extensions" title="Chromium-Extensions group">Group</a>
+ </li>
+ <li id="terms_link">
+ Terms
+ </li>
+ </ul>
+ </div> <!-- end gc-topnav -->
- <div id="pageContent">
+ <div class="g-section g-tpl-170">
<!-- SIDENAV -->
- <div id="leftNav">
+ <div class="g-unit g-first" id="gc-toc">
<ul>
- <li> <a href="index.html">Home</a></li>
- <li> <a href="getstarted.html">Getting Started</a></li>
- <li> <a href="overview.html">Overview</a></li>
- <li> <a href="devguide.html"><div>Developer's Guide</div></a>
+ <li><a href="index.html">Home</a></li>
+ <li><a href="getstarted.html">Getting Started</a></li>
+ <li><a href="overview.html">Overview</a></li>
+ <li><h2><a href="devguide.html">Developer's Guide</a></h2>
<ul>
- <li> Browser UI
+ <li>Browser UI
<ul>
<li><a href="browserAction.html">Browser Actions</a></li>
<li><a href="options.html">Options Pages</a></li>
@@ -109,7 +144,7 @@
<li><a href="themes.html">Themes</a></li>
</ul>
</li>
- <li> Browser Interaction
+ <li>Browser Interaction
<ul>
<li><a href="bookmarks.html">Bookmarks</a></li>
<li><a href="events.html">Events</a></li>
@@ -117,7 +152,7 @@
<li><a href="windows.html">Windows</a></li>
</ul>
</li>
- <li> Implementation
+ <li>Implementation
<ul>
<li><a href="background_pages.html">Background Pages</a></li>
<li><a href="content_scripts.html">Content Scripts</a></li>
@@ -126,7 +161,7 @@
<li><a href="npapi.html">NPAPI Plugins</a></li>
</ul>
</li>
- <li> Finishing
+ <li>Finishing
<ul>
<li><a href="autoupdate.html">Autoupdating</a></li>
<li class="leftNavSelected">Packaging</li>
@@ -134,32 +169,35 @@
</li>
</ul>
</li>
- <li><a href="tutorials.html"><div>Tutorials</div></a>
+ <li><h2><a href="tutorials.html">Tutorials</a></h2>
<ul>
<li><a href="tut_debugging.html">Debugging</a></li>
</ul>
</li>
- <li>Reference
+ <li><h2>Reference</h2>
<ul>
- <li> Formats
+ <li>Formats
<ul>
<li><a href="manifest.html">Manifest Files</a></li>
<li><a href="match_patterns.html">Match Patterns</a></li>
<!-- <li>Packages (.crx)</li> -->
</ul>
</li>
- <li> <a href="api_index.html">chrome.* APIs</a> </li>
- <li> <a href="api_other.html">Other APIs</a> </li>
+ <li><a href="api_index.html">chrome.* APIs</a></li>
+ <li><a href="api_other.html">Other APIs</a></li>
</ul>
</li>
- <li><a href="samples.html">Samples</a></li>
+ <li><h2><a href="samples.html">Samples</a></h2></li>
</ul>
</div>
- <div id="mainColumn">
+ <div class="g-unit" id="gc-pagecontent">
+ <div id="pageTitle">
+ <h1 class="page_title">Packaging</h1>
+ </div>
<!-- TABLE OF CONTENTS -->
<div id="toc">
- <p>Contents</p>
+ <h2>Contents</h2>
<ol>
<li>
<a href="#H2-0">Creating a package</a>
@@ -532,9 +570,11 @@ See the following thread for details:
</div> <!-- /apiGroup -->
</div> <!-- /apiPage -->
- </div> <!-- /mainColumn -->
- </div> <!-- /pageContent -->
- <div id="pageFooter" --="">
+ </div> <!-- /gc-pagecontent -->
+ </div> <!-- /g-section -->
+ </div> <!-- /codesiteContent -->
+ <div id="gc-footer" --="">
+ <div class="text">
<p>
Except as otherwise <a href="http://code.google.com/policies.html#restrictions">noted</a>,
the content of this page is licensed under the <a rel="license" href="http://creativecommons.org/licenses/by/3.0/">Creative Commons
@@ -566,8 +606,8 @@ See the following thread for details:
catch(e) {/* urchinTracker not available. */}
</script>
<!-- end analytics -->
-
- </div> <!-- /pageFooter -->
- </div> <!-- /container -->
+ </div>
+ </div> <!-- /gc-footer -->
+ </div> <!-- /gc-container -->
</body></html>
diff --git a/chrome/common/extensions/docs/pageAction.html b/chrome/common/extensions/docs/pageAction.html
index ecb0bca..018cac7 100644
--- a/chrome/common/extensions/docs/pageAction.html
+++ b/chrome/common/extensions/docs/pageAction.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>Page Actions</title></head><body> <div id="container">
+ <title>Page Actions</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
@@ -68,39 +68,74 @@
</div> <!-- /SUBTEMPLATES -->
- <a name="top"> </a>
+ <a id="top"></a>
+ <div id="skipto">
+ <a href="#gc-pagecontent">Skip to page content</a>
+ <a href="#gc-toc">Skip to main navigation</a>
+ </div>
<!-- API HEADER -->
- <div id="pageHeader">
- <div id="searchbox">
- <form action="http://www.google.com/cse" id="cse-search-box">
- <div>
+ <div id="gc-header">
+ <div id="logo">
+
+
+ <img src="images/code_labs_logo.gif" height="43" width="161" alt="Google Code Labs" style="border:0;">
+
+
+ </div>
+ <div id="search">
+ <div id="searchForm" class="searchForm">
+ <form action="http://www.google.com/cse" id="cse">
+ <div id="gsc-search-box">
<input type="hidden" name="cx" value="002967670403910741006:61_cvzfqtno">
<input type="hidden" name="ie" value="UTF-8">
<input type="text" name="q" size="31">
- <input type="submit" name="sa" value="Search">
+ <input class="gsc-search-button" type="submit" name="sa" value="Search">
</div>
</form>
+ <p>&nbsp;</p>
+ </div> <!-- end searchForm -->
<script type="text/javascript" src="http://www.google.com/jsapi"></script>
<script type="text/javascript">google.load("elements", "1", {packages: "transliteration"});</script>
- <script type="text/javascript" src="http://www.google.com/coop/cse/t13n?form=cse-search-box&amp;t13n_langs=en"></script>
- <script type="text/javascript" src="http://www.google.com/coop/cse/brand?form=cse-search-box&amp;lang=en"></script>
- </div>
- <div id="pageTitle">
- <h1>Page Actions</h1>
- </div>
- </div> <!-- /pageHeader -->
+ <script type="text/javascript" src="http://www.google.com/coop/cse/t13n?form=cse&amp;t13n_langs=en"></script>
+ <script type="text/javascript" src="http://www.google.com/coop/cse/brand?form=cse&amp;lang=en"></script>
+ </div> <!-- end search -->
+ </div> <!-- end gc-header -->
+
+ <div id="codesiteContent">
+
+ <a id="gc-topnav-anchor"></a>
+ <div id="gc-topnav">
+ <h1>Google Chrome Extensions (<a href="/labs/">Labs</a>)</h1>
+ <ul id="home" class="gc-topnav-tabs">
+ <li id="home_link">
+ <a href="index.html" class="selected" title="Google Chrome Extensions documentation home page">Home</a>
+ </li>
+ <li id="blog_link">
+ <a href="http://blog.chromium.org/" title="Chromium blog">Blog</a>
+ </li>
+ <li id="faq_link">
+ <a href="faq.html" title="Google Chrome Extensions FAQ">FAQ</a>
+ </li>
+ <li id="group_link">
+ <a href="http://groups.google.com/group/chromium-extensions" title="Chromium-Extensions group">Group</a>
+ </li>
+ <li id="terms_link">
+ Terms
+ </li>
+ </ul>
+ </div> <!-- end gc-topnav -->
- <div id="pageContent">
+ <div class="g-section g-tpl-170">
<!-- SIDENAV -->
- <div id="leftNav">
+ <div class="g-unit g-first" id="gc-toc">
<ul>
- <li> <a href="index.html">Home</a></li>
- <li> <a href="getstarted.html">Getting Started</a></li>
- <li> <a href="overview.html">Overview</a></li>
- <li> <a href="devguide.html"><div>Developer's Guide</div></a>
+ <li><a href="index.html">Home</a></li>
+ <li><a href="getstarted.html">Getting Started</a></li>
+ <li><a href="overview.html">Overview</a></li>
+ <li><h2><a href="devguide.html">Developer's Guide</a></h2>
<ul>
- <li> Browser UI
+ <li>Browser UI
<ul>
<li><a href="browserAction.html">Browser Actions</a></li>
<li><a href="options.html">Options Pages</a></li>
@@ -109,7 +144,7 @@
<li><a href="themes.html">Themes</a></li>
</ul>
</li>
- <li> Browser Interaction
+ <li>Browser Interaction
<ul>
<li><a href="bookmarks.html">Bookmarks</a></li>
<li><a href="events.html">Events</a></li>
@@ -117,7 +152,7 @@
<li><a href="windows.html">Windows</a></li>
</ul>
</li>
- <li> Implementation
+ <li>Implementation
<ul>
<li><a href="background_pages.html">Background Pages</a></li>
<li><a href="content_scripts.html">Content Scripts</a></li>
@@ -126,7 +161,7 @@
<li><a href="npapi.html">NPAPI Plugins</a></li>
</ul>
</li>
- <li> Finishing
+ <li>Finishing
<ul>
<li><a href="autoupdate.html">Autoupdating</a></li>
<li><a href="packaging.html">Packaging</a></li>
@@ -134,32 +169,35 @@
</li>
</ul>
</li>
- <li><a href="tutorials.html"><div>Tutorials</div></a>
+ <li><h2><a href="tutorials.html">Tutorials</a></h2>
<ul>
<li><a href="tut_debugging.html">Debugging</a></li>
</ul>
</li>
- <li>Reference
+ <li><h2>Reference</h2>
<ul>
- <li> Formats
+ <li>Formats
<ul>
<li><a href="manifest.html">Manifest Files</a></li>
<li><a href="match_patterns.html">Match Patterns</a></li>
<!-- <li>Packages (.crx)</li> -->
</ul>
</li>
- <li> <a href="api_index.html">chrome.* APIs</a> </li>
- <li> <a href="api_other.html">Other APIs</a> </li>
+ <li><a href="api_index.html">chrome.* APIs</a></li>
+ <li><a href="api_other.html">Other APIs</a></li>
</ul>
</li>
- <li><a href="samples.html">Samples</a></li>
+ <li><h2><a href="samples.html">Samples</a></h2></li>
</ul>
</div>
- <div id="mainColumn">
+ <div class="g-unit" id="gc-pagecontent">
+ <div id="pageTitle">
+ <h1 class="page_title">Page Actions</h1>
+ </div>
<!-- TABLE OF CONTENTS -->
<div id="toc">
- <p>Contents</p>
+ <h2>Contents</h2>
<ol>
<li>
<a href="#manifest">Manifest</a>
@@ -1088,9 +1126,11 @@ follow these guidelines:</p>
</div> <!-- /apiGroup -->
</div> <!-- /apiPage -->
- </div> <!-- /mainColumn -->
- </div> <!-- /pageContent -->
- <div id="pageFooter" --="">
+ </div> <!-- /gc-pagecontent -->
+ </div> <!-- /g-section -->
+ </div> <!-- /codesiteContent -->
+ <div id="gc-footer" --="">
+ <div class="text">
<p>
Except as otherwise <a href="http://code.google.com/policies.html#restrictions">noted</a>,
the content of this page is licensed under the <a rel="license" href="http://creativecommons.org/licenses/by/3.0/">Creative Commons
@@ -1122,8 +1162,8 @@ follow these guidelines:</p>
catch(e) {/* urchinTracker not available. */}
</script>
<!-- end analytics -->
-
- </div> <!-- /pageFooter -->
- </div> <!-- /container -->
+ </div>
+ </div> <!-- /gc-footer -->
+ </div> <!-- /gc-container -->
</body></html>
diff --git a/chrome/common/extensions/docs/samples.html b/chrome/common/extensions/docs/samples.html
index 6582fa8..c742448 100644
--- a/chrome/common/extensions/docs/samples.html
+++ b/chrome/common/extensions/docs/samples.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>Samples</title></head><body> <div id="container">
+ <title>Samples</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
@@ -68,39 +68,74 @@
</div> <!-- /SUBTEMPLATES -->
- <a name="top"> </a>
+ <a id="top"></a>
+ <div id="skipto">
+ <a href="#gc-pagecontent">Skip to page content</a>
+ <a href="#gc-toc">Skip to main navigation</a>
+ </div>
<!-- API HEADER -->
- <div id="pageHeader">
- <div id="searchbox">
- <form action="http://www.google.com/cse" id="cse-search-box">
- <div>
+ <div id="gc-header">
+ <div id="logo">
+
+
+ <img src="images/code_labs_logo.gif" height="43" width="161" alt="Google Code Labs" style="border:0;">
+
+
+ </div>
+ <div id="search">
+ <div id="searchForm" class="searchForm">
+ <form action="http://www.google.com/cse" id="cse">
+ <div id="gsc-search-box">
<input type="hidden" name="cx" value="002967670403910741006:61_cvzfqtno">
<input type="hidden" name="ie" value="UTF-8">
<input type="text" name="q" size="31">
- <input type="submit" name="sa" value="Search">
+ <input class="gsc-search-button" type="submit" name="sa" value="Search">
</div>
</form>
+ <p>&nbsp;</p>
+ </div> <!-- end searchForm -->
<script type="text/javascript" src="http://www.google.com/jsapi"></script>
<script type="text/javascript">google.load("elements", "1", {packages: "transliteration"});</script>
- <script type="text/javascript" src="http://www.google.com/coop/cse/t13n?form=cse-search-box&amp;t13n_langs=en"></script>
- <script type="text/javascript" src="http://www.google.com/coop/cse/brand?form=cse-search-box&amp;lang=en"></script>
- </div>
- <div id="pageTitle">
- <h1>Samples</h1>
- </div>
- </div> <!-- /pageHeader -->
+ <script type="text/javascript" src="http://www.google.com/coop/cse/t13n?form=cse&amp;t13n_langs=en"></script>
+ <script type="text/javascript" src="http://www.google.com/coop/cse/brand?form=cse&amp;lang=en"></script>
+ </div> <!-- end search -->
+ </div> <!-- end gc-header -->
+
+ <div id="codesiteContent">
+
+ <a id="gc-topnav-anchor"></a>
+ <div id="gc-topnav">
+ <h1>Google Chrome Extensions (<a href="/labs/">Labs</a>)</h1>
+ <ul id="home" class="gc-topnav-tabs">
+ <li id="home_link">
+ <a href="index.html" class="selected" title="Google Chrome Extensions documentation home page">Home</a>
+ </li>
+ <li id="blog_link">
+ <a href="http://blog.chromium.org/" title="Chromium blog">Blog</a>
+ </li>
+ <li id="faq_link">
+ <a href="faq.html" title="Google Chrome Extensions FAQ">FAQ</a>
+ </li>
+ <li id="group_link">
+ <a href="http://groups.google.com/group/chromium-extensions" title="Chromium-Extensions group">Group</a>
+ </li>
+ <li id="terms_link">
+ Terms
+ </li>
+ </ul>
+ </div> <!-- end gc-topnav -->
- <div id="pageContent">
+ <div class="g-section g-tpl-170">
<!-- SIDENAV -->
- <div id="leftNav">
+ <div class="g-unit g-first" id="gc-toc">
<ul>
- <li> <a href="index.html">Home</a></li>
- <li> <a href="getstarted.html">Getting Started</a></li>
- <li> <a href="overview.html">Overview</a></li>
- <li> <a href="devguide.html"><div>Developer's Guide</div></a>
+ <li><a href="index.html">Home</a></li>
+ <li><a href="getstarted.html">Getting Started</a></li>
+ <li><a href="overview.html">Overview</a></li>
+ <li><h2><a href="devguide.html">Developer's Guide</a></h2>
<ul>
- <li> Browser UI
+ <li>Browser UI
<ul>
<li><a href="browserAction.html">Browser Actions</a></li>
<li><a href="options.html">Options Pages</a></li>
@@ -109,7 +144,7 @@
<li><a href="themes.html">Themes</a></li>
</ul>
</li>
- <li> Browser Interaction
+ <li>Browser Interaction
<ul>
<li><a href="bookmarks.html">Bookmarks</a></li>
<li><a href="events.html">Events</a></li>
@@ -117,7 +152,7 @@
<li><a href="windows.html">Windows</a></li>
</ul>
</li>
- <li> Implementation
+ <li>Implementation
<ul>
<li><a href="background_pages.html">Background Pages</a></li>
<li><a href="content_scripts.html">Content Scripts</a></li>
@@ -126,7 +161,7 @@
<li><a href="npapi.html">NPAPI Plugins</a></li>
</ul>
</li>
- <li> Finishing
+ <li>Finishing
<ul>
<li><a href="autoupdate.html">Autoupdating</a></li>
<li><a href="packaging.html">Packaging</a></li>
@@ -134,42 +169,59 @@
</li>
</ul>
</li>
- <li><a href="tutorials.html"><div>Tutorials</div></a>
+ <li><h2><a href="tutorials.html">Tutorials</a></h2>
<ul>
<li><a href="tut_debugging.html">Debugging</a></li>
</ul>
</li>
- <li>Reference
+ <li><h2>Reference</h2>
<ul>
- <li> Formats
+ <li>Formats
<ul>
<li><a href="manifest.html">Manifest Files</a></li>
<li><a href="match_patterns.html">Match Patterns</a></li>
<!-- <li>Packages (.crx)</li> -->
</ul>
</li>
- <li> <a href="api_index.html">chrome.* APIs</a> </li>
- <li> <a href="api_other.html">Other APIs</a> </li>
+ <li><a href="api_index.html">chrome.* APIs</a></li>
+ <li><a href="api_other.html">Other APIs</a></li>
</ul>
</li>
- <li class="leftNavSelected">Samples</li>
+ <li><h2><a href="samples.html">Samples</a></h2></li>
</ul>
</div>
- <div id="mainColumn">
+ <div class="g-unit" id="gc-pagecontent">
+ <div id="pageTitle">
+ <h1 class="page_title">Samples</h1>
+ </div>
<!-- TABLE OF CONTENTS -->
- <div id="toc" style="display: none; ">
- <p>Contents</p>
+ <div id="toc">
+ <h2>Contents</h2>
<ol>
<li>
- <a>h2Name</a>
+ <a href="#H2-0">Google Mail Checker</a>
<ol>
- <li>
+ <li style="display: none; ">
+ <a>h3Name</a>
+ </li>
+ </ol>
+ </li><li>
+ <a href="#H2-1">Chromium Buildbot Monitor</a>
+ <ol>
+ <li style="display: none; ">
+ <a>h3Name</a>
+ </li>
+ </ol>
+ </li><li>
+ <a href="#H2-2">Subscribe in Feed Reader</a>
+ <ol>
+ <li style="display: none; ">
<a>h3Name</a>
</li>
</ol>
</li>
- <div>
+ <div style="display: none; ">
<li>
<a href="#apiReference">API reference</a>
<ol>
@@ -213,9 +265,25 @@
<!-- /TABLE OF CONTENTS -->
<!-- STATIC CONTENT PLACEHOLDER -->
- <div id="static"><p><b style="color:red">Note:</b> To run these samples, you need to be on the <a href="http://dev.chromium.org/getting-involved/dev-channel">Dev or Beta channel</a> of Google Chrome.
+ <div id="static"><div id="pageData-showTOC" class="pageData">true</div>
+
+<p>
+This page shows some sample extensions,
+with links that let you install them
+and find their source code.
+Each sample also has links to the documentation
+for each feature used by the sample.
+</p>
+
+<p><b>Note:</b> To run these samples, you need to be using the <a href="http://dev.chromium.org/getting-involved/dev-channel">Dev or Beta channel</a> of Google Chrome.
+
+</p><p>
+For more example code, see the
+<a href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/" target="_blank">Chromium examples directory</a>.
+</p>
-</p><h2>Google Mail Checker</h2>
+
+<a name="H2-0"></a><h2>Google Mail Checker</h2>
<p>Adds a Google Mail button to the toolbar which displays the number of unread messages in your inbox. You can also click the button to open your inbox.
@@ -238,7 +306,7 @@
<br>
-<h2>Chromium Buildbot Monitor</h2>
+<a name="H2-1"></a><h2>Chromium Buildbot Monitor</h2>
<p><a href="http://www.chromium.org/">Chromium</a> is the open source project behind Google Chrome. This extension monitors the status of the Chromium's continuous build and test suite. You can also click the icon to get more detailed information about the current status.
@@ -259,7 +327,7 @@
<br>
-<h2>Subscribe in Feed Reader</h2>
+<a name="H2-2"></a><h2>Subscribe in Feed Reader</h2>
<p>Adds a small icon to the omnibox when a web page contains a feed that can be subscribed to. When you click the icon, present a preview of the feed and the option to subscribe in the web-based reader of your choice.
@@ -423,9 +491,11 @@
</div> <!-- /apiGroup -->
</div> <!-- /apiPage -->
- </div> <!-- /mainColumn -->
- </div> <!-- /pageContent -->
- <div id="pageFooter" --="">
+ </div> <!-- /gc-pagecontent -->
+ </div> <!-- /g-section -->
+ </div> <!-- /codesiteContent -->
+ <div id="gc-footer" --="">
+ <div class="text">
<p>
Except as otherwise <a href="http://code.google.com/policies.html#restrictions">noted</a>,
the content of this page is licensed under the <a rel="license" href="http://creativecommons.org/licenses/by/3.0/">Creative Commons
@@ -457,8 +527,8 @@
catch(e) {/* urchinTracker not available. */}
</script>
<!-- end analytics -->
-
- </div> <!-- /pageFooter -->
- </div> <!-- /container -->
+ </div>
+ </div> <!-- /gc-footer -->
+ </div> <!-- /gc-container -->
</body></html>
diff --git a/chrome/common/extensions/docs/static/autoupdate.html b/chrome/common/extensions/docs/static/autoupdate.html
index d079527..99fbd97 100644
--- a/chrome/common/extensions/docs/static/autoupdate.html
+++ b/chrome/common/extensions/docs/static/autoupdate.html
@@ -1,21 +1,21 @@
<div id="pageData-title" class="pageData">Autoupdating</div>
<div id="pageData-showTOC" class="pageData">true</div>
-<h2>Introduction</h2>
-<p>We want extensions to be autoupdated for some of the same reasons as chrome itself: to incorporate bug and security fixes, add new features or performance enhancements, and improve user interfaces.</p>
-<p>For extensions packaged and distributed via the extensions gallery, developers will be able to use a web interface to release updated versions of their extensions and do not need to concern themselves with the rest of this document.</p>
+<p>We want extensions to be autoupdated for some of the same reasons as Google Chrome itself: to incorporate bug and security fixes, add new features or performance enhancements, and improve user interfaces.</p>
+
+<p>For extensions packaged and distributed via the gallery, developers will be able to use a web interface to release updated versions of their extensions and do not need to concern themselves with the rest of this document.</p>
<p>Those who choose to host extensions themselves instead of using the gallery will probably want to use autoupdate for their extensions as described below. You might want to make sure you are familiar with <a href="packaging.html">Packaging</a> first.</p>
<h2>Overview</h2>
<ul><li>An extension manifest may contain an "update_url" for doing update checks.</li>
-<li>The content returned by an update check is an "update manifest" xml document listing the latest version of an extension (or set of extensions, more on that later).</li></ul>
+<li>The content returned by an update check is an "update manifest" XML document listing the latest version of an extension (or set of extensions, more on that later).</li></ul>
-<p>Every few hours, the browser will check if any installed extensions have an autoupdate url. For each one, it will make a request to that url looking for an update manifest xml file. If the update manifest mentions a version of an extension that is more recent than what's installed, it will download and install the new version. Similar to manual updates, the new crx must be signed with the same private key as the currently installed version.</p>
+<p>Every few hours, the browser will check if any installed extensions have an autoupdate URL. For each one, it will make a request to that URL looking for an update manifest XML file. If the update manifest mentions a version of an extension that is more recent than what's installed, it will download and install the new version. Similar to manual updates, the new crx must be signed with the same private key as the currently installed version.</p>
-<h3>Update URL</h3>
+<h2>Update URL</h2>
<p>For those who are hosting their own extensions, you need to add the "update_url" key to your <a href="manifest.html">manifest.json</a> file like this:</p>
<pre>{
...
@@ -24,8 +24,8 @@
}
</pre>
-<h3>Update Manifest</h3>
-<p>The "update manifest" returned by the server&nbsp;should be an xml document that looks like this (parts you'll want to modify highlighted):</p>
+<h2>Update manifest</h2>
+<p>The "update manifest" returned by the server&nbsp;should be an XML document that looks like this (parts you'll want to modify highlighted):</p>
<pre>
&lt;?xml version='1.0' encoding='UTF-8'?&gt;
@@ -36,35 +36,39 @@
&lt;/gupdate&gt;
</pre>
-<p>(This xml format is borrowed from that used by Omaha, Google's update infrastructure. See <a href="http://code.google.com/p/omaha/">http://code.google.com/p/omaha/</a> for more details.)</p>
+<p>(This XML format is borrowed from that used by Omaha, Google's update infrastructure. See <a href="http://code.google.com/p/omaha/">http://code.google.com/p/omaha/</a> for more details.)</p>
<p><b>appid</b><br>
-The 'appid' property is the extension id, generated based on a hash of the extension's public key as described in <a href="packaging.html">Packaging</a>. You can find out the id of your extension by going to chrome://extensions/ in a chrome browser where you have the extension installed.</p>
+The 'appid' property is the extension id, generated based on a hash of the extension's public key as described in <a href="packaging.html">Packaging</a>. You can find out the id of your extension by going to <b>chrome://extensions</b>.</p>
<p><b>codebase</b><br>
-The 'codebase' property is a url to the crx file.</p>
+The 'codebase' property is a URL to the crx file.</p>
<p><b>version</b><br>
This is used by the client to determine whether it should download the crx file at 'codebase'. It should match the version parameter in the crx file's manifest.json file.</p>
-<p>The update manifest xml file may contain information about multiple extensions by including multiple <code>&lt;app&gt;</code> tags.</p>
+<p>The update manifest XML file may contain information about multiple extensions by including multiple <code>&lt;app&gt;</code> tags.</p>
+
+<h2>Testing</h2>
+<p>The default update check frequency is several hours,
+but you can force an update using the Extensions page's
+<b>Update extensions now</b> button.
+</p>
-<h3>Testing</h3>
-<p>The default update check frequency is several hours, which obviously makes testing challenging. To overcome this, you can use the --extensions-update-frequency command line flag to set a more frequent interval in seconds. For instance, to make checks run every 45 seconds, you would run chrome like this:</p>
+<p>
+Another option is to use the --extensions-update-frequency command-line flag to set a more frequent interval in seconds. For instance, to make checks run every 45 seconds, you would run Google Chrome like this:</p>
<pre>
chrome.exe <b>--extensions-update-frequency=45</b></pre>
-<p>Note that this affects checks for all installed extensions, so consider the bandwidth and server load implications of this. You may want to temporarily uninstall all but the one extension you are testing with, and should not run with this option turned on during normal browser usage. In the future we may remove this command flag and replace it with a different mechanism to trigger update checks for testing (perhaps a button on the chrome://extensions page). Star the following issue to receive updates: <a href="http://crbug.com/17853" rel="nofollow">http://crbug.com/17853</a>.</p>
-
-<p><b>Addendum:</b> the "Update now" button has been added, and will be present in dev channel builds soon (likely 4.0.207.x and above).</p>
+<p>Note that this affects checks for all installed extensions, so consider the bandwidth and server load implications of this. You may want to temporarily uninstall all but the one extension you are testing with, and should not run with this option turned on during normal browser usage.</p>
-<h3>Advanced Usage : Request Parameters</h3>
-<p>The basic autoupdate mechanism is designed to make the server-side work as easy as just dropping a static xml file onto any plain webserver such as apache, and updating that xml file as you release new versions of your extension(s).</p>
-<p>More advanced developers may wish to take advantage of the fact that we add on parameters to the request for the update manifest to indicate the extension id and version. Then they can use the same update_url for all of their extensions pointing to a url running dynamic server side code instead of a static xml file.</p>
+<h2>Advanced usage: request parameters</h2>
+<p>The basic autoupdate mechanism is designed to make the server-side work as easy as just dropping a static XML file onto any plain webserver such as apache, and updating that XML file as you release new versions of your extension(s).</p>
+<p>More advanced developers may wish to take advantage of the fact that we add on parameters to the request for the update manifest to indicate the extension id and version. Then they can use the same update_url for all of their extensions pointing to a URL running dynamic server side code instead of a static XML file.</p>
<p>The format of the request parameters is:</p>
<p><code>&nbsp;&nbsp;?x=&lt;extension_data&gt;</code></p>
-<p>where <code>&lt;extension_data&gt;</code> is an url-encoded string of the format:</p>
+<p>where <code>&lt;extension_data&gt;</code> is an URL-encoded string of the format:</p>
<p><code>&nbsp;&nbsp;id=&lt;id&gt;&amp;v=&lt;version&gt;</code></p>
<p>So for example, say we have two extensions installed</p>
@@ -80,15 +84,15 @@ chrome.exe <b>--extensions-update-frequency=45</b></pre>
<p><b>Note</b>: in releases before 3.0.196.x there was a bug in how request parameters were put together (<a href="http://crbug.com/17469" rel="nofollow">http://crbug.com/17469</a>).</p>
-<h4>Future work for Request Parameters</h4>
+<h3>Future work</h3>
<p>While not implemented yet, we will eventually list multiple extensions in a single request for each unique update_url. For the above example, the request would end up being:</p>
<p><code>http://test.com/extension_updates.php?x=id%3Daaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa%26v%3D1.1&amp;x=id%3Dbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb%26v%3D0.4</code></p>
-<p>If the number of installed extensions using the same update_url is large enough that a GET request url would be too long (probably greater than 1024 characters or so), the update check will instead issue a POST with the request parameters in the POST body.</p>
+<p>If the number of installed extensions using the same update_url is large enough that a GET request URL would be too long (probably greater than 1024 characters or so), the update check will instead issue a POST with the request parameters in the POST body.</p>
-<h3>Advanced Usage : Minimum Browser Version</h3>
-<p>As we add more API's to the extensions system, it's possible you will want to release an updated version of an extension that will only work with newer versions of the chrome browser. While chrome itself is autoupdated, it can take a few days before the majority of the userbase has updated to any given new release. To ensure that a given extension update will only apply to chrome version at or higher than a specific version, you would add the prodversionmin parameter to the <code>&lt;app&gt;</code> tag in your update manifest. For example:</p>
+<h2>Advanced usage: minimum browser version</h2>
+<p>As we add more APIs to the extensions system, it's possible you will want to release an updated version of an extension that will only work with newer versions of the browser. While Google Chrome itself is autoupdated, it can take a few days before the majority of the user base has updated to any given new release. To ensure that a given extension update will apply only to Google Chrome versions at or higher than a specific version, you would add the prodversionmin parameter to the <code>&lt;app&gt;</code> tag in your update manifest. For example:</p>
<pre>&lt;?xml version='1.0' encoding='UTF-8'?&gt;
&lt;gupdate xmlns='http://www.google.com/update2/response' protocol='2.0'&gt;
@@ -98,5 +102,5 @@ chrome.exe <b>--extensions-update-frequency=45</b></pre>
&lt;/gupdate&gt;
</pre>
-<p>This would ensure that users of this extension would only autoupdate to version 2 if they are running chrome 3.0.193.0 or greater.</p>
+<p>This would ensure that users of this extension would autoupdate to version 2 only if they are running Google Chrome 3.0.193.0 or greater.</p>
diff --git a/chrome/common/extensions/docs/static/devguide.html b/chrome/common/extensions/docs/static/devguide.html
index ac30cc8..92e1e23 100644
--- a/chrome/common/extensions/docs/static/devguide.html
+++ b/chrome/common/extensions/docs/static/devguide.html
@@ -13,6 +13,9 @@ and <a href="overview.html">Overview</a>.
<td colspan="2"><h4>Changing the Google Chrome chrome</h4></td>
</tr>
<tr>
+ <td colspan="2"> &nbsp;</td>
+ </tr>
+ <tr>
<td> <a href="browserAction.html">Browser&nbsp;Actions</a> </td>
<td> Add icons to the toolbar </td>
</tr>
@@ -38,6 +41,9 @@ and <a href="overview.html">Overview</a>.
<td colspan="2"><h4>Interacting with Google Chrome in other ways</h4></td>
</tr>
<tr>
+ <td colspan="2"> &nbsp;</td>
+ </tr>
+ <tr>
<td> <a href="bookmarks.html">Bookmarks</a> </td>
<td> Create, organize, and otherwise manipulate the user's bookmarks </td>
</tr>
@@ -62,6 +68,9 @@ and <a href="overview.html">Overview</a>.
<td colspan="2"><h4>Implementing the innards of your extension</h4></td>
</tr>
<tr>
+ <td colspan="2"> &nbsp;</td>
+ </tr>
+ <tr>
<td> <a href="background_pages.html">Background&nbsp;Pages</a> </td>
<td> Put all the common code for your extension in a single place </td>
</tr>
@@ -87,6 +96,9 @@ and <a href="overview.html">Overview</a>.
<td colspan="2"><h4>Finishing and distributing your extension</h4></td>
</tr>
<tr>
+ <td colspan="2"> &nbsp;</td>
+ </tr>
+ <tr>
<td> <a href="autoupdate.html">Autoupdating</a> </td>
<td> Update extensions automatically </td>
</tr>
diff --git a/chrome/common/extensions/docs/static/getstarted.html b/chrome/common/extensions/docs/static/getstarted.html
index 7692b4b..36f9868 100644
--- a/chrome/common/extensions/docs/static/getstarted.html
+++ b/chrome/common/extensions/docs/static/getstarted.html
@@ -59,7 +59,7 @@ to the toolbar of Google Chrome.
</li>
<li>
Copy this icon to the same folder:<br>
- <table cellpadding="0" cellspacing="0">
+ <table cellpadding="0" cellspacing="0" style="border:0">
<tr>
<td style="text-align:center; border:0;"><a
href="examples/tutorials/getstarted/icon.png"
@@ -76,8 +76,8 @@ to the toolbar of Google Chrome.
Bring up the extensions management page
by clicking the Tools menu
<img src="images/toolsmenu.gif" width="43" height="34" alt=""
- align="absmiddle">
- and choosing <b>Extensions</b>.
+ align="absmiddle" style="margin:0; padding:0">and
+ choosing <b>Extensions</b>.
</li>
<li>
diff --git a/chrome/common/extensions/docs/static/i18n.html b/chrome/common/extensions/docs/static/i18n.html
index 2ce586f..360a8d5 100644
--- a/chrome/common/extensions/docs/static/i18n.html
+++ b/chrome/common/extensions/docs/static/i18n.html
@@ -3,8 +3,11 @@
<!-- BEGIN AUTHORED CONTENT -->
<p id="classSummary">
Use the <code>chrome.i18n</code> module to manipulate the i18n related browser
-settings, such as the accept languages, or to get localized messages for current
-locale.
+settings, such as the accept languages.
+<span class="comment">
+[PENDING: add when getMessage works:
+"or to get localized messages for the current locale."]
+</span>
</p>
<h3 id="overview-examples">Examples</h3>
@@ -23,8 +26,11 @@ function getAcceptLanguages() {
}
</pre>
+<div class="comment">
+[PENDING: add the following when getMessage is working]
+
<p>
-The following code gets localized message from the browser and displays it as a
+The following code gets a localized message from the browser and displays it as a
string. It replaces two placeholders within the message with values arg1 and
arg2.
</p>
@@ -35,4 +41,5 @@ function getMessage() {
document.getElementById("languageSpan").innerHTML = message;
}
</pre>
+</div>
<!-- END AUTHORED CONTENT -->
diff --git a/chrome/common/extensions/docs/static/index.html b/chrome/common/extensions/docs/static/index.html
index 8eb0ab7..5d9affe 100644
--- a/chrome/common/extensions/docs/static/index.html
+++ b/chrome/common/extensions/docs/static/index.html
@@ -1,13 +1,14 @@
<style>
#pics {
- margin:2em 1em 1.5em;
+ margin:1em;
+ border:none;
}
#pics td {
text-align:center;
width:33%!important;
border:none;
- padding:1em;
+ padding:0 1em;
font-size:90%;
}
diff --git a/chrome/common/extensions/docs/static/match_patterns.html b/chrome/common/extensions/docs/static/match_patterns.html
index d08741f..79738f4 100644
--- a/chrome/common/extensions/docs/static/match_patterns.html
+++ b/chrome/common/extensions/docs/static/match_patterns.html
@@ -52,12 +52,12 @@ each '<code>*</code>' matches 0 or more characters.
The following table shows some valid patterns.
</p>
-<table>
+<table class="columns">
<tbody>
<tr>
- <th>Pattern</th>
- <th>What it does</th>
- <th>Examples of matching URLs</th>
+ <th style="margin-left:0; padding-left:0">Pattern</th>
+ <th style="margin-left:0; padding-left:0">What it does</th>
+ <th style="margin-left:0; padding-left:0">Examples of matching URLs</th>
</tr>
<tr>
@@ -154,11 +154,11 @@ The following table shows some valid patterns.
Here are some examples of <em>invalid</em> pattern matches:
</p>
-<table>
+<table class="columns">
<tbody>
<tr>
- <th>Bad pattern</th>
- <th>Why it's bad</th>
+ <th style="margin-left:0; padding-left:0">Bad pattern</th>
+ <th style="margin-left:0; padding-left:0">Why it's bad</th>
</tr>
<tr>
diff --git a/chrome/common/extensions/docs/static/messaging.html b/chrome/common/extensions/docs/static/messaging.html
index 6451086..97c0ab4 100644
--- a/chrome/common/extensions/docs/static/messaging.html
+++ b/chrome/common/extensions/docs/static/messaging.html
@@ -84,7 +84,7 @@ chrome.extension.onRequest.addListener(
<p>
Sometimes it's useful to have a conversation that lasts longer than a single
request and response. In this case, you can open a long-lived channel from
-your content script to an extension page, or vice versa, using
+your content script to an extension page, or vice versa, using
<a href="extension.html#method-connect">chrome.extension.connect()</a>
or
<a href="tabs.html#method-connect">chrome.tabs.connect()</a> respectively. The
@@ -155,7 +155,7 @@ You may want to find out when a connection is closed, for example if you are
maintaining separate state for each open port. For this you can listen to the
<a href="extension.html#type-Port">Port.onDisconnect</a>
event. This event is fired either when the other side of the channel manually
-calls
+calls
<a href="extension.html#type-Port">Port.disconnect()</a>, or when the page
containing the port is unloaded (for example if the tab is navigated).
onDisconnect is guaranteed to be fired only once for any given port.
diff --git a/chrome/common/extensions/docs/static/options.html b/chrome/common/extensions/docs/static/options.html
index 1c355d6..7708dd0 100644
--- a/chrome/common/extensions/docs/static/options.html
+++ b/chrome/common/extensions/docs/static/options.html
@@ -1,6 +1,6 @@
<div id="pageData-title" class="pageData">Options</div>
<div id="pageData-showTOC" class="pageData">true</div>
-<p>To allow users to customize the behavior of your extension, you may wish to provide an options page. If you do, a link to it will be provided from the Extensions Management page at chrome://extensions. Clicking on this link will open a new tab pointing at your options page.
+<p>To allow users to customize the behavior of your extension, you may wish to provide an options page. If you do, a link to it will be provided from the extensions management page at chrome://extensions. Clicking the Options link opens a new tab pointing at your options page.
<h2>Step 1: Declare your options page in the manifest</h2>
@@ -70,7 +70,7 @@ Favorite Color:
&lt;/html>
</pre>
-<h2>Important Notes</h2>
+<h2>Important notes</h2>
<ul>
<li>This feature is checked in to the trunk and should land in official builds sometime <b>after</b> version 4.0.222.x.</li>
<li>We plan on providing some default css styles to encourage a consistent look across different extensions' options pages. You can star <a href="http://crbug.com/25317">crbug.com/25317</a> to be notified of updates.</li>
diff --git a/chrome/common/extensions/docs/static/samples.html b/chrome/common/extensions/docs/static/samples.html
index 0a8e1de..0f0a5fa 100644
--- a/chrome/common/extensions/docs/static/samples.html
+++ b/chrome/common/extensions/docs/static/samples.html
@@ -1,4 +1,20 @@
-<p><b style="color:red">Note:</b> To run these samples, you need to be on the <a href="http://dev.chromium.org/getting-involved/dev-channel">Dev or Beta channel</a> of Google Chrome.
+<div id="pageData-showTOC" class="pageData">true</div>
+
+<p>
+This page shows some sample extensions,
+with links that let you install them
+and find their source code.
+Each sample also has links to the documentation
+for each feature used by the sample.
+</p>
+
+<p><b>Note:</b> To run these samples, you need to be using the <a href="http://dev.chromium.org/getting-involved/dev-channel">Dev or Beta channel</a> of Google Chrome.
+
+<p>
+For more example code, see the
+<a href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/" target="_blank">Chromium examples directory</a>.
+</p>
+
<h2>Google Mail Checker</h2>
diff --git a/chrome/common/extensions/docs/static/tut_debugging.html b/chrome/common/extensions/docs/static/tut_debugging.html
index 00170a5..16d564b 100644
--- a/chrome/common/extensions/docs/static/tut_debugging.html
+++ b/chrome/common/extensions/docs/static/tut_debugging.html
@@ -23,7 +23,8 @@ the Hello World extension that was featured in
If the extension is running,
you'll see the Hello World icon
<img src="examples/tutorials/getstarted/icon.png"
- width="19" height="19" alt="" />
+ width="19" height="19" alt=""
+ style="margin:0" />
to the right of
your browser's address bar.
</p>
@@ -61,7 +62,8 @@ the Hello World extension that was featured in
Keeping an eye on the Installed Extensions page,
click the Hello World extension's icon
<img src="examples/tutorials/getstarted/icon.png"
- width="19" height="19" alt="" />.
+ width="19" height="19" alt=""
+ style="margin:0" />.
A popup appears,
and a link named <b>popup.html</b> appears in extension's information,
under a new "Inspect active views:" heading.
@@ -146,7 +148,8 @@ This feature is especially handy for debugging popups.
Click the console button
<img src="images/console-button.gif"
style="border:1px black solid"
- width="18" height="14" alt="" />
+ width="18" height="14" alt=""
+ style="margin:0" />
(second from left, at the bottom of the Developer Tools window)
so that you can see both the code and the console.
</li>
diff --git a/chrome/common/extensions/docs/tabs.html b/chrome/common/extensions/docs/tabs.html
index 3cac665..8502f4e 100644
--- a/chrome/common/extensions/docs/tabs.html
+++ b/chrome/common/extensions/docs/tabs.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>Tabs</title></head><body> <div id="container">
+ <title>Tabs</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
@@ -68,39 +68,74 @@
</div> <!-- /SUBTEMPLATES -->
- <a name="top"> </a>
+ <a id="top"></a>
+ <div id="skipto">
+ <a href="#gc-pagecontent">Skip to page content</a>
+ <a href="#gc-toc">Skip to main navigation</a>
+ </div>
<!-- API HEADER -->
- <div id="pageHeader">
- <div id="searchbox">
- <form action="http://www.google.com/cse" id="cse-search-box">
- <div>
+ <div id="gc-header">
+ <div id="logo">
+
+
+ <img src="images/code_labs_logo.gif" height="43" width="161" alt="Google Code Labs" style="border:0;">
+
+
+ </div>
+ <div id="search">
+ <div id="searchForm" class="searchForm">
+ <form action="http://www.google.com/cse" id="cse">
+ <div id="gsc-search-box">
<input type="hidden" name="cx" value="002967670403910741006:61_cvzfqtno">
<input type="hidden" name="ie" value="UTF-8">
<input type="text" name="q" size="31">
- <input type="submit" name="sa" value="Search">
+ <input class="gsc-search-button" type="submit" name="sa" value="Search">
</div>
</form>
+ <p>&nbsp;</p>
+ </div> <!-- end searchForm -->
<script type="text/javascript" src="http://www.google.com/jsapi"></script>
<script type="text/javascript">google.load("elements", "1", {packages: "transliteration"});</script>
- <script type="text/javascript" src="http://www.google.com/coop/cse/t13n?form=cse-search-box&amp;t13n_langs=en"></script>
- <script type="text/javascript" src="http://www.google.com/coop/cse/brand?form=cse-search-box&amp;lang=en"></script>
- </div>
- <div id="pageTitle">
- <h1>Tabs</h1>
- </div>
- </div> <!-- /pageHeader -->
+ <script type="text/javascript" src="http://www.google.com/coop/cse/t13n?form=cse&amp;t13n_langs=en"></script>
+ <script type="text/javascript" src="http://www.google.com/coop/cse/brand?form=cse&amp;lang=en"></script>
+ </div> <!-- end search -->
+ </div> <!-- end gc-header -->
+
+ <div id="codesiteContent">
+
+ <a id="gc-topnav-anchor"></a>
+ <div id="gc-topnav">
+ <h1>Google Chrome Extensions (<a href="/labs/">Labs</a>)</h1>
+ <ul id="home" class="gc-topnav-tabs">
+ <li id="home_link">
+ <a href="index.html" class="selected" title="Google Chrome Extensions documentation home page">Home</a>
+ </li>
+ <li id="blog_link">
+ <a href="http://blog.chromium.org/" title="Chromium blog">Blog</a>
+ </li>
+ <li id="faq_link">
+ <a href="faq.html" title="Google Chrome Extensions FAQ">FAQ</a>
+ </li>
+ <li id="group_link">
+ <a href="http://groups.google.com/group/chromium-extensions" title="Chromium-Extensions group">Group</a>
+ </li>
+ <li id="terms_link">
+ Terms
+ </li>
+ </ul>
+ </div> <!-- end gc-topnav -->
- <div id="pageContent">
+ <div class="g-section g-tpl-170">
<!-- SIDENAV -->
- <div id="leftNav">
+ <div class="g-unit g-first" id="gc-toc">
<ul>
- <li> <a href="index.html">Home</a></li>
- <li> <a href="getstarted.html">Getting Started</a></li>
- <li> <a href="overview.html">Overview</a></li>
- <li> <a href="devguide.html"><div>Developer's Guide</div></a>
+ <li><a href="index.html">Home</a></li>
+ <li><a href="getstarted.html">Getting Started</a></li>
+ <li><a href="overview.html">Overview</a></li>
+ <li><h2><a href="devguide.html">Developer's Guide</a></h2>
<ul>
- <li> Browser UI
+ <li>Browser UI
<ul>
<li><a href="browserAction.html">Browser Actions</a></li>
<li><a href="options.html">Options Pages</a></li>
@@ -109,7 +144,7 @@
<li><a href="themes.html">Themes</a></li>
</ul>
</li>
- <li> Browser Interaction
+ <li>Browser Interaction
<ul>
<li><a href="bookmarks.html">Bookmarks</a></li>
<li><a href="events.html">Events</a></li>
@@ -117,7 +152,7 @@
<li><a href="windows.html">Windows</a></li>
</ul>
</li>
- <li> Implementation
+ <li>Implementation
<ul>
<li><a href="background_pages.html">Background Pages</a></li>
<li><a href="content_scripts.html">Content Scripts</a></li>
@@ -126,7 +161,7 @@
<li><a href="npapi.html">NPAPI Plugins</a></li>
</ul>
</li>
- <li> Finishing
+ <li>Finishing
<ul>
<li><a href="autoupdate.html">Autoupdating</a></li>
<li><a href="packaging.html">Packaging</a></li>
@@ -134,32 +169,35 @@
</li>
</ul>
</li>
- <li><a href="tutorials.html"><div>Tutorials</div></a>
+ <li><h2><a href="tutorials.html">Tutorials</a></h2>
<ul>
<li><a href="tut_debugging.html">Debugging</a></li>
</ul>
</li>
- <li>Reference
+ <li><h2>Reference</h2>
<ul>
- <li> Formats
+ <li>Formats
<ul>
<li><a href="manifest.html">Manifest Files</a></li>
<li><a href="match_patterns.html">Match Patterns</a></li>
<!-- <li>Packages (.crx)</li> -->
</ul>
</li>
- <li> <a href="api_index.html">chrome.* APIs</a> </li>
- <li> <a href="api_other.html">Other APIs</a> </li>
+ <li><a href="api_index.html">chrome.* APIs</a></li>
+ <li><a href="api_other.html">Other APIs</a></li>
</ul>
</li>
- <li><a href="samples.html">Samples</a></li>
+ <li><h2><a href="samples.html">Samples</a></h2></li>
</ul>
</div>
- <div id="mainColumn">
+ <div class="g-unit" id="gc-pagecontent">
+ <div id="pageTitle">
+ <h1 class="page_title">Tabs</h1>
+ </div>
<!-- TABLE OF CONTENTS -->
<div id="toc">
- <p>Contents</p>
+ <h2>Contents</h2>
<ol>
<li>
<a href="#manifest">Manifest</a>
@@ -4707,9 +4745,11 @@ For example:
</div> <!-- /apiGroup -->
</div> <!-- /apiPage -->
- </div> <!-- /mainColumn -->
- </div> <!-- /pageContent -->
- <div id="pageFooter" --="">
+ </div> <!-- /gc-pagecontent -->
+ </div> <!-- /g-section -->
+ </div> <!-- /codesiteContent -->
+ <div id="gc-footer" --="">
+ <div class="text">
<p>
Except as otherwise <a href="http://code.google.com/policies.html#restrictions">noted</a>,
the content of this page is licensed under the <a rel="license" href="http://creativecommons.org/licenses/by/3.0/">Creative Commons
@@ -4741,8 +4781,8 @@ For example:
catch(e) {/* urchinTracker not available. */}
</script>
<!-- end analytics -->
-
- </div> <!-- /pageFooter -->
- </div> <!-- /container -->
+ </div>
+ </div> <!-- /gc-footer -->
+ </div> <!-- /gc-container -->
</body></html>
diff --git a/chrome/common/extensions/docs/template/api_template.html b/chrome/common/extensions/docs/template/api_template.html
index faac001..3b32448 100644
--- a/chrome/common/extensions/docs/template/api_template.html
+++ b/chrome/common/extensions/docs/template/api_template.html
@@ -1,4 +1,4 @@
- <div id="container">
+ <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
@@ -52,39 +52,74 @@
</div> <!-- /SUBTEMPLATES -->
- <a name="top"> </a>
+ <a id="top"></a>
+ <div id="skipto">
+ <a href="#gc-pagecontent">Skip to page content</a>
+ <a href="#gc-toc">Skip to main navigation</a>
+ </div>
<!-- API HEADER -->
- <div id="pageHeader">
- <div id="searchbox">
- <form action="http://www.google.com/cse" id="cse-search-box">
- <div>
+ <div id="gc-header">
+ <div id="logo">
+
+
+ <img src="images/code_labs_logo.gif" height="43" width="161" alt="Google Code Labs" style="border:0;">
+
+
+ </div>
+ <div id="search">
+ <div id="searchForm" class="searchForm">
+ <form action="http://www.google.com/cse" id="cse">
+ <div id="gsc-search-box">
<input type="hidden" name="cx" value="002967670403910741006:61_cvzfqtno" />
<input type="hidden" name="ie" value="UTF-8" />
<input type="text" name="q" size="31" />
- <input type="submit" name="sa" value="Search" />
+ <input class="gsc-search-button" type="submit" name="sa" value="Search" />
</div>
</form>
+ <p>&nbsp;</p>
+ </div> <!-- end searchForm -->
<script type="text/javascript" src="http://www.google.com/jsapi"></script>
<script type="text/javascript">google.load("elements", "1", {packages: "transliteration"});</script>
- <script type="text/javascript" src="http://www.google.com/coop/cse/t13n?form=cse-search-box&t13n_langs=en"></script>
- <script type="text/javascript" src="http://www.google.com/coop/cse/brand?form=cse-search-box&lang=en"></script>
- </div>
- <div id="pageTitle">
- <h1 jscontent="getPageTitle()">chrome.apiname</h1>
- </div>
- </div> <!-- /pageHeader -->
+ <script type="text/javascript" src="http://www.google.com/coop/cse/t13n?form=cse&t13n_langs=en"></script>
+ <script type="text/javascript" src="http://www.google.com/coop/cse/brand?form=cse&lang=en"></script>
+ </div> <!-- end search -->
+ </div> <!-- end gc-header -->
+
+ <div id="codesiteContent">
+
+ <a id="gc-topnav-anchor"></a>
+ <div id="gc-topnav">
+ <h1>Google Chrome Extensions (<a href="/labs/">Labs</a>)</h1>
+ <ul id="home" class="gc-topnav-tabs">
+ <li id="home_link">
+ <a href="index.html" class="selected" title="Google Chrome Extensions documentation home page">Home</a>
+ </li>
+ <li id="blog_link">
+ <a href="http://blog.chromium.org/" title="Chromium blog">Blog</a>
+ </li>
+ <li id="faq_link">
+ <a href="faq.html" title="Google Chrome Extensions FAQ">FAQ</a>
+ </li>
+ <li id="group_link">
+ <a href="http://groups.google.com/group/chromium-extensions" title="Chromium-Extensions group">Group</a>
+ </li>
+ <li id="terms_link">
+ Terms
+ </li>
+ </ul>
+ </div> <!-- end gc-topnav -->
- <div id="pageContent">
+ <div class="g-section g-tpl-170">
<!-- SIDENAV -->
- <div id="leftNav">
+ <div class="g-unit g-first" id="gc-toc">
<ul>
- <li> <a href="index.html">Home</a></li>
- <li> <a href="getstarted.html">Getting Started</a></li>
- <li> <a href="overview.html">Overview</a></li>
- <li> <a href="devguide.html"><div>Developer's Guide</div></a>
+ <li><a href="index.html">Home</a></li>
+ <li><a href="getstarted.html">Getting Started</a></li>
+ <li><a href="overview.html">Overview</a></li>
+ <li><h2><a href="devguide.html">Developer's Guide</a></h2>
<ul>
- <li> Browser UI
+ <li>Browser UI
<ul>
<li><a href="browserAction.html">Browser Actions</a></li>
<li><a href="options.html">Options Pages</a></li>
@@ -93,7 +128,7 @@
<li><a href="themes.html">Themes</a></li>
</ul>
</li>
- <li> Browser Interaction
+ <li>Browser Interaction
<ul>
<li><a href="bookmarks.html">Bookmarks</a></li>
<li><a href="events.html">Events</a></li>
@@ -101,7 +136,7 @@
<li><a href="windows.html">Windows</a></li>
</ul>
</li>
- <li> Implementation
+ <li>Implementation
<ul>
<li><a href="background_pages.html">Background Pages</a></li>
<li><a href="content_scripts.html">Content Scripts</a></li>
@@ -110,7 +145,7 @@
<li><a href="npapi.html">NPAPI Plugins</a></li>
</ul>
</li>
- <li> Finishing
+ <li>Finishing
<ul>
<li><a href="autoupdate.html">Autoupdating</a></li>
<li><a href="packaging.html">Packaging</a></li>
@@ -118,32 +153,35 @@
</li>
</ul>
</li>
- <li><a href="tutorials.html"><div>Tutorials</div></a>
+ <li><h2><a href="tutorials.html">Tutorials</a></h2>
<ul>
<li><a href="tut_debugging.html">Debugging</a></li>
</ul>
</li>
- <li>Reference
+ <li><h2>Reference</h2>
<ul>
- <li> Formats
+ <li>Formats
<ul>
<li><a href="manifest.html">Manifest Files</a></li>
<li><a href="match_patterns.html">Match Patterns</a></li>
<!-- <li>Packages (.crx)</li> -->
</ul>
</li>
- <li> <a href="api_index.html">chrome.* APIs</a> </li>
- <li> <a href="api_other.html">Other APIs</a> </li>
+ <li><a href="api_index.html">chrome.* APIs</a></li>
+ <li><a href="api_other.html">Other APIs</a></li>
</ul>
</li>
- <li><a href="samples.html">Samples</a></li>
+ <li><h2><a href="samples.html">Samples</a></h2></li>
</ul>
</div>
- <div id="mainColumn">
+ <div class="g-unit" id="gc-pagecontent">
+ <div id="pageTitle">
+ <h1 class="page_title" jscontent="getPageTitle()">chrome.apiname</h1>
+ </div>
<!-- TABLE OF CONTENTS -->
<div id="toc" jsdisplay="showPageTOC()">
- <p>Contents</p>
+ <h2>Contents</h2>
<ol>
<li jsselect="getStaticTOC()">
<a jscontent="name"
@@ -355,9 +393,11 @@
</div> <!-- /apiGroup -->
</div> <!-- /apiPage -->
- </div> <!-- /mainColumn -->
- </div> <!-- /pageContent -->
- <div id="pageFooter" -->
+ </div> <!-- /gc-pagecontent -->
+ </div> <!-- /g-section -->
+ </div> <!-- /codesiteContent -->
+ <div id="gc-footer" -->
+ <div class="text">
<p>
Except as otherwise <a
href="http://code.google.com/policies.html#restrictions">noted</a>,
@@ -391,6 +431,6 @@
catch(e) {/* urchinTracker not available. */}
</script>
<!-- end analytics -->
-
- </div> <!-- /pageFooter -->
- </div> <!-- /container -->
+ </div>
+ </div> <!-- /gc-footer -->
+ </div> <!-- /gc-container -->
diff --git a/chrome/common/extensions/docs/test.html b/chrome/common/extensions/docs/test.html
index 78e5c41..7feaf41 100644
--- a/chrome/common/extensions/docs/test.html
+++ b/chrome/common/extensions/docs/test.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>chrome.test</title></head><body> <div id="container">
+ <title>chrome.test</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
@@ -68,39 +68,74 @@
</div> <!-- /SUBTEMPLATES -->
- <a name="top"> </a>
+ <a id="top"></a>
+ <div id="skipto">
+ <a href="#gc-pagecontent">Skip to page content</a>
+ <a href="#gc-toc">Skip to main navigation</a>
+ </div>
<!-- API HEADER -->
- <div id="pageHeader">
- <div id="searchbox">
- <form action="http://www.google.com/cse" id="cse-search-box">
- <div>
+ <div id="gc-header">
+ <div id="logo">
+
+
+ <img src="images/code_labs_logo.gif" height="43" width="161" alt="Google Code Labs" style="border:0;">
+
+
+ </div>
+ <div id="search">
+ <div id="searchForm" class="searchForm">
+ <form action="http://www.google.com/cse" id="cse">
+ <div id="gsc-search-box">
<input type="hidden" name="cx" value="002967670403910741006:61_cvzfqtno">
<input type="hidden" name="ie" value="UTF-8">
<input type="text" name="q" size="31">
- <input type="submit" name="sa" value="Search">
+ <input class="gsc-search-button" type="submit" name="sa" value="Search">
</div>
</form>
+ <p>&nbsp;</p>
+ </div> <!-- end searchForm -->
<script type="text/javascript" src="http://www.google.com/jsapi"></script>
<script type="text/javascript">google.load("elements", "1", {packages: "transliteration"});</script>
- <script type="text/javascript" src="http://www.google.com/coop/cse/t13n?form=cse-search-box&amp;t13n_langs=en"></script>
- <script type="text/javascript" src="http://www.google.com/coop/cse/brand?form=cse-search-box&amp;lang=en"></script>
- </div>
- <div id="pageTitle">
- <h1>chrome.test</h1>
- </div>
- </div> <!-- /pageHeader -->
+ <script type="text/javascript" src="http://www.google.com/coop/cse/t13n?form=cse&amp;t13n_langs=en"></script>
+ <script type="text/javascript" src="http://www.google.com/coop/cse/brand?form=cse&amp;lang=en"></script>
+ </div> <!-- end search -->
+ </div> <!-- end gc-header -->
+
+ <div id="codesiteContent">
+
+ <a id="gc-topnav-anchor"></a>
+ <div id="gc-topnav">
+ <h1>Google Chrome Extensions (<a href="/labs/">Labs</a>)</h1>
+ <ul id="home" class="gc-topnav-tabs">
+ <li id="home_link">
+ <a href="index.html" class="selected" title="Google Chrome Extensions documentation home page">Home</a>
+ </li>
+ <li id="blog_link">
+ <a href="http://blog.chromium.org/" title="Chromium blog">Blog</a>
+ </li>
+ <li id="faq_link">
+ <a href="faq.html" title="Google Chrome Extensions FAQ">FAQ</a>
+ </li>
+ <li id="group_link">
+ <a href="http://groups.google.com/group/chromium-extensions" title="Chromium-Extensions group">Group</a>
+ </li>
+ <li id="terms_link">
+ Terms
+ </li>
+ </ul>
+ </div> <!-- end gc-topnav -->
- <div id="pageContent">
+ <div class="g-section g-tpl-170">
<!-- SIDENAV -->
- <div id="leftNav">
+ <div class="g-unit g-first" id="gc-toc">
<ul>
- <li> <a href="index.html">Home</a></li>
- <li> <a href="getstarted.html">Getting Started</a></li>
- <li> <a href="overview.html">Overview</a></li>
- <li> <a href="devguide.html"><div>Developer's Guide</div></a>
+ <li><a href="index.html">Home</a></li>
+ <li><a href="getstarted.html">Getting Started</a></li>
+ <li><a href="overview.html">Overview</a></li>
+ <li><h2><a href="devguide.html">Developer's Guide</a></h2>
<ul>
- <li> Browser UI
+ <li>Browser UI
<ul>
<li><a href="browserAction.html">Browser Actions</a></li>
<li><a href="options.html">Options Pages</a></li>
@@ -109,7 +144,7 @@
<li><a href="themes.html">Themes</a></li>
</ul>
</li>
- <li> Browser Interaction
+ <li>Browser Interaction
<ul>
<li><a href="bookmarks.html">Bookmarks</a></li>
<li><a href="events.html">Events</a></li>
@@ -117,7 +152,7 @@
<li><a href="windows.html">Windows</a></li>
</ul>
</li>
- <li> Implementation
+ <li>Implementation
<ul>
<li><a href="background_pages.html">Background Pages</a></li>
<li><a href="content_scripts.html">Content Scripts</a></li>
@@ -126,7 +161,7 @@
<li><a href="npapi.html">NPAPI Plugins</a></li>
</ul>
</li>
- <li> Finishing
+ <li>Finishing
<ul>
<li><a href="autoupdate.html">Autoupdating</a></li>
<li><a href="packaging.html">Packaging</a></li>
@@ -134,32 +169,35 @@
</li>
</ul>
</li>
- <li><a href="tutorials.html"><div>Tutorials</div></a>
+ <li><h2><a href="tutorials.html">Tutorials</a></h2>
<ul>
<li><a href="tut_debugging.html">Debugging</a></li>
</ul>
</li>
- <li>Reference
+ <li><h2>Reference</h2>
<ul>
- <li> Formats
+ <li>Formats
<ul>
<li><a href="manifest.html">Manifest Files</a></li>
<li><a href="match_patterns.html">Match Patterns</a></li>
<!-- <li>Packages (.crx)</li> -->
</ul>
</li>
- <li> <a href="api_index.html">chrome.* APIs</a> </li>
- <li> <a href="api_other.html">Other APIs</a> </li>
+ <li><a href="api_index.html">chrome.* APIs</a></li>
+ <li><a href="api_other.html">Other APIs</a></li>
</ul>
</li>
- <li><a href="samples.html">Samples</a></li>
+ <li><h2><a href="samples.html">Samples</a></h2></li>
</ul>
</div>
- <div id="mainColumn">
+ <div class="g-unit" id="gc-pagecontent">
+ <div id="pageTitle">
+ <h1 class="page_title">chrome.test</h1>
+ </div>
<!-- TABLE OF CONTENTS -->
<div id="toc">
- <p>Contents</p>
+ <h2>Contents</h2>
<ol>
<li style="display: none; ">
<a>h2Name</a>
@@ -640,9 +678,11 @@
</div> <!-- /apiGroup -->
</div> <!-- /apiPage -->
- </div> <!-- /mainColumn -->
- </div> <!-- /pageContent -->
- <div id="pageFooter" --="">
+ </div> <!-- /gc-pagecontent -->
+ </div> <!-- /g-section -->
+ </div> <!-- /codesiteContent -->
+ <div id="gc-footer" --="">
+ <div class="text">
<p>
Except as otherwise <a href="http://code.google.com/policies.html#restrictions">noted</a>,
the content of this page is licensed under the <a rel="license" href="http://creativecommons.org/licenses/by/3.0/">Creative Commons
@@ -674,8 +714,8 @@
catch(e) {/* urchinTracker not available. */}
</script>
<!-- end analytics -->
-
- </div> <!-- /pageFooter -->
- </div> <!-- /container -->
+ </div>
+ </div> <!-- /gc-footer -->
+ </div> <!-- /gc-container -->
</body></html>
diff --git a/chrome/common/extensions/docs/themes.html b/chrome/common/extensions/docs/themes.html
index ed785d5..7af1b2c 100644
--- a/chrome/common/extensions/docs/themes.html
+++ b/chrome/common/extensions/docs/themes.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>Themes</title></head><body> <div id="container">
+ <title>Themes</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
@@ -68,39 +68,74 @@
</div> <!-- /SUBTEMPLATES -->
- <a name="top"> </a>
+ <a id="top"></a>
+ <div id="skipto">
+ <a href="#gc-pagecontent">Skip to page content</a>
+ <a href="#gc-toc">Skip to main navigation</a>
+ </div>
<!-- API HEADER -->
- <div id="pageHeader">
- <div id="searchbox">
- <form action="http://www.google.com/cse" id="cse-search-box">
- <div>
+ <div id="gc-header">
+ <div id="logo">
+
+
+ <img src="images/code_labs_logo.gif" height="43" width="161" alt="Google Code Labs" style="border:0;">
+
+
+ </div>
+ <div id="search">
+ <div id="searchForm" class="searchForm">
+ <form action="http://www.google.com/cse" id="cse">
+ <div id="gsc-search-box">
<input type="hidden" name="cx" value="002967670403910741006:61_cvzfqtno">
<input type="hidden" name="ie" value="UTF-8">
<input type="text" name="q" size="31">
- <input type="submit" name="sa" value="Search">
+ <input class="gsc-search-button" type="submit" name="sa" value="Search">
</div>
</form>
+ <p>&nbsp;</p>
+ </div> <!-- end searchForm -->
<script type="text/javascript" src="http://www.google.com/jsapi"></script>
<script type="text/javascript">google.load("elements", "1", {packages: "transliteration"});</script>
- <script type="text/javascript" src="http://www.google.com/coop/cse/t13n?form=cse-search-box&amp;t13n_langs=en"></script>
- <script type="text/javascript" src="http://www.google.com/coop/cse/brand?form=cse-search-box&amp;lang=en"></script>
- </div>
- <div id="pageTitle">
- <h1>Themes</h1>
- </div>
- </div> <!-- /pageHeader -->
+ <script type="text/javascript" src="http://www.google.com/coop/cse/t13n?form=cse&amp;t13n_langs=en"></script>
+ <script type="text/javascript" src="http://www.google.com/coop/cse/brand?form=cse&amp;lang=en"></script>
+ </div> <!-- end search -->
+ </div> <!-- end gc-header -->
+
+ <div id="codesiteContent">
+
+ <a id="gc-topnav-anchor"></a>
+ <div id="gc-topnav">
+ <h1>Google Chrome Extensions (<a href="/labs/">Labs</a>)</h1>
+ <ul id="home" class="gc-topnav-tabs">
+ <li id="home_link">
+ <a href="index.html" class="selected" title="Google Chrome Extensions documentation home page">Home</a>
+ </li>
+ <li id="blog_link">
+ <a href="http://blog.chromium.org/" title="Chromium blog">Blog</a>
+ </li>
+ <li id="faq_link">
+ <a href="faq.html" title="Google Chrome Extensions FAQ">FAQ</a>
+ </li>
+ <li id="group_link">
+ <a href="http://groups.google.com/group/chromium-extensions" title="Chromium-Extensions group">Group</a>
+ </li>
+ <li id="terms_link">
+ Terms
+ </li>
+ </ul>
+ </div> <!-- end gc-topnav -->
- <div id="pageContent">
+ <div class="g-section g-tpl-170">
<!-- SIDENAV -->
- <div id="leftNav">
+ <div class="g-unit g-first" id="gc-toc">
<ul>
- <li> <a href="index.html">Home</a></li>
- <li> <a href="getstarted.html">Getting Started</a></li>
- <li> <a href="overview.html">Overview</a></li>
- <li> <a href="devguide.html"><div>Developer's Guide</div></a>
+ <li><a href="index.html">Home</a></li>
+ <li><a href="getstarted.html">Getting Started</a></li>
+ <li><a href="overview.html">Overview</a></li>
+ <li><h2><a href="devguide.html">Developer's Guide</a></h2>
<ul>
- <li> Browser UI
+ <li>Browser UI
<ul>
<li><a href="browserAction.html">Browser Actions</a></li>
<li><a href="options.html">Options Pages</a></li>
@@ -109,7 +144,7 @@
<li class="leftNavSelected">Themes</li>
</ul>
</li>
- <li> Browser Interaction
+ <li>Browser Interaction
<ul>
<li><a href="bookmarks.html">Bookmarks</a></li>
<li><a href="events.html">Events</a></li>
@@ -117,7 +152,7 @@
<li><a href="windows.html">Windows</a></li>
</ul>
</li>
- <li> Implementation
+ <li>Implementation
<ul>
<li><a href="background_pages.html">Background Pages</a></li>
<li><a href="content_scripts.html">Content Scripts</a></li>
@@ -126,7 +161,7 @@
<li><a href="npapi.html">NPAPI Plugins</a></li>
</ul>
</li>
- <li> Finishing
+ <li>Finishing
<ul>
<li><a href="autoupdate.html">Autoupdating</a></li>
<li><a href="packaging.html">Packaging</a></li>
@@ -134,32 +169,35 @@
</li>
</ul>
</li>
- <li><a href="tutorials.html"><div>Tutorials</div></a>
+ <li><h2><a href="tutorials.html">Tutorials</a></h2>
<ul>
<li><a href="tut_debugging.html">Debugging</a></li>
</ul>
</li>
- <li>Reference
+ <li><h2>Reference</h2>
<ul>
- <li> Formats
+ <li>Formats
<ul>
<li><a href="manifest.html">Manifest Files</a></li>
<li><a href="match_patterns.html">Match Patterns</a></li>
<!-- <li>Packages (.crx)</li> -->
</ul>
</li>
- <li> <a href="api_index.html">chrome.* APIs</a> </li>
- <li> <a href="api_other.html">Other APIs</a> </li>
+ <li><a href="api_index.html">chrome.* APIs</a></li>
+ <li><a href="api_other.html">Other APIs</a></li>
</ul>
</li>
- <li><a href="samples.html">Samples</a></li>
+ <li><h2><a href="samples.html">Samples</a></h2></li>
</ul>
</div>
- <div id="mainColumn">
+ <div class="g-unit" id="gc-pagecontent">
+ <div id="pageTitle">
+ <h1 class="page_title">Themes</h1>
+ </div>
<!-- TABLE OF CONTENTS -->
<div id="toc">
- <p>Contents</p>
+ <h2>Contents</h2>
<ol>
<li>
<a href="#H2-0"> Manifest </a>
@@ -497,9 +535,11 @@ to specify <em>no change</em>.
</div> <!-- /apiGroup -->
</div> <!-- /apiPage -->
- </div> <!-- /mainColumn -->
- </div> <!-- /pageContent -->
- <div id="pageFooter" --="">
+ </div> <!-- /gc-pagecontent -->
+ </div> <!-- /g-section -->
+ </div> <!-- /codesiteContent -->
+ <div id="gc-footer" --="">
+ <div class="text">
<p>
Except as otherwise <a href="http://code.google.com/policies.html#restrictions">noted</a>,
the content of this page is licensed under the <a rel="license" href="http://creativecommons.org/licenses/by/3.0/">Creative Commons
@@ -531,8 +571,8 @@ to specify <em>no change</em>.
catch(e) {/* urchinTracker not available. */}
</script>
<!-- end analytics -->
-
- </div> <!-- /pageFooter -->
- </div> <!-- /container -->
+ </div>
+ </div> <!-- /gc-footer -->
+ </div> <!-- /gc-container -->
</body></html>
diff --git a/chrome/common/extensions/docs/tut_debugging.html b/chrome/common/extensions/docs/tut_debugging.html
index 9919e44..6ddf343 100644
--- a/chrome/common/extensions/docs/tut_debugging.html
+++ b/chrome/common/extensions/docs/tut_debugging.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>Tutorial: Debugging</title></head><body> <div id="container">
+ <title>Tutorial: Debugging</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
@@ -68,39 +68,74 @@
</div> <!-- /SUBTEMPLATES -->
- <a name="top"> </a>
+ <a id="top"></a>
+ <div id="skipto">
+ <a href="#gc-pagecontent">Skip to page content</a>
+ <a href="#gc-toc">Skip to main navigation</a>
+ </div>
<!-- API HEADER -->
- <div id="pageHeader">
- <div id="searchbox">
- <form action="http://www.google.com/cse" id="cse-search-box">
- <div>
+ <div id="gc-header">
+ <div id="logo">
+
+
+ <img src="images/code_labs_logo.gif" height="43" width="161" alt="Google Code Labs" style="border:0;">
+
+
+ </div>
+ <div id="search">
+ <div id="searchForm" class="searchForm">
+ <form action="http://www.google.com/cse" id="cse">
+ <div id="gsc-search-box">
<input type="hidden" name="cx" value="002967670403910741006:61_cvzfqtno">
<input type="hidden" name="ie" value="UTF-8">
<input type="text" name="q" size="31">
- <input type="submit" name="sa" value="Search">
+ <input class="gsc-search-button" type="submit" name="sa" value="Search">
</div>
</form>
+ <p>&nbsp;</p>
+ </div> <!-- end searchForm -->
<script type="text/javascript" src="http://www.google.com/jsapi"></script>
<script type="text/javascript">google.load("elements", "1", {packages: "transliteration"});</script>
- <script type="text/javascript" src="http://www.google.com/coop/cse/t13n?form=cse-search-box&amp;t13n_langs=en"></script>
- <script type="text/javascript" src="http://www.google.com/coop/cse/brand?form=cse-search-box&amp;lang=en"></script>
- </div>
- <div id="pageTitle">
- <h1>Tutorial: Debugging</h1>
- </div>
- </div> <!-- /pageHeader -->
+ <script type="text/javascript" src="http://www.google.com/coop/cse/t13n?form=cse&amp;t13n_langs=en"></script>
+ <script type="text/javascript" src="http://www.google.com/coop/cse/brand?form=cse&amp;lang=en"></script>
+ </div> <!-- end search -->
+ </div> <!-- end gc-header -->
+
+ <div id="codesiteContent">
+
+ <a id="gc-topnav-anchor"></a>
+ <div id="gc-topnav">
+ <h1>Google Chrome Extensions (<a href="/labs/">Labs</a>)</h1>
+ <ul id="home" class="gc-topnav-tabs">
+ <li id="home_link">
+ <a href="index.html" class="selected" title="Google Chrome Extensions documentation home page">Home</a>
+ </li>
+ <li id="blog_link">
+ <a href="http://blog.chromium.org/" title="Chromium blog">Blog</a>
+ </li>
+ <li id="faq_link">
+ <a href="faq.html" title="Google Chrome Extensions FAQ">FAQ</a>
+ </li>
+ <li id="group_link">
+ <a href="http://groups.google.com/group/chromium-extensions" title="Chromium-Extensions group">Group</a>
+ </li>
+ <li id="terms_link">
+ Terms
+ </li>
+ </ul>
+ </div> <!-- end gc-topnav -->
- <div id="pageContent">
+ <div class="g-section g-tpl-170">
<!-- SIDENAV -->
- <div id="leftNav">
+ <div class="g-unit g-first" id="gc-toc">
<ul>
- <li> <a href="index.html">Home</a></li>
- <li> <a href="getstarted.html">Getting Started</a></li>
- <li> <a href="overview.html">Overview</a></li>
- <li> <a href="devguide.html"><div>Developer's Guide</div></a>
+ <li><a href="index.html">Home</a></li>
+ <li><a href="getstarted.html">Getting Started</a></li>
+ <li><a href="overview.html">Overview</a></li>
+ <li><h2><a href="devguide.html">Developer's Guide</a></h2>
<ul>
- <li> Browser UI
+ <li>Browser UI
<ul>
<li><a href="browserAction.html">Browser Actions</a></li>
<li><a href="options.html">Options Pages</a></li>
@@ -109,7 +144,7 @@
<li><a href="themes.html">Themes</a></li>
</ul>
</li>
- <li> Browser Interaction
+ <li>Browser Interaction
<ul>
<li><a href="bookmarks.html">Bookmarks</a></li>
<li><a href="events.html">Events</a></li>
@@ -117,7 +152,7 @@
<li><a href="windows.html">Windows</a></li>
</ul>
</li>
- <li> Implementation
+ <li>Implementation
<ul>
<li><a href="background_pages.html">Background Pages</a></li>
<li><a href="content_scripts.html">Content Scripts</a></li>
@@ -126,7 +161,7 @@
<li><a href="npapi.html">NPAPI Plugins</a></li>
</ul>
</li>
- <li> Finishing
+ <li>Finishing
<ul>
<li><a href="autoupdate.html">Autoupdating</a></li>
<li><a href="packaging.html">Packaging</a></li>
@@ -134,32 +169,35 @@
</li>
</ul>
</li>
- <li><a href="tutorials.html"><div>Tutorials</div></a>
+ <li><h2><a href="tutorials.html">Tutorials</a></h2>
<ul>
<li class="leftNavSelected">Debugging</li>
</ul>
</li>
- <li>Reference
+ <li><h2>Reference</h2>
<ul>
- <li> Formats
+ <li>Formats
<ul>
<li><a href="manifest.html">Manifest Files</a></li>
<li><a href="match_patterns.html">Match Patterns</a></li>
<!-- <li>Packages (.crx)</li> -->
</ul>
</li>
- <li> <a href="api_index.html">chrome.* APIs</a> </li>
- <li> <a href="api_other.html">Other APIs</a> </li>
+ <li><a href="api_index.html">chrome.* APIs</a></li>
+ <li><a href="api_other.html">Other APIs</a></li>
</ul>
</li>
- <li><a href="samples.html">Samples</a></li>
+ <li><h2><a href="samples.html">Samples</a></h2></li>
</ul>
</div>
- <div id="mainColumn">
+ <div class="g-unit" id="gc-pagecontent">
+ <div id="pageTitle">
+ <h1 class="page_title">Tutorial: Debugging</h1>
+ </div>
<!-- TABLE OF CONTENTS -->
<div id="toc">
- <p>Contents</p>
+ <h2>Contents</h2>
<ol>
<li>
<a href="#extension-info"> View extension information </a>
@@ -265,7 +303,7 @@ the Hello World extension that was featured in
Load the Hello World extension if it isn't already running.
If the extension is running,
you'll see the Hello World icon
- <img src="examples/tutorials/getstarted/icon.png" width="19" height="19" alt="">
+ <img src="examples/tutorials/getstarted/icon.png" width="19" height="19" alt="" style="margin:0">
to the right of
your browser's address bar.
</p>
@@ -302,7 +340,7 @@ the Hello World extension that was featured in
<li>
Keeping an eye on the Installed Extensions page,
click the Hello World extension's icon
- <img src="examples/tutorials/getstarted/icon.png" width="19" height="19" alt="">.
+ <img src="examples/tutorials/getstarted/icon.png" width="19" height="19" alt="" style="margin:0">.
A popup appears,
and a link named <b>popup.html</b> appears in extension's information,
under a new "Inspect active views:" heading.
@@ -679,9 +717,11 @@ of Getting Started.
</div> <!-- /apiGroup -->
</div> <!-- /apiPage -->
- </div> <!-- /mainColumn -->
- </div> <!-- /pageContent -->
- <div id="pageFooter" --="">
+ </div> <!-- /gc-pagecontent -->
+ </div> <!-- /g-section -->
+ </div> <!-- /codesiteContent -->
+ <div id="gc-footer" --="">
+ <div class="text">
<p>
Except as otherwise <a href="http://code.google.com/policies.html#restrictions">noted</a>,
the content of this page is licensed under the <a rel="license" href="http://creativecommons.org/licenses/by/3.0/">Creative Commons
@@ -713,8 +753,8 @@ of Getting Started.
catch(e) {/* urchinTracker not available. */}
</script>
<!-- end analytics -->
-
- </div> <!-- /pageFooter -->
- </div> <!-- /container -->
+ </div>
+ </div> <!-- /gc-footer -->
+ </div> <!-- /gc-container -->
</body></html>
diff --git a/chrome/common/extensions/docs/tutorials.html b/chrome/common/extensions/docs/tutorials.html
index 0377974..16842b4 100644
--- a/chrome/common/extensions/docs/tutorials.html
+++ b/chrome/common/extensions/docs/tutorials.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>Tutorials</title></head><body> <div id="container">
+ <title>Tutorials</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
@@ -68,39 +68,74 @@
</div> <!-- /SUBTEMPLATES -->
- <a name="top"> </a>
+ <a id="top"></a>
+ <div id="skipto">
+ <a href="#gc-pagecontent">Skip to page content</a>
+ <a href="#gc-toc">Skip to main navigation</a>
+ </div>
<!-- API HEADER -->
- <div id="pageHeader">
- <div id="searchbox">
- <form action="http://www.google.com/cse" id="cse-search-box">
- <div>
+ <div id="gc-header">
+ <div id="logo">
+
+
+ <img src="images/code_labs_logo.gif" height="43" width="161" alt="Google Code Labs" style="border:0;">
+
+
+ </div>
+ <div id="search">
+ <div id="searchForm" class="searchForm">
+ <form action="http://www.google.com/cse" id="cse">
+ <div id="gsc-search-box">
<input type="hidden" name="cx" value="002967670403910741006:61_cvzfqtno">
<input type="hidden" name="ie" value="UTF-8">
<input type="text" name="q" size="31">
- <input type="submit" name="sa" value="Search">
+ <input class="gsc-search-button" type="submit" name="sa" value="Search">
</div>
</form>
+ <p>&nbsp;</p>
+ </div> <!-- end searchForm -->
<script type="text/javascript" src="http://www.google.com/jsapi"></script>
<script type="text/javascript">google.load("elements", "1", {packages: "transliteration"});</script>
- <script type="text/javascript" src="http://www.google.com/coop/cse/t13n?form=cse-search-box&amp;t13n_langs=en"></script>
- <script type="text/javascript" src="http://www.google.com/coop/cse/brand?form=cse-search-box&amp;lang=en"></script>
- </div>
- <div id="pageTitle">
- <h1>Tutorials</h1>
- </div>
- </div> <!-- /pageHeader -->
+ <script type="text/javascript" src="http://www.google.com/coop/cse/t13n?form=cse&amp;t13n_langs=en"></script>
+ <script type="text/javascript" src="http://www.google.com/coop/cse/brand?form=cse&amp;lang=en"></script>
+ </div> <!-- end search -->
+ </div> <!-- end gc-header -->
+
+ <div id="codesiteContent">
+
+ <a id="gc-topnav-anchor"></a>
+ <div id="gc-topnav">
+ <h1>Google Chrome Extensions (<a href="/labs/">Labs</a>)</h1>
+ <ul id="home" class="gc-topnav-tabs">
+ <li id="home_link">
+ <a href="index.html" class="selected" title="Google Chrome Extensions documentation home page">Home</a>
+ </li>
+ <li id="blog_link">
+ <a href="http://blog.chromium.org/" title="Chromium blog">Blog</a>
+ </li>
+ <li id="faq_link">
+ <a href="faq.html" title="Google Chrome Extensions FAQ">FAQ</a>
+ </li>
+ <li id="group_link">
+ <a href="http://groups.google.com/group/chromium-extensions" title="Chromium-Extensions group">Group</a>
+ </li>
+ <li id="terms_link">
+ Terms
+ </li>
+ </ul>
+ </div> <!-- end gc-topnav -->
- <div id="pageContent">
+ <div class="g-section g-tpl-170">
<!-- SIDENAV -->
- <div id="leftNav">
+ <div class="g-unit g-first" id="gc-toc">
<ul>
- <li> <a href="index.html">Home</a></li>
- <li> <a href="getstarted.html">Getting Started</a></li>
- <li> <a href="overview.html">Overview</a></li>
- <li> <a href="devguide.html"><div>Developer's Guide</div></a>
+ <li><a href="index.html">Home</a></li>
+ <li><a href="getstarted.html">Getting Started</a></li>
+ <li><a href="overview.html">Overview</a></li>
+ <li><h2><a href="devguide.html">Developer's Guide</a></h2>
<ul>
- <li> Browser UI
+ <li>Browser UI
<ul>
<li><a href="browserAction.html">Browser Actions</a></li>
<li><a href="options.html">Options Pages</a></li>
@@ -109,7 +144,7 @@
<li><a href="themes.html">Themes</a></li>
</ul>
</li>
- <li> Browser Interaction
+ <li>Browser Interaction
<ul>
<li><a href="bookmarks.html">Bookmarks</a></li>
<li><a href="events.html">Events</a></li>
@@ -117,7 +152,7 @@
<li><a href="windows.html">Windows</a></li>
</ul>
</li>
- <li> Implementation
+ <li>Implementation
<ul>
<li><a href="background_pages.html">Background Pages</a></li>
<li><a href="content_scripts.html">Content Scripts</a></li>
@@ -126,7 +161,7 @@
<li><a href="npapi.html">NPAPI Plugins</a></li>
</ul>
</li>
- <li> Finishing
+ <li>Finishing
<ul>
<li><a href="autoupdate.html">Autoupdating</a></li>
<li><a href="packaging.html">Packaging</a></li>
@@ -134,32 +169,35 @@
</li>
</ul>
</li>
- <li><div class="leftNavSelected">Tutorials</div>
+ <li><h2><a href="tutorials.html">Tutorials</a></h2>
<ul>
<li><a href="tut_debugging.html">Debugging</a></li>
</ul>
</li>
- <li>Reference
+ <li><h2>Reference</h2>
<ul>
- <li> Formats
+ <li>Formats
<ul>
<li><a href="manifest.html">Manifest Files</a></li>
<li><a href="match_patterns.html">Match Patterns</a></li>
<!-- <li>Packages (.crx)</li> -->
</ul>
</li>
- <li> <a href="api_index.html">chrome.* APIs</a> </li>
- <li> <a href="api_other.html">Other APIs</a> </li>
+ <li><a href="api_index.html">chrome.* APIs</a></li>
+ <li><a href="api_other.html">Other APIs</a></li>
</ul>
</li>
- <li><a href="samples.html">Samples</a></li>
+ <li><h2><a href="samples.html">Samples</a></h2></li>
</ul>
</div>
- <div id="mainColumn">
+ <div class="g-unit" id="gc-pagecontent">
+ <div id="pageTitle">
+ <h1 class="page_title">Tutorials</h1>
+ </div>
<!-- TABLE OF CONTENTS -->
<div id="toc" style="display: none; ">
- <p>Contents</p>
+ <h2>Contents</h2>
<ol>
<li>
<a>h2Name</a>
@@ -367,9 +405,11 @@ Here's what we have, so far:
</div> <!-- /apiGroup -->
</div> <!-- /apiPage -->
- </div> <!-- /mainColumn -->
- </div> <!-- /pageContent -->
- <div id="pageFooter" --="">
+ </div> <!-- /gc-pagecontent -->
+ </div> <!-- /g-section -->
+ </div> <!-- /codesiteContent -->
+ <div id="gc-footer" --="">
+ <div class="text">
<p>
Except as otherwise <a href="http://code.google.com/policies.html#restrictions">noted</a>,
the content of this page is licensed under the <a rel="license" href="http://creativecommons.org/licenses/by/3.0/">Creative Commons
@@ -401,8 +441,8 @@ Here's what we have, so far:
catch(e) {/* urchinTracker not available. */}
</script>
<!-- end analytics -->
-
- </div> <!-- /pageFooter -->
- </div> <!-- /container -->
+ </div>
+ </div> <!-- /gc-footer -->
+ </div> <!-- /gc-container -->
</body></html>
diff --git a/chrome/common/extensions/docs/windows.html b/chrome/common/extensions/docs/windows.html
index 5db7a66..2acfcc6 100644
--- a/chrome/common/extensions/docs/windows.html
+++ b/chrome/common/extensions/docs/windows.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>Windows</title></head><body> <div id="container">
+ <title>Windows</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
@@ -68,39 +68,74 @@
</div> <!-- /SUBTEMPLATES -->
- <a name="top"> </a>
+ <a id="top"></a>
+ <div id="skipto">
+ <a href="#gc-pagecontent">Skip to page content</a>
+ <a href="#gc-toc">Skip to main navigation</a>
+ </div>
<!-- API HEADER -->
- <div id="pageHeader">
- <div id="searchbox">
- <form action="http://www.google.com/cse" id="cse-search-box">
- <div>
+ <div id="gc-header">
+ <div id="logo">
+
+
+ <img src="images/code_labs_logo.gif" height="43" width="161" alt="Google Code Labs" style="border:0;">
+
+
+ </div>
+ <div id="search">
+ <div id="searchForm" class="searchForm">
+ <form action="http://www.google.com/cse" id="cse">
+ <div id="gsc-search-box">
<input type="hidden" name="cx" value="002967670403910741006:61_cvzfqtno">
<input type="hidden" name="ie" value="UTF-8">
<input type="text" name="q" size="31">
- <input type="submit" name="sa" value="Search">
+ <input class="gsc-search-button" type="submit" name="sa" value="Search">
</div>
</form>
+ <p>&nbsp;</p>
+ </div> <!-- end searchForm -->
<script type="text/javascript" src="http://www.google.com/jsapi"></script>
<script type="text/javascript">google.load("elements", "1", {packages: "transliteration"});</script>
- <script type="text/javascript" src="http://www.google.com/coop/cse/t13n?form=cse-search-box&amp;t13n_langs=en"></script>
- <script type="text/javascript" src="http://www.google.com/coop/cse/brand?form=cse-search-box&amp;lang=en"></script>
- </div>
- <div id="pageTitle">
- <h1>Windows</h1>
- </div>
- </div> <!-- /pageHeader -->
+ <script type="text/javascript" src="http://www.google.com/coop/cse/t13n?form=cse&amp;t13n_langs=en"></script>
+ <script type="text/javascript" src="http://www.google.com/coop/cse/brand?form=cse&amp;lang=en"></script>
+ </div> <!-- end search -->
+ </div> <!-- end gc-header -->
+
+ <div id="codesiteContent">
+
+ <a id="gc-topnav-anchor"></a>
+ <div id="gc-topnav">
+ <h1>Google Chrome Extensions (<a href="/labs/">Labs</a>)</h1>
+ <ul id="home" class="gc-topnav-tabs">
+ <li id="home_link">
+ <a href="index.html" class="selected" title="Google Chrome Extensions documentation home page">Home</a>
+ </li>
+ <li id="blog_link">
+ <a href="http://blog.chromium.org/" title="Chromium blog">Blog</a>
+ </li>
+ <li id="faq_link">
+ <a href="faq.html" title="Google Chrome Extensions FAQ">FAQ</a>
+ </li>
+ <li id="group_link">
+ <a href="http://groups.google.com/group/chromium-extensions" title="Chromium-Extensions group">Group</a>
+ </li>
+ <li id="terms_link">
+ Terms
+ </li>
+ </ul>
+ </div> <!-- end gc-topnav -->
- <div id="pageContent">
+ <div class="g-section g-tpl-170">
<!-- SIDENAV -->
- <div id="leftNav">
+ <div class="g-unit g-first" id="gc-toc">
<ul>
- <li> <a href="index.html">Home</a></li>
- <li> <a href="getstarted.html">Getting Started</a></li>
- <li> <a href="overview.html">Overview</a></li>
- <li> <a href="devguide.html"><div>Developer's Guide</div></a>
+ <li><a href="index.html">Home</a></li>
+ <li><a href="getstarted.html">Getting Started</a></li>
+ <li><a href="overview.html">Overview</a></li>
+ <li><h2><a href="devguide.html">Developer's Guide</a></h2>
<ul>
- <li> Browser UI
+ <li>Browser UI
<ul>
<li><a href="browserAction.html">Browser Actions</a></li>
<li><a href="options.html">Options Pages</a></li>
@@ -109,7 +144,7 @@
<li><a href="themes.html">Themes</a></li>
</ul>
</li>
- <li> Browser Interaction
+ <li>Browser Interaction
<ul>
<li><a href="bookmarks.html">Bookmarks</a></li>
<li><a href="events.html">Events</a></li>
@@ -117,7 +152,7 @@
<li class="leftNavSelected">Windows</li>
</ul>
</li>
- <li> Implementation
+ <li>Implementation
<ul>
<li><a href="background_pages.html">Background Pages</a></li>
<li><a href="content_scripts.html">Content Scripts</a></li>
@@ -126,7 +161,7 @@
<li><a href="npapi.html">NPAPI Plugins</a></li>
</ul>
</li>
- <li> Finishing
+ <li>Finishing
<ul>
<li><a href="autoupdate.html">Autoupdating</a></li>
<li><a href="packaging.html">Packaging</a></li>
@@ -134,32 +169,35 @@
</li>
</ul>
</li>
- <li><a href="tutorials.html"><div>Tutorials</div></a>
+ <li><h2><a href="tutorials.html">Tutorials</a></h2>
<ul>
<li><a href="tut_debugging.html">Debugging</a></li>
</ul>
</li>
- <li>Reference
+ <li><h2>Reference</h2>
<ul>
- <li> Formats
+ <li>Formats
<ul>
<li><a href="manifest.html">Manifest Files</a></li>
<li><a href="match_patterns.html">Match Patterns</a></li>
<!-- <li>Packages (.crx)</li> -->
</ul>
</li>
- <li> <a href="api_index.html">chrome.* APIs</a> </li>
- <li> <a href="api_other.html">Other APIs</a> </li>
+ <li><a href="api_index.html">chrome.* APIs</a></li>
+ <li><a href="api_other.html">Other APIs</a></li>
</ul>
</li>
- <li><a href="samples.html">Samples</a></li>
+ <li><h2><a href="samples.html">Samples</a></h2></li>
</ul>
</div>
- <div id="mainColumn">
+ <div class="g-unit" id="gc-pagecontent">
+ <div id="pageTitle">
+ <h1 class="page_title">Windows</h1>
+ </div>
<!-- TABLE OF CONTENTS -->
<div id="toc">
- <p>Contents</p>
+ <h2>Contents</h2>
<ol>
<li>
<a href="#manifest">Manifest</a>
@@ -2433,9 +2471,11 @@ the value of the current window falls back to the topmost window.
</div> <!-- /apiGroup -->
</div> <!-- /apiPage -->
- </div> <!-- /mainColumn -->
- </div> <!-- /pageContent -->
- <div id="pageFooter" --="">
+ </div> <!-- /gc-pagecontent -->
+ </div> <!-- /g-section -->
+ </div> <!-- /codesiteContent -->
+ <div id="gc-footer" --="">
+ <div class="text">
<p>
Except as otherwise <a href="http://code.google.com/policies.html#restrictions">noted</a>,
the content of this page is licensed under the <a rel="license" href="http://creativecommons.org/licenses/by/3.0/">Creative Commons
@@ -2467,8 +2507,8 @@ the value of the current window falls back to the topmost window.
catch(e) {/* urchinTracker not available. */}
</script>
<!-- end analytics -->
-
- </div> <!-- /pageFooter -->
- </div> <!-- /container -->
+ </div>
+ </div> <!-- /gc-footer -->
+ </div> <!-- /gc-container -->
</body></html>
diff --git a/chrome/common/extensions/docs/xhr.html b/chrome/common/extensions/docs/xhr.html
index 17b66c9..ac09d0d 100644
--- a/chrome/common/extensions/docs/xhr.html
+++ b/chrome/common/extensions/docs/xhr.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>Cross-Origin XMLHttpRequest</title></head><body> <div id="container">
+ <title>Cross-Origin XMLHttpRequest</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
@@ -68,39 +68,74 @@
</div> <!-- /SUBTEMPLATES -->
- <a name="top"> </a>
+ <a id="top"></a>
+ <div id="skipto">
+ <a href="#gc-pagecontent">Skip to page content</a>
+ <a href="#gc-toc">Skip to main navigation</a>
+ </div>
<!-- API HEADER -->
- <div id="pageHeader">
- <div id="searchbox">
- <form action="http://www.google.com/cse" id="cse-search-box">
- <div>
+ <div id="gc-header">
+ <div id="logo">
+
+
+ <img src="images/code_labs_logo.gif" height="43" width="161" alt="Google Code Labs" style="border:0;">
+
+
+ </div>
+ <div id="search">
+ <div id="searchForm" class="searchForm">
+ <form action="http://www.google.com/cse" id="cse">
+ <div id="gsc-search-box">
<input type="hidden" name="cx" value="002967670403910741006:61_cvzfqtno">
<input type="hidden" name="ie" value="UTF-8">
<input type="text" name="q" size="31">
- <input type="submit" name="sa" value="Search">
+ <input class="gsc-search-button" type="submit" name="sa" value="Search">
</div>
</form>
+ <p>&nbsp;</p>
+ </div> <!-- end searchForm -->
<script type="text/javascript" src="http://www.google.com/jsapi"></script>
<script type="text/javascript">google.load("elements", "1", {packages: "transliteration"});</script>
- <script type="text/javascript" src="http://www.google.com/coop/cse/t13n?form=cse-search-box&amp;t13n_langs=en"></script>
- <script type="text/javascript" src="http://www.google.com/coop/cse/brand?form=cse-search-box&amp;lang=en"></script>
- </div>
- <div id="pageTitle">
- <h1>Cross-Origin XMLHttpRequest</h1>
- </div>
- </div> <!-- /pageHeader -->
+ <script type="text/javascript" src="http://www.google.com/coop/cse/t13n?form=cse&amp;t13n_langs=en"></script>
+ <script type="text/javascript" src="http://www.google.com/coop/cse/brand?form=cse&amp;lang=en"></script>
+ </div> <!-- end search -->
+ </div> <!-- end gc-header -->
+
+ <div id="codesiteContent">
+
+ <a id="gc-topnav-anchor"></a>
+ <div id="gc-topnav">
+ <h1>Google Chrome Extensions (<a href="/labs/">Labs</a>)</h1>
+ <ul id="home" class="gc-topnav-tabs">
+ <li id="home_link">
+ <a href="index.html" class="selected" title="Google Chrome Extensions documentation home page">Home</a>
+ </li>
+ <li id="blog_link">
+ <a href="http://blog.chromium.org/" title="Chromium blog">Blog</a>
+ </li>
+ <li id="faq_link">
+ <a href="faq.html" title="Google Chrome Extensions FAQ">FAQ</a>
+ </li>
+ <li id="group_link">
+ <a href="http://groups.google.com/group/chromium-extensions" title="Chromium-Extensions group">Group</a>
+ </li>
+ <li id="terms_link">
+ Terms
+ </li>
+ </ul>
+ </div> <!-- end gc-topnav -->
- <div id="pageContent">
+ <div class="g-section g-tpl-170">
<!-- SIDENAV -->
- <div id="leftNav">
+ <div class="g-unit g-first" id="gc-toc">
<ul>
- <li> <a href="index.html">Home</a></li>
- <li> <a href="getstarted.html">Getting Started</a></li>
- <li> <a href="overview.html">Overview</a></li>
- <li> <a href="devguide.html"><div>Developer's Guide</div></a>
+ <li><a href="index.html">Home</a></li>
+ <li><a href="getstarted.html">Getting Started</a></li>
+ <li><a href="overview.html">Overview</a></li>
+ <li><h2><a href="devguide.html">Developer's Guide</a></h2>
<ul>
- <li> Browser UI
+ <li>Browser UI
<ul>
<li><a href="browserAction.html">Browser Actions</a></li>
<li><a href="options.html">Options Pages</a></li>
@@ -109,7 +144,7 @@
<li><a href="themes.html">Themes</a></li>
</ul>
</li>
- <li> Browser Interaction
+ <li>Browser Interaction
<ul>
<li><a href="bookmarks.html">Bookmarks</a></li>
<li><a href="events.html">Events</a></li>
@@ -117,7 +152,7 @@
<li><a href="windows.html">Windows</a></li>
</ul>
</li>
- <li> Implementation
+ <li>Implementation
<ul>
<li><a href="background_pages.html">Background Pages</a></li>
<li><a href="content_scripts.html">Content Scripts</a></li>
@@ -126,7 +161,7 @@
<li><a href="npapi.html">NPAPI Plugins</a></li>
</ul>
</li>
- <li> Finishing
+ <li>Finishing
<ul>
<li><a href="autoupdate.html">Autoupdating</a></li>
<li><a href="packaging.html">Packaging</a></li>
@@ -134,32 +169,35 @@
</li>
</ul>
</li>
- <li><a href="tutorials.html"><div>Tutorials</div></a>
+ <li><h2><a href="tutorials.html">Tutorials</a></h2>
<ul>
<li><a href="tut_debugging.html">Debugging</a></li>
</ul>
</li>
- <li>Reference
+ <li><h2>Reference</h2>
<ul>
- <li> Formats
+ <li>Formats
<ul>
<li><a href="manifest.html">Manifest Files</a></li>
<li><a href="match_patterns.html">Match Patterns</a></li>
<!-- <li>Packages (.crx)</li> -->
</ul>
</li>
- <li> <a href="api_index.html">chrome.* APIs</a> </li>
- <li> <a href="api_other.html">Other APIs</a> </li>
+ <li><a href="api_index.html">chrome.* APIs</a></li>
+ <li><a href="api_other.html">Other APIs</a></li>
</ul>
</li>
- <li><a href="samples.html">Samples</a></li>
+ <li><h2><a href="samples.html">Samples</a></h2></li>
</ul>
</div>
- <div id="mainColumn">
+ <div class="g-unit" id="gc-pagecontent">
+ <div id="pageTitle">
+ <h1 class="page_title">Cross-Origin XMLHttpRequest</h1>
+ </div>
<!-- TABLE OF CONTENTS -->
<div id="toc" style="display: none; ">
- <p>Contents</p>
+ <h2>Contents</h2>
<ol>
<li>
<a>h2Name</a>
@@ -502,9 +540,11 @@ prefer HTTPS whenever possible.
</div> <!-- /apiGroup -->
</div> <!-- /apiPage -->
- </div> <!-- /mainColumn -->
- </div> <!-- /pageContent -->
- <div id="pageFooter" --="">
+ </div> <!-- /gc-pagecontent -->
+ </div> <!-- /g-section -->
+ </div> <!-- /codesiteContent -->
+ <div id="gc-footer" --="">
+ <div class="text">
<p>
Except as otherwise <a href="http://code.google.com/policies.html#restrictions">noted</a>,
the content of this page is licensed under the <a rel="license" href="http://creativecommons.org/licenses/by/3.0/">Creative Commons
@@ -536,8 +576,8 @@ prefer HTTPS whenever possible.
catch(e) {/* urchinTracker not available. */}
</script>
<!-- end analytics -->
-
- </div> <!-- /pageFooter -->
- </div> <!-- /container -->
+ </div>
+ </div> <!-- /gc-footer -->
+ </div> <!-- /gc-container -->
</body></html>