diff options
author | rafaelw@chromium.org <rafaelw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-11-10 22:48:48 +0000 |
---|---|---|
committer | rafaelw@chromium.org <rafaelw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-11-10 22:48:48 +0000 |
commit | 7720ea28c5ead344530f32ac2ce9598ba437bca0 (patch) | |
tree | 469c1106694fb258e6c71f143199f6991fe02472 /chrome/common/extensions/docs/tabs.html | |
parent | cd2e5fbeb03f027723229ecf65bb881401ef4fbd (diff) | |
download | chromium_src-7720ea28c5ead344530f32ac2ce9598ba437bca0.zip chromium_src-7720ea28c5ead344530f32ac2ce9598ba437bca0.tar.gz chromium_src-7720ea28c5ead344530f32ac2ce9598ba437bca0.tar.bz2 |
Extension Docs Fixes
This adds another jstemplate html attribute to be stripped from the final rendered page (jsinstance).
It also explicitly specifies function param names ($this.name) to avoid unexpected output in docs.
Additionally, it adds a name for an 18n.getMessage param
BUG=NONE
TEST=NONE
Review URL: http://codereview.chromium.org/384020
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@31609 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/extensions/docs/tabs.html')
-rw-r--r-- | chrome/common/extensions/docs/tabs.html | 324 |
1 files changed, 162 insertions, 162 deletions
diff --git a/chrome/common/extensions/docs/tabs.html b/chrome/common/extensions/docs/tabs.html index 23f9781..39e8b67 100644 --- a/chrome/common/extensions/docs/tabs.html +++ b/chrome/common/extensions/docs/tabs.html @@ -161,10 +161,10 @@ <div id="toc"> <p>Contents</p> <ol> - <li jsinstance="*0"> + <li> <a href="#manifest">Manifest</a> <ol> - <li jsinstance="*0" style="display: none; "> + <li style="display: none; "> <a>h3Name</a> </li> </ol> @@ -184,31 +184,31 @@ <li> <a href="#methods">Methods</a> <ol> - <li jsinstance="0"> + <li> <a href="#method-captureVisibleTab">captureVisibleTab</a> - </li><li jsinstance="1"> + </li><li> <a href="#method-connect">connect</a> - </li><li jsinstance="2"> + </li><li> <a href="#method-create">create</a> - </li><li jsinstance="3"> + </li><li> <a href="#method-detectLanguage">detectLanguage</a> - </li><li jsinstance="4"> + </li><li> <a href="#method-executeScript">executeScript</a> - </li><li jsinstance="5"> + </li><li> <a href="#method-get">get</a> - </li><li jsinstance="6"> + </li><li> <a href="#method-getAllInWindow">getAllInWindow</a> - </li><li jsinstance="7"> + </li><li> <a href="#method-getSelected">getSelected</a> - </li><li jsinstance="8"> + </li><li> <a href="#method-insertCSS">insertCSS</a> - </li><li jsinstance="9"> + </li><li> <a href="#method-move">move</a> - </li><li jsinstance="10"> + </li><li> <a href="#method-remove">remove</a> - </li><li jsinstance="11"> + </li><li> <a href="#method-sendRequest">sendRequest</a> - </li><li jsinstance="*12"> + </li><li> <a href="#method-update">update</a> </li> </ol> @@ -216,19 +216,19 @@ <li> <a href="#events">Events</a> <ol> - <li jsinstance="0"> + <li> <a href="#event-onAttached">onAttached</a> - </li><li jsinstance="1"> + </li><li> <a href="#event-onCreated">onCreated</a> - </li><li jsinstance="2"> + </li><li> <a href="#event-onDetached">onDetached</a> - </li><li jsinstance="3"> + </li><li> <a href="#event-onMoved">onMoved</a> - </li><li jsinstance="4"> + </li><li> <a href="#event-onRemoved">onRemoved</a> - </li><li jsinstance="5"> + </li><li> <a href="#event-onSelectionChanged">onSelectionChanged</a> - </li><li jsinstance="*6"> + </li><li> <a href="#event-onUpdated">onUpdated</a> </li> </ol> @@ -236,7 +236,7 @@ <li> <a href="#types">Types</a> <ol> - <li jsinstance="*0"> + <li> <a href="#type-Tab">Tab</a> </li> </ol> @@ -303,14 +303,14 @@ For example: <h3>Methods</h3> <!-- iterates over all functions --> - <div class="apiItem" jsinstance="0"> + <div class="apiItem"> <a name="method-captureVisibleTab"></a> <!-- method-anchor --> <h4>captureVisibleTab</h4> <div class="summary"><span style="display: none; ">void</span> <!-- Note: intentionally longer 80 columns --> - <span>chrome.tabs.captureVisibleTab</span>(<span jsinstance="0" class="optional"><span style="display: none; ">, </span><span>integer</span> - <var><span>windowId</span></var></span><span jsinstance="*1" class="null"><span>, </span><span>function</span> + <span>chrome.tabs.captureVisibleTab</span>(<span class="optional"><span style="display: none; ">, </span><span>integer</span> + <var><span>windowId</span></var></span><span class="null"><span>, </span><span>function</span> <var><span>callback</span></var></span>)</div> <div class="description"> @@ -320,7 +320,7 @@ For example: <!-- PARAMETERS --> <h4>Parameters</h4> <dl> - <div jsinstance="0"> + <div> <div> <dt> <var>windowId</var> @@ -361,7 +361,7 @@ For example: </dl> </dd> </div> - </div><div jsinstance="*1"> + </div><div> <div> <dt> <var>callback</var> @@ -428,7 +428,7 @@ For example: <!-- Note: intentionally longer 80 columns --> <pre>function(<span>string dataUrl</span>) <span class="subdued">{...}</span>);</pre> <dl> - <div jsinstance="*0"> + <div> <div> <dt> <var>dataUrl</var> @@ -476,14 +476,14 @@ For example: </div> <!-- /description --> - </div><div class="apiItem" jsinstance="1"> + </div><div class="apiItem"> <a name="method-connect"></a> <!-- method-anchor --> <h4>connect</h4> <div class="summary"><span>Port</span> <!-- Note: intentionally longer 80 columns --> - <span>chrome.tabs.connect</span>(<span jsinstance="0" class="null"><span style="display: none; ">, </span><span>integer</span> - <var><span>tabId</span></var></span><span jsinstance="*1" class="optional"><span>, </span><span>object</span> + <span>chrome.tabs.connect</span>(<span class="null"><span style="display: none; ">, </span><span>integer</span> + <var><span>tabId</span></var></span><span class="optional"><span>, </span><span>object</span> <var><span>connectInfo</span></var></span>)</div> <div class="description"> @@ -493,7 +493,7 @@ For example: <!-- PARAMETERS --> <h4>Parameters</h4> <dl> - <div jsinstance="0"> + <div> <div> <dt> <var>tabId</var> @@ -536,7 +536,7 @@ For example: </dl> </dd> </div> - </div><div jsinstance="*1"> + </div><div> <div> <dt> <var>connectInfo</var> @@ -572,7 +572,7 @@ For example: <!-- OBJECT PROPERTIES --> <dd> <dl> - <div jsinstance="*0"> + <div> <div> <dt> <var>name</var> @@ -689,14 +689,14 @@ For example: </div> <!-- /description --> - </div><div class="apiItem" jsinstance="2"> + </div><div class="apiItem"> <a name="method-create"></a> <!-- method-anchor --> <h4>create</h4> <div class="summary"><span style="display: none; ">void</span> <!-- Note: intentionally longer 80 columns --> - <span>chrome.tabs.create</span>(<span jsinstance="0" class="null"><span style="display: none; ">, </span><span>object</span> - <var><span>createProperties</span></var></span><span jsinstance="*1" class="optional"><span>, </span><span>function</span> + <span>chrome.tabs.create</span>(<span class="null"><span style="display: none; ">, </span><span>object</span> + <var><span>createProperties</span></var></span><span class="optional"><span>, </span><span>function</span> <var><span>callback</span></var></span>)</div> <div class="description"> @@ -706,7 +706,7 @@ For example: <!-- PARAMETERS --> <h4>Parameters</h4> <dl> - <div jsinstance="0"> + <div> <div> <dt> <var>createProperties</var> @@ -742,7 +742,7 @@ For example: <!-- OBJECT PROPERTIES --> <dd> <dl> - <div jsinstance="0"> + <div> <div> <dt> <var>windowId</var> @@ -783,7 +783,7 @@ For example: </dl> </dd> </div> - </div><div jsinstance="1"> + </div><div> <div> <dt> <var>index</var> @@ -824,7 +824,7 @@ For example: </dl> </dd> </div> - </div><div jsinstance="2"> + </div><div> <div> <dt> <var>url</var> @@ -865,7 +865,7 @@ For example: </dl> </dd> </div> - </div><div jsinstance="*3"> + </div><div> <div> <dt> <var>selected</var> @@ -910,7 +910,7 @@ For example: </dl> </dd> </div> - </div><div jsinstance="*1"> + </div><div> <div> <dt> <var>callback</var> @@ -977,7 +977,7 @@ For example: <!-- Note: intentionally longer 80 columns --> <pre>function(<span>Tab tab</span>) <span class="subdued">{...}</span>);</pre> <dl> - <div jsinstance="*0"> + <div> <div> <dt> <var>tab</var> @@ -1025,14 +1025,14 @@ For example: </div> <!-- /description --> - </div><div class="apiItem" jsinstance="3"> + </div><div class="apiItem"> <a name="method-detectLanguage"></a> <!-- method-anchor --> <h4>detectLanguage</h4> <div class="summary"><span style="display: none; ">void</span> <!-- Note: intentionally longer 80 columns --> - <span>chrome.tabs.detectLanguage</span>(<span jsinstance="0" class="optional"><span style="display: none; ">, </span><span>integer</span> - <var><span>tabId</span></var></span><span jsinstance="*1" class="null"><span>, </span><span>function</span> + <span>chrome.tabs.detectLanguage</span>(<span class="optional"><span style="display: none; ">, </span><span>integer</span> + <var><span>tabId</span></var></span><span class="null"><span>, </span><span>function</span> <var><span>callback</span></var></span>)</div> <div class="description"> @@ -1042,7 +1042,7 @@ For example: <!-- PARAMETERS --> <h4>Parameters</h4> <dl> - <div jsinstance="0"> + <div> <div> <dt> <var>tabId</var> @@ -1083,7 +1083,7 @@ For example: </dl> </dd> </div> - </div><div jsinstance="*1"> + </div><div> <div> <dt> <var>callback</var> @@ -1150,7 +1150,7 @@ For example: <!-- Note: intentionally longer 80 columns --> <pre>function(<span>string language</span>) <span class="subdued">{...}</span>);</pre> <dl> - <div jsinstance="*0"> + <div> <div> <dt> <var>language</var> @@ -1198,15 +1198,15 @@ For example: </div> <!-- /description --> - </div><div class="apiItem" jsinstance="4"> + </div><div class="apiItem"> <a name="method-executeScript"></a> <!-- method-anchor --> <h4>executeScript</h4> <div class="summary"><span>boolean</span> <!-- Note: intentionally longer 80 columns --> - <span>chrome.tabs.executeScript</span>(<span jsinstance="0" class="optional"><span style="display: none; ">, </span><span>integer</span> - <var><span>tabId</span></var></span><span jsinstance="1" class="optional"><span>, </span><span>object</span> - <var><span>scriptDef</span></var></span><span jsinstance="*2" class="optional"><span>, </span><span>function</span> + <span>chrome.tabs.executeScript</span>(<span class="optional"><span style="display: none; ">, </span><span>integer</span> + <var><span>tabId</span></var></span><span class="optional"><span>, </span><span>object</span> + <var><span>scriptDef</span></var></span><span class="optional"><span>, </span><span>function</span> <var><span>callback</span></var></span>)</div> <div class="description"> @@ -1218,7 +1218,7 @@ For example: <!-- PARAMETERS --> <h4>Parameters</h4> <dl> - <div jsinstance="0"> + <div> <div> <dt> <var>tabId</var> @@ -1259,7 +1259,7 @@ For example: </dl> </dd> </div> - </div><div jsinstance="1"> + </div><div> <div> <dt> <var>scriptDef</var> @@ -1293,7 +1293,7 @@ For example: <!-- OBJECT PROPERTIES --> <dd> <dl> - <div jsinstance="0"> + <div> <div> <dt> <var>code</var> @@ -1334,7 +1334,7 @@ For example: </dl> </dd> </div> - </div><div jsinstance="*1"> + </div><div> <div> <dt> <var>file</var> @@ -1379,7 +1379,7 @@ For example: </dl> </dd> </div> - </div><div jsinstance="*2"> + </div><div> <div> <dt> <var>callback</var> @@ -1482,7 +1482,7 @@ For example: <!-- Note: intentionally longer 80 columns --> <pre>function(<span></span>) <span class="subdued">{...}</span>);</pre> <dl> - <div jsinstance="*0" style="display: none; "> + <div style="display: none; "> <div> </div> </div> @@ -1492,14 +1492,14 @@ For example: </div> <!-- /description --> - </div><div class="apiItem" jsinstance="5"> + </div><div class="apiItem"> <a name="method-get"></a> <!-- method-anchor --> <h4>get</h4> <div class="summary"><span style="display: none; ">void</span> <!-- Note: intentionally longer 80 columns --> - <span>chrome.tabs.get</span>(<span jsinstance="0" class="null"><span style="display: none; ">, </span><span>integer</span> - <var><span>tabId</span></var></span><span jsinstance="*1" class="null"><span>, </span><span>function</span> + <span>chrome.tabs.get</span>(<span class="null"><span style="display: none; ">, </span><span>integer</span> + <var><span>tabId</span></var></span><span class="null"><span>, </span><span>function</span> <var><span>callback</span></var></span>)</div> <div class="description"> @@ -1509,7 +1509,7 @@ For example: <!-- PARAMETERS --> <h4>Parameters</h4> <dl> - <div jsinstance="0"> + <div> <div> <dt> <var>tabId</var> @@ -1552,7 +1552,7 @@ For example: </dl> </dd> </div> - </div><div jsinstance="*1"> + </div><div> <div> <dt> <var>callback</var> @@ -1619,7 +1619,7 @@ For example: <!-- Note: intentionally longer 80 columns --> <pre>function(<span>Tab tab</span>) <span class="subdued">{...}</span>);</pre> <dl> - <div jsinstance="*0"> + <div> <div> <dt> <var>tab</var> @@ -1669,14 +1669,14 @@ For example: </div> <!-- /description --> - </div><div class="apiItem" jsinstance="6"> + </div><div class="apiItem"> <a name="method-getAllInWindow"></a> <!-- method-anchor --> <h4>getAllInWindow</h4> <div class="summary"><span style="display: none; ">void</span> <!-- Note: intentionally longer 80 columns --> - <span>chrome.tabs.getAllInWindow</span>(<span jsinstance="0" class="optional"><span style="display: none; ">, </span><span>integer</span> - <var><span>windowId</span></var></span><span jsinstance="*1" class="null"><span>, </span><span>function</span> + <span>chrome.tabs.getAllInWindow</span>(<span class="optional"><span style="display: none; ">, </span><span>integer</span> + <var><span>windowId</span></var></span><span class="null"><span>, </span><span>function</span> <var><span>callback</span></var></span>)</div> <div class="description"> @@ -1686,7 +1686,7 @@ For example: <!-- PARAMETERS --> <h4>Parameters</h4> <dl> - <div jsinstance="0"> + <div> <div> <dt> <var>windowId</var> @@ -1727,7 +1727,7 @@ For example: </dl> </dd> </div> - </div><div jsinstance="*1"> + </div><div> <div> <dt> <var>callback</var> @@ -1794,7 +1794,7 @@ For example: <!-- Note: intentionally longer 80 columns --> <pre>function(<span>array of Tab tabs</span>) <span class="subdued">{...}</span>);</pre> <dl> - <div jsinstance="*0"> + <div> <div> <dt> <var>tabs</var> @@ -1854,14 +1854,14 @@ For example: </div> <!-- /description --> - </div><div class="apiItem" jsinstance="7"> + </div><div class="apiItem"> <a name="method-getSelected"></a> <!-- method-anchor --> <h4>getSelected</h4> <div class="summary"><span style="display: none; ">void</span> <!-- Note: intentionally longer 80 columns --> - <span>chrome.tabs.getSelected</span>(<span jsinstance="0" class="optional"><span style="display: none; ">, </span><span>integer</span> - <var><span>windowId</span></var></span><span jsinstance="*1" class="null"><span>, </span><span>function</span> + <span>chrome.tabs.getSelected</span>(<span class="optional"><span style="display: none; ">, </span><span>integer</span> + <var><span>windowId</span></var></span><span class="null"><span>, </span><span>function</span> <var><span>callback</span></var></span>)</div> <div class="description"> @@ -1871,7 +1871,7 @@ For example: <!-- PARAMETERS --> <h4>Parameters</h4> <dl> - <div jsinstance="0"> + <div> <div> <dt> <var>windowId</var> @@ -1912,7 +1912,7 @@ For example: </dl> </dd> </div> - </div><div jsinstance="*1"> + </div><div> <div> <dt> <var>callback</var> @@ -1979,7 +1979,7 @@ For example: <!-- Note: intentionally longer 80 columns --> <pre>function(<span>Tab tab</span>) <span class="subdued">{...}</span>);</pre> <dl> - <div jsinstance="*0"> + <div> <div> <dt> <var>tab</var> @@ -2029,15 +2029,15 @@ For example: </div> <!-- /description --> - </div><div class="apiItem" jsinstance="8"> + </div><div class="apiItem"> <a name="method-insertCSS"></a> <!-- method-anchor --> <h4>insertCSS</h4> <div class="summary"><span>boolean</span> <!-- Note: intentionally longer 80 columns --> - <span>chrome.tabs.insertCSS</span>(<span jsinstance="0" class="optional"><span style="display: none; ">, </span><span>integer</span> - <var><span>tabId</span></var></span><span jsinstance="1" class="optional"><span>, </span><span>object</span> - <var><span>scriptDef</span></var></span><span jsinstance="*2" class="optional"><span>, </span><span>function</span> + <span>chrome.tabs.insertCSS</span>(<span class="optional"><span style="display: none; ">, </span><span>integer</span> + <var><span>tabId</span></var></span><span class="optional"><span>, </span><span>object</span> + <var><span>scriptDef</span></var></span><span class="optional"><span>, </span><span>function</span> <var><span>callback</span></var></span>)</div> <div class="description"> @@ -2049,7 +2049,7 @@ For example: <!-- PARAMETERS --> <h4>Parameters</h4> <dl> - <div jsinstance="0"> + <div> <div> <dt> <var>tabId</var> @@ -2090,7 +2090,7 @@ For example: </dl> </dd> </div> - </div><div jsinstance="1"> + </div><div> <div> <dt> <var>scriptDef</var> @@ -2124,7 +2124,7 @@ For example: <!-- OBJECT PROPERTIES --> <dd> <dl> - <div jsinstance="0"> + <div> <div> <dt> <var>code</var> @@ -2165,7 +2165,7 @@ For example: </dl> </dd> </div> - </div><div jsinstance="*1"> + </div><div> <div> <dt> <var>file</var> @@ -2210,7 +2210,7 @@ For example: </dl> </dd> </div> - </div><div jsinstance="*2"> + </div><div> <div> <dt> <var>callback</var> @@ -2313,7 +2313,7 @@ For example: <!-- Note: intentionally longer 80 columns --> <pre>function(<span></span>) <span class="subdued">{...}</span>);</pre> <dl> - <div jsinstance="*0" style="display: none; "> + <div style="display: none; "> <div> </div> </div> @@ -2323,15 +2323,15 @@ For example: </div> <!-- /description --> - </div><div class="apiItem" jsinstance="9"> + </div><div class="apiItem"> <a name="method-move"></a> <!-- method-anchor --> <h4>move</h4> <div class="summary"><span style="display: none; ">void</span> <!-- Note: intentionally longer 80 columns --> - <span>chrome.tabs.move</span>(<span jsinstance="0" class="null"><span style="display: none; ">, </span><span>integer</span> - <var><span>tabId</span></var></span><span jsinstance="1" class="null"><span>, </span><span>object</span> - <var><span>moveProperties</span></var></span><span jsinstance="*2" class="optional"><span>, </span><span>function</span> + <span>chrome.tabs.move</span>(<span class="null"><span style="display: none; ">, </span><span>integer</span> + <var><span>tabId</span></var></span><span class="null"><span>, </span><span>object</span> + <var><span>moveProperties</span></var></span><span class="optional"><span>, </span><span>function</span> <var><span>callback</span></var></span>)</div> <div class="description"> @@ -2341,7 +2341,7 @@ For example: <!-- PARAMETERS --> <h4>Parameters</h4> <dl> - <div jsinstance="0"> + <div> <div> <dt> <var>tabId</var> @@ -2384,7 +2384,7 @@ For example: </dl> </dd> </div> - </div><div jsinstance="1"> + </div><div> <div> <dt> <var>moveProperties</var> @@ -2420,7 +2420,7 @@ For example: <!-- OBJECT PROPERTIES --> <dd> <dl> - <div jsinstance="0"> + <div> <div> <dt> <var>windowId</var> @@ -2461,7 +2461,7 @@ For example: </dl> </dd> </div> - </div><div jsinstance="*1"> + </div><div> <div> <dt> <var>index</var> @@ -2506,7 +2506,7 @@ For example: </dl> </dd> </div> - </div><div jsinstance="*2"> + </div><div> <div> <dt> <var>callback</var> @@ -2573,7 +2573,7 @@ For example: <!-- Note: intentionally longer 80 columns --> <pre>function(<span>Tab tab</span>) <span class="subdued">{...}</span>);</pre> <dl> - <div jsinstance="*0"> + <div> <div> <dt> <var>tab</var> @@ -2621,14 +2621,14 @@ For example: </div> <!-- /description --> - </div><div class="apiItem" jsinstance="10"> + </div><div class="apiItem"> <a name="method-remove"></a> <!-- method-anchor --> <h4>remove</h4> <div class="summary"><span style="display: none; ">void</span> <!-- Note: intentionally longer 80 columns --> - <span>chrome.tabs.remove</span>(<span jsinstance="0" class="null"><span style="display: none; ">, </span><span>integer</span> - <var><span>tabId</span></var></span><span jsinstance="*1" class="optional"><span>, </span><span>function</span> + <span>chrome.tabs.remove</span>(<span class="null"><span style="display: none; ">, </span><span>integer</span> + <var><span>tabId</span></var></span><span class="optional"><span>, </span><span>function</span> <var><span>callback</span></var></span>)</div> <div class="description"> @@ -2638,7 +2638,7 @@ For example: <!-- PARAMETERS --> <h4>Parameters</h4> <dl> - <div jsinstance="0"> + <div> <div> <dt> <var>tabId</var> @@ -2681,7 +2681,7 @@ For example: </dl> </dd> </div> - </div><div jsinstance="*1"> + </div><div> <div> <dt> <var>callback</var> @@ -2748,7 +2748,7 @@ For example: <!-- Note: intentionally longer 80 columns --> <pre>function(<span></span>) <span class="subdued">{...}</span>);</pre> <dl> - <div jsinstance="*0" style="display: none; "> + <div style="display: none; "> <div> </div> </div> @@ -2758,15 +2758,15 @@ For example: </div> <!-- /description --> - </div><div class="apiItem" jsinstance="11"> + </div><div class="apiItem"> <a name="method-sendRequest"></a> <!-- method-anchor --> <h4>sendRequest</h4> <div class="summary"><span style="display: none; ">void</span> <!-- Note: intentionally longer 80 columns --> - <span>chrome.tabs.sendRequest</span>(<span jsinstance="0" class="null"><span style="display: none; ">, </span><span>integer</span> - <var><span>tabId</span></var></span><span jsinstance="1" class="null"><span>, </span><span>any</span> - <var><span>request</span></var></span><span jsinstance="*2" class="optional"><span>, </span><span>function</span> + <span>chrome.tabs.sendRequest</span>(<span class="null"><span style="display: none; ">, </span><span>integer</span> + <var><span>tabId</span></var></span><span class="null"><span>, </span><span>any</span> + <var><span>request</span></var></span><span class="optional"><span>, </span><span>function</span> <var><span>responseCallback</span></var></span>)</div> <div class="description"> @@ -2776,7 +2776,7 @@ For example: <!-- PARAMETERS --> <h4>Parameters</h4> <dl> - <div jsinstance="0"> + <div> <div> <dt> <var>tabId</var> @@ -2819,7 +2819,7 @@ For example: </dl> </dd> </div> - </div><div jsinstance="1"> + </div><div> <div> <dt> <var>request</var> @@ -2862,7 +2862,7 @@ For example: </dl> </dd> </div> - </div><div jsinstance="*2"> + </div><div> <div> <dt> <var>responseCallback</var> @@ -2929,7 +2929,7 @@ For example: <!-- Note: intentionally longer 80 columns --> <pre>function(<span>any response</span>) <span class="subdued">{...}</span>);</pre> <dl> - <div jsinstance="*0"> + <div> <div> <dt> <var>response</var> @@ -2977,15 +2977,15 @@ For example: </div> <!-- /description --> - </div><div class="apiItem" jsinstance="*12"> + </div><div class="apiItem"> <a name="method-update"></a> <!-- method-anchor --> <h4>update</h4> <div class="summary"><span style="display: none; ">void</span> <!-- Note: intentionally longer 80 columns --> - <span>chrome.tabs.update</span>(<span jsinstance="0" class="null"><span style="display: none; ">, </span><span>integer</span> - <var><span>tabId</span></var></span><span jsinstance="1" class="null"><span>, </span><span>object</span> - <var><span>updateProperties</span></var></span><span jsinstance="*2" class="optional"><span>, </span><span>function</span> + <span>chrome.tabs.update</span>(<span class="null"><span style="display: none; ">, </span><span>integer</span> + <var><span>tabId</span></var></span><span class="null"><span>, </span><span>object</span> + <var><span>updateProperties</span></var></span><span class="optional"><span>, </span><span>function</span> <var><span>callback</span></var></span>)</div> <div class="description"> @@ -2995,7 +2995,7 @@ For example: <!-- PARAMETERS --> <h4>Parameters</h4> <dl> - <div jsinstance="0"> + <div> <div> <dt> <var>tabId</var> @@ -3038,7 +3038,7 @@ For example: </dl> </dd> </div> - </div><div jsinstance="1"> + </div><div> <div> <dt> <var>updateProperties</var> @@ -3074,7 +3074,7 @@ For example: <!-- OBJECT PROPERTIES --> <dd> <dl> - <div jsinstance="0"> + <div> <div> <dt> <var>url</var> @@ -3117,7 +3117,7 @@ For example: </dl> </dd> </div> - </div><div jsinstance="*1"> + </div><div> <div> <dt> <var>selected</var> @@ -3164,7 +3164,7 @@ For example: </dl> </dd> </div> - </div><div jsinstance="*2"> + </div><div> <div> <dt> <var>callback</var> @@ -3231,7 +3231,7 @@ For example: <!-- Note: intentionally longer 80 columns --> <pre>function(<span>Tab tab</span>) <span class="subdued">{...}</span>);</pre> <dl> - <div jsinstance="*0"> + <div> <div> <dt> <var>tab</var> @@ -3289,7 +3289,7 @@ For example: <h3 id="events">Events</h3> <!-- iterates over all events --> - <div class="apiItem" jsinstance="0"> + <div class="apiItem"> <a name="event-onAttached"></a> <h4>onAttached</h4> @@ -3305,7 +3305,7 @@ For example: <!-- PARAMETERS --> <h4>Parameters</h4> <dl> - <div jsinstance="0"> + <div> <div> <dt> <var>tabId</var> @@ -3348,7 +3348,7 @@ For example: </dl> </dd> </div> - </div><div jsinstance="*1"> + </div><div> <div> <dt> <var>attachInfo</var> @@ -3384,7 +3384,7 @@ For example: <!-- OBJECT PROPERTIES --> <dd> <dl> - <div jsinstance="0"> + <div> <div> <dt> <var>newWindowId</var> @@ -3427,7 +3427,7 @@ For example: </dl> </dd> </div> - </div><div jsinstance="*1"> + </div><div> <div> <dt> <var>newPosition</var> @@ -3479,7 +3479,7 @@ For example: </div> <!-- /decription --> - </div><div class="apiItem" jsinstance="1"> + </div><div class="apiItem"> <a name="event-onCreated"></a> <h4>onCreated</h4> @@ -3495,7 +3495,7 @@ For example: <!-- PARAMETERS --> <h4>Parameters</h4> <dl> - <div jsinstance="*0"> + <div> <div> <dt> <var>tab</var> @@ -3541,7 +3541,7 @@ For example: </div> <!-- /decription --> - </div><div class="apiItem" jsinstance="2"> + </div><div class="apiItem"> <a name="event-onDetached"></a> <h4>onDetached</h4> @@ -3557,7 +3557,7 @@ For example: <!-- PARAMETERS --> <h4>Parameters</h4> <dl> - <div jsinstance="0"> + <div> <div> <dt> <var>tabId</var> @@ -3600,7 +3600,7 @@ For example: </dl> </dd> </div> - </div><div jsinstance="*1"> + </div><div> <div> <dt> <var>detachInfo</var> @@ -3636,7 +3636,7 @@ For example: <!-- OBJECT PROPERTIES --> <dd> <dl> - <div jsinstance="0"> + <div> <div> <dt> <var>oldWindowId</var> @@ -3679,7 +3679,7 @@ For example: </dl> </dd> </div> - </div><div jsinstance="*1"> + </div><div> <div> <dt> <var>oldPosition</var> @@ -3731,7 +3731,7 @@ For example: </div> <!-- /decription --> - </div><div class="apiItem" jsinstance="3"> + </div><div class="apiItem"> <a name="event-onMoved"></a> <h4>onMoved</h4> @@ -3747,7 +3747,7 @@ For example: <!-- PARAMETERS --> <h4>Parameters</h4> <dl> - <div jsinstance="0"> + <div> <div> <dt> <var>tabId</var> @@ -3790,7 +3790,7 @@ For example: </dl> </dd> </div> - </div><div jsinstance="*1"> + </div><div> <div> <dt> <var>moveInfo</var> @@ -3826,7 +3826,7 @@ For example: <!-- OBJECT PROPERTIES --> <dd> <dl> - <div jsinstance="0"> + <div> <div> <dt> <var>windowId</var> @@ -3869,7 +3869,7 @@ For example: </dl> </dd> </div> - </div><div jsinstance="1"> + </div><div> <div> <dt> <var>fromIndex</var> @@ -3912,7 +3912,7 @@ For example: </dl> </dd> </div> - </div><div jsinstance="*2"> + </div><div> <div> <dt> <var>toIndex</var> @@ -3964,7 +3964,7 @@ For example: </div> <!-- /decription --> - </div><div class="apiItem" jsinstance="4"> + </div><div class="apiItem"> <a name="event-onRemoved"></a> <h4>onRemoved</h4> @@ -3980,7 +3980,7 @@ For example: <!-- PARAMETERS --> <h4>Parameters</h4> <dl> - <div jsinstance="*0"> + <div> <div> <dt> <var>tabId</var> @@ -4028,7 +4028,7 @@ For example: </div> <!-- /decription --> - </div><div class="apiItem" jsinstance="5"> + </div><div class="apiItem"> <a name="event-onSelectionChanged"></a> <h4>onSelectionChanged</h4> @@ -4044,7 +4044,7 @@ For example: <!-- PARAMETERS --> <h4>Parameters</h4> <dl> - <div jsinstance="0"> + <div> <div> <dt> <var>tabId</var> @@ -4085,7 +4085,7 @@ For example: </dl> </dd> </div> - </div><div jsinstance="*1"> + </div><div> <div> <dt> <var>selectInfo</var> @@ -4121,7 +4121,7 @@ For example: <!-- OBJECT PROPERTIES --> <dd> <dl> - <div jsinstance="*0"> + <div> <div> <dt> <var>windowId</var> @@ -4171,7 +4171,7 @@ For example: </div> <!-- /decription --> - </div><div class="apiItem" jsinstance="*6"> + </div><div class="apiItem"> <a name="event-onUpdated"></a> <h4>onUpdated</h4> @@ -4187,7 +4187,7 @@ For example: <!-- PARAMETERS --> <h4>Parameters</h4> <dl> - <div jsinstance="0"> + <div> <div> <dt> <var>tabId</var> @@ -4230,7 +4230,7 @@ For example: </dl> </dd> </div> - </div><div jsinstance="1"> + </div><div> <div> <dt> <var>changeInfo</var> @@ -4264,7 +4264,7 @@ For example: <!-- OBJECT PROPERTIES --> <dd> <dl> - <div jsinstance="0"> + <div> <div> <dt> <var>status</var> @@ -4305,7 +4305,7 @@ For example: </dl> </dd> </div> - </div><div jsinstance="*1"> + </div><div> <div> <dt> <var>url</var> @@ -4350,7 +4350,7 @@ For example: </dl> </dd> </div> - </div><div jsinstance="*2"> + </div><div> <div> <dt> <var>tab</var> @@ -4406,7 +4406,7 @@ For example: <h3 id="types">Types</h3> <!-- iterates over all types --> - <div class="apiItem" jsinstance="*0"> + <div class="apiItem"> <a name="type-Tab"></a> <h4>Tab</h4> @@ -4445,7 +4445,7 @@ For example: <!-- OBJECT PROPERTIES --> <dd> <dl> - <div jsinstance="0"> + <div> <div> <dt> <var>id</var> @@ -4486,7 +4486,7 @@ For example: </dl> </dd> </div> - </div><div jsinstance="1"> + </div><div> <div> <dt> <var>index</var> @@ -4527,7 +4527,7 @@ For example: </dl> </dd> </div> - </div><div jsinstance="2"> + </div><div> <div> <dt> <var>windowId</var> @@ -4568,7 +4568,7 @@ For example: </dl> </dd> </div> - </div><div jsinstance="3"> + </div><div> <div> <dt> <var>selected</var> @@ -4609,7 +4609,7 @@ For example: </dl> </dd> </div> - </div><div jsinstance="4"> + </div><div> <div> <dt> <var>url</var> @@ -4650,7 +4650,7 @@ For example: </dl> </dd> </div> - </div><div jsinstance="5"> + </div><div> <div> <dt> <var>title</var> @@ -4691,7 +4691,7 @@ For example: </dl> </dd> </div> - </div><div jsinstance="6"> + </div><div> <div> <dt> <var>favIconUrl</var> @@ -4732,7 +4732,7 @@ For example: </dl> </dd> </div> - </div><div jsinstance="*7"> + </div><div> <div> <dt> <var>status</var> |