| Index: chrome/common/extensions/docs/extensions/browserAction.html
|
| diff --git a/chrome/common/extensions/docs/extensions/browserAction.html b/chrome/common/extensions/docs/extensions/browserAction.html
|
| index 6ef23819db3c0bfcfdbdef01f79b597c675fd2d0..f7f1ac5d1e4a60a8dd02332d640f4758caed274d 100644
|
| --- a/chrome/common/extensions/docs/extensions/browserAction.html
|
| +++ b/chrome/common/extensions/docs/extensions/browserAction.html
|
| @@ -225,6 +225,10 @@
|
| <a href="#global-methods">Methods</a>
|
| <ol>
|
| <li>
|
| + <a href="#method-disable">disable</a>
|
| + </li><li>
|
| + <a href="#method-enable">enable</a>
|
| + </li><li>
|
| <a href="#method-getBadgeBackgroundColor">getBadgeBackgroundColor</a>
|
| </li><li>
|
| <a href="#method-getBadgeText">getBadgeText</a>
|
| @@ -426,6 +430,94 @@ For other examples and for help in viewing the source code, see
|
| <h3>Methods</h3>
|
| <!-- iterates over all functions -->
|
| <div class="apiItem">
|
| + <a name="method-disable"></a> <!-- method-anchor -->
|
| + <h4>disable</h4>
|
| + <div class="summary">
|
| + <!-- Note: intentionally longer 80 columns -->
|
| + <span>chrome.browserAction.disable</span>(<span class="optional"><span>integer</span>
|
| + <var><span>tabId</span></var></span>)</div>
|
| + <div class="description">
|
| + <p>Disables the browser action for a tab.</p>
|
| + <!-- PARAMETERS -->
|
| + <h4>Parameters</h4>
|
| + <dl>
|
| + <div>
|
| + <div>
|
| + <dt>
|
| + <var>tabId</var>
|
| + <em>
|
| + <!-- TYPE -->
|
| + <div style="display:inline">
|
| + (
|
| + <span class="optional">optional</span>
|
| + <span id="typeTemplate">
|
| + <span>
|
| + <span>integer</span>
|
| + </span>
|
| + </span>
|
| + )
|
| + </div>
|
| + </em>
|
| + </dt>
|
| + <dd>The id of the tab for which you want to modify the browser action.</dd>
|
| + <!-- OBJECT PROPERTIES -->
|
| + <!-- OBJECT METHODS -->
|
| + <!-- OBJECT EVENT FIELDS -->
|
| + <!-- FUNCTION PARAMETERS -->
|
| + </div>
|
| + </div>
|
| + </dl>
|
| + <!-- RETURNS -->
|
| + <dl>
|
| + </dl>
|
| + <!-- CALLBACK -->
|
| + <!-- MIN_VERSION -->
|
| + </div> <!-- /description -->
|
| + </div><div class="apiItem">
|
| + <a name="method-enable"></a> <!-- method-anchor -->
|
| + <h4>enable</h4>
|
| + <div class="summary">
|
| + <!-- Note: intentionally longer 80 columns -->
|
| + <span>chrome.browserAction.enable</span>(<span class="optional"><span>integer</span>
|
| + <var><span>tabId</span></var></span>)</div>
|
| + <div class="description">
|
| + <p>Enables the browser action for a tab. By default, browser actions are enabled.</p>
|
| + <!-- PARAMETERS -->
|
| + <h4>Parameters</h4>
|
| + <dl>
|
| + <div>
|
| + <div>
|
| + <dt>
|
| + <var>tabId</var>
|
| + <em>
|
| + <!-- TYPE -->
|
| + <div style="display:inline">
|
| + (
|
| + <span class="optional">optional</span>
|
| + <span id="typeTemplate">
|
| + <span>
|
| + <span>integer</span>
|
| + </span>
|
| + </span>
|
| + )
|
| + </div>
|
| + </em>
|
| + </dt>
|
| + <dd>The id of the tab for which you want to modify the browser action.</dd>
|
| + <!-- OBJECT PROPERTIES -->
|
| + <!-- OBJECT METHODS -->
|
| + <!-- OBJECT EVENT FIELDS -->
|
| + <!-- FUNCTION PARAMETERS -->
|
| + </div>
|
| + </div>
|
| + </dl>
|
| + <!-- RETURNS -->
|
| + <dl>
|
| + </dl>
|
| + <!-- CALLBACK -->
|
| + <!-- MIN_VERSION -->
|
| + </div> <!-- /description -->
|
| + </div><div class="apiItem">
|
| <a name="method-getBadgeBackgroundColor"></a> <!-- method-anchor -->
|
| <h4>getBadgeBackgroundColor</h4>
|
| <div class="summary">
|
|
|