| Index: chrome/common/extensions/docs/extensions/scriptBadge.html
|
| diff --git a/chrome/common/extensions/docs/scriptBadge.html b/chrome/common/extensions/docs/extensions/scriptBadge.html
|
| similarity index 85%
|
| rename from chrome/common/extensions/docs/scriptBadge.html
|
| rename to chrome/common/extensions/docs/extensions/scriptBadge.html
|
| index 81f66bbfaf511ffc5046ac9c36054c0bd3f5fafc..1d92ce67e800a6194f4151a6ff0655db50173580 100644
|
| --- a/chrome/common/extensions/docs/scriptBadge.html
|
| +++ b/chrome/common/extensions/docs/extensions/scriptBadge.html
|
| @@ -9,17 +9,18 @@
|
| page may easily be indexed by search engines.
|
| --><html xmlns="http://www.w3.org/1999/xhtml"><head>
|
| <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
| - <link href="css/ApiRefStyles.css" rel="stylesheet" type="text/css">
|
| - <link href="css/print.css" rel="stylesheet" type="text/css" media="print">
|
| - <script type="text/javascript" src="../../../third_party/jstemplate/jstemplate_compiled.js">
|
| + <link href="../css/print.css" rel="stylesheet" type="text/css" media="print">
|
| + <script type="text/javascript" src="../../../../third_party/jstemplate/jstemplate_compiled.js">
|
| </script>
|
| - <script type="text/javascript" src="../../../../third_party/json_minify/minify-sans-regexp.js">
|
| + <script type="text/javascript" src="../../../../../third_party/json_minify/minify-sans-regexp.js">
|
| </script>
|
| - <script type="text/javascript" src="js/api_page_generator.js"></script>
|
| - <script type="text/javascript" src="js/bootstrap.js"></script>
|
| - <script type="text/javascript" src="js/sidebar.js"></script>
|
| + <script type="text/javascript" src="../js/api_page_generator.js"></script>
|
| + <script type="text/javascript" src="../js/bootstrap.js"></script>
|
| + <script type="text/javascript" src="../js/sidebar.js"></script>
|
| <meta name="description" content="Documentation for the chrome.scriptBadge module, which is part of the Google Chrome extension APIs."><title>chrome.scriptBadge - Google Chrome Extensions - Google Code</title></head>
|
| - <body> <div id="devModeWarning" class="displayModeWarning">
|
| + <body doc-family="extensions"> <link href="../css/ApiRefStyles.css" rel="stylesheet" type="text/css">
|
| + <link href="../css/shared.css" rel="stylesheet" type="text/css">
|
| + <div id="devModeWarning" class="displayModeWarning">
|
| You are viewing extension docs in chrome via the 'file:' scheme: are you expecting to see local changes when you refresh? You'll need run chrome with --allow-file-access-from-files.
|
| </div>
|
| <div id="branchWarning" class="displayModeWarning">
|
| @@ -52,7 +53,7 @@
|
| <!-- API HEADER -->
|
| <table id="header" width="100%" cellspacing="0" border="0">
|
| <tbody><tr>
|
| - <td valign="middle"><a href="http://code.google.com/"><img src="images/code_labs_logo.gif" height="43" width="161" alt="Google Code Labs" style="border:0; margin:0;"></a></td>
|
| + <td valign="middle"><a href="http://code.google.com/"><img src="../images/code_labs_logo.gif" height="43" width="161" alt="Google Code Labs" style="border:0; margin:0;"></a></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">
|
| @@ -198,6 +199,8 @@
|
| <a href="#global-methods">Methods</a>
|
| <ol>
|
| <li>
|
| + <a href="#method-getAttention">getAttention</a>
|
| + </li><li>
|
| <a href="#method-getPopup">getPopup</a>
|
| </li><li>
|
| <a href="#method-setPopup">setPopup</a>
|
| @@ -232,6 +235,79 @@
|
| <h3>Methods</h3>
|
| <!-- iterates over all functions -->
|
| <div class="apiItem">
|
| + <a name="method-getAttention"></a> <!-- method-anchor -->
|
| + <h4>getAttention</h4>
|
| + <div class="summary">
|
| + <!-- Note: intentionally longer 80 columns -->
|
| + <span>chrome.scriptBadge.getAttention</span>(<span class="null"><span>object</span>
|
| + <var><span>details</span></var></span>)</div>
|
| + <div class="description">
|
| + <p>Brings the script badge to the attention of the user, imploring her to click. You should call this when you detect that you can do something to a particular tab. Do not call this for every tab. That's tacky. If the user clicks on the badge, the activeTab APIs become available. If the extension has already run on this tab, this call does nothing.</p>
|
| + <!-- PARAMETERS -->
|
| + <h4>Parameters</h4>
|
| + <dl>
|
| + <div>
|
| + <div>
|
| + <dt>
|
| + <var>details</var>
|
| + <em>
|
| + <!-- TYPE -->
|
| + <div style="display:inline">
|
| + (
|
| + <span id="typeTemplate">
|
| + <span>
|
| + <span>object</span>
|
| + </span>
|
| + </span>
|
| + )
|
| + </div>
|
| + </em>
|
| + </dt>
|
| + <dd class="todo">
|
| + Undocumented.
|
| + </dd>
|
| + <!-- OBJECT PROPERTIES -->
|
| + <dd>
|
| + <dl>
|
| + <div>
|
| + <div>
|
| + <dt>
|
| + <var>tabId</var>
|
| + <em>
|
| + <!-- TYPE -->
|
| + <div style="display:inline">
|
| + (
|
| + <span id="typeTemplate">
|
| + <span>
|
| + <span>integer</span>
|
| + </span>
|
| + </span>
|
| + )
|
| + </div>
|
| + </em>
|
| + </dt>
|
| + <dd>Specify the tab to request to act on.</dd>
|
| + <!-- OBJECT PROPERTIES -->
|
| + <!-- OBJECT METHODS -->
|
| + <!-- OBJECT EVENT FIELDS -->
|
| + <!-- FUNCTION PARAMETERS -->
|
| + </div>
|
| + </div>
|
| + </dl>
|
| + </dd>
|
| + <!-- 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-getPopup"></a> <!-- method-anchor -->
|
| <h4>getPopup</h4>
|
| <div class="summary">
|
| @@ -495,7 +571,7 @@
|
| (
|
| <span id="typeTemplate">
|
| <span>
|
| - <a>tabs.Tab</a>
|
| + <a href="tabs.html#type-tabs.Tab">tabs.Tab</a>
|
| </span>
|
| </span>
|
| )
|
|
|