| Index: chrome/common/extensions/docs/browserAction.html
|
| diff --git a/chrome/common/extensions/docs/browserAction.html b/chrome/common/extensions/docs/browserAction.html
|
| index 88ca834e96c72ded68eb6557f63c446fbf2d02d3..f2cbb397f6f76026b647b6da912b4c14ec0cf78d 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="gc-container" class="labs">
|
| + <title>Browser Actions - Google Chrome Extensions - Google Code</title></head><body> <div id="gc-container" class="labs">
|
| <!-- SUBTEMPLATES: DO NOT MOVE FROM THIS LOCATION -->
|
| <!-- In particular, sub-templates that recurse, must be used by allowing
|
| jstemplate to make a copy of the template in this section which
|
| @@ -74,33 +74,28 @@
|
| <a href="#gc-toc">Skip to main navigation</a>
|
| </div>
|
| <!-- API HEADER -->
|
| - <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;">
|
| -
|
| + <table id="header" width="100%" cellspacing="0" border="0">
|
| + <tbody><tr>
|
| + <td valign="middle"><img src="images/code_labs_logo.gif" height="43" width="161" alt="Google Code Labs" style="border:0; margin:0;"></td>
|
| + <td valign="middle" width="100%" style="padding-left:0.6em;">
|
| + <form action="http://www.google.com/cse" id="cse" style="margin-top:0.5em">
|
| + <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="55">
|
| + <input class="gsc-search-button" type="submit" name="sa" value="Search">
|
| + <br>
|
| + <span class="greytext">e.g. "ajax apis" or "open source"</span>
|
| + </div>
|
| + </form>
|
|
|
| - </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 class="gsc-search-button" type="submit" name="sa" value="Search">
|
| - </div>
|
| - </form>
|
| - <p> </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&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 -->
|
| + <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&t13n_langs=en"></script>
|
| + <script type="text/javascript" src="http://www.google.com/coop/cse/brand?form=cse&lang=en"></script>
|
| + </td>
|
| + </tr>
|
| + </tbody></table>
|
|
|
| <div id="codesiteContent">
|
|
|
| @@ -111,18 +106,17 @@
|
| <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>
|
| + <a href="http://groups.google.com/group/chromium-extensions" title="Google Chrome Extensions mailing list">Group</a>
|
| </li>
|
| + <li id="samples_link">
|
| + <a href="samples.html" title="Google Chrome Extensions samples">Samples</a>
|
| + </li>
|
| + <!--
|
| <li id="terms_link">
|
| Terms
|
| </li>
|
| + -->
|
| </ul>
|
| </div> <!-- end gc-topnav -->
|
|
|
| @@ -319,17 +313,11 @@ like this:
|
| </p>
|
|
|
| <pre>"browser_action": {
|
| + "default_icon": "images/icon19.png", <em>// <b>required</b></em>
|
| "default_title": "Google Mail", <em>// optional; shown in tooltip</em>
|
| - "default_icon": "images/icon19.png", <em>// optional</em>
|
| "popup": "popup.html" <em>// optional</em>
|
| }</pre>
|
|
|
| -<p><b>Note:</b> Even if you don't include
|
| - any of the values, you must include an empty
|
| - <b>browser_action</b> entry in the manifest
|
| - so that the system reserves space
|
| - for your browser action in the toolbar.</p>
|
| -
|
| <h2 id="ui">Parts of the UI</h2>
|
|
|
| <p>
|
|
|