diff options
author | kathyw@google.com <kathyw@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-09-16 23:23:04 +0000 |
---|---|---|
committer | kathyw@google.com <kathyw@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-09-16 23:23:04 +0000 |
commit | c38d8a18f76f7cc44389f7536ad982dfa179825f (patch) | |
tree | ecbcc3916a1d5a25fa673b340347723ac919917f /chrome/common/extensions/docs/tabs.html | |
parent | a003a0a48df4f1f5b266844d157f8875b2a5bf00 (diff) | |
download | chromium_src-c38d8a18f76f7cc44389f7536ad982dfa179825f.zip chromium_src-c38d8a18f76f7cc44389f7536ad982dfa179825f.tar.gz chromium_src-c38d8a18f76f7cc44389f7536ad982dfa179825f.tar.bz2 |
Tweak the sidenav. Also remove unnecessary end-of-line white space
from the template, so that we'll have fewer presubmit warnings.
TBR=aa
Review URL: http://codereview.chromium.org/214001
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@26417 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/extensions/docs/tabs.html')
-rwxr-xr-x | chrome/common/extensions/docs/tabs.html | 467 |
1 files changed, 271 insertions, 196 deletions
diff --git a/chrome/common/extensions/docs/tabs.html b/chrome/common/extensions/docs/tabs.html index 171f083..f3c5e32 100755 --- a/chrome/common/extensions/docs/tabs.html +++ b/chrome/common/extensions/docs/tabs.html @@ -17,16 +17,16 @@ <title>Tabs</title></head><body> <div id="container"> <!-- 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 - are not operated on by way of the jsskip="true" --> + jstemplate to make a copy of the template in this section which + are not operated on by way of the jsskip="true" --> <div style="display:none"> - + <!-- VALUE --> <div id="valueTemplate"> <dt> <var>paramName</var> <em> - + <!-- TYPE --> <div style="display:inline"> ( @@ -53,7 +53,7 @@ <dd> Description of this parameter from the json schema. </dd> - + <!-- OBJECT PROPERTIES --> <dd> <dl> @@ -64,9 +64,9 @@ </dl> </dd> </div> <!-- /VALUE --> - + </div> <!-- /SUBTEMPLATES --> - + <a name="top"> </a> <!-- API HEADER --> <div id="pageHeader"> @@ -89,8 +89,8 @@ <h1>Tabs</h1> </div> </div> <!-- /pageHeader --> - - <div id="pageContent"> + + <div id="pageContent"> <!-- SIDENAV --> <div id="leftNav"> <ul> @@ -112,7 +112,6 @@ <li><a href="xhr.html">Cross-Origin XHR</a></li> <li><a href="packaging.html">Packaging</a></li> <li><a href="autoupdate.html">Autoupdate</a></li> - <li><a href="i18n.html">i18n</a></li> </ul> </li> <li><a href="tutorials.html"><div>Tutorials</div></a> @@ -120,13 +119,13 @@ <li><a href="tut_debugging.html">Debugging</a></li> </ul> </li> - <li>Reference + <li>Reference <ul> <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> + <!-- <li>Packages (.crx)</li> --> </ul> </li> <li> <a href="api_index.html">chrome.* APIs</a> </li> @@ -136,7 +135,7 @@ <li><a href="http://dev.chromium.org/developers/design-documents/extensions/samples">Samples</a></li> </ul> </div> - + <div id="mainColumn"> <!-- TABLE OF CONTENTS --> <div id="toc"> @@ -155,7 +154,7 @@ <a href="#apiReference">API reference: chrome.tabs</a> <ol> <li style="display: none; "> - <a href="#properties">Properties</a> + <a href="#properties">Properties</a> <ol> <li> <a href="#property-anchor">propertyName</a> @@ -163,7 +162,7 @@ </ol> </li> <li> - <a href="#methods">Methods</a> + <a href="#methods">Methods</a> <ol> <li jsinstance="0"> <a href="#method-captureVisibleTab">captureVisibleTab</a> @@ -220,7 +219,7 @@ </li> </div> </ol> - </div> + </div> <!-- /TABLE OF CONTENTS --> <!-- STATIC CONTENT PLACEHOLDER --> @@ -253,7 +252,7 @@ For example: <div class="apiPage"> <a name="apiReference"></a> <h2>API reference: chrome.tabs</h2> - + <!-- PROPERTIES --> <div class="apiGroup" style="display: none; "> <a name="properties"></a> @@ -269,9 +268,9 @@ For example: <div> </div> </div> - + </div> <!-- /apiGroup --> - + <!-- METHODS --> <div class="apiGroup" id="methods"> <a name="methods"></a> @@ -300,7 +299,7 @@ For example: <dt> <var>windowId</var> <em> - + <!-- TYPE --> <div style="display:inline"> ( @@ -325,7 +324,7 @@ For example: Undocumented. </dd> <dd>The target window. Defaults to the <a href="windows.html#current-window">current window</a>.</dd> - + <!-- OBJECT PROPERTIES --> <dd style="display: none; "> <dl> @@ -341,7 +340,7 @@ For example: <dt> <var>callback</var> <em> - + <!-- TYPE --> <div style="display:inline"> ( @@ -368,7 +367,7 @@ For example: <dd style="display: none; "> Description of this parameter from the json schema. </dd> - + <!-- OBJECT PROPERTIES --> <dd style="display: none; "> <dl> @@ -381,7 +380,7 @@ For example: </div> </div> </dl> - + <!-- RETURNS --> <h4 style="display: none; ">Returns</h4> <dl> @@ -391,7 +390,7 @@ For example: </div> </dl> - <!-- CALLBACK --> + <!-- CALLBACK --> <div> <div> <h4>Callback function</h4> @@ -399,7 +398,7 @@ For example: If you specify the <em>callback</em> parameter, it should specify a function that looks like this: </p> - + <!-- Note: intentionally longer 80 columns --> <pre>function(<span>string dataUrl</span>) <span class="subdued">{...}</span>);</pre> <dl> @@ -408,7 +407,7 @@ For example: <dt> <var>dataUrl</var> <em> - + <!-- TYPE --> <div style="display:inline"> ( @@ -433,7 +432,7 @@ For example: Undocumented. </dd> <dd>A data URL of a JPEG encoding of the visible area of the captured tab. May be assigned to the 'src' property of an HTML Image element for display.</dd> - + <!-- OBJECT PROPERTIES --> <dd style="display: none; "> <dl> @@ -473,7 +472,7 @@ For example: <dt> <var>tabId</var> <em> - + <!-- TYPE --> <div style="display:inline"> ( @@ -500,7 +499,7 @@ For example: <dd style="display: none; "> Description of this parameter from the json schema. </dd> - + <!-- OBJECT PROPERTIES --> <dd style="display: none; "> <dl> @@ -516,7 +515,7 @@ For example: <dt> <var>connectInfo</var> <em> - + <!-- TYPE --> <div style="display:inline"> ( @@ -543,7 +542,7 @@ For example: <dd style="display: none; "> Description of this parameter from the json schema. </dd> - + <!-- OBJECT PROPERTIES --> <dd> <dl> @@ -552,7 +551,7 @@ For example: <dt> <var>name</var> <em> - + <!-- TYPE --> <div style="display:inline"> ( @@ -577,7 +576,7 @@ For example: Undocumented. </dd> <dd>Will be passed into onConnect for content scripts that are listening for the connection event.</dd> - + <!-- OBJECT PROPERTIES --> <dd style="display: none; "> <dl> @@ -594,7 +593,7 @@ For example: </div> </div> </dl> - + <!-- RETURNS --> <h4>Returns</h4> <dl> @@ -603,7 +602,7 @@ For example: <dt> <var style="display: none; ">paramName</var> <em> - + <!-- TYPE --> <div style="display:inline"> ( @@ -628,7 +627,7 @@ For example: Undocumented. </dd> <dd>A port that can be used to communicate with the content scripts running in the specified tab.</dd> - + <!-- OBJECT PROPERTIES --> <dd style="display: none; "> <dl> @@ -642,7 +641,7 @@ For example: </div> </dl> - <!-- CALLBACK --> + <!-- CALLBACK --> <div style="display: none; "> <div> <h4>Callback function</h4> @@ -650,7 +649,7 @@ For example: If you specify the <em>callback</em> parameter, it should specify a function that looks like this: </p> - + <!-- Note: intentionally longer 80 columns --> <pre>function(<span>Type param1, Type param2</span>) <span class="subdued">{...}</span>);</pre> <dl> @@ -686,7 +685,7 @@ For example: <dt> <var>createProperties</var> <em> - + <!-- TYPE --> <div style="display:inline"> ( @@ -713,7 +712,7 @@ For example: <dd style="display: none; "> Description of this parameter from the json schema. </dd> - + <!-- OBJECT PROPERTIES --> <dd> <dl> @@ -722,7 +721,7 @@ For example: <dt> <var>windowId</var> <em> - + <!-- TYPE --> <div style="display:inline"> ( @@ -747,7 +746,7 @@ For example: Undocumented. </dd> <dd>The window to create the new tab in. Defaults to the <a href="windows.html#current-window">current window</a>.</dd> - + <!-- OBJECT PROPERTIES --> <dd style="display: none; "> <dl> @@ -763,7 +762,7 @@ For example: <dt> <var>index</var> <em> - + <!-- TYPE --> <div style="display:inline"> ( @@ -788,7 +787,7 @@ For example: Undocumented. </dd> <dd>The position the tab should take in the window. The provided value will be clamped to between zero and the number of tabs in the window.</dd> - + <!-- OBJECT PROPERTIES --> <dd style="display: none; "> <dl> @@ -804,7 +803,7 @@ For example: <dt> <var>url</var> <em> - + <!-- TYPE --> <div style="display:inline"> ( @@ -829,7 +828,7 @@ For example: Undocumented. </dd> <dd>The URL to navigate the tab to initially. Fully-qualified URLs must include a scheme (i.e. 'http://www.google.com', not 'www.google.com'). Relative URLs will be relative to the current page within the extension. Defaults to the New Tab Page.</dd> - + <!-- OBJECT PROPERTIES --> <dd style="display: none; "> <dl> @@ -845,7 +844,7 @@ For example: <dt> <var>selected</var> <em> - + <!-- TYPE --> <div style="display:inline"> ( @@ -870,7 +869,7 @@ For example: Undocumented. </dd> <dd>Whether the tab should become the selected tab in the window. Defaults to <var>true</var></dd> - + <!-- OBJECT PROPERTIES --> <dd style="display: none; "> <dl> @@ -890,7 +889,7 @@ For example: <dt> <var>callback</var> <em> - + <!-- TYPE --> <div style="display:inline"> ( @@ -917,7 +916,7 @@ For example: <dd style="display: none; "> Description of this parameter from the json schema. </dd> - + <!-- OBJECT PROPERTIES --> <dd style="display: none; "> <dl> @@ -930,7 +929,7 @@ For example: </div> </div> </dl> - + <!-- RETURNS --> <h4 style="display: none; ">Returns</h4> <dl> @@ -940,7 +939,7 @@ For example: </div> </dl> - <!-- CALLBACK --> + <!-- CALLBACK --> <div> <div> <h4>Callback function</h4> @@ -948,7 +947,7 @@ For example: If you specify the <em>callback</em> parameter, it should specify a function that looks like this: </p> - + <!-- Note: intentionally longer 80 columns --> <pre>function(<span>Tab tab</span>) <span class="subdued">{...}</span>);</pre> <dl> @@ -957,7 +956,7 @@ For example: <dt> <var>tab</var> <em> - + <!-- TYPE --> <div style="display:inline"> ( @@ -982,7 +981,7 @@ For example: Undocumented. </dd> <dd>Details about the created tab. Will contain the ID of the new tab.</dd> - + <!-- OBJECT PROPERTIES --> <dd style="display: none; "> <dl> @@ -1022,7 +1021,7 @@ For example: <dt> <var>tabId</var> <em> - + <!-- TYPE --> <div style="display:inline"> ( @@ -1047,7 +1046,7 @@ For example: Undocumented. </dd> <dd>Defaults to the selected tab of the <a href="windows.html#current-window">current window</a>.</dd> - + <!-- OBJECT PROPERTIES --> <dd style="display: none; "> <dl> @@ -1063,7 +1062,7 @@ For example: <dt> <var>callback</var> <em> - + <!-- TYPE --> <div style="display:inline"> ( @@ -1090,7 +1089,7 @@ For example: <dd style="display: none; "> Description of this parameter from the json schema. </dd> - + <!-- OBJECT PROPERTIES --> <dd style="display: none; "> <dl> @@ -1103,7 +1102,7 @@ For example: </div> </div> </dl> - + <!-- RETURNS --> <h4 style="display: none; ">Returns</h4> <dl> @@ -1113,7 +1112,7 @@ For example: </div> </dl> - <!-- CALLBACK --> + <!-- CALLBACK --> <div> <div> <h4>Callback function</h4> @@ -1121,7 +1120,7 @@ For example: If you specify the <em>callback</em> parameter, it should specify a function that looks like this: </p> - + <!-- Note: intentionally longer 80 columns --> <pre>function(<span>string language</span>) <span class="subdued">{...}</span>);</pre> <dl> @@ -1130,7 +1129,7 @@ For example: <dt> <var>language</var> <em> - + <!-- TYPE --> <div style="display:inline"> ( @@ -1155,7 +1154,7 @@ For example: Undocumented. </dd> <dd>An ISO language code like <var>en</var> or <var>fr</var>. For the complete list of languages supported by this method, see 2nd column of kLanguageInfoTable in http://src.chromium.org/viewvc/chrome/trunk/src/third_party/cld/bar/toolbar/cld/i18n/languages/internal/languages.cc</dd> - + <!-- OBJECT PROPERTIES --> <dd style="display: none; "> <dl> @@ -1195,7 +1194,7 @@ For example: <dt> <var>tabId</var> <em> - + <!-- TYPE --> <div style="display:inline"> ( @@ -1222,7 +1221,7 @@ For example: <dd style="display: none; "> Description of this parameter from the json schema. </dd> - + <!-- OBJECT PROPERTIES --> <dd style="display: none; "> <dl> @@ -1238,7 +1237,7 @@ For example: <dt> <var>callback</var> <em> - + <!-- TYPE --> <div style="display:inline"> ( @@ -1265,7 +1264,7 @@ For example: <dd style="display: none; "> Description of this parameter from the json schema. </dd> - + <!-- OBJECT PROPERTIES --> <dd style="display: none; "> <dl> @@ -1278,7 +1277,7 @@ For example: </div> </div> </dl> - + <!-- RETURNS --> <h4 style="display: none; ">Returns</h4> <dl> @@ -1288,7 +1287,7 @@ For example: </div> </dl> - <!-- CALLBACK --> + <!-- CALLBACK --> <div> <div> <h4>Callback function</h4> @@ -1296,7 +1295,7 @@ For example: If you specify the <em>callback</em> parameter, it should specify a function that looks like this: </p> - + <!-- Note: intentionally longer 80 columns --> <pre>function(<span>Tab tab</span>) <span class="subdued">{...}</span>);</pre> <dl> @@ -1305,7 +1304,7 @@ For example: <dt> <var>tab</var> <em> - + <!-- TYPE --> <div style="display:inline"> ( @@ -1332,7 +1331,7 @@ For example: <dd style="display: none; "> Description of this parameter from the json schema. </dd> - + <!-- OBJECT PROPERTIES --> <dd style="display: none; "> <dl> @@ -1372,7 +1371,7 @@ For example: <dt> <var>windowId</var> <em> - + <!-- TYPE --> <div style="display:inline"> ( @@ -1397,7 +1396,7 @@ For example: Undocumented. </dd> <dd>Defaults to the <a href="windows.html#current-window">current window</a>.</dd> - + <!-- OBJECT PROPERTIES --> <dd style="display: none; "> <dl> @@ -1413,7 +1412,7 @@ For example: <dt> <var>callback</var> <em> - + <!-- TYPE --> <div style="display:inline"> ( @@ -1440,7 +1439,7 @@ For example: <dd style="display: none; "> Description of this parameter from the json schema. </dd> - + <!-- OBJECT PROPERTIES --> <dd style="display: none; "> <dl> @@ -1453,7 +1452,7 @@ For example: </div> </div> </dl> - + <!-- RETURNS --> <h4 style="display: none; ">Returns</h4> <dl> @@ -1463,7 +1462,7 @@ For example: </div> </dl> - <!-- CALLBACK --> + <!-- CALLBACK --> <div> <div> <h4>Callback function</h4> @@ -1471,7 +1470,7 @@ For example: If you specify the <em>callback</em> parameter, it should specify a function that looks like this: </p> - + <!-- Note: intentionally longer 80 columns --> <pre>function(<span>array of Tab tabs</span>) <span class="subdued">{...}</span>);</pre> <dl> @@ -1480,7 +1479,7 @@ For example: <dt> <var>tabs</var> <em> - + <!-- TYPE --> <div style="display:inline"> ( @@ -1517,7 +1516,7 @@ For example: <dd style="display: none; "> Description of this parameter from the json schema. </dd> - + <!-- OBJECT PROPERTIES --> <dd style="display: none; "> <dl> @@ -1557,7 +1556,7 @@ For example: <dt> <var>windowId</var> <em> - + <!-- TYPE --> <div style="display:inline"> ( @@ -1582,7 +1581,7 @@ For example: Undocumented. </dd> <dd>Defaults to the <a href="windows.html#current-window">current window</a>.</dd> - + <!-- OBJECT PROPERTIES --> <dd style="display: none; "> <dl> @@ -1598,7 +1597,7 @@ For example: <dt> <var>callback</var> <em> - + <!-- TYPE --> <div style="display:inline"> ( @@ -1625,7 +1624,7 @@ For example: <dd style="display: none; "> Description of this parameter from the json schema. </dd> - + <!-- OBJECT PROPERTIES --> <dd style="display: none; "> <dl> @@ -1638,7 +1637,7 @@ For example: </div> </div> </dl> - + <!-- RETURNS --> <h4 style="display: none; ">Returns</h4> <dl> @@ -1648,7 +1647,7 @@ For example: </div> </dl> - <!-- CALLBACK --> + <!-- CALLBACK --> <div> <div> <h4>Callback function</h4> @@ -1656,7 +1655,7 @@ For example: If you specify the <em>callback</em> parameter, it should specify a function that looks like this: </p> - + <!-- Note: intentionally longer 80 columns --> <pre>function(<span>Tab tab</span>) <span class="subdued">{...}</span>);</pre> <dl> @@ -1665,7 +1664,7 @@ For example: <dt> <var>tab</var> <em> - + <!-- TYPE --> <div style="display:inline"> ( @@ -1692,7 +1691,7 @@ For example: <dd style="display: none; "> Description of this parameter from the json schema. </dd> - + <!-- OBJECT PROPERTIES --> <dd style="display: none; "> <dl> @@ -1733,7 +1732,7 @@ For example: <dt> <var>tabId</var> <em> - + <!-- TYPE --> <div style="display:inline"> ( @@ -1760,7 +1759,7 @@ For example: <dd style="display: none; "> Description of this parameter from the json schema. </dd> - + <!-- OBJECT PROPERTIES --> <dd style="display: none; "> <dl> @@ -1776,7 +1775,7 @@ For example: <dt> <var>moveProperties</var> <em> - + <!-- TYPE --> <div style="display:inline"> ( @@ -1803,7 +1802,7 @@ For example: <dd style="display: none; "> Description of this parameter from the json schema. </dd> - + <!-- OBJECT PROPERTIES --> <dd> <dl> @@ -1812,7 +1811,7 @@ For example: <dt> <var>windowId</var> <em> - + <!-- TYPE --> <div style="display:inline"> ( @@ -1837,7 +1836,7 @@ For example: Undocumented. </dd> <dd>Defaults to the window the tab is currently in.</dd> - + <!-- OBJECT PROPERTIES --> <dd style="display: none; "> <dl> @@ -1853,7 +1852,7 @@ For example: <dt> <var>index</var> <em> - + <!-- TYPE --> <div style="display:inline"> ( @@ -1878,7 +1877,7 @@ For example: Undocumented. </dd> <dd>The position to move the window to. The provided value will be clamped to between zero and the number of tabs in the window.</dd> - + <!-- OBJECT PROPERTIES --> <dd style="display: none; "> <dl> @@ -1898,7 +1897,7 @@ For example: <dt> <var>callback</var> <em> - + <!-- TYPE --> <div style="display:inline"> ( @@ -1925,7 +1924,7 @@ For example: <dd style="display: none; "> Description of this parameter from the json schema. </dd> - + <!-- OBJECT PROPERTIES --> <dd style="display: none; "> <dl> @@ -1938,7 +1937,7 @@ For example: </div> </div> </dl> - + <!-- RETURNS --> <h4 style="display: none; ">Returns</h4> <dl> @@ -1948,7 +1947,7 @@ For example: </div> </dl> - <!-- CALLBACK --> + <!-- CALLBACK --> <div> <div> <h4>Callback function</h4> @@ -1956,13 +1955,51 @@ For example: If you specify the <em>callback</em> parameter, it should specify a function that looks like this: </p> - + <!-- Note: intentionally longer 80 columns --> - <pre>function(<span></span>) <span class="subdued">{...}</span>);</pre> + <pre>function(<span>Tab tab</span>) <span class="subdued">{...}</span>);</pre> <dl> - <div jsinstance="*0" style="display: none; "> + <div jsinstance="*0"> <div> - </div> + <dt> + <var>tab</var> + <em> + + <!-- TYPE --> + <div style="display:inline"> + ( + <span class="optional" style="display: none; ">optional</span> + <span id="typeTemplate"> + <span> + <a href="tabs.html#type-Tab">Tab</a> + </span> + <span style="display: none; "> + <span> + array of <span><span></span></span> + </span> + <span>paramType</span> + </span> + </span> + ) + </div> + + </em> + </dt> + <dd class="todo" style="display: none; "> + Undocumented. + </dd> + <dd>Details about the moved tab.</dd> + + <!-- OBJECT PROPERTIES --> + <dd style="display: none; "> + <dl> + <div> + <div> + </div> + </div> + </dl> + </dd> + </div> </div> </dl> </div> @@ -1992,7 +2029,7 @@ For example: <dt> <var>tabId</var> <em> - + <!-- TYPE --> <div style="display:inline"> ( @@ -2019,7 +2056,7 @@ For example: <dd style="display: none; "> Description of this parameter from the json schema. </dd> - + <!-- OBJECT PROPERTIES --> <dd style="display: none; "> <dl> @@ -2035,7 +2072,7 @@ For example: <dt> <var>callback</var> <em> - + <!-- TYPE --> <div style="display:inline"> ( @@ -2062,7 +2099,7 @@ For example: <dd style="display: none; "> Description of this parameter from the json schema. </dd> - + <!-- OBJECT PROPERTIES --> <dd style="display: none; "> <dl> @@ -2075,7 +2112,7 @@ For example: </div> </div> </dl> - + <!-- RETURNS --> <h4 style="display: none; ">Returns</h4> <dl> @@ -2085,7 +2122,7 @@ For example: </div> </dl> - <!-- CALLBACK --> + <!-- CALLBACK --> <div> <div> <h4>Callback function</h4> @@ -2093,7 +2130,7 @@ For example: If you specify the <em>callback</em> parameter, it should specify a function that looks like this: </p> - + <!-- Note: intentionally longer 80 columns --> <pre>function(<span></span>) <span class="subdued">{...}</span>);</pre> <dl> @@ -2130,7 +2167,7 @@ For example: <dt> <var>tabId</var> <em> - + <!-- TYPE --> <div style="display:inline"> ( @@ -2157,7 +2194,7 @@ For example: <dd style="display: none; "> Description of this parameter from the json schema. </dd> - + <!-- OBJECT PROPERTIES --> <dd style="display: none; "> <dl> @@ -2173,7 +2210,7 @@ For example: <dt> <var>updateProperties</var> <em> - + <!-- TYPE --> <div style="display:inline"> ( @@ -2200,7 +2237,7 @@ For example: <dd style="display: none; "> Description of this parameter from the json schema. </dd> - + <!-- OBJECT PROPERTIES --> <dd> <dl> @@ -2209,7 +2246,7 @@ For example: <dt> <var>url</var> <em> - + <!-- TYPE --> <div style="display:inline"> ( @@ -2236,7 +2273,7 @@ For example: <dd style="display: none; "> Description of this parameter from the json schema. </dd> - + <!-- OBJECT PROPERTIES --> <dd style="display: none; "> <dl> @@ -2252,7 +2289,7 @@ For example: <dt> <var>selected</var> <em> - + <!-- TYPE --> <div style="display:inline"> ( @@ -2279,7 +2316,7 @@ For example: <dd style="display: none; "> Description of this parameter from the json schema. </dd> - + <!-- OBJECT PROPERTIES --> <dd style="display: none; "> <dl> @@ -2299,7 +2336,7 @@ For example: <dt> <var>callback</var> <em> - + <!-- TYPE --> <div style="display:inline"> ( @@ -2326,7 +2363,7 @@ For example: <dd style="display: none; "> Description of this parameter from the json schema. </dd> - + <!-- OBJECT PROPERTIES --> <dd style="display: none; "> <dl> @@ -2339,7 +2376,7 @@ For example: </div> </div> </dl> - + <!-- RETURNS --> <h4 style="display: none; ">Returns</h4> <dl> @@ -2349,7 +2386,7 @@ For example: </div> </dl> - <!-- CALLBACK --> + <!-- CALLBACK --> <div> <div> <h4>Callback function</h4> @@ -2357,13 +2394,51 @@ For example: If you specify the <em>callback</em> parameter, it should specify a function that looks like this: </p> - + <!-- Note: intentionally longer 80 columns --> - <pre>function(<span></span>) <span class="subdued">{...}</span>);</pre> + <pre>function(<span>Tab tab</span>) <span class="subdued">{...}</span>);</pre> <dl> - <div jsinstance="*0" style="display: none; "> + <div jsinstance="*0"> <div> - </div> + <dt> + <var>tab</var> + <em> + + <!-- TYPE --> + <div style="display:inline"> + ( + <span class="optional" style="display: none; ">optional</span> + <span id="typeTemplate"> + <span> + <a href="tabs.html#type-Tab">Tab</a> + </span> + <span style="display: none; "> + <span> + array of <span><span></span></span> + </span> + <span>paramType</span> + </span> + </span> + ) + </div> + + </em> + </dt> + <dd class="todo" style="display: none; "> + Undocumented. + </dd> + <dd>Details about the updated tab.</dd> + + <!-- OBJECT PROPERTIES --> + <dd style="display: none; "> + <dl> + <div> + <div> + </div> + </div> + </dl> + </dd> + </div> </div> </dl> </div> @@ -2402,7 +2477,7 @@ For example: <dt> <var>tabId</var> <em> - + <!-- TYPE --> <div style="display:inline"> ( @@ -2429,7 +2504,7 @@ For example: <dd style="display: none; "> Description of this parameter from the json schema. </dd> - + <!-- OBJECT PROPERTIES --> <dd style="display: none; "> <dl> @@ -2445,7 +2520,7 @@ For example: <dt> <var>attachInfo</var> <em> - + <!-- TYPE --> <div style="display:inline"> ( @@ -2472,7 +2547,7 @@ For example: <dd style="display: none; "> Description of this parameter from the json schema. </dd> - + <!-- OBJECT PROPERTIES --> <dd> <dl> @@ -2481,7 +2556,7 @@ For example: <dt> <var>newWindowId</var> <em> - + <!-- TYPE --> <div style="display:inline"> ( @@ -2508,7 +2583,7 @@ For example: <dd style="display: none; "> Description of this parameter from the json schema. </dd> - + <!-- OBJECT PROPERTIES --> <dd style="display: none; "> <dl> @@ -2524,7 +2599,7 @@ For example: <dt> <var>newPosition</var> <em> - + <!-- TYPE --> <div style="display:inline"> ( @@ -2551,7 +2626,7 @@ For example: <dd style="display: none; "> Description of this parameter from the json schema. </dd> - + <!-- OBJECT PROPERTIES --> <dd style="display: none; "> <dl> @@ -2592,7 +2667,7 @@ For example: <dt> <var>tab</var> <em> - + <!-- TYPE --> <div style="display:inline"> ( @@ -2617,7 +2692,7 @@ For example: Undocumented. </dd> <dd>Details of the tab that was created.</dd> - + <!-- OBJECT PROPERTIES --> <dd style="display: none; "> <dl> @@ -2654,7 +2729,7 @@ For example: <dt> <var>tabId</var> <em> - + <!-- TYPE --> <div style="display:inline"> ( @@ -2681,7 +2756,7 @@ For example: <dd style="display: none; "> Description of this parameter from the json schema. </dd> - + <!-- OBJECT PROPERTIES --> <dd style="display: none; "> <dl> @@ -2697,7 +2772,7 @@ For example: <dt> <var>detachInfo</var> <em> - + <!-- TYPE --> <div style="display:inline"> ( @@ -2724,7 +2799,7 @@ For example: <dd style="display: none; "> Description of this parameter from the json schema. </dd> - + <!-- OBJECT PROPERTIES --> <dd> <dl> @@ -2733,7 +2808,7 @@ For example: <dt> <var>oldWindowId</var> <em> - + <!-- TYPE --> <div style="display:inline"> ( @@ -2760,7 +2835,7 @@ For example: <dd style="display: none; "> Description of this parameter from the json schema. </dd> - + <!-- OBJECT PROPERTIES --> <dd style="display: none; "> <dl> @@ -2776,7 +2851,7 @@ For example: <dt> <var>oldPosition</var> <em> - + <!-- TYPE --> <div style="display:inline"> ( @@ -2803,7 +2878,7 @@ For example: <dd style="display: none; "> Description of this parameter from the json schema. </dd> - + <!-- OBJECT PROPERTIES --> <dd style="display: none; "> <dl> @@ -2844,7 +2919,7 @@ For example: <dt> <var>tabId</var> <em> - + <!-- TYPE --> <div style="display:inline"> ( @@ -2871,7 +2946,7 @@ For example: <dd style="display: none; "> Description of this parameter from the json schema. </dd> - + <!-- OBJECT PROPERTIES --> <dd style="display: none; "> <dl> @@ -2887,7 +2962,7 @@ For example: <dt> <var>moveInfo</var> <em> - + <!-- TYPE --> <div style="display:inline"> ( @@ -2914,7 +2989,7 @@ For example: <dd style="display: none; "> Description of this parameter from the json schema. </dd> - + <!-- OBJECT PROPERTIES --> <dd> <dl> @@ -2923,7 +2998,7 @@ For example: <dt> <var>windowId</var> <em> - + <!-- TYPE --> <div style="display:inline"> ( @@ -2950,7 +3025,7 @@ For example: <dd style="display: none; "> Description of this parameter from the json schema. </dd> - + <!-- OBJECT PROPERTIES --> <dd style="display: none; "> <dl> @@ -2966,7 +3041,7 @@ For example: <dt> <var>fromIndex</var> <em> - + <!-- TYPE --> <div style="display:inline"> ( @@ -2993,7 +3068,7 @@ For example: <dd style="display: none; "> Description of this parameter from the json schema. </dd> - + <!-- OBJECT PROPERTIES --> <dd style="display: none; "> <dl> @@ -3009,7 +3084,7 @@ For example: <dt> <var>toIndex</var> <em> - + <!-- TYPE --> <div style="display:inline"> ( @@ -3036,7 +3111,7 @@ For example: <dd style="display: none; "> Description of this parameter from the json schema. </dd> - + <!-- OBJECT PROPERTIES --> <dd style="display: none; "> <dl> @@ -3077,7 +3152,7 @@ For example: <dt> <var>tabId</var> <em> - + <!-- TYPE --> <div style="display:inline"> ( @@ -3104,7 +3179,7 @@ For example: <dd style="display: none; "> Description of this parameter from the json schema. </dd> - + <!-- OBJECT PROPERTIES --> <dd style="display: none; "> <dl> @@ -3141,7 +3216,7 @@ For example: <dt> <var>tabId</var> <em> - + <!-- TYPE --> <div style="display:inline"> ( @@ -3166,7 +3241,7 @@ For example: Undocumented. </dd> <dd>The ID of the tab that has become selected.</dd> - + <!-- OBJECT PROPERTIES --> <dd style="display: none; "> <dl> @@ -3182,7 +3257,7 @@ For example: <dt> <var>selectInfo</var> <em> - + <!-- TYPE --> <div style="display:inline"> ( @@ -3209,7 +3284,7 @@ For example: <dd style="display: none; "> Description of this parameter from the json schema. </dd> - + <!-- OBJECT PROPERTIES --> <dd> <dl> @@ -3218,7 +3293,7 @@ For example: <dt> <var>windowId</var> <em> - + <!-- TYPE --> <div style="display:inline"> ( @@ -3243,7 +3318,7 @@ For example: Undocumented. </dd> <dd>The ID of the window the selected tab changed inside of.</dd> - + <!-- OBJECT PROPERTIES --> <dd style="display: none; "> <dl> @@ -3284,7 +3359,7 @@ For example: <dt> <var>tabId</var> <em> - + <!-- TYPE --> <div style="display:inline"> ( @@ -3311,7 +3386,7 @@ For example: <dd style="display: none; "> Description of this parameter from the json schema. </dd> - + <!-- OBJECT PROPERTIES --> <dd style="display: none; "> <dl> @@ -3327,7 +3402,7 @@ For example: <dt> <var>changeInfo</var> <em> - + <!-- TYPE --> <div style="display:inline"> ( @@ -3354,7 +3429,7 @@ For example: <dd style="display: none; "> Description of this parameter from the json schema. </dd> - + <!-- OBJECT PROPERTIES --> <dd> <dl> @@ -3363,7 +3438,7 @@ For example: <dt> <var>status</var> <em> - + <!-- TYPE --> <div style="display:inline"> ( @@ -3388,7 +3463,7 @@ For example: Undocumented. </dd> <dd>The status of the tab. Can be either <em>loading</em> or <em>complete</em>.</dd> - + <!-- OBJECT PROPERTIES --> <dd style="display: none; "> <dl> @@ -3404,7 +3479,7 @@ For example: <dt> <var>url</var> <em> - + <!-- TYPE --> <div style="display:inline"> ( @@ -3429,7 +3504,7 @@ For example: Undocumented. </dd> <dd>Only specified if the tab's URL changed.</dd> - + <!-- OBJECT PROPERTIES --> <dd style="display: none; "> <dl> @@ -3452,7 +3527,7 @@ For example: </div> <!-- /apiItem --> </div> <!-- /apiGroup --> - + <!-- TYPES --> <div class="apiGroup"> <a name="types.sort(sortByName)"></a> @@ -3462,12 +3537,12 @@ For example: <div class="apiItem" jsinstance="*0"> <a name="type-Tab"></a> <h4>Tab</h4> - + <div> <dt> <var style="display: none; ">paramName</var> <em> - + <!-- TYPE --> <div style="display:inline"> ( @@ -3494,7 +3569,7 @@ For example: <dd style="display: none; "> Description of this parameter from the json schema. </dd> - + <!-- OBJECT PROPERTIES --> <dd> <dl> @@ -3503,7 +3578,7 @@ For example: <dt> <var>id</var> <em> - + <!-- TYPE --> <div style="display:inline"> ( @@ -3528,7 +3603,7 @@ For example: Undocumented. </dd> <dd>The ID of the tab. Tab IDs are unique within a browser session.</dd> - + <!-- OBJECT PROPERTIES --> <dd style="display: none; "> <dl> @@ -3544,7 +3619,7 @@ For example: <dt> <var>index</var> <em> - + <!-- TYPE --> <div style="display:inline"> ( @@ -3569,7 +3644,7 @@ For example: Undocumented. </dd> <dd>The zero-based index of the tab within its window.</dd> - + <!-- OBJECT PROPERTIES --> <dd style="display: none; "> <dl> @@ -3585,7 +3660,7 @@ For example: <dt> <var>windowId</var> <em> - + <!-- TYPE --> <div style="display:inline"> ( @@ -3610,7 +3685,7 @@ For example: Undocumented. </dd> <dd>The ID of the window the tab is contained within.</dd> - + <!-- OBJECT PROPERTIES --> <dd style="display: none; "> <dl> @@ -3626,7 +3701,7 @@ For example: <dt> <var>selected</var> <em> - + <!-- TYPE --> <div style="display:inline"> ( @@ -3651,7 +3726,7 @@ For example: Undocumented. </dd> <dd>Whether the tab is selected.</dd> - + <!-- OBJECT PROPERTIES --> <dd style="display: none; "> <dl> @@ -3667,7 +3742,7 @@ For example: <dt> <var>url</var> <em> - + <!-- TYPE --> <div style="display:inline"> ( @@ -3692,7 +3767,7 @@ For example: Undocumented. </dd> <dd>The URL the tab is displaying.</dd> - + <!-- OBJECT PROPERTIES --> <dd style="display: none; "> <dl> @@ -3708,7 +3783,7 @@ For example: <dt> <var>title</var> <em> - + <!-- TYPE --> <div style="display:inline"> ( @@ -3733,7 +3808,7 @@ For example: Undocumented. </dd> <dd>The title of the tab. This may not be available if the tab is loading.</dd> - + <!-- OBJECT PROPERTIES --> <dd style="display: none; "> <dl> @@ -3749,7 +3824,7 @@ For example: <dt> <var>favIconUrl</var> <em> - + <!-- TYPE --> <div style="display:inline"> ( @@ -3774,7 +3849,7 @@ For example: Undocumented. </dd> <dd>The URL of the tab's favicon. This may not be available if the tab is loading.</dd> - + <!-- OBJECT PROPERTIES --> <dd style="display: none; "> <dl> @@ -3790,7 +3865,7 @@ For example: <dt> <var>status</var> <em> - + <!-- TYPE --> <div style="display:inline"> ( @@ -3815,7 +3890,7 @@ For example: Undocumented. </dd> <dd>Either <em>loading</em> or <em>complete</em>.</dd> - + <!-- OBJECT PROPERTIES --> <dd style="display: none; "> <dl> @@ -3834,7 +3909,7 @@ For example: </div> <!-- /apiItem --> </div> <!-- /apiGroup --> - + </div> <!-- /apiPage --> </div> <!-- /mainColumn --> </div> <!-- /pageContent --> |