summaryrefslogtreecommitdiffstats
path: root/chrome/common/extensions/docs
diff options
context:
space:
mode:
authorkathyw@google.com <kathyw@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-07-24 18:23:21 +0000
committerkathyw@google.com <kathyw@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-07-24 18:23:21 +0000
commit4a070b18126823613698958b8ea42d71585a0b6c (patch)
treef44e7c0b70b35e5850ecdc13be11f3deb03019af /chrome/common/extensions/docs
parent71289b56fd1d3de6063a61f2a576c358f1b1b5f3 (diff)
downloadchromium_src-4a070b18126823613698958b8ea42d71585a0b6c.zip
chromium_src-4a070b18126823613698958b8ea42d71585a0b6c.tar.gz
chromium_src-4a070b18126823613698958b8ea42d71585a0b6c.tar.bz2
Add a search box to all pages. (Well, most of them. But eventually
it should be all.) Review URL: http://codereview.chromium.org/160107 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21552 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/extensions/docs')
-rwxr-xr-xchrome/common/extensions/docs/css/ApiRefStyles.css12
-rwxr-xr-xchrome/common/extensions/docs/devguide.html15
-rwxr-xr-xchrome/common/extensions/docs/helloworld.html15
-rwxr-xr-xchrome/common/extensions/docs/index.html15
-rwxr-xr-xchrome/common/extensions/docs/overview.html15
-rwxr-xr-xchrome/common/extensions/docs/template/api_template.html15
6 files changed, 86 insertions, 1 deletions
diff --git a/chrome/common/extensions/docs/css/ApiRefStyles.css b/chrome/common/extensions/docs/css/ApiRefStyles.css
index fa46943..709f975 100755
--- a/chrome/common/extensions/docs/css/ApiRefStyles.css
+++ b/chrome/common/extensions/docs/css/ApiRefStyles.css
@@ -70,10 +70,20 @@ div#toc {
padding-left: 1em;
}
-#breadcrumbs {
+div#breadcrumbs {
+ display: inline;
font-size: 80%;
}
+div#searchbox {
+ display: inline;
+ float: right;
+ /*
+ margin: 5px 0px 5px 20px;
+ padding: 5px;
+ width: 250px; */
+}
+
.exampleLink {
font-size: 80%;
}
diff --git a/chrome/common/extensions/docs/devguide.html b/chrome/common/extensions/docs/devguide.html
index 0aefc51..8c1b2a3 100755
--- a/chrome/common/extensions/docs/devguide.html
+++ b/chrome/common/extensions/docs/devguide.html
@@ -18,6 +18,21 @@
<a href="./index.html">Google Chrome Extensions</a> &gt;
Developer's Guide
</div>
+ <div id="searchbox">
+ <form action="http://www.google.com/cse" id="cse-search-box">
+ <div>
+ <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" />
+ </div>
+ </form>
+
+ <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>Developer's Guide</h1>
</div>
diff --git a/chrome/common/extensions/docs/helloworld.html b/chrome/common/extensions/docs/helloworld.html
index af5471c..01a2850 100755
--- a/chrome/common/extensions/docs/helloworld.html
+++ b/chrome/common/extensions/docs/helloworld.html
@@ -19,6 +19,21 @@
<a href="devguide.html">Developer's Guide</a> &gt;
Get Started (Hello, World!)
</div>
+ <div id="searchbox">
+ <form action="http://www.google.com/cse" id="cse-search-box">
+ <div>
+ <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" />
+ </div>
+ </form>
+
+ <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>Get Started (Hello, World!)
</div>
diff --git a/chrome/common/extensions/docs/index.html b/chrome/common/extensions/docs/index.html
index 84012ff..946802f 100755
--- a/chrome/common/extensions/docs/index.html
+++ b/chrome/common/extensions/docs/index.html
@@ -17,6 +17,21 @@
<div id="breadcrumbs">
Google Chrome Extensions
</div>
+ <div id="searchbox">
+ <form action="http://www.google.com/cse" id="cse-search-box">
+ <div>
+ <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" />
+ </div>
+ </form>
+
+ <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>Google Chrome Extensions</h1>
</div>
diff --git a/chrome/common/extensions/docs/overview.html b/chrome/common/extensions/docs/overview.html
index 4264bde..0c93713 100755
--- a/chrome/common/extensions/docs/overview.html
+++ b/chrome/common/extensions/docs/overview.html
@@ -18,6 +18,21 @@
<a href="./index.html">Google Chrome Extensions</a> &gt;
Overview
</div>
+ <div id="searchbox">
+ <form action="http://www.google.com/cse" id="cse-search-box">
+ <div>
+ <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" />
+ </div>
+ </form>
+
+ <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>Overview</h1>
</div>
diff --git a/chrome/common/extensions/docs/template/api_template.html b/chrome/common/extensions/docs/template/api_template.html
index fd3c465..3bdc176 100755
--- a/chrome/common/extensions/docs/template/api_template.html
+++ b/chrome/common/extensions/docs/template/api_template.html
@@ -11,6 +11,21 @@
<a href="chrome-api-index.html">chrome.* APIs</a> &gt;
<span jscontent="namespace">chrome.apiname</span>
</div>
+ <div id="searchbox">
+ <form action="http://www.google.com/cse" id="cse-search-box">
+ <div>
+ <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" />
+ </div>
+ </form>
+
+ <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="namespace">chrome.apiname</h1>
</div>