Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(349)

Side by Side Diff: chrome/common/extensions/docs/tabs.html

Issue 173034: Validation of extension api callback and event parameters in DEBUG (Closed)
Patch Set: build docs Created 11 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 <!DOCTYPE html><!-- This page is a placeholder for generated extensions api doc. Note: 1) The <head> information in this page is significant, should be uniform across api docs and should be edited only with knowledge of the templating mecha nism. 2) The <body> tag *must* retain id="body" 3) All <body>.innerHTML is gener eated as an rendering step. If viewed in a browser, it will be re-generated from the template, json schema and authored overview content. 4) The <body>.innerHTM L is also generated by an offline step so that this page may easily be indexed b y search engines. TODO(rafaelw): Abstract this into a "pageshell" that becomes t he single version of page template shell and the "instance" pages (bookmarks.htm l, etc...) can be generated with a build step. --><!-- <html> must retain id="te mplate --><html xmlns="http://www.w3.org/1999/xhtml" jstcache="0"><!-- <head> da ta is significant and loads the needed libraries and styles --><head jstcache="0 "> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" jstcache=" 0"> <title jscontent="pageTitle" jstcache="1">[object HTMLDivElement]</title> <l ink href="css/ApiRefStyles.css" rel="stylesheet" type="text/css" jstcache="0"> < script type="text/javascript" src="../../../third_party/jstemplate/jstemplate_co mpiled.js" jstcache="0"> </script> <script type="text/javascript" src="js/api_pa ge_generator.js" jstcache="0"></script> <script type="text/javascript" src="js/b ootstrap.js" jstcache="0"></script> </head><!-- <body> content is completely gen erated. Do not edit, as it will be and rewritten. --><body jstcache="0"> <div id ="container" jstcache="0"> <a name="top" jstcache="0"> </a> <!-- API HEADER --> <div id="pageHeader" jstcache="0"> <div id="searchbox" jstcache="0"> <form actio n="http://www.google.com/cse" id="cse-search-box" jstcache="0"> <div jstcache="0 "> <input type="hidden" name="cx" value="002967670403910741006:61_cvzfqtno" jstc ache="0"> <input type="hidden" name="ie" value="UTF-8" jstcache="0"> <input type ="text" name="q" size="31" jstcache="0"> <input type="submit" name="sa" value="S earch" jstcache="0"> </div> </form> <script type="text/javascript" src="http://w ww.google.com/jsapi" jstcache="0"></script> <script type="text/javascript" jstca che="0">google.load("elements", "1", {packages: "transliteration"});</script> <s cript type="text/javascript" src="http://www.google.com/coop/cse/t13n?form=cse-s earch-box&amp;t13n_langs=en" jstcache="0"></script> <script type="text/javascrip t" src="http://www.google.com/coop/cse/brand?form=cse-search-box&amp;lang=en" js tcache="0"></script> </div> <div id="pageTitle" jstcache="0"> <h1 jscontent="get PageTitle()" jstcache="2">chrome.tabs API Reference</h1> </div> </div> <!-- /pag eHeader --> <div id="pageContent" jstcache="0"> <!-- SIDENAV --> <div id="leftNa v" jstcache="0"> <ul jstcache="0"> <li jstcache="0"> <a href="index.html" jstcac he="0">Home</a></li> <li jstcache="0"> <a href="getstarted.html" jstcache="0">Ge t Started</a></li> <li jstcache="0"> <a href="overview.html" jstcache="0">Overvi ew</a></li> <li jstcache="0">Reference <ul jstcache="0"> <li jstcache="0"><a hre f="manifest.html" jstcache="0">Manifest</a></li> <li jstcache="0"><a href="tools trip.html" jstcache="0">Toolstrips</a></li> <li jstcache="0"><a href="pageAction s.html" jstcache="0">Page Actions</a></li> <li jstcache="0"><a href="background_ pages.html" jstcache="0">Background Pages</a></li> <li jstcache="0"><a href="con tent_scripts.html" jstcache="0">Content Scripts</a></li> <li jstcache="0" class= "leftNavSelected">Tabs</li> <li jstcache="0"><a href="windows.html" jstcache="0" >Windows</a></li> <li jstcache="0"><a href="bookmarks.html" jstcache="0">Bookmar ks</a></li> <li jstcache="0"><a href="extension.html" jstcache="0">Extension</a> </li> <li jstcache="0"><a href="themes.html" jstcache="0">Themes</a></li> <li js tcache="0"><a href="npapi.html" jstcache="0">NPAPI Plugins</a></li> <li jstcache ="0"><a href="packaging.html" jstcache="0">Packaging</a></li> <li jstcache="0">< a href="autoupdate.html" jstcache="0">Autoupdate</a></li> </ul> </li> <li jstcac he="0">Samples <ul jstcache="0"> <li jstcache="0">[sample 1]</li> <li jstcache=" 0">[sample 2]</li> </ul> </li> </ul> </div> <div id="mainColumn" jstcache="0"> < !-- TABLE OF CONTENTS --> <div id="toc" jsdisplay="showPageTOC()" jstcache="3"> <p jstcache="0">Contents</p> <ol jstcache="0"> <li jsselect="getStaticTOC()" jst cache="9" jsinstance="*0" style="display: none; "> <a jscontent="name" jsvalues= ".href:'#' + href" jstcache="14">h2Name</a> <ol jstcache="0"> <li jsselect="$thi s.children" jstcache="22"> <a jscontent="name" jsvalues=".href:'#' + href" jstca che="14">h3Name</a> </li> </ol> </li> <div jsselect="apiDefinition" jstcache="4" > <li jsdisplay="$this.properties" jstcache="5" style="display: none; "> <a href ="#properties" jstcache="0">Properties</a> <ol jstcache="0"> <li jsselect="getPr opertyListFromObject($this)" jstcache="10"> <a jscontent="name" jsvalues=".href: '#property-' + name" href="#property-anchor" jstcache="38">propertyName</a> </li > </ol> </li> <li jsdisplay="functions &amp;&amp; functions.length &gt; 0" jstca che="6"> <a href="#methods" jstcache="0">Methods</a> <ol jstcache="0"> <li jssel ect="functions" jstcache="11" jsinstance="0"> <a jscontent="name" jsvalues=".hre f:'#method-' + name" href="#method-get" jstcache="39">get</a> </li><li jsselect= "functions" jstcache="11" jsinstance="1"> <a jscontent="name" jsvalues=".href:'# method-' + name" href="#method-connect" jstcache="39">connect</a> </li><li jssel ect="functions" jstcache="11" jsinstance="2"> <a jscontent="name" jsvalues=".hre f:'#method-' + name" href="#method-getSelected" jstcache="39">getSelected</a> </ li><li jsselect="functions" jstcache="11" jsinstance="3"> <a jscontent="name" js values=".href:'#method-' + name" href="#method-getAllInWindow" jstcache="39">get AllInWindow</a> </li><li jsselect="functions" jstcache="11" jsinstance="4"> <a j scontent="name" jsvalues=".href:'#method-' + name" href="#method-create" jstcach e="39">create</a> </li><li jsselect="functions" jstcache="11" jsinstance="5"> <a jscontent="name" jsvalues=".href:'#method-' + name" href="#method-update" jstca che="39">update</a> </li><li jsselect="functions" jstcache="11" jsinstance="6"> <a jscontent="name" jsvalues=".href:'#method-' + name" href="#method-move" jstca che="39">move</a> </li><li jsselect="functions" jstcache="11" jsinstance="7"> <a jscontent="name" jsvalues=".href:'#method-' + name" href="#method-remove" jstca che="39">remove</a> </li><li jsselect="functions" jstcache="11" jsinstance="8"> <a jscontent="name" jsvalues=".href:'#method-' + name" href="#method-detectLangu age" jstcache="39">detectLanguage</a> </li><li jsselect="functions" jstcache="11 " jsinstance="*9"> <a jscontent="name" jsvalues=".href:'#method-' + name" href=" #method-captureVisibleTab" jstcache="39">captureVisibleTab</a> </li> </ol> </li> <li jsdisplay="events &amp;&amp; events.length &gt; 0" jstcache="7"> <a href="# events" jstcache="0">Events</a> <ol jstcache="0"> <li jsselect="events" jstcache ="12" jsinstance="0"> <a jscontent="name" jsvalues=".href:'#event-' + name" href ="#event-onCreated" jstcache="40">onCreated</a> </li><li jsselect="events" jstca che="12" jsinstance="1"> <a jscontent="name" jsvalues=".href:'#event-' + name" h ref="#event-onUpdated" jstcache="40">onUpdated</a> </li><li jsselect="events" js tcache="12" jsinstance="2"> <a jscontent="name" jsvalues=".href:'#event-' + name " href="#event-onMoved" jstcache="40">onMoved</a> </li><li jsselect="events" jst cache="12" jsinstance="3"> <a jscontent="name" jsvalues=".href:'#event-' + name" href="#event-onSelectionChanged" jstcache="40">onSelectionChanged</a> </li><li jsselect="events" jstcache="12" jsinstance="4"> <a jscontent="name" jsvalues=".h ref:'#event-' + name" href="#event-onAttached" jstcache="40">onAttached</a> </li ><li jsselect="events" jstcache="12" jsinstance="5"> <a jscontent="name" jsvalue s=".href:'#event-' + name" href="#event-onDetached" jstcache="40">onDetached</a> </li><li jsselect="events" jstcache="12" jsinstance="*6"> <a jscontent="name" j svalues=".href:'#event-' + name" href="#event-onRemoved" jstcache="40">onRemoved </a> </li> </ol> </li> <li jsdisplay="types &amp;&amp; types.length &gt; 0" jstc ache="8"> <a href="#types" jstcache="0">Types</a> <ol jstcache="0"> <li jsselect ="types" jstcache="13" jsinstance="*0"> <a jscontent="id" jsvalues=".href:'#type -' + id" href="#type-Tab" jstcache="41">Tab</a> </li> </ol> </li> </div> </ol> < /div> <!-- /TABLE OF CONTENTS --> <!-- STATIC CONTENT PLACEHOLDER --> <div id="s tatic" jstcache="0"><!-- BEGIN AUTHORED CONTENT --> <p class="todo" jstcache="0" > [PENDING: API Module Overview Goes Here] </p> <!-- END AUTHORED CONTENT --> </ div> <!-- API PAGE --> <div class="apiPage" jsselect="apiDefinition" jstcache="4 "> <!-- PROPERTIES --> <div jsdisplay="$this.properties" class="apiGroup" jstcac he="5" style="display: none; "> <a name="#properties" jstcache="0"></a> <h2 id=" properties" jstcache="0">Properties</h2> <div jsselect="getPropertyListFromObjec t($this)" jstcache="10"> <a jsvalues=".name:'property-' + name" jstcache="15"></ a> <h3 jscontent="name" jstcache="16">getLastError</h3> <div class="summary" jst cache="0"> <!-- Note: intentionally longer 80 columns --> <span jscontent="getMo duleName() + '.'" jstcache="23">chrome.extension</span><span jscontent="$this.na me" jstcache="24">lastError</span> </div> <div transclude="valueTemplate" jstcac he="17"> </div> </div> </div> <!-- /apiGroup --> <!-- METHODS --> <div jsdisplay ="functions &amp;&amp; functions.length &gt; 0" class="apiGroup" id="methods" js tcache="6"> <a name="#methods" jstcache="0"></a> <h2 jstcache="0">Methods</h2> < !-- iterates over all functions --> <div class="apiItem" jsselect="functions" js tcache="11" jsinstance="0"> <a jsvalues=".name:'method-' + name" jstcache="18" n ame="method-get"></a> <!-- method-anchor --> <h3 jscontent="name" jstcache="16"> get</h3> <div class="summary" jstcache="0"><span jsdisplay="returns" jscontent=" getTypeName(returns)" jstcache="25" style="display: none; ">void</span> <!-- Not e: intentionally longer 80 columns --> <span jscontent="getFullyQualifiedFunctio nName($this)" jstcache="26">chrome.tabs.get</span>(<span jsselect="parameters" j svalues="class:optional ? 'optional' : ''" jstcache="27" jsinstance="0" class="n ull"><span jsdisplay="$index" jstcache="33" style="display: none; ">, </span><sp an jscontent="getTypeName($this)" jstcache="34">integer</span> <var jstcache="0" ><span jscontent="name" jstcache="16">tabId</span></var></span><span jsselect="p arameters" jsvalues="class:optional ? 'optional' : ''" jstcache="27" jsinstance= "*1" class="null"><span jsdisplay="$index" jstcache="33">, </span><span jsconten t="getTypeName($this)" jstcache="34">function</span> <var jstcache="0"><span jsc ontent="name" jstcache="16">callback</span></var></span>)</div> <div class="desc ription" jstcache="0"> <p class="todo" jsdisplay="!description" jstcache="28">Un documented.</p> <p jsdisplay="description" jsvalues=".innerHTML:description" jst cache="29" style="display: none; "> A description from the json schema def of th e function goes here. </p> <!-- PARAMETERS --> <h4 jstcache="0">Parameters</h4> <dl jstcache="0"> <div jsselect="parameters" jstcache="35" jsinstance="0"> <!-- VALUE: This is a subtemplate that is used elsewhere via jsTemplate *transclude* --> <div id="valueTemplate" jstcache="0"> <dt jstcache="0"> <var jsdisplay="$thi s.name" jscontent="$this.name" jstcache="45">tabId</var> <em jstcache="0"> <!-- TYPE --> <div style="display:inline" jstcache="0"> ( <span class="optional" jsdi splay="optional" jstcache="46" style="display: none; ">optional</span> <span id= "typeTemplate" jstcache="0"> <span jsdisplay="getTypeRef($this)" jstcache="47" s tyle="display: none; "> <a jsvalues=".href: getTypeRefPage($this) + '#type-' + g etTypeRef($this)" jscontent="getTypeRef($this)" jstcache="49"> Type</a> </span> <span jsdisplay="!getTypeRef($this)" jstcache="48"> <span jsdisplay="isArray($th is)" jstcache="50" style="display: none; "> array of <span jsselect="items" jstc ache="52"><span transclude="typeTemplate" jstcache="53"></span></span> </span> < span jsdisplay="!isArray($this)" jscontent="getTypeName($this)" jstcache="51">in teger</span> </span> </span> ) </div> </em> </dt> <dd class="todo" jsdisplay="!$ this.description" jstcache="42"> Undocumented. </dd> <dd jsdisplay="$this.descri ption" jsvalues=".innerHTML:$this.description" jstcache="43" style="display: non e; "> Description of this parameter from the json schema. </dd> <!-- OBJECT PROP ERTIES --> <dd jsdisplay="shouldExpandObject($this)" jstcache="44" style="displa y: none; "> <dl jstcache="0"> <div jsselect="getPropertyListFromObject($this)" j stcache="10"> <div transclude="valueTemplate" jstcache="17"> </div> </div> </dl> </dd> </div> <!-- /VALUE --> </div><div jsselect="parameters" jstcache="35" jsi nstance="*1"> <!-- VALUE: This is a subtemplate that is used elsewhere via jsTem plate *transclude* --> <div id="valueTemplate" jstcache="0"> <dt jstcache="0"> < var jsdisplay="$this.name" jscontent="$this.name" jstcache="45">callback</var> < em jstcache="0"> <!-- TYPE --> <div style="display:inline" jstcache="0"> ( <span class="optional" jsdisplay="optional" jstcache="46" style="display: none; ">opt ional</span> <span id="typeTemplate" jstcache="0"> <span jsdisplay="getTypeRef($ this)" jstcache="47" style="display: none; "> <a jsvalues=".href: getTypeRefPage ($this) + '#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache=" 49"> Type</a> </span> <span jsdisplay="!getTypeRef($this)" jstcache="48"> <span jsdisplay="isArray($this)" jstcache="50" style="display: none; "> array of <span jsselect="items" jstcache="52"><span transclude="typeTemplate" jstcache="53"></ span></span> </span> <span jsdisplay="!isArray($this)" jscontent="getTypeName($t his)" jstcache="51">function</span> </span> </span> ) </div> </em> </dt> <dd cla ss="todo" jsdisplay="!$this.description" jstcache="42"> Undocumented. </dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.description" jstcache=" 43" style="display: none; "> Description of this parameter from the json schema. </dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="shouldExpandObject($this)" jstc ache="44" style="display: none; "> <dl jstcache="0"> <div jsselect="getPropertyL istFromObject($this)" jstcache="10"> <div transclude="valueTemplate" jstcache="1 7"> </div> </div> </dl> </dd> </div> <!-- /VALUE --> </div> </dl> <!-- RETURNS - -> <h4 jsdisplay="returns" jstcache="30" style="display: none; ">Returns</h4> <d l jstcache="0"> <div jsselect="returns" jstcache="36" style="display: none; "> < div transclude="valueTemplate" jstcache="17"> </div> </div> </dl> <!-- CALLBACK --> <div jsdisplay="hasCallback(parameters)" jstcache="31"> <div jsselect=" getCallbackParameters(parameters)" jstcache="37"> <h4 jstcache="0">Callback func tion</h4> <p jstcache="0"> If you specify the <em jstcache="0">callback</em> par ameter, it should specify a function that looks like this: </p> <!-- Note: inten tionally longer 80 columns --> <pre jstcache="0">function(<span jscontent="getSi gnatureString(parameters)" jstcache="32">Tab tab</span>) <span class="subdued" j stcache="0">{...}</span>);</pre> <dl jstcache="0"> <div jsselect="parameters" js tcache="35" jsinstance="*0"> <div jstcache="0"> <dt jstcache="0"> <var jsdisplay ="$this.name" jscontent="$this.name" jstcache="45">tab</var> <em jstcache="0"> < !-- TYPE --> <div style="display:inline" jstcache="0"> ( <span class="optional" jsdisplay="optional" jstcache="46" style="display: none; ">optional</span> <span id="typeTemplate" jstcache="0"> <span jsdisplay="getTypeRef($this)" jstcache="4 7" style=""> <a jsvalues=".href: getTypeRefPage($this) + '#type-' + getTypeRef($ this)" jscontent="getTypeRef($this)" jstcache="49" href="tabs.html#type-Tab">Tab </a> </span> <span jsdisplay="!getTypeRef($this)" jstcache="48" style="display: none; "> <span jsdisplay="isArray($this)" jstcache="50" style="display: none; "> array of <span jsselect="items" jstcache="52"><span transclude="typeTemplate" j stcache="53"></span></span> </span> <span jsdisplay="!isArray($this)" jscontent= "getTypeName($this)" jstcache="51">integer</span> </span> </span> ) </div> </em> </dt> <dd class="todo" jsdisplay="!$this.description" jstcache="42"> Undocument ed. </dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.descripti on" jstcache="43" style="display: none; "> Description of this parameter from th e json schema. </dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="shouldExpandObjec t($this)" jstcache="44" style="display: none; "> <dl jstcache="0"> <div jsselect ="getPropertyListFromObject($this)" jstcache="10"> <div transclude="valueTemplat e" jstcache="17"> </div> </div> </dl> </dd> </div> </div> </dl> </div> </div> </ div> <!-- /description --> </div><div class="apiItem" jsselect="functions" jstca che="11" jsinstance="1"> <a jsvalues=".name:'method-' + name" jstcache="18" name ="method-connect"></a> <!-- method-anchor --> <h3 jscontent="name" jstcache="16" >connect</h3> <div class="summary" jstcache="0"><span jsdisplay="returns" jscont ent="getTypeName(returns)" jstcache="25">Port</span> <!-- Note: intentionally lo nger 80 columns --> <span jscontent="getFullyQualifiedFunctionName($this)" jstca che="26">chrome.tabs.connect</span>(<span jsselect="parameters" jsvalues="class: optional ? 'optional' : ''" jstcache="27" jsinstance="0" class="optional"><span jsdisplay="$index" jstcache="33" style="display: none; ">, </span><span jsconten t="getTypeName($this)" jstcache="34">integer</span> <var jstcache="0"><span jsco ntent="name" jstcache="16">tabId</span></var></span><span jsselect="parameters" jsvalues="class:optional ? 'optional' : ''" jstcache="27" jsinstance="*1" class= "optional"><span jsdisplay="$index" jstcache="33">, </span><span jscontent="getT ypeName($this)" jstcache="34">string</span> <var jstcache="0"><span jscontent="n ame" jstcache="16">name</span></var></span>)</div> <div class="description" jstc ache="0"> <p class="todo" jsdisplay="!description" jstcache="28">Undocumented.</ p> <p jsdisplay="description" jsvalues=".innerHTML:description" jstcache="29" st yle="display: none; "> A description from the json schema def of the function go es here. </p> <!-- PARAMETERS --> <h4 jstcache="0">Parameters</h4> <dl jstcache= "0"> <div jsselect="parameters" jstcache="35" jsinstance="0"> <!-- VALUE: This i s a subtemplate that is used elsewhere via jsTemplate *transclude* --> <div id=" valueTemplate" jstcache="0"> <dt jstcache="0"> <var jsdisplay="$this.name" jscon tent="$this.name" jstcache="45">tabId</var> <em jstcache="0"> <!-- TYPE --> <div style="display:inline" jstcache="0"> ( <span class="optional" jsdisplay="option al" jstcache="46">optional</span> <span id="typeTemplate" jstcache="0"> <span js display="getTypeRef($this)" jstcache="47" style="display: none; "> <a jsvalues=" .href: getTypeRefPage($this) + '#type-' + getTypeRef($this)" jscontent="getTypeR ef($this)" jstcache="49"> Type</a> </span> <span jsdisplay="!getTypeRef($this)" jstcache="48"> <span jsdisplay="isArray($this)" jstcache="50" style="display: no ne; "> array of <span jsselect="items" jstcache="52"><span transclude="typeTempl ate" jstcache="53"></span></span> </span> <span jsdisplay="!isArray($this)" jsco ntent="getTypeName($this)" jstcache="51">integer</span> </span> </span> ) </div> </em> </dt> <dd class="todo" jsdisplay="!$this.description" jstcache="42"> Undo cumented. </dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.des cription" jstcache="43" style="display: none; "> Description of this parameter f rom the json schema. </dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="shouldExpan dObject($this)" jstcache="44" style="display: none; "> <dl jstcache="0"> <div js select="getPropertyListFromObject($this)" jstcache="10"> <div transclude="valueT emplate" jstcache="17"> </div> </div> </dl> </dd> </div> <!-- /VALUE --> </div>< div jsselect="parameters" jstcache="35" jsinstance="*1"> <!-- VALUE: This is a s ubtemplate that is used elsewhere via jsTemplate *transclude* --> <div id="value Template" jstcache="0"> <dt jstcache="0"> <var jsdisplay="$this.name" jscontent= "$this.name" jstcache="45">name</var> <em jstcache="0"> <!-- TYPE --> <div style ="display:inline" jstcache="0"> ( <span class="optional" jsdisplay="optional" js tcache="46">optional</span> <span id="typeTemplate" jstcache="0"> <span jsdispla y="getTypeRef($this)" jstcache="47" style="display: none; "> <a jsvalues=".href: getTypeRefPage($this) + '#type-' + getTypeRef($this)" jscontent="getTypeRef($th is)" jstcache="49"> Type</a> </span> <span jsdisplay="!getTypeRef($this)" jstcac he="48"> <span jsdisplay="isArray($this)" jstcache="50" style="display: none; "> array of <span jsselect="items" jstcache="52"><span transclude="typeTemplate" j stcache="53"></span></span> </span> <span jsdisplay="!isArray($this)" jscontent= "getTypeName($this)" jstcache="51">string</span> </span> </span> ) </div> </em> </dt> <dd class="todo" jsdisplay="!$this.description" jstcache="42"> Undocumente d. </dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.descriptio n" jstcache="43" style="display: none; "> Description of this parameter from the json schema. </dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="shouldExpandObject ($this)" jstcache="44" style="display: none; "> <dl jstcache="0"> <div jsselect= "getPropertyListFromObject($this)" jstcache="10"> <div transclude="valueTemplate " jstcache="17"> </div> </div> </dl> </dd> </div> <!-- /VALUE --> </div> </dl> < !-- RETURNS --> <h4 jsdisplay="returns" jstcache="30">Returns</h4> <dl jstcache= "0"> <div jsselect="returns" jstcache="36"> <div jstcache="0"> <dt jstcache="0"> <var jsdisplay="$this.name" jscontent="$this.name" jstcache="45" style="display : none; ">tabId</var> <em jstcache="0"> <!-- TYPE --> <div style="display:inline " jstcache="0"> ( <span class="optional" jsdisplay="optional" jstcache="46" styl e="display: none; ">optional</span> <span id="typeTemplate" jstcache="0"> <span jsdisplay="getTypeRef($this)" jstcache="47" style=""> <a jsvalues=".href: getTyp eRefPage($this) + '#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" js tcache="49" href="extension.html#type-Port">Port</a> </span> <span jsdisplay="!g etTypeRef($this)" jstcache="48" style="display: none; "> <span jsdisplay="isArra y($this)" jstcache="50" style="display: none; "> array of <span jsselect="items" jstcache="52"><span transclude="typeTemplate" jstcache="53"></span></span> </sp an> <span jsdisplay="!isArray($this)" jscontent="getTypeName($this)" jstcache="5 1">integer</span> </span> </span> ) </div> </em> </dt> <dd class="todo" jsdispla y="!$this.description" jstcache="42"> Undocumented. </dd> <dd jsdisplay="$this.d escription" jsvalues=".innerHTML:$this.description" jstcache="43" style="display : none; "> Description of this parameter from the json schema. </dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="shouldExpandObject($this)" jstcache="44" style="d isplay: none; "> <dl jstcache="0"> <div jsselect="getPropertyListFromObject($thi s)" jstcache="10"> <div transclude="valueTemplate" jstcache="17"> </div> </div> </dl> </dd> </div> </div> </dl> <!-- CALLBACK --> <div jsdisplay="hasCall back(parameters)" jstcache="31" style="display: none; "> <div jsselect="getCallb ackParameters(parameters)" jstcache="37"> <h4 jstcache="0">Callback function</h4 > <p jstcache="0"> If you specify the <em jstcache="0">callback</em> parameter, it should specify a function that looks like this: </p> <!-- Note: intentionally longer 80 columns --> <pre jstcache="0">function(<span jscontent="getSignatureS tring(parameters)" jstcache="32">Type param1, Type param2</span>) <span class="s ubdued" jstcache="0">{...}</span>);</pre> <dl jstcache="0"> <div jsselect="param eters" jstcache="35"> <div transclude="valueTemplate" jstcache="17"> </div> </di v> </dl> </div> </div> </div> <!-- /description --> </div><div class="apiItem" j sselect="functions" jstcache="11" jsinstance="2"> <a jsvalues=".name:'method-' + name" jstcache="18" name="method-getSelected"></a> <!-- method-anchor --> <h3 j scontent="name" jstcache="16">getSelected</h3> <div class="summary" jstcache="0" ><span jsdisplay="returns" jscontent="getTypeName(returns)" jstcache="25" style= "display: none; ">void</span> <!-- Note: intentionally longer 80 columns --> <sp an jscontent="getFullyQualifiedFunctionName($this)" jstcache="26">chrome.tabs.ge tSelected</span>(<span jsselect="parameters" jsvalues="class:optional ? 'optiona l' : ''" jstcache="27" jsinstance="0" class="optional"><span jsdisplay="$index" jstcache="33" style="display: none; ">, </span><span jscontent="getTypeName($thi s)" jstcache="34">integer</span> <var jstcache="0"><span jscontent="name" jstcac he="16">windowId</span></var></span><span jsselect="parameters" jsvalues="class: optional ? 'optional' : ''" jstcache="27" jsinstance="*1" class="null"><span jsd isplay="$index" jstcache="33">, </span><span jscontent="getTypeName($this)" jstc ache="34">function</span> <var jstcache="0"><span jscontent="name" jstcache="16" >callback</span></var></span>)</div> <div class="description" jstcache="0"> <p c lass="todo" jsdisplay="!description" jstcache="28">Undocumented.</p> <p jsdispla y="description" jsvalues=".innerHTML:description" jstcache="29" style="display: none; "> A description from the json schema def of the function goes here. </p> <!-- PARAMETERS --> <h4 jstcache="0">Parameters</h4> <dl jstcache="0"> <div jsse lect="parameters" jstcache="35" jsinstance="0"> <!-- VALUE: This is a subtemplat e that is used elsewhere via jsTemplate *transclude* --> <div id="valueTemplate" jstcache="0"> <dt jstcache="0"> <var jsdisplay="$this.name" jscontent="$this.na me" jstcache="45">windowId</var> <em jstcache="0"> <!-- TYPE --> <div style="dis play:inline" jstcache="0"> ( <span class="optional" jsdisplay="optional" jstcach e="46">optional</span> <span id="typeTemplate" jstcache="0"> <span jsdisplay="ge tTypeRef($this)" jstcache="47" style="display: none; "> <a jsvalues=".href: getT ypeRefPage($this) + '#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="49"> Type</a> </span> <span jsdisplay="!getTypeRef($this)" jstcache="4 8"> <span jsdisplay="isArray($this)" jstcache="50" style="display: none; "> arra y of <span jsselect="items" jstcache="52"><span transclude="typeTemplate" jstcac he="53"></span></span> </span> <span jsdisplay="!isArray($this)" jscontent="getT ypeName($this)" jstcache="51">integer</span> </span> </span> ) </div> </em> </dt > <dd class="todo" jsdisplay="!$this.description" jstcache="42"> Undocumented. < /dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.description" j stcache="43" style="display: none; "> Description of this parameter from the jso n schema. </dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="shouldExpandObject($th is)" jstcache="44" style="display: none; "> <dl jstcache="0"> <div jsselect="get PropertyListFromObject($this)" jstcache="10"> <div transclude="valueTemplate" js tcache="17"> </div> </div> </dl> </dd> </div> <!-- /VALUE --> </div><div jsselec t="parameters" jstcache="35" jsinstance="*1"> <!-- VALUE: This is a subtemplate that is used elsewhere via jsTemplate *transclude* --> <div id="valueTemplate" j stcache="0"> <dt jstcache="0"> <var jsdisplay="$this.name" jscontent="$this.name " jstcache="45">callback</var> <em jstcache="0"> <!-- TYPE --> <div style="displ ay:inline" jstcache="0"> ( <span class="optional" jsdisplay="optional" jstcache= "46" style="display: none; ">optional</span> <span id="typeTemplate" jstcache="0 "> <span jsdisplay="getTypeRef($this)" jstcache="47" style="display: none; "> <a jsvalues=".href: getTypeRefPage($this) + '#type-' + getTypeRef($this)" jsconten t="getTypeRef($this)" jstcache="49"> Type</a> </span> <span jsdisplay="!getTypeR ef($this)" jstcache="48"> <span jsdisplay="isArray($this)" jstcache="50" style=" display: none; "> array of <span jsselect="items" jstcache="52"><span transclude ="typeTemplate" jstcache="53"></span></span> </span> <span jsdisplay="!isArray($ this)" jscontent="getTypeName($this)" jstcache="51">function</span> </span> </sp an> ) </div> </em> </dt> <dd class="todo" jsdisplay="!$this.description" jstcach e="42"> Undocumented. </dd> <dd jsdisplay="$this.description" jsvalues=".innerHT ML:$this.description" jstcache="43" style="display: none; "> Description of this parameter from the json schema. </dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay= "shouldExpandObject($this)" jstcache="44" style="display: none; "> <dl jstcache= "0"> <div jsselect="getPropertyListFromObject($this)" jstcache="10"> <div transc lude="valueTemplate" jstcache="17"> </div> </div> </dl> </dd> </div> <!-- /VALUE --> </div> </dl> <!-- RETURNS --> <h4 jsdisplay="returns" jstcache="30" style=" display: none; ">Returns</h4> <dl jstcache="0"> <div jsselect="returns" jstcache ="36" style="display: none; "> <div transclude="valueTemplate" jstcache="17"> </ div> </div> </dl> <!-- CALLBACK --> <div jsdisplay="hasCallback(parameters) " jstcache="31"> <div jsselect="getCallbackParameters(parameters)" jstcache="37" > <h4 jstcache="0">Callback function</h4> <p jstcache="0"> If you specify the <e m jstcache="0">callback</em> parameter, it should specify a function that looks like this: </p> <!-- Note: intentionally longer 80 columns --> <pre jstcache="0" >function(<span jscontent="getSignatureString(parameters)" jstcache="32">Tab tab </span>) <span class="subdued" jstcache="0">{...}</span>);</pre> <dl jstcache="0 "> <div jsselect="parameters" jstcache="35" jsinstance="*0"> <div jstcache="0"> <dt jstcache="0"> <var jsdisplay="$this.name" jscontent="$this.name" jstcache="4 5">tab</var> <em jstcache="0"> <!-- TYPE --> <div style="display:inline" jstcach e="0"> ( <span class="optional" jsdisplay="optional" jstcache="46" style="displa y: none; ">optional</span> <span id="typeTemplate" jstcache="0"> <span jsdisplay ="getTypeRef($this)" jstcache="47" style=""> <a jsvalues=".href: getTypeRefPage( $this) + '#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="4 9" href="tabs.html#type-Tab">Tab</a> </span> <span jsdisplay="!getTypeRef($this) " jstcache="48" style="display: none; "> <span jsdisplay="isArray($this)" jstcac he="50" style="display: none; "> array of <span jsselect="items" jstcache="52">< span transclude="typeTemplate" jstcache="53"></span></span> </span> <span jsdisp lay="!isArray($this)" jscontent="getTypeName($this)" jstcache="51">integer</span > </span> </span> ) </div> </em> </dt> <dd class="todo" jsdisplay="!$this.descri ption" jstcache="42"> Undocumented. </dd> <dd jsdisplay="$this.description" jsva lues=".innerHTML:$this.description" jstcache="43" style="display: none; "> Descr iption of this parameter from the json schema. </dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="shouldExpandObject($this)" jstcache="44" style="display: none; "> <dl jstcache="0"> <div jsselect="getPropertyListFromObject($this)" jstcache="10 "> <div transclude="valueTemplate" jstcache="17"> </div> </div> </dl> </dd> </di v> </div> </dl> </div> </div> </div> <!-- /description --> </div><div class="api Item" jsselect="functions" jstcache="11" jsinstance="3"> <a jsvalues=".name:'met hod-' + name" jstcache="18" name="method-getAllInWindow"></a> <!-- method-anchor --> <h3 jscontent="name" jstcache="16">getAllInWindow</h3> <div class="summary" jstcache="0"><span jsdisplay="returns" jscontent="getTypeName(returns)" jstcach e="25" style="display: none; ">void</span> <!-- Note: intentionally longer 80 co lumns --> <span jscontent="getFullyQualifiedFunctionName($this)" jstcache="26">c hrome.tabs.getAllInWindow</span>(<span jsselect="parameters" jsvalues="class:opt ional ? 'optional' : ''" jstcache="27" jsinstance="0" class="optional"><span jsd isplay="$index" jstcache="33" style="display: none; ">, </span><span jscontent=" getTypeName($this)" jstcache="34">integer</span> <var jstcache="0"><span jsconte nt="name" jstcache="16">windowId</span></var></span><span jsselect="parameters" jsvalues="class:optional ? 'optional' : ''" jstcache="27" jsinstance="*1" class= "null"><span jsdisplay="$index" jstcache="33">, </span><span jscontent="getTypeN ame($this)" jstcache="34">function</span> <var jstcache="0"><span jscontent="nam e" jstcache="16">callback</span></var></span>)</div> <div class="description" js tcache="0"> <p class="todo" jsdisplay="!description" jstcache="28">Undocumented. </p> <p jsdisplay="description" jsvalues=".innerHTML:description" jstcache="29" style="display: none; "> A description from the json schema def of the function goes here. </p> <!-- PARAMETERS --> <h4 jstcache="0">Parameters</h4> <dl jstcach e="0"> <div jsselect="parameters" jstcache="35" jsinstance="0"> <!-- VALUE: This is a subtemplate that is used elsewhere via jsTemplate *transclude* --> <div id ="valueTemplate" jstcache="0"> <dt jstcache="0"> <var jsdisplay="$this.name" jsc ontent="$this.name" jstcache="45">windowId</var> <em jstcache="0"> <!-- TYPE --> <div style="display:inline" jstcache="0"> ( <span class="optional" jsdisplay="o ptional" jstcache="46">optional</span> <span id="typeTemplate" jstcache="0"> <sp an jsdisplay="getTypeRef($this)" jstcache="47" style="display: none; "> <a jsval ues=".href: getTypeRefPage($this) + '#type-' + getTypeRef($this)" jscontent="get TypeRef($this)" jstcache="49"> Type</a> </span> <span jsdisplay="!getTypeRef($th is)" jstcache="48"> <span jsdisplay="isArray($this)" jstcache="50" style="displa y: none; "> array of <span jsselect="items" jstcache="52"><span transclude="type Template" jstcache="53"></span></span> </span> <span jsdisplay="!isArray($this)" jscontent="getTypeName($this)" jstcache="51">integer</span> </span> </span> ) < /div> </em> </dt> <dd class="todo" jsdisplay="!$this.description" jstcache="42"> Undocumented. </dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML:$thi s.description" jstcache="43" style="display: none; "> Description of this parame ter from the json schema. </dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="should ExpandObject($this)" jstcache="44" style="display: none; "> <dl jstcache="0"> <d iv jsselect="getPropertyListFromObject($this)" jstcache="10"> <div transclude="v alueTemplate" jstcache="17"> </div> </div> </dl> </dd> </div> <!-- /VALUE --> </ div><div jsselect="parameters" jstcache="35" jsinstance="*1"> <!-- VALUE: This i s a subtemplate that is used elsewhere via jsTemplate *transclude* --> <div id=" valueTemplate" jstcache="0"> <dt jstcache="0"> <var jsdisplay="$this.name" jscon tent="$this.name" jstcache="45">callback</var> <em jstcache="0"> <!-- TYPE --> < div style="display:inline" jstcache="0"> ( <span class="optional" jsdisplay="opt ional" jstcache="46" style="display: none; ">optional</span> <span id="typeTempl ate" jstcache="0"> <span jsdisplay="getTypeRef($this)" jstcache="47" style="disp lay: none; "> <a jsvalues=".href: getTypeRefPage($this) + '#type-' + getTypeRef( $this)" jscontent="getTypeRef($this)" jstcache="49"> Type</a> </span> <span jsdi splay="!getTypeRef($this)" jstcache="48"> <span jsdisplay="isArray($this)" jstca che="50" style="display: none; "> array of <span jsselect="items" jstcache="52"> <span transclude="typeTemplate" jstcache="53"></span></span> </span> <span jsdis play="!isArray($this)" jscontent="getTypeName($this)" jstcache="51">function</sp an> </span> </span> ) </div> </em> </dt> <dd class="todo" jsdisplay="!$this.desc ription" jstcache="42"> Undocumented. </dd> <dd jsdisplay="$this.description" js values=".innerHTML:$this.description" jstcache="43" style="display: none; "> Des cription of this parameter from the json schema. </dd> <!-- OBJECT PROPERTIES -- > <dd jsdisplay="shouldExpandObject($this)" jstcache="44" style="display: none; "> <dl jstcache="0"> <div jsselect="getPropertyListFromObject($this)" jstcache=" 10"> <div transclude="valueTemplate" jstcache="17"> </div> </div> </dl> </dd> </ div> <!-- /VALUE --> </div> </dl> <!-- RETURNS --> <h4 jsdisplay="returns" jstca che="30" style="display: none; ">Returns</h4> <dl jstcache="0"> <div jsselect="r eturns" jstcache="36" style="display: none; "> <div transclude="valueTemplate" j stcache="17"> </div> </div> </dl> <!-- CALLBACK --> <div jsdisplay="hasCall back(parameters)" jstcache="31"> <div jsselect="getCallbackParameters(parameters )" jstcache="37"> <h4 jstcache="0">Callback function</h4> <p jstcache="0"> If yo u specify the <em jstcache="0">callback</em> parameter, it should specify a func tion that looks like this: </p> <!-- Note: intentionally longer 80 columns --> < pre jstcache="0">function(<span jscontent="getSignatureString(parameters)" jstca che="32">array of Tab tabs</span>) <span class="subdued" jstcache="0">{...}</spa n>);</pre> <dl jstcache="0"> <div jsselect="parameters" jstcache="35" jsinstance ="*0"> <div jstcache="0"> <dt jstcache="0"> <var jsdisplay="$this.name" jsconten t="$this.name" jstcache="45">tabs</var> <em jstcache="0"> <!-- TYPE --> <div sty le="display:inline" jstcache="0"> ( <span class="optional" jsdisplay="optional" jstcache="46" style="display: none; ">optional</span> <span id="typeTemplate" js tcache="0"> <span jsdisplay="getTypeRef($this)" jstcache="47" style="display: no ne; "> <a jsvalues=".href: getTypeRefPage($this) + '#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="49"> Type</a> </span> <span jsdisplay=" !getTypeRef($this)" jstcache="48"> <span jsdisplay="isArray($this)" jstcache="50 " style=""> array of <span jsselect="items" jstcache="52"><span jstcache="0"> <s pan jsdisplay="getTypeRef($this)" jstcache="47" style=""> <a jsvalues=".href: ge tTypeRefPage($this) + '#type-' + getTypeRef($this)" jscontent="getTypeRef($this) " jstcache="49" href="tabs.html#type-Tab">Tab</a> </span> <span jsdisplay="!getT ypeRef($this)" jstcache="48" style="display: none; "> <span jsdisplay="isArray($ this)" jstcache="50" style="display: none; "> array of <span jsselect="items" js tcache="52"><span transclude="typeTemplate" jstcache="53"></span></span> </span> <span jsdisplay="!isArray($this)" jscontent="getTypeName($this)" jstcache="51"> integer</span> </span> </span></span> </span> <span jsdisplay="!isArray($this)" jscontent="getTypeName($this)" jstcache="51" style="display: none; ">integer</sp an> </span> </span> ) </div> </em> </dt> <dd class="todo" jsdisplay="!$this.desc ription" jstcache="42"> Undocumented. </dd> <dd jsdisplay="$this.description" js values=".innerHTML:$this.description" jstcache="43" style="display: none; "> Des cription of this parameter from the json schema. </dd> <!-- OBJECT PROPERTIES -- > <dd jsdisplay="shouldExpandObject($this)" jstcache="44" style="display: none; "> <dl jstcache="0"> <div jsselect="getPropertyListFromObject($this)" jstcache=" 10"> <div transclude="valueTemplate" jstcache="17"> </div> </div> </dl> </dd> </ div> </div> </dl> </div> </div> </div> <!-- /description --> </div><div class="a piItem" jsselect="functions" jstcache="11" jsinstance="4"> <a jsvalues=".name:'m ethod-' + name" jstcache="18" name="method-create"></a> <!-- method-anchor --> < h3 jscontent="name" jstcache="16">create</h3> <div class="summary" jstcache="0"> <span jsdisplay="returns" jscontent="getTypeName(returns)" jstcache="25" style=" display: none; ">void</span> <!-- Note: intentionally longer 80 columns --> <spa n jscontent="getFullyQualifiedFunctionName($this)" jstcache="26">chrome.tabs.cre ate</span>(<span jsselect="parameters" jsvalues="class:optional ? 'optional' : ' '" jstcache="27" jsinstance="0" class="null"><span jsdisplay="$index" jstcache=" 33" style="display: none; ">, </span><span jscontent="getTypeName($this)" jstcac he="34">object</span> <var jstcache="0"><span jscontent="name" jstcache="16">cre ateProperties</span></var></span><span jsselect="parameters" jsvalues="class:opt ional ? 'optional' : ''" jstcache="27" jsinstance="*1" class="optional"><span js display="$index" jstcache="33">, </span><span jscontent="getTypeName($this)" jst cache="34">function</span> <var jstcache="0"><span jscontent="name" jstcache="16 ">callback</span></var></span>)</div> <div class="description" jstcache="0"> <p class="todo" jsdisplay="!description" jstcache="28">Undocumented.</p> <p jsdispl ay="description" jsvalues=".innerHTML:description" jstcache="29" style="display: none; "> A description from the json schema def of the function goes here. </p> <!-- PARAMETERS --> <h4 jstcache="0">Parameters</h4> <dl jstcache="0"> <div jss elect="parameters" jstcache="35" jsinstance="0"> <!-- VALUE: This is a subtempla te that is used elsewhere via jsTemplate *transclude* --> <div id="valueTemplate " jstcache="0"> <dt jstcache="0"> <var jsdisplay="$this.name" jscontent="$this.n ame" jstcache="45">createProperties</var> <em jstcache="0"> <!-- TYPE --> <div s tyle="display:inline" jstcache="0"> ( <span class="optional" jsdisplay="optional " jstcache="46" style="display: none; ">optional</span> <span id="typeTemplate" jstcache="0"> <span jsdisplay="getTypeRef($this)" jstcache="47" style="display: none; "> <a jsvalues=".href: getTypeRefPage($this) + '#type-' + getTypeRef($this )" jscontent="getTypeRef($this)" jstcache="49"> Type</a> </span> <span jsdisplay ="!getTypeRef($this)" jstcache="48"> <span jsdisplay="isArray($this)" jstcache=" 50" style="display: none; "> array of <span jsselect="items" jstcache="52"><span transclude="typeTemplate" jstcache="53"></span></span> </span> <span jsdisplay= "!isArray($this)" jscontent="getTypeName($this)" jstcache="51">object</span> </s pan> </span> ) </div> </em> </dt> <dd class="todo" jsdisplay="!$this.description " jstcache="42"> Undocumented. </dd> <dd jsdisplay="$this.description" jsvalues= ".innerHTML:$this.description" jstcache="43" style="display: none; "> Descriptio n of this parameter from the json schema. </dd> <!-- OBJECT PROPERTIES --> <dd j sdisplay="shouldExpandObject($this)" jstcache="44"> <dl jstcache="0"> <div jssel ect="getPropertyListFromObject($this)" jstcache="10" jsinstance="0"> <div jstcac he="0"> <dt jstcache="0"> <var jsdisplay="$this.name" jscontent="$this.name" jst cache="45">windowId</var> <em jstcache="0"> <!-- TYPE --> <div style="display:in line" jstcache="0"> ( <span class="optional" jsdisplay="optional" jstcache="46" style="">optional</span> <span id="typeTemplate" jstcache="0"> <span jsdisplay=" getTypeRef($this)" jstcache="47" style="display: none; "> <a jsvalues=".href: ge tTypeRefPage($this) + '#type-' + getTypeRef($this)" jscontent="getTypeRef($this) " jstcache="49"> Type</a> </span> <span jsdisplay="!getTypeRef($this)" jstcache= "48"> <span jsdisplay="isArray($this)" jstcache="50" style="display: none; "> ar ray of <span jsselect="items" jstcache="52"><span transclude="typeTemplate" jstc ache="53"></span></span> </span> <span jsdisplay="!isArray($this)" jscontent="ge tTypeName($this)" jstcache="51">integer</span> </span> </span> ) </div> </em> </ dt> <dd class="todo" jsdisplay="!$this.description" jstcache="42"> Undocumented. </dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.description" jstcache="43" style="display: none; "> Description of this parameter from the j son schema. </dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="shouldExpandObject($ this)" jstcache="44" style="display: none; "> <dl jstcache="0"> <div jsselect="g etPropertyListFromObject($this)" jstcache="10"> <div transclude="valueTemplate" jstcache="17"> </div> </div> </dl> </dd> </div> </div><div jsselect="getProperty ListFromObject($this)" jstcache="10" jsinstance="1"> <div jstcache="0"> <dt jstc ache="0"> <var jsdisplay="$this.name" jscontent="$this.name" jstcache="45">index </var> <em jstcache="0"> <!-- TYPE --> <div style="display:inline" jstcache="0"> ( <span class="optional" jsdisplay="optional" jstcache="46" style="">optional</ span> <span id="typeTemplate" jstcache="0"> <span jsdisplay="getTypeRef($this)" jstcache="47" style="display: none; "> <a jsvalues=".href: getTypeRefPage($this) + '#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="49"> Ty pe</a> </span> <span jsdisplay="!getTypeRef($this)" jstcache="48"> <span jsdispl ay="isArray($this)" jstcache="50" style="display: none; "> array of <span jssele ct="items" jstcache="52"><span transclude="typeTemplate" jstcache="53"></span></ span> </span> <span jsdisplay="!isArray($this)" jscontent="getTypeName($this)" j stcache="51">integer</span> </span> </span> ) </div> </em> </dt> <dd class="todo " jsdisplay="!$this.description" jstcache="42"> Undocumented. </dd> <dd jsdispla y="$this.description" jsvalues=".innerHTML:$this.description" jstcache="43" styl e="display: none; "> Description of this parameter from the json schema. </dd> < !-- OBJECT PROPERTIES --> <dd jsdisplay="shouldExpandObject($this)" jstcache="44 " style="display: none; "> <dl jstcache="0"> <div jsselect="getPropertyListFromO bject($this)" jstcache="10"> <div transclude="valueTemplate" jstcache="17"> </di v> </div> </dl> </dd> </div> </div><div jsselect="getPropertyListFromObject($thi s)" jstcache="10" jsinstance="2"> <div jstcache="0"> <dt jstcache="0"> <var jsdi splay="$this.name" jscontent="$this.name" jstcache="45">url</var> <em jstcache=" 0"> <!-- TYPE --> <div style="display:inline" jstcache="0"> ( <span class="optio nal" jsdisplay="optional" jstcache="46" style="">optional</span> <span id="typeT emplate" jstcache="0"> <span jsdisplay="getTypeRef($this)" jstcache="47" style=" display: none; "> <a jsvalues=".href: getTypeRefPage($this) + '#type-' + getType Ref($this)" jscontent="getTypeRef($this)" jstcache="49"> Type</a> </span> <span jsdisplay="!getTypeRef($this)" jstcache="48"> <span jsdisplay="isArray($this)" j stcache="50" style="display: none; "> array of <span jsselect="items" jstcache=" 52"><span transclude="typeTemplate" jstcache="53"></span></span> </span> <span j sdisplay="!isArray($this)" jscontent="getTypeName($this)" jstcache="51">string</ span> </span> </span> ) </div> </em> </dt> <dd class="todo" jsdisplay="!$this.de scription" jstcache="42"> Undocumented. </dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.description" jstcache="43" style="display: none; "> D escription of this parameter from the json schema. </dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="shouldExpandObject($this)" jstcache="44" style="display: none ; "> <dl jstcache="0"> <div jsselect="getPropertyListFromObject($this)" jstcache ="10"> <div transclude="valueTemplate" jstcache="17"> </div> </div> </dl> </dd> </div> </div><div jsselect="getPropertyListFromObject($this)" jstcache="10" jsin stance="*3"> <div jstcache="0"> <dt jstcache="0"> <var jsdisplay="$this.name" js content="$this.name" jstcache="45">selected</var> <em jstcache="0"> <!-- TYPE -- > <div style="display:inline" jstcache="0"> ( <span class="optional" jsdisplay=" optional" jstcache="46" style="">optional</span> <span id="typeTemplate" jstcach e="0"> <span jsdisplay="getTypeRef($this)" jstcache="47" style="display: none; " > <a jsvalues=".href: getTypeRefPage($this) + '#type-' + getTypeRef($this)" jsco ntent="getTypeRef($this)" jstcache="49"> Type</a> </span> <span jsdisplay="!getT ypeRef($this)" jstcache="48"> <span jsdisplay="isArray($this)" jstcache="50" sty le="display: none; "> array of <span jsselect="items" jstcache="52"><span transc lude="typeTemplate" jstcache="53"></span></span> </span> <span jsdisplay="!isArr ay($this)" jscontent="getTypeName($this)" jstcache="51">boolean</span> </span> < /span> ) </div> </em> </dt> <dd class="todo" jsdisplay="!$this.description" jstc ache="42"> Undocumented. </dd> <dd jsdisplay="$this.description" jsvalues=".inne rHTML:$this.description" jstcache="43" style="display: none; "> Description of t his parameter from the json schema. </dd> <!-- OBJECT PROPERTIES --> <dd jsdispl ay="shouldExpandObject($this)" jstcache="44" style="display: none; "> <dl jstcac he="0"> <div jsselect="getPropertyListFromObject($this)" jstcache="10"> <div tra nsclude="valueTemplate" jstcache="17"> </div> </div> </dl> </dd> </div> </div> < /dl> </dd> </div> <!-- /VALUE --> </div><div jsselect="parameters" jstcache="35" jsinstance="*1"> <!-- VALUE: This is a subtemplate that is used elsewhere via j sTemplate *transclude* --> <div id="valueTemplate" jstcache="0"> <dt jstcache="0 "> <var jsdisplay="$this.name" jscontent="$this.name" jstcache="45">callback</va r> <em jstcache="0"> <!-- TYPE --> <div style="display:inline" jstcache="0"> ( < span class="optional" jsdisplay="optional" jstcache="46">optional</span> <span i d="typeTemplate" jstcache="0"> <span jsdisplay="getTypeRef($this)" jstcache="47" style="display: none; "> <a jsvalues=".href: getTypeRefPage($this) + '#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="49"> Type</a> </span > <span jsdisplay="!getTypeRef($this)" jstcache="48"> <span jsdisplay="isArray($ this)" jstcache="50" style="display: none; "> array of <span jsselect="items" js tcache="52"><span transclude="typeTemplate" jstcache="53"></span></span> </span> <span jsdisplay="!isArray($this)" jscontent="getTypeName($this)" jstcache="51"> function</span> </span> </span> ) </div> </em> </dt> <dd class="todo" jsdisplay= "!$this.description" jstcache="42"> Undocumented. </dd> <dd jsdisplay="$this.des cription" jsvalues=".innerHTML:$this.description" jstcache="43" style="display: none; "> Description of this parameter from the json schema. </dd> <!-- OBJECT P ROPERTIES --> <dd jsdisplay="shouldExpandObject($this)" jstcache="44" style="dis play: none; "> <dl jstcache="0"> <div jsselect="getPropertyListFromObject($this) " jstcache="10"> <div transclude="valueTemplate" jstcache="17"> </div> </div> </ dl> </dd> </div> <!-- /VALUE --> </div> </dl> <!-- RETURNS --> <h4 jsdisplay="re turns" jstcache="30" style="display: none; ">Returns</h4> <dl jstcache="0"> <div jsselect="returns" jstcache="36" style="display: none; "> <div transclude="valu eTemplate" jstcache="17"> </div> </div> </dl> <!-- CALLBACK --> <div jsdisplay= "hasCallback(parameters)" jstcache="31"> <div jsselect="getCallbackParameters(pa rameters)" jstcache="37"> <h4 jstcache="0">Callback function</h4> <p jstcache="0 "> If you specify the <em jstcache="0">callback</em> parameter, it should specif y a function that looks like this: </p> <!-- Note: intentionally longer 80 colum ns --> <pre jstcache="0">function(<span jscontent="getSignatureString(parameters )" jstcache="32">Tab tab</span>) <span class="subdued" jstcache="0">{...}</span> );</pre> <dl jstcache="0"> <div jsselect="parameters" jstcache="35" jsinstance=" *0"> <div jstcache="0"> <dt jstcache="0"> <var jsdisplay="$this.name" jscontent= "$this.name" jstcache="45">tab</var> <em jstcache="0"> <!-- TYPE --> <div style= "display:inline" jstcache="0"> ( <span class="optional" jsdisplay="optional" jst cache="46" style="display: none; ">optional</span> <span id="typeTemplate" jstca che="0"> <span jsdisplay="getTypeRef($this)" jstcache="47" style=""> <a jsvalues =".href: getTypeRefPage($this) + '#type-' + getTypeRef($this)" jscontent="getTyp eRef($this)" jstcache="49" href="tabs.html#type-Tab">Tab</a> </span> <span jsdis play="!getTypeRef($this)" jstcache="48" style="display: none; "> <span jsdisplay ="isArray($this)" jstcache="50" style="display: none; "> array of <span jsselect ="items" jstcache="52"><span transclude="typeTemplate" jstcache="53"></span></sp an> </span> <span jsdisplay="!isArray($this)" jscontent="getTypeName($this)" jst cache="51">integer</span> </span> </span> ) </div> </em> </dt> <dd class="todo" jsdisplay="!$this.description" jstcache="42"> Undocumented. </dd> <dd jsdisplay= "$this.description" jsvalues=".innerHTML:$this.description" jstcache="43" style= "display: none; "> Description of this parameter from the json schema. </dd> <!- - OBJECT PROPERTIES --> <dd jsdisplay="shouldExpandObject($this)" jstcache="44" style="display: none; "> <dl jstcache="0"> <div jsselect="getPropertyListFromObj ect($this)" jstcache="10"> <div transclude="valueTemplate" jstcache="17"> </div> </div> </dl> </dd> </div> </div> </dl> </div> </div> </div> <!-- /description - -> </div><div class="apiItem" jsselect="functions" jstcache="11" jsinstance="5"> <a jsvalues=".name:'method-' + name" jstcache="18" name="method-update"></a> <! -- method-anchor --> <h3 jscontent="name" jstcache="16">update</h3> <div class=" summary" jstcache="0"><span jsdisplay="returns" jscontent="getTypeName(returns)" jstcache="25" style="display: none; ">void</span> <!-- Note: intentionally long er 80 columns --> <span jscontent="getFullyQualifiedFunctionName($this)" jstcach e="26">chrome.tabs.update</span>(<span jsselect="parameters" jsvalues="class:opt ional ? 'optional' : ''" jstcache="27" jsinstance="0" class="null"><span jsdispl ay="$index" jstcache="33" style="display: none; ">, </span><span jscontent="getT ypeName($this)" jstcache="34">integer</span> <var jstcache="0"><span jscontent=" name" jstcache="16">tabId</span></var></span><span jsselect="parameters" jsvalue s="class:optional ? 'optional' : ''" jstcache="27" jsinstance="1" class="null">< span jsdisplay="$index" jstcache="33">, </span><span jscontent="getTypeName($thi s)" jstcache="34">object</span> <var jstcache="0"><span jscontent="name" jstcach e="16">updateProperties</span></var></span><span jsselect="parameters" jsvalues= "class:optional ? 'optional' : ''" jstcache="27" jsinstance="*2" class="optional "><span jsdisplay="$index" jstcache="33">, </span><span jscontent="getTypeName($ this)" jstcache="34">function</span> <var jstcache="0"><span jscontent="name" js tcache="16">callback</span></var></span>)</div> <div class="description" jstcach e="0"> <p class="todo" jsdisplay="!description" jstcache="28">Undocumented.</p> <p jsdisplay="description" jsvalues=".innerHTML:description" jstcache="29" style ="display: none; "> A description from the json schema def of the function goes here. </p> <!-- PARAMETERS --> <h4 jstcache="0">Parameters</h4> <dl jstcache="0" > <div jsselect="parameters" jstcache="35" jsinstance="0"> <!-- VALUE: This is a subtemplate that is used elsewhere via jsTemplate *transclude* --> <div id="val ueTemplate" jstcache="0"> <dt jstcache="0"> <var jsdisplay="$this.name" jsconten t="$this.name" jstcache="45">tabId</var> <em jstcache="0"> <!-- TYPE --> <div st yle="display:inline" jstcache="0"> ( <span class="optional" jsdisplay="optional" jstcache="46" style="display: none; ">optional</span> <span id="typeTemplate" j stcache="0"> <span jsdisplay="getTypeRef($this)" jstcache="47" style="display: n one; "> <a jsvalues=".href: getTypeRefPage($this) + '#type-' + getTypeRef($this) " jscontent="getTypeRef($this)" jstcache="49"> Type</a> </span> <span jsdisplay= "!getTypeRef($this)" jstcache="48"> <span jsdisplay="isArray($this)" jstcache="5 0" style="display: none; "> array of <span jsselect="items" jstcache="52"><span transclude="typeTemplate" jstcache="53"></span></span> </span> <span jsdisplay=" !isArray($this)" jscontent="getTypeName($this)" jstcache="51">integer</span> </s pan> </span> ) </div> </em> </dt> <dd class="todo" jsdisplay="!$this.description " jstcache="42"> Undocumented. </dd> <dd jsdisplay="$this.description" jsvalues= ".innerHTML:$this.description" jstcache="43" style="display: none; "> Descriptio n of this parameter from the json schema. </dd> <!-- OBJECT PROPERTIES --> <dd j sdisplay="shouldExpandObject($this)" jstcache="44" style="display: none; "> <dl jstcache="0"> <div jsselect="getPropertyListFromObject($this)" jstcache="10"> <d iv transclude="valueTemplate" jstcache="17"> </div> </div> </dl> </dd> </div> <! -- /VALUE --> </div><div jsselect="parameters" jstcache="35" jsinstance="1"> <!- - VALUE: This is a subtemplate that is used elsewhere via jsTemplate *transclude * --> <div id="valueTemplate" jstcache="0"> <dt jstcache="0"> <var jsdisplay="$t his.name" jscontent="$this.name" jstcache="45">updateProperties</var> <em jstcac he="0"> <!-- TYPE --> <div style="display:inline" jstcache="0"> ( <span class="o ptional" jsdisplay="optional" jstcache="46" style="display: none; ">optional</sp an> <span id="typeTemplate" jstcache="0"> <span jsdisplay="getTypeRef($this)" js tcache="47" style="display: none; "> <a jsvalues=".href: getTypeRefPage($this) + '#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="49"> Type </a> </span> <span jsdisplay="!getTypeRef($this)" jstcache="48"> <span jsdisplay ="isArray($this)" jstcache="50" style="display: none; "> array of <span jsselect ="items" jstcache="52"><span transclude="typeTemplate" jstcache="53"></span></sp an> </span> <span jsdisplay="!isArray($this)" jscontent="getTypeName($this)" jst cache="51">object</span> </span> </span> ) </div> </em> </dt> <dd class="todo" j sdisplay="!$this.description" jstcache="42"> Undocumented. </dd> <dd jsdisplay=" $this.description" jsvalues=".innerHTML:$this.description" jstcache="43" style=" display: none; "> Description of this parameter from the json schema. </dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="shouldExpandObject($this)" jstcache="44"> <dl jstcache="0"> <div jsselect="getPropertyListFromObject($this)" jstcache="10" jsinstance="0"> <div jstcache="0"> <dt jstcache="0"> <var jsdisplay="$this.name " jscontent="$this.name" jstcache="45">url</var> <em jstcache="0"> <!-- TYPE --> <div style="display:inline" jstcache="0"> ( <span class="optional" jsdisplay="o ptional" jstcache="46" style="">optional</span> <span id="typeTemplate" jstcache ="0"> <span jsdisplay="getTypeRef($this)" jstcache="47" style="display: none; "> <a jsvalues=".href: getTypeRefPage($this) + '#type-' + getTypeRef($this)" jscon tent="getTypeRef($this)" jstcache="49"> Type</a> </span> <span jsdisplay="!getTy peRef($this)" jstcache="48"> <span jsdisplay="isArray($this)" jstcache="50" styl e="display: none; "> array of <span jsselect="items" jstcache="52"><span transcl ude="typeTemplate" jstcache="53"></span></span> </span> <span jsdisplay="!isArra y($this)" jscontent="getTypeName($this)" jstcache="51">string</span> </span> </s pan> ) </div> </em> </dt> <dd class="todo" jsdisplay="!$this.description" jstcac he="42"> Undocumented. </dd> <dd jsdisplay="$this.description" jsvalues=".innerH TML:$this.description" jstcache="43" style="display: none; "> Description of thi s parameter from the json schema. </dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay ="shouldExpandObject($this)" jstcache="44" style="display: none; "> <dl jstcache ="0"> <div jsselect="getPropertyListFromObject($this)" jstcache="10"> <div trans clude="valueTemplate" jstcache="17"> </div> </div> </dl> </dd> </div> </div><div jsselect="getPropertyListFromObject($this)" jstcache="10" jsinstance="*1"> <div jstcache="0"> <dt jstcache="0"> <var jsdisplay="$this.name" jscontent="$this.na me" jstcache="45">selected</var> <em jstcache="0"> <!-- TYPE --> <div style="dis play:inline" jstcache="0"> ( <span class="optional" jsdisplay="optional" jstcach e="46" style="">optional</span> <span id="typeTemplate" jstcache="0"> <span jsdi splay="getTypeRef($this)" jstcache="47" style="display: none; "> <a jsvalues=".h ref: getTypeRefPage($this) + '#type-' + getTypeRef($this)" jscontent="getTypeRef ($this)" jstcache="49"> Type</a> </span> <span jsdisplay="!getTypeRef($this)" js tcache="48"> <span jsdisplay="isArray($this)" jstcache="50" style="display: none ; "> array of <span jsselect="items" jstcache="52"><span transclude="typeTemplat e" jstcache="53"></span></span> </span> <span jsdisplay="!isArray($this)" jscont ent="getTypeName($this)" jstcache="51">boolean</span> </span> </span> ) </div> < /em> </dt> <dd class="todo" jsdisplay="!$this.description" jstcache="42"> Undocu mented. </dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.descr iption" jstcache="43" style="display: none; "> Description of this parameter fro m the json schema. </dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="shouldExpandO bject($this)" jstcache="44" style="display: none; "> <dl jstcache="0"> <div jsse lect="getPropertyListFromObject($this)" jstcache="10"> <div transclude="valueTem plate" jstcache="17"> </div> </div> </dl> </dd> </div> </div> </dl> </dd> </div> <!-- /VALUE --> </div><div jsselect="parameters" jstcache="35" jsinstance="*2"> <!-- VALUE: This is a subtemplate that is used elsewhere via jsTemplate *transc lude* --> <div id="valueTemplate" jstcache="0"> <dt jstcache="0"> <var jsdisplay ="$this.name" jscontent="$this.name" jstcache="45">callback</var> <em jstcache=" 0"> <!-- TYPE --> <div style="display:inline" jstcache="0"> ( <span class="optio nal" jsdisplay="optional" jstcache="46">optional</span> <span id="typeTemplate" jstcache="0"> <span jsdisplay="getTypeRef($this)" jstcache="47" style="display: none; "> <a jsvalues=".href: getTypeRefPage($this) + '#type-' + getTypeRef($this )" jscontent="getTypeRef($this)" jstcache="49"> Type</a> </span> <span jsdisplay ="!getTypeRef($this)" jstcache="48"> <span jsdisplay="isArray($this)" jstcache=" 50" style="display: none; "> array of <span jsselect="items" jstcache="52"><span transclude="typeTemplate" jstcache="53"></span></span> </span> <span jsdisplay= "!isArray($this)" jscontent="getTypeName($this)" jstcache="51">function</span> < /span> </span> ) </div> </em> </dt> <dd class="todo" jsdisplay="!$this.descripti on" jstcache="42"> Undocumented. </dd> <dd jsdisplay="$this.description" jsvalue s=".innerHTML:$this.description" jstcache="43" style="display: none; "> Descript ion of this parameter from the json schema. </dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="shouldExpandObject($this)" jstcache="44" style="display: none; "> <d l jstcache="0"> <div jsselect="getPropertyListFromObject($this)" jstcache="10"> <div transclude="valueTemplate" jstcache="17"> </div> </div> </dl> </dd> </div> <!-- /VALUE --> </div> </dl> <!-- RETURNS --> <h4 jsdisplay="returns" jstcache=" 30" style="display: none; ">Returns</h4> <dl jstcache="0"> <div jsselect="return s" jstcache="36" style="display: none; "> <div transclude="valueTemplate" jstcac he="17"> </div> </div> </dl> <!-- CALLBACK --> <div jsdisplay="hasCallback(par ameters)" jstcache="31"> <div jsselect="getCallbackParameters(parameters)" jstca che="37"> <h4 jstcache="0">Callback function</h4> <p jstcache="0"> If you specif y the <em jstcache="0">callback</em> parameter, it should specify a function tha t looks like this: </p> <!-- Note: intentionally longer 80 columns --> <pre jstc ache="0">function(<span jscontent="getSignatureString(parameters)" jstcache="32" ></span>) <span class="subdued" jstcache="0">{...}</span>);</pre> <dl jstcache=" 0"> <div jsselect="parameters" jstcache="35" jsinstance="*0" style="display: non e; "> <div transclude="valueTemplate" jstcache="17"> </div> </div> </dl> </div> </div> </div> <!-- /description --> </div><div class="apiItem" jsselect="functio ns" jstcache="11" jsinstance="6"> <a jsvalues=".name:'method-' + name" jstcache= "18" name="method-move"></a> <!-- method-anchor --> <h3 jscontent="name" jstcach e="16">move</h3> <div class="summary" jstcache="0"><span jsdisplay="returns" jsc ontent="getTypeName(returns)" jstcache="25" style="display: none; ">void</span> <!-- Note: intentionally longer 80 columns --> <span jscontent="getFullyQualifie dFunctionName($this)" jstcache="26">chrome.tabs.move</span>(<span jsselect="para meters" jsvalues="class:optional ? 'optional' : ''" jstcache="27" jsinstance="0" class="null"><span jsdisplay="$index" jstcache="33" style="display: none; ">, < /span><span jscontent="getTypeName($this)" jstcache="34">integer</span> <var jst cache="0"><span jscontent="name" jstcache="16">tabId</span></var></span><span js select="parameters" jsvalues="class:optional ? 'optional' : ''" jstcache="27" js instance="1" class="null"><span jsdisplay="$index" jstcache="33">, </span><span jscontent="getTypeName($this)" jstcache="34">object</span> <var jstcache="0"><sp an jscontent="name" jstcache="16">moveProperties</span></var></span><span jssele ct="parameters" jsvalues="class:optional ? 'optional' : ''" jstcache="27" jsinst ance="*2" class="optional"><span jsdisplay="$index" jstcache="33">, </span><span jscontent="getTypeName($this)" jstcache="34">function</span> <var jstcache="0"> <span jscontent="name" jstcache="16">callback</span></var></span>)</div> <div cl ass="description" jstcache="0"> <p class="todo" jsdisplay="!description" jstcach e="28">Undocumented.</p> <p jsdisplay="description" jsvalues=".innerHTML:descrip tion" jstcache="29" style="display: none; "> A description from the json schema def of the function goes here. </p> <!-- PARAMETERS --> <h4 jstcache="0">Paramet ers</h4> <dl jstcache="0"> <div jsselect="parameters" jstcache="35" jsinstance=" 0"> <!-- VALUE: This is a subtemplate that is used elsewhere via jsTemplate *tra nsclude* --> <div id="valueTemplate" jstcache="0"> <dt jstcache="0"> <var jsdisp lay="$this.name" jscontent="$this.name" jstcache="45">tabId</var> <em jstcache=" 0"> <!-- TYPE --> <div style="display:inline" jstcache="0"> ( <span class="optio nal" jsdisplay="optional" jstcache="46" style="display: none; ">optional</span> <span id="typeTemplate" jstcache="0"> <span jsdisplay="getTypeRef($this)" jstcac he="47" style="display: none; "> <a jsvalues=".href: getTypeRefPage($this) + '#t ype-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="49"> Type</a> </span> <span jsdisplay="!getTypeRef($this)" jstcache="48"> <span jsdisplay="is Array($this)" jstcache="50" style="display: none; "> array of <span jsselect="it ems" jstcache="52"><span transclude="typeTemplate" jstcache="53"></span></span> </span> <span jsdisplay="!isArray($this)" jscontent="getTypeName($this)" jstcach e="51">integer</span> </span> </span> ) </div> </em> </dt> <dd class="todo" jsdi splay="!$this.description" jstcache="42"> Undocumented. </dd> <dd jsdisplay="$th is.description" jsvalues=".innerHTML:$this.description" jstcache="43" style="dis play: none; "> Description of this parameter from the json schema. </dd> <!-- OB JECT PROPERTIES --> <dd jsdisplay="shouldExpandObject($this)" jstcache="44" styl e="display: none; "> <dl jstcache="0"> <div jsselect="getPropertyListFromObject( $this)" jstcache="10"> <div transclude="valueTemplate" jstcache="17"> </div> </d iv> </dl> </dd> </div> <!-- /VALUE --> </div><div jsselect="parameters" jstcache ="35" jsinstance="1"> <!-- VALUE: This is a subtemplate that is used elsewhere v ia jsTemplate *transclude* --> <div id="valueTemplate" jstcache="0"> <dt jstcach e="0"> <var jsdisplay="$this.name" jscontent="$this.name" jstcache="45">moveProp erties</var> <em jstcache="0"> <!-- TYPE --> <div style="display:inline" jstcach e="0"> ( <span class="optional" jsdisplay="optional" jstcache="46" style="displa y: none; ">optional</span> <span id="typeTemplate" jstcache="0"> <span jsdisplay ="getTypeRef($this)" jstcache="47" style="display: none; "> <a jsvalues=".href: getTypeRefPage($this) + '#type-' + getTypeRef($this)" jscontent="getTypeRef($thi s)" jstcache="49"> Type</a> </span> <span jsdisplay="!getTypeRef($this)" jstcach e="48"> <span jsdisplay="isArray($this)" jstcache="50" style="display: none; "> array of <span jsselect="items" jstcache="52"><span transclude="typeTemplate" js tcache="53"></span></span> </span> <span jsdisplay="!isArray($this)" jscontent=" getTypeName($this)" jstcache="51">object</span> </span> </span> ) </div> </em> < /dt> <dd class="todo" jsdisplay="!$this.description" jstcache="42"> Undocumented . </dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.description " jstcache="43" style="display: none; "> Description of this parameter from the json schema. </dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="shouldExpandObject( $this)" jstcache="44"> <dl jstcache="0"> <div jsselect="getPropertyListFromObjec t($this)" jstcache="10" jsinstance="0"> <div jstcache="0"> <dt jstcache="0"> <va r jsdisplay="$this.name" jscontent="$this.name" jstcache="45">windowId</var> <em jstcache="0"> <!-- TYPE --> <div style="display:inline" jstcache="0"> ( <span c lass="optional" jsdisplay="optional" jstcache="46" style="">optional</span> <spa n id="typeTemplate" jstcache="0"> <span jsdisplay="getTypeRef($this)" jstcache=" 47" style="display: none; "> <a jsvalues=".href: getTypeRefPage($this) + '#type- ' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="49"> Type</a> </s pan> <span jsdisplay="!getTypeRef($this)" jstcache="48"> <span jsdisplay="isArra y($this)" jstcache="50" style="display: none; "> array of <span jsselect="items" jstcache="52"><span transclude="typeTemplate" jstcache="53"></span></span> </sp an> <span jsdisplay="!isArray($this)" jscontent="getTypeName($this)" jstcache="5 1">integer</span> </span> </span> ) </div> </em> </dt> <dd class="todo" jsdispla y="!$this.description" jstcache="42"> Undocumented. </dd> <dd jsdisplay="$this.d escription" jsvalues=".innerHTML:$this.description" jstcache="43" style="display : none; "> Description of this parameter from the json schema. </dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="shouldExpandObject($this)" jstcache="44" style="d isplay: none; "> <dl jstcache="0"> <div jsselect="getPropertyListFromObject($thi s)" jstcache="10"> <div transclude="valueTemplate" jstcache="17"> </div> </div> </dl> </dd> </div> </div><div jsselect="getPropertyListFromObject($this)" jstcac he="10" jsinstance="*1"> <div jstcache="0"> <dt jstcache="0"> <var jsdisplay="$t his.name" jscontent="$this.name" jstcache="45">index</var> <em jstcache="0"> <!- - TYPE --> <div style="display:inline" jstcache="0"> ( <span class="optional" js display="optional" jstcache="46" style="display: none; ">optional</span> <span i d="typeTemplate" jstcache="0"> <span jsdisplay="getTypeRef($this)" jstcache="47" style="display: none; "> <a jsvalues=".href: getTypeRefPage($this) + '#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="49"> Type</a> </span > <span jsdisplay="!getTypeRef($this)" jstcache="48"> <span jsdisplay="isArray($ this)" jstcache="50" style="display: none; "> array of <span jsselect="items" js tcache="52"><span transclude="typeTemplate" jstcache="53"></span></span> </span> <span jsdisplay="!isArray($this)" jscontent="getTypeName($this)" jstcache="51"> integer</span> </span> </span> ) </div> </em> </dt> <dd class="todo" jsdisplay=" !$this.description" jstcache="42"> Undocumented. </dd> <dd jsdisplay="$this.desc ription" jsvalues=".innerHTML:$this.description" jstcache="43" style="display: n one; "> Description of this parameter from the json schema. </dd> <!-- OBJECT PR OPERTIES --> <dd jsdisplay="shouldExpandObject($this)" jstcache="44" style="disp lay: none; "> <dl jstcache="0"> <div jsselect="getPropertyListFromObject($this)" jstcache="10"> <div transclude="valueTemplate" jstcache="17"> </div> </div> </d l> </dd> </div> </div> </dl> </dd> </div> <!-- /VALUE --> </div><div jsselect="p arameters" jstcache="35" jsinstance="*2"> <!-- VALUE: This is a subtemplate that is used elsewhere via jsTemplate *transclude* --> <div id="valueTemplate" jstca che="0"> <dt jstcache="0"> <var jsdisplay="$this.name" jscontent="$this.name" js tcache="45">callback</var> <em jstcache="0"> <!-- TYPE --> <div style="display:i nline" jstcache="0"> ( <span class="optional" jsdisplay="optional" jstcache="46" >optional</span> <span id="typeTemplate" jstcache="0"> <span jsdisplay="getTypeR ef($this)" jstcache="47" style="display: none; "> <a jsvalues=".href: getTypeRef Page($this) + '#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcac he="49"> Type</a> </span> <span jsdisplay="!getTypeRef($this)" jstcache="48"> <s pan jsdisplay="isArray($this)" jstcache="50" style="display: none; "> array of < span jsselect="items" jstcache="52"><span transclude="typeTemplate" jstcache="53 "></span></span> </span> <span jsdisplay="!isArray($this)" jscontent="getTypeNam e($this)" jstcache="51">function</span> </span> </span> ) </div> </em> </dt> <dd class="todo" jsdisplay="!$this.description" jstcache="42"> Undocumented. </dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.description" jstcac he="43" style="display: none; "> Description of this parameter from the json sch ema. </dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="shouldExpandObject($this)" jstcache="44" style="display: none; "> <dl jstcache="0"> <div jsselect="getPrope rtyListFromObject($this)" jstcache="10"> <div transclude="valueTemplate" jstcach e="17"> </div> </div> </dl> </dd> </div> <!-- /VALUE --> </div> </dl> <!-- RETUR NS --> <h4 jsdisplay="returns" jstcache="30" style="display: none; ">Returns</h4 > <dl jstcache="0"> <div jsselect="returns" jstcache="36" style="display: none; "> <div transclude="valueTemplate" jstcache="17"> </div> </div> </dl> <!-- CALLB ACK --> <div jsdisplay="hasCallback(parameters)" jstcache="31"> <div jsselect=" getCallbackParameters(parameters)" jstcache="37"> <h4 jstcache="0">Callback func tion</h4> <p jstcache="0"> If you specify the <em jstcache="0">callback</em> par ameter, it should specify a function that looks like this: </p> <!-- Note: inten tionally longer 80 columns --> <pre jstcache="0">function(<span jscontent="getSi gnatureString(parameters)" jstcache="32"></span>) <span class="subdued" jstcache ="0">{...}</span>);</pre> <dl jstcache="0"> <div jsselect="parameters" jstcache= "35" jsinstance="*0" style="display: none; "> <div transclude="valueTemplate" js tcache="17"> </div> </div> </dl> </div> </div> </div> <!-- /description --> </di v><div class="apiItem" jsselect="functions" jstcache="11" jsinstance="7"> <a jsv alues=".name:'method-' + name" jstcache="18" name="method-remove"></a> <!-- meth od-anchor --> <h3 jscontent="name" jstcache="16">remove</h3> <div class="summary " jstcache="0"><span jsdisplay="returns" jscontent="getTypeName(returns)" jstcac he="25" style="display: none; ">void</span> <!-- Note: intentionally longer 80 c olumns --> <span jscontent="getFullyQualifiedFunctionName($this)" jstcache="26"> chrome.tabs.remove</span>(<span jsselect="parameters" jsvalues="class:optional ? 'optional' : ''" jstcache="27" jsinstance="0" class="optional"><span jsdisplay= "$index" jstcache="33" style="display: none; ">, </span><span jscontent="getType Name($this)" jstcache="34">integer</span> <var jstcache="0"><span jscontent="nam e" jstcache="16">tabId</span></var></span><span jsselect="parameters" jsvalues=" class:optional ? 'optional' : ''" jstcache="27" jsinstance="*1" class="optional" ><span jsdisplay="$index" jstcache="33">, </span><span jscontent="getTypeName($t his)" jstcache="34">function</span> <var jstcache="0"><span jscontent="name" jst cache="16">callback</span></var></span>)</div> <div class="description" jstcache ="0"> <p class="todo" jsdisplay="!description" jstcache="28">Undocumented.</p> < p jsdisplay="description" jsvalues=".innerHTML:description" jstcache="29" style= "display: none; "> A description from the json schema def of the function goes h ere. </p> <!-- PARAMETERS --> <h4 jstcache="0">Parameters</h4> <dl jstcache="0"> <div jsselect="parameters" jstcache="35" jsinstance="0"> <!-- VALUE: This is a subtemplate that is used elsewhere via jsTemplate *transclude* --> <div id="valu eTemplate" jstcache="0"> <dt jstcache="0"> <var jsdisplay="$this.name" jscontent ="$this.name" jstcache="45">tabId</var> <em jstcache="0"> <!-- TYPE --> <div sty le="display:inline" jstcache="0"> ( <span class="optional" jsdisplay="optional" jstcache="46">optional</span> <span id="typeTemplate" jstcache="0"> <span jsdisp lay="getTypeRef($this)" jstcache="47" style="display: none; "> <a jsvalues=".hre f: getTypeRefPage($this) + '#type-' + getTypeRef($this)" jscontent="getTypeRef($ this)" jstcache="49"> Type</a> </span> <span jsdisplay="!getTypeRef($this)" jstc ache="48"> <span jsdisplay="isArray($this)" jstcache="50" style="display: none; "> array of <span jsselect="items" jstcache="52"><span transclude="typeTemplate" jstcache="53"></span></span> </span> <span jsdisplay="!isArray($this)" jsconten t="getTypeName($this)" jstcache="51">integer</span> </span> </span> ) </div> </e m> </dt> <dd class="todo" jsdisplay="!$this.description" jstcache="42"> Undocume nted. </dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.descrip tion" jstcache="43" style="display: none; "> Description of this parameter from the json schema. </dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="shouldExpandObj ect($this)" jstcache="44" style="display: none; "> <dl jstcache="0"> <div jssele ct="getPropertyListFromObject($this)" jstcache="10"> <div transclude="valueTempl ate" jstcache="17"> </div> </div> </dl> </dd> </div> <!-- /VALUE --> </div><div jsselect="parameters" jstcache="35" jsinstance="*1"> <!-- VALUE: This is a subte mplate that is used elsewhere via jsTemplate *transclude* --> <div id="valueTemp late" jstcache="0"> <dt jstcache="0"> <var jsdisplay="$this.name" jscontent="$th is.name" jstcache="45">callback</var> <em jstcache="0"> <!-- TYPE --> <div style ="display:inline" jstcache="0"> ( <span class="optional" jsdisplay="optional" js tcache="46">optional</span> <span id="typeTemplate" jstcache="0"> <span jsdispla y="getTypeRef($this)" jstcache="47" style="display: none; "> <a jsvalues=".href: getTypeRefPage($this) + '#type-' + getTypeRef($this)" jscontent="getTypeRef($th is)" jstcache="49"> Type</a> </span> <span jsdisplay="!getTypeRef($this)" jstcac he="48"> <span jsdisplay="isArray($this)" jstcache="50" style="display: none; "> array of <span jsselect="items" jstcache="52"><span transclude="typeTemplate" j stcache="53"></span></span> </span> <span jsdisplay="!isArray($this)" jscontent= "getTypeName($this)" jstcache="51">function</span> </span> </span> ) </div> </em > </dt> <dd class="todo" jsdisplay="!$this.description" jstcache="42"> Undocumen ted. </dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.descript ion" jstcache="43" style="display: none; "> Description of this parameter from t he json schema. </dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="shouldExpandObje ct($this)" jstcache="44" style="display: none; "> <dl jstcache="0"> <div jsselec t="getPropertyListFromObject($this)" jstcache="10"> <div transclude="valueTempla te" jstcache="17"> </div> </div> </dl> </dd> </div> <!-- /VALUE --> </div> </dl> <!-- RETURNS --> <h4 jsdisplay="returns" jstcache="30" style="display: none; "> Returns</h4> <dl jstcache="0"> <div jsselect="returns" jstcache="36" style="disp lay: none; "> <div transclude="valueTemplate" jstcache="17"> </div> </div> </dl> <!-- CALLBACK --> <div jsdisplay="hasCallback(parameters)" jstcache="31"> <div jsselect="getCallbackParameters(parameters)" jstcache="37"> <h4 jstcache=" 0">Callback function</h4> <p jstcache="0"> If you specify the <em jstcache="0">c allback</em> parameter, it should specify a function that looks like this: </p> <!-- Note: intentionally longer 80 columns --> <pre jstcache="0">function(<span jscontent="getSignatureString(parameters)" jstcache="32"></span>) <span class="s ubdued" jstcache="0">{...}</span>);</pre> <dl jstcache="0"> <div jsselect="param eters" jstcache="35" jsinstance="*0" style="display: none; "> <div transclude="v alueTemplate" jstcache="17"> </div> </div> </dl> </div> </div> </div> <!-- /desc ription --> </div><div class="apiItem" jsselect="functions" jstcache="11" jsinst ance="8"> <a jsvalues=".name:'method-' + name" jstcache="18" name="method-detect Language"></a> <!-- method-anchor --> <h3 jscontent="name" jstcache="16">detectL anguage</h3> <div class="summary" jstcache="0"><span jsdisplay="returns" jsconte nt="getTypeName(returns)" jstcache="25" style="display: none; ">void</span> <!-- Note: intentionally longer 80 columns --> <span jscontent="getFullyQualifiedFun ctionName($this)" jstcache="26">chrome.tabs.detectLanguage</span>(<span jsselect ="parameters" jsvalues="class:optional ? 'optional' : ''" jstcache="27" jsinstan ce="0" class="optional"><span jsdisplay="$index" jstcache="33" style="display: n one; ">, </span><span jscontent="getTypeName($this)" jstcache="34">integer</span > <var jstcache="0"><span jscontent="name" jstcache="16">tabId</span></var></spa n><span jsselect="parameters" jsvalues="class:optional ? 'optional' : ''" jstcac he="27" jsinstance="*1" class="null"><span jsdisplay="$index" jstcache="33">, </ span><span jscontent="getTypeName($this)" jstcache="34">function</span> <var jst cache="0"><span jscontent="name" jstcache="16">callback</span></var></span>)</di v> <div class="description" jstcache="0"> <p class="todo" jsdisplay="!descriptio n" jstcache="28" style="display: none; ">Undocumented.</p> <p jsdisplay="descrip tion" jsvalues=".innerHTML:description" jstcache="29">detect language of tab.</p > <!-- PARAMETERS --> <h4 jstcache="0">Parameters</h4> <dl jstcache="0"> <div js select="parameters" jstcache="35" jsinstance="0"> <!-- VALUE: This is a subtempl ate that is used elsewhere via jsTemplate *transclude* --> <div id="valueTemplat e" jstcache="0"> <dt jstcache="0"> <var jsdisplay="$this.name" jscontent="$this. name" jstcache="45">tabId</var> <em jstcache="0"> <!-- TYPE --> <div style="disp lay:inline" jstcache="0"> ( <span class="optional" jsdisplay="optional" jstcache ="46">optional</span> <span id="typeTemplate" jstcache="0"> <span jsdisplay="get TypeRef($this)" jstcache="47" style="display: none; "> <a jsvalues=".href: getTy peRefPage($this) + '#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" j stcache="49"> Type</a> </span> <span jsdisplay="!getTypeRef($this)" jstcache="48 "> <span jsdisplay="isArray($this)" jstcache="50" style="display: none; "> array of <span jsselect="items" jstcache="52"><span transclude="typeTemplate" jstcach e="53"></span></span> </span> <span jsdisplay="!isArray($this)" jscontent="getTy peName($this)" jstcache="51">integer</span> </span> </span> ) </div> </em> </dt> <dd class="todo" jsdisplay="!$this.description" jstcache="42"> Undocumented. </ dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.description" js tcache="43" style="display: none; "> Description of this parameter from the json schema. </dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="shouldExpandObject($thi s)" jstcache="44" style="display: none; "> <dl jstcache="0"> <div jsselect="getP ropertyListFromObject($this)" jstcache="10"> <div transclude="valueTemplate" jst cache="17"> </div> </div> </dl> </dd> </div> <!-- /VALUE --> </div><div jsselect ="parameters" jstcache="35" jsinstance="*1"> <!-- VALUE: This is a subtemplate t hat is used elsewhere via jsTemplate *transclude* --> <div id="valueTemplate" js tcache="0"> <dt jstcache="0"> <var jsdisplay="$this.name" jscontent="$this.name" jstcache="45">callback</var> <em jstcache="0"> <!-- TYPE --> <div style="displa y:inline" jstcache="0"> ( <span class="optional" jsdisplay="optional" jstcache=" 46" style="display: none; ">optional</span> <span id="typeTemplate" jstcache="0" > <span jsdisplay="getTypeRef($this)" jstcache="47" style="display: none; "> <a jsvalues=".href: getTypeRefPage($this) + '#type-' + getTypeRef($this)" jscontent ="getTypeRef($this)" jstcache="49"> Type</a> </span> <span jsdisplay="!getTypeRe f($this)" jstcache="48"> <span jsdisplay="isArray($this)" jstcache="50" style="d isplay: none; "> array of <span jsselect="items" jstcache="52"><span transclude= "typeTemplate" jstcache="53"></span></span> </span> <span jsdisplay="!isArray($t his)" jscontent="getTypeName($this)" jstcache="51">function</span> </span> </spa n> ) </div> </em> </dt> <dd class="todo" jsdisplay="!$this.description" jstcache ="42"> Undocumented. </dd> <dd jsdisplay="$this.description" jsvalues=".innerHTM L:$this.description" jstcache="43" style="display: none; "> Description of this parameter from the json schema. </dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay=" shouldExpandObject($this)" jstcache="44" style="display: none; "> <dl jstcache=" 0"> <div jsselect="getPropertyListFromObject($this)" jstcache="10"> <div transcl ude="valueTemplate" jstcache="17"> </div> </div> </dl> </dd> </div> <!-- /VALUE --> </div> </dl> <!-- RETURNS --> <h4 jsdisplay="returns" jstcache="30" style="d isplay: none; ">Returns</h4> <dl jstcache="0"> <div jsselect="returns" jstcache= "36" style="display: none; "> <div transclude="valueTemplate" jstcache="17"> </d iv> </div> </dl> <!-- CALLBACK --> <div jsdisplay="hasCallback(parameters) " jstcache="31"> <div jsselect="getCallbackParameters(parameters)" jstcache="37" > <h4 jstcache="0">Callback function</h4> <p jstcache="0"> If you specify the <e m jstcache="0">callback</em> parameter, it should specify a function that looks like this: </p> <!-- Note: intentionally longer 80 columns --> <pre jstcache="0" >function(<span jscontent="getSignatureString(parameters)" jstcache="32">string language</span>) <span class="subdued" jstcache="0">{...}</span>);</pre> <dl jst cache="0"> <div jsselect="parameters" jstcache="35" jsinstance="*0"> <div jstcac he="0"> <dt jstcache="0"> <var jsdisplay="$this.name" jscontent="$this.name" jst cache="45">language</var> <em jstcache="0"> <!-- TYPE --> <div style="display:in line" jstcache="0"> ( <span class="optional" jsdisplay="optional" jstcache="46" style="display: none; ">optional</span> <span id="typeTemplate" jstcache="0"> <s pan jsdisplay="getTypeRef($this)" jstcache="47" style="display: none; "> <a jsva lues=".href: getTypeRefPage($this) + '#type-' + getTypeRef($this)" jscontent="ge tTypeRef($this)" jstcache="49"> Type</a> </span> <span jsdisplay="!getTypeRef($t his)" jstcache="48"> <span jsdisplay="isArray($this)" jstcache="50" style="displ ay: none; "> array of <span jsselect="items" jstcache="52"><span transclude="typ eTemplate" jstcache="53"></span></span> </span> <span jsdisplay="!isArray($this) " jscontent="getTypeName($this)" jstcache="51">string</span> </span> </span> ) < /div> </em> </dt> <dd class="todo" jsdisplay="!$this.description" jstcache="42"> Undocumented. </dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML:$thi s.description" jstcache="43" style="display: none; "> Description of this parame ter from the json schema. </dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="should ExpandObject($this)" jstcache="44" style="display: none; "> <dl jstcache="0"> <d iv jsselect="getPropertyListFromObject($this)" jstcache="10"> <div transclude="v alueTemplate" jstcache="17"> </div> </div> </dl> </dd> </div> </div> </dl> </div > </div> </div> <!-- /description --> </div><div class="apiItem" jsselect="funct ions" jstcache="11" jsinstance="*9"> <a jsvalues=".name:'method-' + name" jstcac he="18" name="method-captureVisibleTab"></a> <!-- method-anchor --> <h3 jsconten t="name" jstcache="16">captureVisibleTab</h3> <div class="summary" jstcache="0"> <span jsdisplay="returns" jscontent="getTypeName(returns)" jstcache="25" style=" display: none; ">void</span> <!-- Note: intentionally longer 80 columns --> <spa n jscontent="getFullyQualifiedFunctionName($this)" jstcache="26">chrome.tabs.cap tureVisibleTab</span>(<span jsselect="parameters" jsvalues="class:optional ? 'op tional' : ''" jstcache="27" jsinstance="0" class="optional"><span jsdisplay="$in dex" jstcache="33" style="display: none; ">, </span><span jscontent="getTypeName ($this)" jstcache="34">integer</span> <var jstcache="0"><span jscontent="name" j stcache="16">windowId</span></var></span><span jsselect="parameters" jsvalues="c lass:optional ? 'optional' : ''" jstcache="27" jsinstance="*1" class="null"><spa n jsdisplay="$index" jstcache="33">, </span><span jscontent="getTypeName($this)" jstcache="34">function</span> <var jstcache="0"><span jscontent="name" jstcache ="16">callback</span></var></span>)</div> <div class="description" jstcache="0"> <p class="todo" jsdisplay="!description" jstcache="28" style="display: none; "> Undocumented.</p> <p jsdisplay="description" jsvalues=".innerHTML:description" j stcache="29">Captures the visible area of the visible tab in the given window.</ p> <!-- PARAMETERS --> <h4 jstcache="0">Parameters</h4> <dl jstcache="0"> <div j sselect="parameters" jstcache="35" jsinstance="0"> <!-- VALUE: This is a subtemp late that is used elsewhere via jsTemplate *transclude* --> <div id="valueTempla te" jstcache="0"> <dt jstcache="0"> <var jsdisplay="$this.name" jscontent="$this .name" jstcache="45">windowId</var> <em jstcache="0"> <!-- TYPE --> <div style=" display:inline" jstcache="0"> ( <span class="optional" jsdisplay="optional" jstc ache="46">optional</span> <span id="typeTemplate" jstcache="0"> <span jsdisplay= "getTypeRef($this)" jstcache="47" style="display: none; "> <a jsvalues=".href: g etTypeRefPage($this) + '#type-' + getTypeRef($this)" jscontent="getTypeRef($this )" jstcache="49"> Type</a> </span> <span jsdisplay="!getTypeRef($this)" jstcache ="48"> <span jsdisplay="isArray($this)" jstcache="50" style="display: none; "> a rray of <span jsselect="items" jstcache="52"><span transclude="typeTemplate" jst cache="53"></span></span> </span> <span jsdisplay="!isArray($this)" jscontent="g etTypeName($this)" jstcache="51">integer</span> </span> </span> ) </div> </em> < /dt> <dd class="todo" jsdisplay="!$this.description" jstcache="42" style="displa y: none; "> Undocumented. </dd> <dd jsdisplay="$this.description" jsvalues=".inn erHTML:$this.description" jstcache="43">The target window. If <var jstcache="0"> null</var> or <var jstcache="0">undefined</var>, the 'current' window will be as sumed.</dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="shouldExpandObject($this)" jstcache="44" style="display: none; "> <dl jstcache="0"> <div jsselect="getProp ertyListFromObject($this)" jstcache="10"> <div transclude="valueTemplate" jstcac he="17"> </div> </div> </dl> </dd> </div> <!-- /VALUE --> </div><div jsselect="p arameters" jstcache="35" jsinstance="*1"> <!-- VALUE: This is a subtemplate that is used elsewhere via jsTemplate *transclude* --> <div id="valueTemplate" jstca che="0"> <dt jstcache="0"> <var jsdisplay="$this.name" jscontent="$this.name" js tcache="45">callback</var> <em jstcache="0"> <!-- TYPE --> <div style="display:i nline" jstcache="0"> ( <span class="optional" jsdisplay="optional" jstcache="46" style="display: none; ">optional</span> <span id="typeTemplate" jstcache="0"> < span jsdisplay="getTypeRef($this)" jstcache="47" style="display: none; "> <a jsv alues=".href: getTypeRefPage($this) + '#type-' + getTypeRef($this)" jscontent="g etTypeRef($this)" jstcache="49"> Type</a> </span> <span jsdisplay="!getTypeRef($ this)" jstcache="48"> <span jsdisplay="isArray($this)" jstcache="50" style="disp lay: none; "> array of <span jsselect="items" jstcache="52"><span transclude="ty peTemplate" jstcache="53"></span></span> </span> <span jsdisplay="!isArray($this )" jscontent="getTypeName($this)" jstcache="51">function</span> </span> </span> ) </div> </em> </dt> <dd class="todo" jsdisplay="!$this.description" jstcache="4 2"> Undocumented. </dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML:$ this.description" jstcache="43" style="display: none; "> Description of this par ameter from the json schema. </dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="sho uldExpandObject($this)" jstcache="44" style="display: none; "> <dl jstcache="0"> <div jsselect="getPropertyListFromObject($this)" jstcache="10"> <div transclude ="valueTemplate" jstcache="17"> </div> </div> </dl> </dd> </div> <!-- /VALUE --> </div> </dl> <!-- RETURNS --> <h4 jsdisplay="returns" jstcache="30" style="disp lay: none; ">Returns</h4> <dl jstcache="0"> <div jsselect="returns" jstcache="36 " style="display: none; "> <div transclude="valueTemplate" jstcache="17"> </div> </div> </dl> <!-- CALLBACK --> <div jsdisplay="hasCallback(parameters)" jstcac he="31"> <div jsselect="getCallbackParameters(parameters)" jstcache="37"> <h4 js tcache="0">Callback function</h4> <p jstcache="0"> If you specify the <em jstcac he="0">callback</em> parameter, it should specify a function that looks like thi s: </p> <!-- Note: intentionally longer 80 columns --> <pre jstcache="0">functio n(<span jscontent="getSignatureString(parameters)" jstcache="32">string dataUrl< /span>) <span class="subdued" jstcache="0">{...}</span>);</pre> <dl jstcache="0" > <div jsselect="parameters" jstcache="35" jsinstance="*0"> <div jstcache="0"> < dt jstcache="0"> <var jsdisplay="$this.name" jscontent="$this.name" jstcache="45 ">dataUrl</var> <em jstcache="0"> <!-- TYPE --> <div style="display:inline" jstc ache="0"> ( <span class="optional" jsdisplay="optional" jstcache="46" style="dis play: none; ">optional</span> <span id="typeTemplate" jstcache="0"> <span jsdisp lay="getTypeRef($this)" jstcache="47" style="display: none; "> <a jsvalues=".hre f: getTypeRefPage($this) + '#type-' + getTypeRef($this)" jscontent="getTypeRef($ this)" jstcache="49"> Type</a> </span> <span jsdisplay="!getTypeRef($this)" jstc ache="48"> <span jsdisplay="isArray($this)" jstcache="50" style="display: none; "> array of <span jsselect="items" jstcache="52"><span transclude="typeTemplate" jstcache="53"></span></span> </span> <span jsdisplay="!isArray($this)" jsconten t="getTypeName($this)" jstcache="51">string</span> </span> </span> ) </div> </em > </dt> <dd class="todo" jsdisplay="!$this.description" jstcache="42" style="dis play: none; "> Undocumented. </dd> <dd jsdisplay="$this.description" jsvalues=". innerHTML:$this.description" jstcache="43" style="">a data url encoding of the c aptured tab.</dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="shouldExpandObject($ this)" jstcache="44" style="display: none; "> <dl jstcache="0"> <div jsselect="g etPropertyListFromObject($this)" jstcache="10"> <div transclude="valueTemplate" jstcache="17"> </div> </div> </dl> </dd> </div> </div> </dl> </div> </div> </div > <!-- /description --> </div> <!-- /apiItem --> </div> <!-- /apiGroup --> <!-- EVENTS --> <div jsdisplay="events &amp;&amp; events.length &gt; 0" class="apiGro up" jstcache="7"> <a name="#events" jstcache="0"></a> <h2 id="events" jstcache=" 0">Events</h2> <!-- iterates over all events --> <div jsselect="events" class="a piItem" jstcache="12" jsinstance="0"> <a jsvalues=".name:'event-' + name" jstcac he="19" name="event-onCreated"></a> <h3 jscontent="name" jstcache="16">onCreated </h3> <div class="summary" jstcache="0"> <!-- Note: intentionally longer 80 colu mns --> <span jscontent="getModuleName() + '.'" class="subdued" jstcache="23">ch rome.tabs.</span><span jscontent="name" jstcache="16">onCreated</span><span clas s="subdued" jstcache="0">.addListener</span>(function(<span jscontent="getSignat ureString(parameters)" jstcache="32">Tab tab</span>) <span class="subdued" jstca che="0">{...}</span>); </div> <div class="description" jstcache="0"> <p class="t odo" jsdisplay="!description" jstcache="28">Undocumented.</p> <p jsdisplay="desc ription" jsvalues=".innerHTML:description" jstcache="29" style="display: none; " > A description from the json schema def of the event goes here. </p> <!-- PARAM ETERS --> <h4 jstcache="0">Parameters</h4> <dl jstcache="0"> <div jsselect="para meters" jstcache="35" jsinstance="*0"> <div jstcache="0"> <dt jstcache="0"> <var jsdisplay="$this.name" jscontent="$this.name" jstcache="45">tab</var> <em jstca che="0"> <!-- TYPE --> <div style="display:inline" jstcache="0"> ( <span class=" optional" jsdisplay="optional" jstcache="46" style="display: none; ">optional</s pan> <span id="typeTemplate" jstcache="0"> <span jsdisplay="getTypeRef($this)" j stcache="47" style=""> <a jsvalues=".href: getTypeRefPage($this) + '#type-' + ge tTypeRef($this)" jscontent="getTypeRef($this)" jstcache="49" href="tabs.html#typ e-Tab">Tab</a> </span> <span jsdisplay="!getTypeRef($this)" jstcache="48" style= "display: none; "> <span jsdisplay="isArray($this)" jstcache="50" style="display : none; "> array of <span jsselect="items" jstcache="52"><span transclude="typeT emplate" jstcache="53"></span></span> </span> <span jsdisplay="!isArray($this)" jscontent="getTypeName($this)" jstcache="51">integer</span> </span> </span> ) </ div> </em> </dt> <dd class="todo" jsdisplay="!$this.description" jstcache="42"> Undocumented. </dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this .description" jstcache="43" style="display: none; "> Description of this paramet er from the json schema. </dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="shouldE xpandObject($this)" jstcache="44" style="display: none; "> <dl jstcache="0"> <di v jsselect="getPropertyListFromObject($this)" jstcache="10"> <div transclude="va lueTemplate" jstcache="17"> </div> </div> </dl> </dd> </div> </div> </dl> </div> <!-- /decription --> </div><div jsselect="events" class="apiItem" jstcache="12" jsinstance="1"> <a jsvalues=".name:'event-' + name" jstcache="19" name="event-o nUpdated"></a> <h3 jscontent="name" jstcache="16">onUpdated</h3> <div class="sum mary" jstcache="0"> <!-- Note: intentionally longer 80 columns --> <span jsconte nt="getModuleName() + '.'" class="subdued" jstcache="23">chrome.tabs.</span><spa n jscontent="name" jstcache="16">onUpdated</span><span class="subdued" jstcache= "0">.addListener</span>(function(<span jscontent="getSignatureString(parameters) " jstcache="32">integer tabId, object changedProps</span>) <span class="subdued" jstcache="0">{...}</span>); </div> <div class="description" jstcache="0"> <p cl ass="todo" jsdisplay="!description" jstcache="28">Undocumented.</p> <p jsdisplay ="description" jsvalues=".innerHTML:description" jstcache="29" style="display: n one; "> A description from the json schema def of the event goes here. </p> <!-- PARAMETERS --> <h4 jstcache="0">Parameters</h4> <dl jstcache="0"> <div jsselect ="parameters" jstcache="35" jsinstance="0"> <div jstcache="0"> <dt jstcache="0"> <var jsdisplay="$this.name" jscontent="$this.name" jstcache="45">tabId</var> <e m jstcache="0"> <!-- TYPE --> <div style="display:inline" jstcache="0"> ( <span class="optional" jsdisplay="optional" jstcache="46" style="display: none; ">opti onal</span> <span id="typeTemplate" jstcache="0"> <span jsdisplay="getTypeRef($t his)" jstcache="47" style="display: none; "> <a jsvalues=".href: getTypeRefPage( $this) + '#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="4 9"> Type</a> </span> <span jsdisplay="!getTypeRef($this)" jstcache="48"> <span j sdisplay="isArray($this)" jstcache="50" style="display: none; "> array of <span jsselect="items" jstcache="52"><span transclude="typeTemplate" jstcache="53"></s pan></span> </span> <span jsdisplay="!isArray($this)" jscontent="getTypeName($th is)" jstcache="51">integer</span> </span> </span> ) </div> </em> </dt> <dd class ="todo" jsdisplay="!$this.description" jstcache="42"> Undocumented. </dd> <dd js display="$this.description" jsvalues=".innerHTML:$this.description" jstcache="43 " style="display: none; "> Description of this parameter from the json schema. < /dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="shouldExpandObject($this)" jstcac he="44" style="display: none; "> <dl jstcache="0"> <div jsselect="getPropertyLis tFromObject($this)" jstcache="10"> <div transclude="valueTemplate" jstcache="17" > </div> </div> </dl> </dd> </div> </div><div jsselect="parameters" jstcache="35 " jsinstance="*1"> <div jstcache="0"> <dt jstcache="0"> <var jsdisplay="$this.na me" jscontent="$this.name" jstcache="45">changedProps</var> <em jstcache="0"> <! -- TYPE --> <div style="display:inline" jstcache="0"> ( <span class="optional" j sdisplay="optional" jstcache="46" style="display: none; ">optional</span> <span id="typeTemplate" jstcache="0"> <span jsdisplay="getTypeRef($this)" jstcache="47 " style="display: none; "> <a jsvalues=".href: getTypeRefPage($this) + '#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="49"> Type</a> </spa n> <span jsdisplay="!getTypeRef($this)" jstcache="48"> <span jsdisplay="isArray( $this)" jstcache="50" style="display: none; "> array of <span jsselect="items" j stcache="52"><span transclude="typeTemplate" jstcache="53"></span></span> </span > <span jsdisplay="!isArray($this)" jscontent="getTypeName($this)" jstcache="51" >object</span> </span> </span> ) </div> </em> </dt> <dd class="todo" jsdisplay=" !$this.description" jstcache="42"> Undocumented. </dd> <dd jsdisplay="$this.desc ription" jsvalues=".innerHTML:$this.description" jstcache="43" style="display: n one; "> Description of this parameter from the json schema. </dd> <!-- OBJECT PR OPERTIES --> <dd jsdisplay="shouldExpandObject($this)" jstcache="44" style=""> < dl jstcache="0"> <div jsselect="getPropertyListFromObject($this)" jstcache="10" jsinstance="0"> <div jstcache="0"> <dt jstcache="0"> <var jsdisplay="$this.name" jscontent="$this.name" jstcache="45">tabId</var> <em jstcache="0"> <!-- TYPE -- > <div style="display:inline" jstcache="0"> ( <span class="optional" jsdisplay=" optional" jstcache="46" style="display: none; ">optional</span> <span id="typeTe mplate" jstcache="0"> <span jsdisplay="getTypeRef($this)" jstcache="47" style="d isplay: none; "> <a jsvalues=".href: getTypeRefPage($this) + '#type-' + getTypeR ef($this)" jscontent="getTypeRef($this)" jstcache="49"> Type</a> </span> <span j sdisplay="!getTypeRef($this)" jstcache="48"> <span jsdisplay="isArray($this)" js tcache="50" style="display: none; "> array of <span jsselect="items" jstcache="5 2"><span transclude="typeTemplate" jstcache="53"></span></span> </span> <span js display="!isArray($this)" jscontent="getTypeName($this)" jstcache="51">integer</ span> </span> </span> ) </div> </em> </dt> <dd class="todo" jsdisplay="!$this.de scription" jstcache="42"> Undocumented. </dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.description" jstcache="43" style="display: none; "> D escription of this parameter from the json schema. </dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="shouldExpandObject($this)" jstcache="44" style="display: none ; "> <dl jstcache="0"> <div jsselect="getPropertyListFromObject($this)" jstcache ="10"> <div transclude="valueTemplate" jstcache="17"> </div> </div> </dl> </dd> </div> </div><div jsselect="getPropertyListFromObject($this)" jstcache="10" jsin stance="1"> <div jstcache="0"> <dt jstcache="0"> <var jsdisplay="$this.name" jsc ontent="$this.name" jstcache="45">status</var> <em jstcache="0"> <!-- TYPE --> < div style="display:inline" jstcache="0"> ( <span class="optional" jsdisplay="opt ional" jstcache="46" style="display: none; ">optional</span> <span id="typeTempl ate" jstcache="0"> <span jsdisplay="getTypeRef($this)" jstcache="47" style="disp lay: none; "> <a jsvalues=".href: getTypeRefPage($this) + '#type-' + getTypeRef( $this)" jscontent="getTypeRef($this)" jstcache="49"> Type</a> </span> <span jsdi splay="!getTypeRef($this)" jstcache="48"> <span jsdisplay="isArray($this)" jstca che="50" style="display: none; "> array of <span jsselect="items" jstcache="52"> <span transclude="typeTemplate" jstcache="53"></span></span> </span> <span jsdis play="!isArray($this)" jscontent="getTypeName($this)" jstcache="51">string</span > </span> </span> ) </div> </em> </dt> <dd class="todo" jsdisplay="!$this.descri ption" jstcache="42"> Undocumented. </dd> <dd jsdisplay="$this.description" jsva lues=".innerHTML:$this.description" jstcache="43" style="display: none; "> Descr iption of this parameter from the json schema. </dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="shouldExpandObject($this)" jstcache="44" style="display: none; "> <dl jstcache="0"> <div jsselect="getPropertyListFromObject($this)" jstcache="10 "> <div transclude="valueTemplate" jstcache="17"> </div> </div> </dl> </dd> </di v> </div><div jsselect="getPropertyListFromObject($this)" jstcache="10" jsinstan ce="*2"> <div jstcache="0"> <dt jstcache="0"> <var jsdisplay="$this.name" jscont ent="$this.name" jstcache="45">url</var> <em jstcache="0"> <!-- TYPE --> <div st yle="display:inline" jstcache="0"> ( <span class="optional" jsdisplay="optional" jstcache="46" style="">optional</span> <span id="typeTemplate" jstcache="0"> <s pan jsdisplay="getTypeRef($this)" jstcache="47" style="display: none; "> <a jsva lues=".href: getTypeRefPage($this) + '#type-' + getTypeRef($this)" jscontent="ge tTypeRef($this)" jstcache="49"> Type</a> </span> <span jsdisplay="!getTypeRef($t his)" jstcache="48"> <span jsdisplay="isArray($this)" jstcache="50" style="displ ay: none; "> array of <span jsselect="items" jstcache="52"><span transclude="typ eTemplate" jstcache="53"></span></span> </span> <span jsdisplay="!isArray($this) " jscontent="getTypeName($this)" jstcache="51">string</span> </span> </span> ) < /div> </em> </dt> <dd class="todo" jsdisplay="!$this.description" jstcache="42"> Undocumented. </dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML:$thi s.description" jstcache="43" style="display: none; "> Description of this parame ter from the json schema. </dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="should ExpandObject($this)" jstcache="44" style="display: none; "> <dl jstcache="0"> <d iv jsselect="getPropertyListFromObject($this)" jstcache="10"> <div transclude="v alueTemplate" jstcache="17"> </div> </div> </dl> </dd> </div> </div> </dl> </dd> </div> </div> </dl> </div> <!-- /decription --> </div><div jsselect="events" cl ass="apiItem" jstcache="12" jsinstance="2"> <a jsvalues=".name:'event-' + name" jstcache="19" name="event-onMoved"></a> <h3 jscontent="name" jstcache="16">onMov ed</h3> <div class="summary" jstcache="0"> <!-- Note: intentionally longer 80 co lumns --> <span jscontent="getModuleName() + '.'" class="subdued" jstcache="23"> chrome.tabs.</span><span jscontent="name" jstcache="16">onMoved</span><span clas s="subdued" jstcache="0">.addListener</span>(function(<span jscontent="getSignat ureString(parameters)" jstcache="32">integer tabId, object MoveInfo</span>) <spa n class="subdued" jstcache="0">{...}</span>); </div> <div class="description" js tcache="0"> <p class="todo" jsdisplay="!description" jstcache="28">Undocumented. </p> <p jsdisplay="description" jsvalues=".innerHTML:description" jstcache="29" style="display: none; "> A description from the json schema def of the event goe s here. </p> <!-- PARAMETERS --> <h4 jstcache="0">Parameters</h4> <dl jstcache=" 0"> <div jsselect="parameters" jstcache="35" jsinstance="0"> <div jstcache="0"> <dt jstcache="0"> <var jsdisplay="$this.name" jscontent="$this.name" jstcache="4 5">tabId</var> <em jstcache="0"> <!-- TYPE --> <div style="display:inline" jstca che="0"> ( <span class="optional" jsdisplay="optional" jstcache="46" style="disp lay: none; ">optional</span> <span id="typeTemplate" jstcache="0"> <span jsdispl ay="getTypeRef($this)" jstcache="47" style="display: none; "> <a jsvalues=".href : getTypeRefPage($this) + '#type-' + getTypeRef($this)" jscontent="getTypeRef($t his)" jstcache="49"> Type</a> </span> <span jsdisplay="!getTypeRef($this)" jstca che="48"> <span jsdisplay="isArray($this)" jstcache="50" style="display: none; " > array of <span jsselect="items" jstcache="52"><span transclude="typeTemplate" jstcache="53"></span></span> </span> <span jsdisplay="!isArray($this)" jscontent ="getTypeName($this)" jstcache="51">integer</span> </span> </span> ) </div> </em > </dt> <dd class="todo" jsdisplay="!$this.description" jstcache="42"> Undocumen ted. </dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.descript ion" jstcache="43" style="display: none; "> Description of this parameter from t he json schema. </dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="shouldExpandObje ct($this)" jstcache="44" style="display: none; "> <dl jstcache="0"> <div jsselec t="getPropertyListFromObject($this)" jstcache="10"> <div transclude="valueTempla te" jstcache="17"> </div> </div> </dl> </dd> </div> </div><div jsselect="paramet ers" jstcache="35" jsinstance="*1"> <div jstcache="0"> <dt jstcache="0"> <var js display="$this.name" jscontent="$this.name" jstcache="45">MoveInfo</var> <em jst cache="0"> <!-- TYPE --> <div style="display:inline" jstcache="0"> ( <span class ="optional" jsdisplay="optional" jstcache="46" style="display: none; ">optional< /span> <span id="typeTemplate" jstcache="0"> <span jsdisplay="getTypeRef($this)" jstcache="47" style="display: none; "> <a jsvalues=".href: getTypeRefPage($this ) + '#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="49"> T ype</a> </span> <span jsdisplay="!getTypeRef($this)" jstcache="48"> <span jsdisp lay="isArray($this)" jstcache="50" style="display: none; "> array of <span jssel ect="items" jstcache="52"><span transclude="typeTemplate" jstcache="53"></span>< /span> </span> <span jsdisplay="!isArray($this)" jscontent="getTypeName($this)" jstcache="51">object</span> </span> </span> ) </div> </em> </dt> <dd class="todo " jsdisplay="!$this.description" jstcache="42"> Undocumented. </dd> <dd jsdispla y="$this.description" jsvalues=".innerHTML:$this.description" jstcache="43" styl e="display: none; "> Description of this parameter from the json schema. </dd> < !-- OBJECT PROPERTIES --> <dd jsdisplay="shouldExpandObject($this)" jstcache="44 " style=""> <dl jstcache="0"> <div jsselect="getPropertyListFromObject($this)" j stcache="10" jsinstance="0"> <div jstcache="0"> <dt jstcache="0"> <var jsdisplay ="$this.name" jscontent="$this.name" jstcache="45">windowId</var> <em jstcache=" 0"> <!-- TYPE --> <div style="display:inline" jstcache="0"> ( <span class="optio nal" jsdisplay="optional" jstcache="46" style="display: none; ">optional</span> <span id="typeTemplate" jstcache="0"> <span jsdisplay="getTypeRef($this)" jstcac he="47" style="display: none; "> <a jsvalues=".href: getTypeRefPage($this) + '#t ype-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="49"> Type</a> </span> <span jsdisplay="!getTypeRef($this)" jstcache="48"> <span jsdisplay="is Array($this)" jstcache="50" style="display: none; "> array of <span jsselect="it ems" jstcache="52"><span transclude="typeTemplate" jstcache="53"></span></span> </span> <span jsdisplay="!isArray($this)" jscontent="getTypeName($this)" jstcach e="51">integer</span> </span> </span> ) </div> </em> </dt> <dd class="todo" jsdi splay="!$this.description" jstcache="42"> Undocumented. </dd> <dd jsdisplay="$th is.description" jsvalues=".innerHTML:$this.description" jstcache="43" style="dis play: none; "> Description of this parameter from the json schema. </dd> <!-- OB JECT PROPERTIES --> <dd jsdisplay="shouldExpandObject($this)" jstcache="44" styl e="display: none; "> <dl jstcache="0"> <div jsselect="getPropertyListFromObject( $this)" jstcache="10"> <div transclude="valueTemplate" jstcache="17"> </div> </d iv> </dl> </dd> </div> </div><div jsselect="getPropertyListFromObject($this)" js tcache="10" jsinstance="1"> <div jstcache="0"> <dt jstcache="0"> <var jsdisplay= "$this.name" jscontent="$this.name" jstcache="45">fromIndex</var> <em jstcache=" 0"> <!-- TYPE --> <div style="display:inline" jstcache="0"> ( <span class="optio nal" jsdisplay="optional" jstcache="46" style="display: none; ">optional</span> <span id="typeTemplate" jstcache="0"> <span jsdisplay="getTypeRef($this)" jstcac he="47" style="display: none; "> <a jsvalues=".href: getTypeRefPage($this) + '#t ype-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="49"> Type</a> </span> <span jsdisplay="!getTypeRef($this)" jstcache="48"> <span jsdisplay="is Array($this)" jstcache="50" style="display: none; "> array of <span jsselect="it ems" jstcache="52"><span transclude="typeTemplate" jstcache="53"></span></span> </span> <span jsdisplay="!isArray($this)" jscontent="getTypeName($this)" jstcach e="51">integer</span> </span> </span> ) </div> </em> </dt> <dd class="todo" jsdi splay="!$this.description" jstcache="42"> Undocumented. </dd> <dd jsdisplay="$th is.description" jsvalues=".innerHTML:$this.description" jstcache="43" style="dis play: none; "> Description of this parameter from the json schema. </dd> <!-- OB JECT PROPERTIES --> <dd jsdisplay="shouldExpandObject($this)" jstcache="44" styl e="display: none; "> <dl jstcache="0"> <div jsselect="getPropertyListFromObject( $this)" jstcache="10"> <div transclude="valueTemplate" jstcache="17"> </div> </d iv> </dl> </dd> </div> </div><div jsselect="getPropertyListFromObject($this)" js tcache="10" jsinstance="*2"> <div jstcache="0"> <dt jstcache="0"> <var jsdisplay ="$this.name" jscontent="$this.name" jstcache="45">toIndex</var> <em jstcache="0 "> <!-- TYPE --> <div style="display:inline" jstcache="0"> ( <span class="option al" jsdisplay="optional" jstcache="46" style="display: none; ">optional</span> < span id="typeTemplate" jstcache="0"> <span jsdisplay="getTypeRef($this)" jstcach e="47" style="display: none; "> <a jsvalues=".href: getTypeRefPage($this) + '#ty pe-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="49"> Type</a> </span> <span jsdisplay="!getTypeRef($this)" jstcache="48"> <span jsdisplay="isA rray($this)" jstcache="50" style="display: none; "> array of <span jsselect="ite ms" jstcache="52"><span transclude="typeTemplate" jstcache="53"></span></span> < /span> <span jsdisplay="!isArray($this)" jscontent="getTypeName($this)" jstcache ="51">integer</span> </span> </span> ) </div> </em> </dt> <dd class="todo" jsdis play="!$this.description" jstcache="42"> Undocumented. </dd> <dd jsdisplay="$thi s.description" jsvalues=".innerHTML:$this.description" jstcache="43" style="disp lay: none; "> Description of this parameter from the json schema. </dd> <!-- OBJ ECT PROPERTIES --> <dd jsdisplay="shouldExpandObject($this)" jstcache="44" style ="display: none; "> <dl jstcache="0"> <div jsselect="getPropertyListFromObject($ this)" jstcache="10"> <div transclude="valueTemplate" jstcache="17"> </div> </di v> </dl> </dd> </div> </div> </dl> </dd> </div> </div> </dl> </div> <!-- /decrip tion --> </div><div jsselect="events" class="apiItem" jstcache="12" jsinstance=" 3"> <a jsvalues=".name:'event-' + name" jstcache="19" name="event-onSelectionCha nged"></a> <h3 jscontent="name" jstcache="16">onSelectionChanged</h3> <div class ="summary" jstcache="0"> <!-- Note: intentionally longer 80 columns --> <span js content="getModuleName() + '.'" class="subdued" jstcache="23">chrome.tabs.</span ><span jscontent="name" jstcache="16">onSelectionChanged</span><span class="subd ued" jstcache="0">.addListener</span>(function(<span jscontent="getSignatureStri ng(parameters)" jstcache="32">integer tabId, object SelectInfo</span>) <span cla ss="subdued" jstcache="0">{...}</span>); </div> <div class="description" jstcach e="0"> <p class="todo" jsdisplay="!description" jstcache="28">Undocumented.</p> <p jsdisplay="description" jsvalues=".innerHTML:description" jstcache="29" style ="display: none; "> A description from the json schema def of the event goes her e. </p> <!-- PARAMETERS --> <h4 jstcache="0">Parameters</h4> <dl jstcache="0"> < div jsselect="parameters" jstcache="35" jsinstance="0"> <div jstcache="0"> <dt j stcache="0"> <var jsdisplay="$this.name" jscontent="$this.name" jstcache="45">ta bId</var> <em jstcache="0"> <!-- TYPE --> <div style="display:inline" jstcache=" 0"> ( <span class="optional" jsdisplay="optional" jstcache="46" style="display: none; ">optional</span> <span id="typeTemplate" jstcache="0"> <span jsdisplay="g etTypeRef($this)" jstcache="47" style="display: none; "> <a jsvalues=".href: get TypeRefPage($this) + '#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="49"> Type</a> </span> <span jsdisplay="!getTypeRef($this)" jstcache=" 48"> <span jsdisplay="isArray($this)" jstcache="50" style="display: none; "> arr ay of <span jsselect="items" jstcache="52"><span transclude="typeTemplate" jstca che="53"></span></span> </span> <span jsdisplay="!isArray($this)" jscontent="get TypeName($this)" jstcache="51">integer</span> </span> </span> ) </div> </em> </d t> <dd class="todo" jsdisplay="!$this.description" jstcache="42"> Undocumented. </dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.description" jstcache="43" style="display: none; "> Description of this parameter from the js on schema. </dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="shouldExpandObject($t his)" jstcache="44" style="display: none; "> <dl jstcache="0"> <div jsselect="ge tPropertyListFromObject($this)" jstcache="10"> <div transclude="valueTemplate" j stcache="17"> </div> </div> </dl> </dd> </div> </div><div jsselect="parameters" jstcache="35" jsinstance="*1"> <div jstcache="0"> <dt jstcache="0"> <var jsdispl ay="$this.name" jscontent="$this.name" jstcache="45">SelectInfo</var> <em jstcac he="0"> <!-- TYPE --> <div style="display:inline" jstcache="0"> ( <span class="o ptional" jsdisplay="optional" jstcache="46" style="display: none; ">optional</sp an> <span id="typeTemplate" jstcache="0"> <span jsdisplay="getTypeRef($this)" js tcache="47" style="display: none; "> <a jsvalues=".href: getTypeRefPage($this) + '#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="49"> Type </a> </span> <span jsdisplay="!getTypeRef($this)" jstcache="48"> <span jsdisplay ="isArray($this)" jstcache="50" style="display: none; "> array of <span jsselect ="items" jstcache="52"><span transclude="typeTemplate" jstcache="53"></span></sp an> </span> <span jsdisplay="!isArray($this)" jscontent="getTypeName($this)" jst cache="51">object</span> </span> </span> ) </div> </em> </dt> <dd class="todo" j sdisplay="!$this.description" jstcache="42"> Undocumented. </dd> <dd jsdisplay=" $this.description" jsvalues=".innerHTML:$this.description" jstcache="43" style=" display: none; "> Description of this parameter from the json schema. </dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="shouldExpandObject($this)" jstcache="44" s tyle=""> <dl jstcache="0"> <div jsselect="getPropertyListFromObject($this)" jstc ache="10" jsinstance="*0"> <div jstcache="0"> <dt jstcache="0"> <var jsdisplay=" $this.name" jscontent="$this.name" jstcache="45">windowId</var> <em jstcache="0" > <!-- TYPE --> <div style="display:inline" jstcache="0"> ( <span class="optiona l" jsdisplay="optional" jstcache="46" style="display: none; ">optional</span> <s pan id="typeTemplate" jstcache="0"> <span jsdisplay="getTypeRef($this)" jstcache ="47" style="display: none; "> <a jsvalues=".href: getTypeRefPage($this) + '#typ e-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="49"> Type</a> < /span> <span jsdisplay="!getTypeRef($this)" jstcache="48"> <span jsdisplay="isAr ray($this)" jstcache="50" style="display: none; "> array of <span jsselect="item s" jstcache="52"><span transclude="typeTemplate" jstcache="53"></span></span> </ span> <span jsdisplay="!isArray($this)" jscontent="getTypeName($this)" jstcache= "51">integer</span> </span> </span> ) </div> </em> </dt> <dd class="todo" jsdisp lay="!$this.description" jstcache="42"> Undocumented. </dd> <dd jsdisplay="$this .description" jsvalues=".innerHTML:$this.description" jstcache="43" style="displ ay: none; "> Description of this parameter from the json schema. </dd> <!-- OBJE CT PROPERTIES --> <dd jsdisplay="shouldExpandObject($this)" jstcache="44" style= "display: none; "> <dl jstcache="0"> <div jsselect="getPropertyListFromObject($t his)" jstcache="10"> <div transclude="valueTemplate" jstcache="17"> </div> </div > </dl> </dd> </div> </div> </dl> </dd> </div> </div> </dl> </div> <!-- /decript ion --> </div><div jsselect="events" class="apiItem" jstcache="12" jsinstance="4 "> <a jsvalues=".name:'event-' + name" jstcache="19" name="event-onAttached"></a > <h3 jscontent="name" jstcache="16">onAttached</h3> <div class="summary" jstcac he="0"> <!-- Note: intentionally longer 80 columns --> <span jscontent="getModul eName() + '.'" class="subdued" jstcache="23">chrome.tabs.</span><span jscontent= "name" jstcache="16">onAttached</span><span class="subdued" jstcache="0">.addLis tener</span>(function(<span jscontent="getSignatureString(parameters)" jstcache= "32">integer tabId, object AttachInfo</span>) <span class="subdued" jstcache="0" >{...}</span>); </div> <div class="description" jstcache="0"> <p class="todo" js display="!description" jstcache="28">Undocumented.</p> <p jsdisplay="description " jsvalues=".innerHTML:description" jstcache="29" style="display: none; "> A des cription from the json schema def of the event goes here. </p> <!-- PARAMETERS - -> <h4 jstcache="0">Parameters</h4> <dl jstcache="0"> <div jsselect="parameters" jstcache="35" jsinstance="0"> <div jstcache="0"> <dt jstcache="0"> <var jsdispl ay="$this.name" jscontent="$this.name" jstcache="45">tabId</var> <em jstcache="0 "> <!-- TYPE --> <div style="display:inline" jstcache="0"> ( <span class="option al" jsdisplay="optional" jstcache="46" style="display: none; ">optional</span> < span id="typeTemplate" jstcache="0"> <span jsdisplay="getTypeRef($this)" jstcach e="47" style="display: none; "> <a jsvalues=".href: getTypeRefPage($this) + '#ty pe-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="49"> Type</a> </span> <span jsdisplay="!getTypeRef($this)" jstcache="48"> <span jsdisplay="isA rray($this)" jstcache="50" style="display: none; "> array of <span jsselect="ite ms" jstcache="52"><span transclude="typeTemplate" jstcache="53"></span></span> < /span> <span jsdisplay="!isArray($this)" jscontent="getTypeName($this)" jstcache ="51">integer</span> </span> </span> ) </div> </em> </dt> <dd class="todo" jsdis play="!$this.description" jstcache="42"> Undocumented. </dd> <dd jsdisplay="$thi s.description" jsvalues=".innerHTML:$this.description" jstcache="43" style="disp lay: none; "> Description of this parameter from the json schema. </dd> <!-- OBJ ECT PROPERTIES --> <dd jsdisplay="shouldExpandObject($this)" jstcache="44" style ="display: none; "> <dl jstcache="0"> <div jsselect="getPropertyListFromObject($ this)" jstcache="10"> <div transclude="valueTemplate" jstcache="17"> </div> </di v> </dl> </dd> </div> </div><div jsselect="parameters" jstcache="35" jsinstance= "*1"> <div jstcache="0"> <dt jstcache="0"> <var jsdisplay="$this.name" jscontent ="$this.name" jstcache="45">AttachInfo</var> <em jstcache="0"> <!-- TYPE --> <di v style="display:inline" jstcache="0"> ( <span class="optional" jsdisplay="optio nal" jstcache="46" style="display: none; ">optional</span> <span id="typeTemplat e" jstcache="0"> <span jsdisplay="getTypeRef($this)" jstcache="47" style="displa y: none; "> <a jsvalues=".href: getTypeRefPage($this) + '#type-' + getTypeRef($t his)" jscontent="getTypeRef($this)" jstcache="49"> Type</a> </span> <span jsdisp lay="!getTypeRef($this)" jstcache="48"> <span jsdisplay="isArray($this)" jstcach e="50" style="display: none; "> array of <span jsselect="items" jstcache="52"><s pan transclude="typeTemplate" jstcache="53"></span></span> </span> <span jsdispl ay="!isArray($this)" jscontent="getTypeName($this)" jstcache="51">object</span> </span> </span> ) </div> </em> </dt> <dd class="todo" jsdisplay="!$this.descript ion" jstcache="42"> Undocumented. </dd> <dd jsdisplay="$this.description" jsvalu es=".innerHTML:$this.description" jstcache="43" style="display: none; "> Descrip tion of this parameter from the json schema. </dd> <!-- OBJECT PROPERTIES --> <d d jsdisplay="shouldExpandObject($this)" jstcache="44" style=""> <dl jstcache="0" > <div jsselect="getPropertyListFromObject($this)" jstcache="10" jsinstance="0"> <div jstcache="0"> <dt jstcache="0"> <var jsdisplay="$this.name" jscontent="$th is.name" jstcache="45">newWindowId</var> <em jstcache="0"> <!-- TYPE --> <div st yle="display:inline" jstcache="0"> ( <span class="optional" jsdisplay="optional" jstcache="46" style="display: none; ">optional</span> <span id="typeTemplate" j stcache="0"> <span jsdisplay="getTypeRef($this)" jstcache="47" style="display: n one; "> <a jsvalues=".href: getTypeRefPage($this) + '#type-' + getTypeRef($this) " jscontent="getTypeRef($this)" jstcache="49"> Type</a> </span> <span jsdisplay= "!getTypeRef($this)" jstcache="48"> <span jsdisplay="isArray($this)" jstcache="5 0" style="display: none; "> array of <span jsselect="items" jstcache="52"><span transclude="typeTemplate" jstcache="53"></span></span> </span> <span jsdisplay=" !isArray($this)" jscontent="getTypeName($this)" jstcache="51">integer</span> </s pan> </span> ) </div> </em> </dt> <dd class="todo" jsdisplay="!$this.description " jstcache="42"> Undocumented. </dd> <dd jsdisplay="$this.description" jsvalues= ".innerHTML:$this.description" jstcache="43" style="display: none; "> Descriptio n of this parameter from the json schema. </dd> <!-- OBJECT PROPERTIES --> <dd j sdisplay="shouldExpandObject($this)" jstcache="44" style="display: none; "> <dl jstcache="0"> <div jsselect="getPropertyListFromObject($this)" jstcache="10"> <d iv transclude="valueTemplate" jstcache="17"> </div> </div> </dl> </dd> </div> </ div><div jsselect="getPropertyListFromObject($this)" jstcache="10" jsinstance="* 1"> <div jstcache="0"> <dt jstcache="0"> <var jsdisplay="$this.name" jscontent=" $this.name" jstcache="45">newPosition</var> <em jstcache="0"> <!-- TYPE --> <div style="display:inline" jstcache="0"> ( <span class="optional" jsdisplay="option al" jstcache="46" style="display: none; ">optional</span> <span id="typeTemplate " jstcache="0"> <span jsdisplay="getTypeRef($this)" jstcache="47" style="display : none; "> <a jsvalues=".href: getTypeRefPage($this) + '#type-' + getTypeRef($th is)" jscontent="getTypeRef($this)" jstcache="49"> Type</a> </span> <span jsdispl ay="!getTypeRef($this)" jstcache="48"> <span jsdisplay="isArray($this)" jstcache ="50" style="display: none; "> array of <span jsselect="items" jstcache="52"><sp an transclude="typeTemplate" jstcache="53"></span></span> </span> <span jsdispla y="!isArray($this)" jscontent="getTypeName($this)" jstcache="51">integer</span> </span> </span> ) </div> </em> </dt> <dd class="todo" jsdisplay="!$this.descript ion" jstcache="42"> Undocumented. </dd> <dd jsdisplay="$this.description" jsvalu es=".innerHTML:$this.description" jstcache="43" style="display: none; "> Descrip tion of this parameter from the json schema. </dd> <!-- OBJECT PROPERTIES --> <d d jsdisplay="shouldExpandObject($this)" jstcache="44" style="display: none; "> < dl jstcache="0"> <div jsselect="getPropertyListFromObject($this)" jstcache="10"> <div transclude="valueTemplate" jstcache="17"> </div> </div> </dl> </dd> </div> </div> </dl> </dd> </div> </div> </dl> </div> <!-- /decription --> </div><div j sselect="events" class="apiItem" jstcache="12" jsinstance="5"> <a jsvalues=".nam e:'event-' + name" jstcache="19" name="event-onDetached"></a> <h3 jscontent="nam e" jstcache="16">onDetached</h3> <div class="summary" jstcache="0"> <!-- Note: i ntentionally longer 80 columns --> <span jscontent="getModuleName() + '.'" class ="subdued" jstcache="23">chrome.tabs.</span><span jscontent="name" jstcache="16" >onDetached</span><span class="subdued" jstcache="0">.addListener</span>(functio n(<span jscontent="getSignatureString(parameters)" jstcache="32">integer tabId, object DetachInfo</span>) <span class="subdued" jstcache="0">{...}</span>); </di v> <div class="description" jstcache="0"> <p class="todo" jsdisplay="!descriptio n" jstcache="28">Undocumented.</p> <p jsdisplay="description" jsvalues=".innerHT ML:description" jstcache="29" style="display: none; "> A description from the js on schema def of the event goes here. </p> <!-- PARAMETERS --> <h4 jstcache="0"> Parameters</h4> <dl jstcache="0"> <div jsselect="parameters" jstcache="35" jsins tance="0"> <div jstcache="0"> <dt jstcache="0"> <var jsdisplay="$this.name" jsco ntent="$this.name" jstcache="45">tabId</var> <em jstcache="0"> <!-- TYPE --> <di v style="display:inline" jstcache="0"> ( <span class="optional" jsdisplay="optio nal" jstcache="46" style="display: none; ">optional</span> <span id="typeTemplat e" jstcache="0"> <span jsdisplay="getTypeRef($this)" jstcache="47" style="displa y: none; "> <a jsvalues=".href: getTypeRefPage($this) + '#type-' + getTypeRef($t his)" jscontent="getTypeRef($this)" jstcache="49"> Type</a> </span> <span jsdisp lay="!getTypeRef($this)" jstcache="48"> <span jsdisplay="isArray($this)" jstcach e="50" style="display: none; "> array of <span jsselect="items" jstcache="52"><s pan transclude="typeTemplate" jstcache="53"></span></span> </span> <span jsdispl ay="!isArray($this)" jscontent="getTypeName($this)" jstcache="51">integer</span> </span> </span> ) </div> </em> </dt> <dd class="todo" jsdisplay="!$this.descrip tion" jstcache="42"> Undocumented. </dd> <dd jsdisplay="$this.description" jsval ues=".innerHTML:$this.description" jstcache="43" style="display: none; "> Descri ption of this parameter from the json schema. </dd> <!-- OBJECT PROPERTIES --> < dd jsdisplay="shouldExpandObject($this)" jstcache="44" style="display: none; "> <dl jstcache="0"> <div jsselect="getPropertyListFromObject($this)" jstcache="10" > <div transclude="valueTemplate" jstcache="17"> </div> </div> </dl> </dd> </div > </div><div jsselect="parameters" jstcache="35" jsinstance="*1"> <div jstcache= "0"> <dt jstcache="0"> <var jsdisplay="$this.name" jscontent="$this.name" jstcac he="45">DetachInfo</var> <em jstcache="0"> <!-- TYPE --> <div style="display:inl ine" jstcache="0"> ( <span class="optional" jsdisplay="optional" jstcache="46" s tyle="display: none; ">optional</span> <span id="typeTemplate" jstcache="0"> <sp an jsdisplay="getTypeRef($this)" jstcache="47" style="display: none; "> <a jsval ues=".href: getTypeRefPage($this) + '#type-' + getTypeRef($this)" jscontent="get TypeRef($this)" jstcache="49"> Type</a> </span> <span jsdisplay="!getTypeRef($th is)" jstcache="48"> <span jsdisplay="isArray($this)" jstcache="50" style="displa y: none; "> array of <span jsselect="items" jstcache="52"><span transclude="type Template" jstcache="53"></span></span> </span> <span jsdisplay="!isArray($this)" jscontent="getTypeName($this)" jstcache="51">object</span> </span> </span> ) </ div> </em> </dt> <dd class="todo" jsdisplay="!$this.description" jstcache="42"> Undocumented. </dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this .description" jstcache="43" style="display: none; "> Description of this paramet er from the json schema. </dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="shouldE xpandObject($this)" jstcache="44" style=""> <dl jstcache="0"> <div jsselect="get PropertyListFromObject($this)" jstcache="10" jsinstance="0"> <div jstcache="0"> <dt jstcache="0"> <var jsdisplay="$this.name" jscontent="$this.name" jstcache="4 5">oldWindowId</var> <em jstcache="0"> <!-- TYPE --> <div style="display:inline" jstcache="0"> ( <span class="optional" jsdisplay="optional" jstcache="46" style ="display: none; ">optional</span> <span id="typeTemplate" jstcache="0"> <span j sdisplay="getTypeRef($this)" jstcache="47" style="display: none; "> <a jsvalues= ".href: getTypeRefPage($this) + '#type-' + getTypeRef($this)" jscontent="getType Ref($this)" jstcache="49"> Type</a> </span> <span jsdisplay="!getTypeRef($this)" jstcache="48"> <span jsdisplay="isArray($this)" jstcache="50" style="display: n one; "> array of <span jsselect="items" jstcache="52"><span transclude="typeTemp late" jstcache="53"></span></span> </span> <span jsdisplay="!isArray($this)" jsc ontent="getTypeName($this)" jstcache="51">integer</span> </span> </span> ) </div > </em> </dt> <dd class="todo" jsdisplay="!$this.description" jstcache="42"> Und ocumented. </dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.de scription" jstcache="43" style="display: none; "> Description of this parameter from the json schema. </dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="shouldExpa ndObject($this)" jstcache="44" style="display: none; "> <dl jstcache="0"> <div j sselect="getPropertyListFromObject($this)" jstcache="10"> <div transclude="value Template" jstcache="17"> </div> </div> </dl> </dd> </div> </div><div jsselect="g etPropertyListFromObject($this)" jstcache="10" jsinstance="*1"> <div jstcache="0 "> <dt jstcache="0"> <var jsdisplay="$this.name" jscontent="$this.name" jstcache ="45">oldPosition</var> <em jstcache="0"> <!-- TYPE --> <div style="display:inli ne" jstcache="0"> ( <span class="optional" jsdisplay="optional" jstcache="46" st yle="display: none; ">optional</span> <span id="typeTemplate" jstcache="0"> <spa n jsdisplay="getTypeRef($this)" jstcache="47" style="display: none; "> <a jsvalu es=".href: getTypeRefPage($this) + '#type-' + getTypeRef($this)" jscontent="getT ypeRef($this)" jstcache="49"> Type</a> </span> <span jsdisplay="!getTypeRef($thi s)" jstcache="48"> <span jsdisplay="isArray($this)" jstcache="50" style="display : none; "> array of <span jsselect="items" jstcache="52"><span transclude="typeT emplate" jstcache="53"></span></span> </span> <span jsdisplay="!isArray($this)" jscontent="getTypeName($this)" jstcache="51">integer</span> </span> </span> ) </ div> </em> </dt> <dd class="todo" jsdisplay="!$this.description" jstcache="42"> Undocumented. </dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this .description" jstcache="43" style="display: none; "> Description of this paramet er from the json schema. </dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="shouldE xpandObject($this)" jstcache="44" style="display: none; "> <dl jstcache="0"> <di v jsselect="getPropertyListFromObject($this)" jstcache="10"> <div transclude="va lueTemplate" jstcache="17"> </div> </div> </dl> </dd> </div> </div> </dl> </dd> </div> </div> </dl> </div> <!-- /decription --> </div><div jsselect="events" cla ss="apiItem" jstcache="12" jsinstance="*6"> <a jsvalues=".name:'event-' + name" jstcache="19" name="event-onRemoved"></a> <h3 jscontent="name" jstcache="16">onR emoved</h3> <div class="summary" jstcache="0"> <!-- Note: intentionally longer 8 0 columns --> <span jscontent="getModuleName() + '.'" class="subdued" jstcache=" 23">chrome.tabs.</span><span jscontent="name" jstcache="16">onRemoved</span><spa n class="subdued" jstcache="0">.addListener</span>(function(<span jscontent="get SignatureString(parameters)" jstcache="32">integer tabId</span>) <span class="su bdued" jstcache="0">{...}</span>); </div> <div class="description" jstcache="0"> <p class="todo" jsdisplay="!description" jstcache="28">Undocumented.</p> <p jsd isplay="description" jsvalues=".innerHTML:description" jstcache="29" style="disp lay: none; "> A description from the json schema def of the event goes here. </p > <!-- PARAMETERS --> <h4 jstcache="0">Parameters</h4> <dl jstcache="0"> <div js select="parameters" jstcache="35" jsinstance="*0"> <div jstcache="0"> <dt jstcac he="0"> <var jsdisplay="$this.name" jscontent="$this.name" jstcache="45">tabId</ var> <em jstcache="0"> <!-- TYPE --> <div style="display:inline" jstcache="0"> ( <span class="optional" jsdisplay="optional" jstcache="46" style="display: none; ">optional</span> <span id="typeTemplate" jstcache="0"> <span jsdisplay="getTyp eRef($this)" jstcache="47" style="display: none; "> <a jsvalues=".href: getTypeR efPage($this) + '#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstc ache="49"> Type</a> </span> <span jsdisplay="!getTypeRef($this)" jstcache="48"> <span jsdisplay="isArray($this)" jstcache="50" style="display: none; "> array of <span jsselect="items" jstcache="52"><span transclude="typeTemplate" jstcache=" 53"></span></span> </span> <span jsdisplay="!isArray($this)" jscontent="getTypeN ame($this)" jstcache="51">integer</span> </span> </span> ) </div> </em> </dt> <d d class="todo" jsdisplay="!$this.description" jstcache="42"> Undocumented. </dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.description" jstca che="43" style="display: none; "> Description of this parameter from the json sc hema. </dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="shouldExpandObject($this)" jstcache="44" style="display: none; "> <dl jstcache="0"> <div jsselect="getProp ertyListFromObject($this)" jstcache="10"> <div transclude="valueTemplate" jstcac he="17"> </div> </div> </dl> </dd> </div> </div> </dl> </div> <!-- /decription - -> </div> <!-- /apiItem --> </div> <!-- /apiGroup --> <!-- TYPES --> <div jsdisp lay="types &amp;&amp; types.length &gt; 0" class="apiGroup" jstcache="8"> <a nam e="#types" jstcache="0"></a> <h2 id="types" jstcache="0">Types</h2> <!-- iterate s over all types --> <div jsselect="types" class="apiItem" jstcache="13" jsinsta nce="*0"> <a jsvalues=".name:'type-' + id" jstcache="20" name="type-Tab"></a> <h 3 jscontent="id" jstcache="21">Tab</h3> <div jstcache="0"> <dt jstcache="0"> <va r jsdisplay="$this.name" jscontent="$this.name" jstcache="45" style="display: no ne; ">tabId</var> <em jstcache="0"> <!-- TYPE --> <div style="display:inline" js tcache="0"> ( <span class="optional" jsdisplay="optional" jstcache="46" style="d isplay: none; ">optional</span> <span id="typeTemplate" jstcache="0"> <span jsdi splay="getTypeRef($this)" jstcache="47" style="display: none; "> <a jsvalues=".h ref: getTypeRefPage($this) + '#type-' + getTypeRef($this)" jscontent="getTypeRef ($this)" jstcache="49"> Type</a> </span> <span jsdisplay="!getTypeRef($this)" js tcache="48"> <span jsdisplay="isArray($this)" jstcache="50" style="display: none ; "> array of <span jsselect="items" jstcache="52"><span transclude="typeTemplat e" jstcache="53"></span></span> </span> <span jsdisplay="!isArray($this)" jscont ent="getTypeName($this)" jstcache="51">object</span> </span> </span> ) </div> </ em> </dt> <dd class="todo" jsdisplay="!$this.description" jstcache="42"> Undocum ented. </dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.descri ption" jstcache="43" style="display: none; "> Description of this parameter from the json schema. </dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="shouldExpandOb ject($this)" jstcache="44" style=""> <dl jstcache="0"> <div jsselect="getPropert yListFromObject($this)" jstcache="10" jsinstance="0"> <div jstcache="0"> <dt jst cache="0"> <var jsdisplay="$this.name" jscontent="$this.name" jstcache="45">id</ var> <em jstcache="0"> <!-- TYPE --> <div style="display:inline" jstcache="0"> ( <span class="optional" jsdisplay="optional" jstcache="46" style="display: none; ">optional</span> <span id="typeTemplate" jstcache="0"> <span jsdisplay="getTyp eRef($this)" jstcache="47" style="display: none; "> <a jsvalues=".href: getTypeR efPage($this) + '#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstc ache="49"> Type</a> </span> <span jsdisplay="!getTypeRef($this)" jstcache="48"> <span jsdisplay="isArray($this)" jstcache="50" style="display: none; "> array of <span jsselect="items" jstcache="52"><span transclude="typeTemplate" jstcache=" 53"></span></span> </span> <span jsdisplay="!isArray($this)" jscontent="getTypeN ame($this)" jstcache="51">integer</span> </span> </span> ) </div> </em> </dt> <d d class="todo" jsdisplay="!$this.description" jstcache="42"> Undocumented. </dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.description" jstca che="43" style="display: none; "> Description of this parameter from the json sc hema. </dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="shouldExpandObject($this)" jstcache="44" style="display: none; "> <dl jstcache="0"> <div jsselect="getProp ertyListFromObject($this)" jstcache="10"> <div transclude="valueTemplate" jstcac he="17"> </div> </div> </dl> </dd> </div> </div><div jsselect="getPropertyListFr omObject($this)" jstcache="10" jsinstance="1"> <div jstcache="0"> <dt jstcache=" 0"> <var jsdisplay="$this.name" jscontent="$this.name" jstcache="45">index</var> <em jstcache="0"> <!-- TYPE --> <div style="display:inline" jstcache="0"> ( <sp an class="optional" jsdisplay="optional" jstcache="46" style="display: none; ">o ptional</span> <span id="typeTemplate" jstcache="0"> <span jsdisplay="getTypeRef ($this)" jstcache="47" style="display: none; "> <a jsvalues=".href: getTypeRefPa ge($this) + '#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache ="49"> Type</a> </span> <span jsdisplay="!getTypeRef($this)" jstcache="48"> <spa n jsdisplay="isArray($this)" jstcache="50" style="display: none; "> array of <sp an jsselect="items" jstcache="52"><span transclude="typeTemplate" jstcache="53"> </span></span> </span> <span jsdisplay="!isArray($this)" jscontent="getTypeName( $this)" jstcache="51">integer</span> </span> </span> ) </div> </em> </dt> <dd cl ass="todo" jsdisplay="!$this.description" jstcache="42"> Undocumented. </dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.description" jstcache= "43" style="display: none; "> Description of this parameter from the json schema . </dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="shouldExpandObject($this)" jst cache="44" style="display: none; "> <dl jstcache="0"> <div jsselect="getProperty ListFromObject($this)" jstcache="10"> <div transclude="valueTemplate" jstcache=" 17"> </div> </div> </dl> </dd> </div> </div><div jsselect="getPropertyListFromOb ject($this)" jstcache="10" jsinstance="2"> <div jstcache="0"> <dt jstcache="0"> <var jsdisplay="$this.name" jscontent="$this.name" jstcache="45">windowId</var> <em jstcache="0"> <!-- TYPE --> <div style="display:inline" jstcache="0"> ( <spa n class="optional" jsdisplay="optional" jstcache="46" style="display: none; ">op tional</span> <span id="typeTemplate" jstcache="0"> <span jsdisplay="getTypeRef( $this)" jstcache="47" style="display: none; "> <a jsvalues=".href: getTypeRefPag e($this) + '#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache= "49"> Type</a> </span> <span jsdisplay="!getTypeRef($this)" jstcache="48"> <span jsdisplay="isArray($this)" jstcache="50" style="display: none; "> array of <spa n jsselect="items" jstcache="52"><span transclude="typeTemplate" jstcache="53">< /span></span> </span> <span jsdisplay="!isArray($this)" jscontent="getTypeName($ this)" jstcache="51">integer</span> </span> </span> ) </div> </em> </dt> <dd cla ss="todo" jsdisplay="!$this.description" jstcache="42"> Undocumented. </dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.description" jstcache=" 43" style="display: none; "> Description of this parameter from the json schema. </dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="shouldExpandObject($this)" jstc ache="44" style="display: none; "> <dl jstcache="0"> <div jsselect="getPropertyL istFromObject($this)" jstcache="10"> <div transclude="valueTemplate" jstcache="1 7"> </div> </div> </dl> </dd> </div> </div><div jsselect="getPropertyListFromObj ect($this)" jstcache="10" jsinstance="3"> <div jstcache="0"> <dt jstcache="0"> < var jsdisplay="$this.name" jscontent="$this.name" jstcache="45">selected</var> < em jstcache="0"> <!-- TYPE --> <div style="display:inline" jstcache="0"> ( <span class="optional" jsdisplay="optional" jstcache="46" style="display: none; ">opt ional</span> <span id="typeTemplate" jstcache="0"> <span jsdisplay="getTypeRef($ this)" jstcache="47" style="display: none; "> <a jsvalues=".href: getTypeRefPage ($this) + '#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache=" 49"> Type</a> </span> <span jsdisplay="!getTypeRef($this)" jstcache="48"> <span jsdisplay="isArray($this)" jstcache="50" style="display: none; "> array of <span jsselect="items" jstcache="52"><span transclude="typeTemplate" jstcache="53"></ span></span> </span> <span jsdisplay="!isArray($this)" jscontent="getTypeName($t his)" jstcache="51">boolean</span> </span> </span> ) </div> </em> </dt> <dd clas s="todo" jsdisplay="!$this.description" jstcache="42"> Undocumented. </dd> <dd j sdisplay="$this.description" jsvalues=".innerHTML:$this.description" jstcache="4 3" style="display: none; "> Description of this parameter from the json schema. </dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="shouldExpandObject($this)" jstca che="44" style="display: none; "> <dl jstcache="0"> <div jsselect="getPropertyLi stFromObject($this)" jstcache="10"> <div transclude="valueTemplate" jstcache="17 "> </div> </div> </dl> </dd> </div> </div><div jsselect="getPropertyListFromObje ct($this)" jstcache="10" jsinstance="4"> <div jstcache="0"> <dt jstcache="0"> <v ar jsdisplay="$this.name" jscontent="$this.name" jstcache="45">url</var> <em jst cache="0"> <!-- TYPE --> <div style="display:inline" jstcache="0"> ( <span class ="optional" jsdisplay="optional" jstcache="46" style="display: none; ">optional< /span> <span id="typeTemplate" jstcache="0"> <span jsdisplay="getTypeRef($this)" jstcache="47" style="display: none; "> <a jsvalues=".href: getTypeRefPage($this ) + '#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="49"> T ype</a> </span> <span jsdisplay="!getTypeRef($this)" jstcache="48"> <span jsdisp lay="isArray($this)" jstcache="50" style="display: none; "> array of <span jssel ect="items" jstcache="52"><span transclude="typeTemplate" jstcache="53"></span>< /span> </span> <span jsdisplay="!isArray($this)" jscontent="getTypeName($this)" jstcache="51">string</span> </span> </span> ) </div> </em> </dt> <dd class="todo " jsdisplay="!$this.description" jstcache="42"> Undocumented. </dd> <dd jsdispla y="$this.description" jsvalues=".innerHTML:$this.description" jstcache="43" styl e="display: none; "> Description of this parameter from the json schema. </dd> < !-- OBJECT PROPERTIES --> <dd jsdisplay="shouldExpandObject($this)" jstcache="44 " style="display: none; "> <dl jstcache="0"> <div jsselect="getPropertyListFromO bject($this)" jstcache="10"> <div transclude="valueTemplate" jstcache="17"> </di v> </div> </dl> </dd> </div> </div><div jsselect="getPropertyListFromObject($thi s)" jstcache="10" jsinstance="5"> <div jstcache="0"> <dt jstcache="0"> <var jsdi splay="$this.name" jscontent="$this.name" jstcache="45">title</var> <em jstcache ="0"> <!-- TYPE --> <div style="display:inline" jstcache="0"> ( <span class="opt ional" jsdisplay="optional" jstcache="46" style="">optional</span> <span id="typ eTemplate" jstcache="0"> <span jsdisplay="getTypeRef($this)" jstcache="47" style ="display: none; "> <a jsvalues=".href: getTypeRefPage($this) + '#type-' + getTy peRef($this)" jscontent="getTypeRef($this)" jstcache="49"> Type</a> </span> <spa n jsdisplay="!getTypeRef($this)" jstcache="48"> <span jsdisplay="isArray($this)" jstcache="50" style="display: none; "> array of <span jsselect="items" jstcache ="52"><span transclude="typeTemplate" jstcache="53"></span></span> </span> <span jsdisplay="!isArray($this)" jscontent="getTypeName($this)" jstcache="51">string </span> </span> </span> ) </div> </em> </dt> <dd class="todo" jsdisplay="!$this. description" jstcache="42"> Undocumented. </dd> <dd jsdisplay="$this.description " jsvalues=".innerHTML:$this.description" jstcache="43" style="display: none; "> Description of this parameter from the json schema. </dd> <!-- OBJECT PROPERTIE S --> <dd jsdisplay="shouldExpandObject($this)" jstcache="44" style="display: no ne; "> <dl jstcache="0"> <div jsselect="getPropertyListFromObject($this)" jstcac he="10"> <div transclude="valueTemplate" jstcache="17"> </div> </div> </dl> </dd > </div> </div><div jsselect="getPropertyListFromObject($this)" jstcache="10" js instance="*6"> <div jstcache="0"> <dt jstcache="0"> <var jsdisplay="$this.name" jscontent="$this.name" jstcache="45">favIconUrl</var> <em jstcache="0"> <!-- TYP E --> <div style="display:inline" jstcache="0"> ( <span class="optional" jsdispl ay="optional" jstcache="46" style="">optional</span> <span id="typeTemplate" jst cache="0"> <span jsdisplay="getTypeRef($this)" jstcache="47" style="display: non e; "> <a jsvalues=".href: getTypeRefPage($this) + '#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="49"> Type</a> </span> <span jsdisplay="! getTypeRef($this)" jstcache="48"> <span jsdisplay="isArray($this)" jstcache="50" style="display: none; "> array of <span jsselect="items" jstcache="52"><span tr ansclude="typeTemplate" jstcache="53"></span></span> </span> <span jsdisplay="!i sArray($this)" jscontent="getTypeName($this)" jstcache="51">string</span> </span > </span> ) </div> </em> </dt> <dd class="todo" jsdisplay="!$this.description" j stcache="42"> Undocumented. </dd> <dd jsdisplay="$this.description" jsvalues=".i nnerHTML:$this.description" jstcache="43" style="display: none; "> Description o f this parameter from the json schema. </dd> <!-- OBJECT PROPERTIES --> <dd jsdi splay="shouldExpandObject($this)" jstcache="44" style="display: none; "> <dl jst cache="0"> <div jsselect="getPropertyListFromObject($this)" jstcache="10"> <div transclude="valueTemplate" jstcache="17"> </div> </div> </dl> </dd> </div> </div > </dl> </dd> </div> </div> <!-- /apiItem --> </div> <!-- /apiGroup --> </div> < !-- /apiPage --> </div> <!-- /mainColumn --> </div> <!-- /pageContent --> <div i d="pageFooter" --="" jstcache="0"> Copyright 2009. For terms of use, see the Chr omium <a href="http://src.chromium.org/viewvc/chrome/trunk/src/LICENSE" jstcache ="0">license</a>. </div> <!-- /pageFooter --> </div> <!-- /container --> </body> </html> 1 <!DOCTYPE html><!-- This page is a placeholder for generated extensions api doc. Note: 1) The <head> information in this page is significant, should be uniform across api docs and should be edited only with knowledge of the templating mecha nism. 2) The <body> tag *must* retain id="body" 3) All <body>.innerHTML is gener eated as an rendering step. If viewed in a browser, it will be re-generated from the template, json schema and authored overview content. 4) The <body>.innerHTM L is also generated by an offline step so that this page may easily be indexed b y search engines. TODO(rafaelw): Abstract this into a "pageshell" that becomes t he single version of page template shell and the "instance" pages (bookmarks.htm l, etc...) can be generated with a build step. --><!-- <html> must retain id="te mplate --><html xmlns="http://www.w3.org/1999/xhtml" jstcache="0"><!-- <head> da ta is significant and loads the needed libraries and styles --><head jstcache="0 "> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" jstcache=" 0"> <title jscontent="pageTitle" jstcache="1">[object HTMLDivElement]</title> <l ink href="css/ApiRefStyles.css" rel="stylesheet" type="text/css" jstcache="0"> < script type="text/javascript" src="../../../third_party/jstemplate/jstemplate_co mpiled.js" jstcache="0"> </script> <script type="text/javascript" src="js/api_pa ge_generator.js" jstcache="0"></script> <script type="text/javascript" src="js/b ootstrap.js" jstcache="0"></script> </head><!-- <body> content is completely gen erated. Do not edit, as it will be and rewritten. --><body jstcache="0"> <div id ="container" jstcache="0"> <a name="top" jstcache="0"> </a> <!-- API HEADER --> <div id="pageHeader" jstcache="0"> <div id="searchbox" jstcache="0"> <form actio n="http://www.google.com/cse" id="cse-search-box" jstcache="0"> <div jstcache="0 "> <input type="hidden" name="cx" value="002967670403910741006:61_cvzfqtno" jstc ache="0"> <input type="hidden" name="ie" value="UTF-8" jstcache="0"> <input type ="text" name="q" size="31" jstcache="0"> <input type="submit" name="sa" value="S earch" jstcache="0"> </div> </form> <script type="text/javascript" src="http://w ww.google.com/jsapi" jstcache="0"></script> <script type="text/javascript" jstca che="0">google.load("elements", "1", {packages: "transliteration"});</script> <s cript type="text/javascript" src="http://www.google.com/coop/cse/t13n?form=cse-s earch-box&amp;t13n_langs=en" jstcache="0"></script> <script type="text/javascrip t" src="http://www.google.com/coop/cse/brand?form=cse-search-box&amp;lang=en" js tcache="0"></script> </div> <div id="pageTitle" jstcache="0"> <h1 jscontent="get PageTitle()" jstcache="2">chrome.tabs API Reference</h1> </div> </div> <!-- /pag eHeader --> <div id="pageContent" jstcache="0"> <!-- SIDENAV --> <div id="leftNa v" jstcache="0"> <ul jstcache="0"> <li jstcache="0"> <a href="index.html" jstcac he="0">Home</a></li> <li jstcache="0"> <a href="getstarted.html" jstcache="0">Ge t Started</a></li> <li jstcache="0"> <a href="overview.html" jstcache="0">Overvi ew</a></li> <li jstcache="0">Reference <ul jstcache="0"> <li jstcache="0"><a hre f="manifest.html" jstcache="0">Manifest</a></li> <li jstcache="0"><a href="tools trip.html" jstcache="0">Toolstrips</a></li> <li jstcache="0"><a href="pageAction s.html" jstcache="0">Page Actions</a></li> <li jstcache="0"><a href="background_ pages.html" jstcache="0">Background Pages</a></li> <li jstcache="0"><a href="con tent_scripts.html" jstcache="0">Content Scripts</a></li> <li jstcache="0" class= "leftNavSelected">Tabs</li> <li jstcache="0"><a href="windows.html" jstcache="0" >Windows</a></li> <li jstcache="0"><a href="bookmarks.html" jstcache="0">Bookmar ks</a></li> <li jstcache="0"><a href="extension.html" jstcache="0">Extension</a> </li> <li jstcache="0"><a href="themes.html" jstcache="0">Themes</a></li> <li js tcache="0"><a href="npapi.html" jstcache="0">NPAPI Plugins</a></li> <li jstcache ="0"><a href="packaging.html" jstcache="0">Packaging</a></li> <li jstcache="0">< a href="autoupdate.html" jstcache="0">Autoupdate</a></li> </ul> </li> <li jstcac he="0">Samples <ul jstcache="0"> <li jstcache="0">[sample 1]</li> <li jstcache=" 0">[sample 2]</li> </ul> </li> </ul> </div> <div id="mainColumn" jstcache="0"> < !-- TABLE OF CONTENTS --> <div id="toc" jsdisplay="showPageTOC()" jstcache="3"> <p jstcache="0">Contents</p> <ol jstcache="0"> <li jsselect="getStaticTOC()" jst cache="9" jsinstance="*0" style="display: none; "> <a jscontent="name" jsvalues= ".href:'#' + href" jstcache="14">h2Name</a> <ol jstcache="0"> <li jsselect="$thi s.children" jstcache="22"> <a jscontent="name" jsvalues=".href:'#' + href" jstca che="14">h3Name</a> </li> </ol> </li> <div jsselect="apiDefinition" jstcache="4" > <li jsdisplay="$this.properties" jstcache="5" style="display: none; "> <a href ="#properties" jstcache="0">Properties</a> <ol jstcache="0"> <li jsselect="getPr opertyListFromObject($this)" jstcache="10"> <a jscontent="name" jsvalues=".href: '#property-' + name" href="#property-anchor" jstcache="38">propertyName</a> </li > </ol> </li> <li jsdisplay="functions &amp;&amp; functions.length &gt; 0" jstca che="6"> <a href="#methods" jstcache="0">Methods</a> <ol jstcache="0"> <li jssel ect="functions" jstcache="11" jsinstance="0"> <a jscontent="name" jsvalues=".hre f:'#method-' + name" href="#method-get" jstcache="39">get</a> </li><li jsselect= "functions" jstcache="11" jsinstance="1"> <a jscontent="name" jsvalues=".href:'# method-' + name" href="#method-connect" jstcache="39">connect</a> </li><li jssel ect="functions" jstcache="11" jsinstance="2"> <a jscontent="name" jsvalues=".hre f:'#method-' + name" href="#method-getSelected" jstcache="39">getSelected</a> </ li><li jsselect="functions" jstcache="11" jsinstance="3"> <a jscontent="name" js values=".href:'#method-' + name" href="#method-getAllInWindow" jstcache="39">get AllInWindow</a> </li><li jsselect="functions" jstcache="11" jsinstance="4"> <a j scontent="name" jsvalues=".href:'#method-' + name" href="#method-create" jstcach e="39">create</a> </li><li jsselect="functions" jstcache="11" jsinstance="5"> <a jscontent="name" jsvalues=".href:'#method-' + name" href="#method-update" jstca che="39">update</a> </li><li jsselect="functions" jstcache="11" jsinstance="6"> <a jscontent="name" jsvalues=".href:'#method-' + name" href="#method-move" jstca che="39">move</a> </li><li jsselect="functions" jstcache="11" jsinstance="7"> <a jscontent="name" jsvalues=".href:'#method-' + name" href="#method-remove" jstca che="39">remove</a> </li><li jsselect="functions" jstcache="11" jsinstance="8"> <a jscontent="name" jsvalues=".href:'#method-' + name" href="#method-detectLangu age" jstcache="39">detectLanguage</a> </li><li jsselect="functions" jstcache="11 " jsinstance="*9"> <a jscontent="name" jsvalues=".href:'#method-' + name" href=" #method-captureVisibleTab" jstcache="39">captureVisibleTab</a> </li> </ol> </li> <li jsdisplay="events &amp;&amp; events.length &gt; 0" jstcache="7"> <a href="# events" jstcache="0">Events</a> <ol jstcache="0"> <li jsselect="events" jstcache ="12" jsinstance="0"> <a jscontent="name" jsvalues=".href:'#event-' + name" href ="#event-onCreated" jstcache="40">onCreated</a> </li><li jsselect="events" jstca che="12" jsinstance="1"> <a jscontent="name" jsvalues=".href:'#event-' + name" h ref="#event-onUpdated" jstcache="40">onUpdated</a> </li><li jsselect="events" js tcache="12" jsinstance="2"> <a jscontent="name" jsvalues=".href:'#event-' + name " href="#event-onMoved" jstcache="40">onMoved</a> </li><li jsselect="events" jst cache="12" jsinstance="3"> <a jscontent="name" jsvalues=".href:'#event-' + name" href="#event-onSelectionChanged" jstcache="40">onSelectionChanged</a> </li><li jsselect="events" jstcache="12" jsinstance="4"> <a jscontent="name" jsvalues=".h ref:'#event-' + name" href="#event-onAttached" jstcache="40">onAttached</a> </li ><li jsselect="events" jstcache="12" jsinstance="5"> <a jscontent="name" jsvalue s=".href:'#event-' + name" href="#event-onDetached" jstcache="40">onDetached</a> </li><li jsselect="events" jstcache="12" jsinstance="*6"> <a jscontent="name" j svalues=".href:'#event-' + name" href="#event-onRemoved" jstcache="40">onRemoved </a> </li> </ol> </li> <li jsdisplay="types &amp;&amp; types.length &gt; 0" jstc ache="8"> <a href="#types" jstcache="0">Types</a> <ol jstcache="0"> <li jsselect ="types" jstcache="13" jsinstance="*0"> <a jscontent="id" jsvalues=".href:'#type -' + id" href="#type-Tab" jstcache="41">Tab</a> </li> </ol> </li> </div> </ol> < /div> <!-- /TABLE OF CONTENTS --> <!-- STATIC CONTENT PLACEHOLDER --> <div id="s tatic" jstcache="0"><!-- BEGIN AUTHORED CONTENT --> <p class="todo" jstcache="0" > [PENDING: API Module Overview Goes Here] </p> <!-- END AUTHORED CONTENT --> </ div> <!-- API PAGE --> <div class="apiPage" jsselect="apiDefinition" jstcache="4 "> <!-- PROPERTIES --> <div jsdisplay="$this.properties" class="apiGroup" jstcac he="5" style="display: none; "> <a name="#properties" jstcache="0"></a> <h2 id=" properties" jstcache="0">Properties</h2> <div jsselect="getPropertyListFromObjec t($this)" jstcache="10"> <a jsvalues=".name:'property-' + name" jstcache="15"></ a> <h3 jscontent="name" jstcache="16">getLastError</h3> <div class="summary" jst cache="0"> <!-- Note: intentionally longer 80 columns --> <span jscontent="getMo duleName() + '.'" jstcache="23">chrome.extension</span><span jscontent="$this.na me" jstcache="24">lastError</span> </div> <div transclude="valueTemplate" jstcac he="17"> </div> </div> </div> <!-- /apiGroup --> <!-- METHODS --> <div jsdisplay ="functions &amp;&amp; functions.length &gt; 0" class="apiGroup" id="methods" js tcache="6"> <a name="#methods" jstcache="0"></a> <h2 jstcache="0">Methods</h2> < !-- iterates over all functions --> <div class="apiItem" jsselect="functions" js tcache="11" jsinstance="0"> <a jsvalues=".name:'method-' + name" jstcache="18" n ame="method-get"></a> <!-- method-anchor --> <h3 jscontent="name" jstcache="16"> get</h3> <div class="summary" jstcache="0"><span jsdisplay="returns" jscontent=" getTypeName(returns)" jstcache="25" style="display: none; ">void</span> <!-- Not e: intentionally longer 80 columns --> <span jscontent="getFullyQualifiedFunctio nName($this)" jstcache="26">chrome.tabs.get</span>(<span jsselect="parameters" j svalues="class:optional ? 'optional' : ''" jstcache="27" jsinstance="0" class="n ull"><span jsdisplay="$index" jstcache="33" style="display: none; ">, </span><sp an jscontent="getTypeName($this)" jstcache="34">integer</span> <var jstcache="0" ><span jscontent="name" jstcache="16">tabId</span></var></span><span jsselect="p arameters" jsvalues="class:optional ? 'optional' : ''" jstcache="27" jsinstance= "*1" class="null"><span jsdisplay="$index" jstcache="33">, </span><span jsconten t="getTypeName($this)" jstcache="34">function</span> <var jstcache="0"><span jsc ontent="name" jstcache="16">callback</span></var></span>)</div> <div class="desc ription" jstcache="0"> <p class="todo" jsdisplay="!description" jstcache="28">Un documented.</p> <p jsdisplay="description" jsvalues=".innerHTML:description" jst cache="29" style="display: none; "> A description from the json schema def of th e function goes here. </p> <!-- PARAMETERS --> <h4 jstcache="0">Parameters</h4> <dl jstcache="0"> <div jsselect="parameters" jstcache="35" jsinstance="0"> <!-- VALUE: This is a subtemplate that is used elsewhere via jsTemplate *transclude* --> <div id="valueTemplate" jstcache="0"> <dt jstcache="0"> <var jsdisplay="$thi s.name" jscontent="$this.name" jstcache="45">tabId</var> <em jstcache="0"> <!-- TYPE --> <div style="display:inline" jstcache="0"> ( <span class="optional" jsdi splay="optional" jstcache="46" style="display: none; ">optional</span> <span id= "typeTemplate" jstcache="0"> <span jsdisplay="getTypeRef($this)" jstcache="47" s tyle="display: none; "> <a jsvalues=".href: getTypeRefPage($this) + '#type-' + g etTypeRef($this)" jscontent="getTypeRef($this)" jstcache="49"> Type</a> </span> <span jsdisplay="!getTypeRef($this)" jstcache="48"> <span jsdisplay="isArray($th is)" jstcache="50" style="display: none; "> array of <span jsselect="items" jstc ache="52"><span transclude="typeTemplate" jstcache="53"></span></span> </span> < span jsdisplay="!isArray($this)" jscontent="getTypeName($this)" jstcache="51">in teger</span> </span> </span> ) </div> </em> </dt> <dd class="todo" jsdisplay="!$ this.description" jstcache="42"> Undocumented. </dd> <dd jsdisplay="$this.descri ption" jsvalues=".innerHTML:$this.description" jstcache="43" style="display: non e; "> Description of this parameter from the json schema. </dd> <!-- OBJECT PROP ERTIES --> <dd jsdisplay="shouldExpandObject($this)" jstcache="44" style="displa y: none; "> <dl jstcache="0"> <div jsselect="getPropertyListFromObject($this)" j stcache="10"> <div transclude="valueTemplate" jstcache="17"> </div> </div> </dl> </dd> </div> <!-- /VALUE --> </div><div jsselect="parameters" jstcache="35" jsi nstance="*1"> <!-- VALUE: This is a subtemplate that is used elsewhere via jsTem plate *transclude* --> <div id="valueTemplate" jstcache="0"> <dt jstcache="0"> < var jsdisplay="$this.name" jscontent="$this.name" jstcache="45">callback</var> < em jstcache="0"> <!-- TYPE --> <div style="display:inline" jstcache="0"> ( <span class="optional" jsdisplay="optional" jstcache="46" style="display: none; ">opt ional</span> <span id="typeTemplate" jstcache="0"> <span jsdisplay="getTypeRef($ this)" jstcache="47" style="display: none; "> <a jsvalues=".href: getTypeRefPage ($this) + '#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache=" 49"> Type</a> </span> <span jsdisplay="!getTypeRef($this)" jstcache="48"> <span jsdisplay="isArray($this)" jstcache="50" style="display: none; "> array of <span jsselect="items" jstcache="52"><span transclude="typeTemplate" jstcache="53"></ span></span> </span> <span jsdisplay="!isArray($this)" jscontent="getTypeName($t his)" jstcache="51">function</span> </span> </span> ) </div> </em> </dt> <dd cla ss="todo" jsdisplay="!$this.description" jstcache="42"> Undocumented. </dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.description" jstcache=" 43" style="display: none; "> Description of this parameter from the json schema. </dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="shouldExpandObject($this)" jstc ache="44" style="display: none; "> <dl jstcache="0"> <div jsselect="getPropertyL istFromObject($this)" jstcache="10"> <div transclude="valueTemplate" jstcache="1 7"> </div> </div> </dl> </dd> </div> <!-- /VALUE --> </div> </dl> <!-- RETURNS - -> <h4 jsdisplay="returns" jstcache="30" style="display: none; ">Returns</h4> <d l jstcache="0"> <div jsselect="returns" jstcache="36" style="display: none; "> < div transclude="valueTemplate" jstcache="17"> </div> </div> </dl> <!-- CALLBACK --> <div jsdisplay="hasCallback(parameters)" jstcache="31"> <div jsselect=" getCallbackParameters(parameters)" jstcache="37"> <h4 jstcache="0">Callback func tion</h4> <p jstcache="0"> If you specify the <em jstcache="0">callback</em> par ameter, it should specify a function that looks like this: </p> <!-- Note: inten tionally longer 80 columns --> <pre jstcache="0">function(<span jscontent="getSi gnatureString(parameters)" jstcache="32">Tab tab</span>) <span class="subdued" j stcache="0">{...}</span>);</pre> <dl jstcache="0"> <div jsselect="parameters" js tcache="35" jsinstance="*0"> <div jstcache="0"> <dt jstcache="0"> <var jsdisplay ="$this.name" jscontent="$this.name" jstcache="45">tab</var> <em jstcache="0"> < !-- TYPE --> <div style="display:inline" jstcache="0"> ( <span class="optional" jsdisplay="optional" jstcache="46" style="display: none; ">optional</span> <span id="typeTemplate" jstcache="0"> <span jsdisplay="getTypeRef($this)" jstcache="4 7" style=""> <a jsvalues=".href: getTypeRefPage($this) + '#type-' + getTypeRef($ this)" jscontent="getTypeRef($this)" jstcache="49" href="tabs.html#type-Tab">Tab </a> </span> <span jsdisplay="!getTypeRef($this)" jstcache="48" style="display: none; "> <span jsdisplay="isArray($this)" jstcache="50" style="display: none; "> array of <span jsselect="items" jstcache="52"><span transclude="typeTemplate" j stcache="53"></span></span> </span> <span jsdisplay="!isArray($this)" jscontent= "getTypeName($this)" jstcache="51">integer</span> </span> </span> ) </div> </em> </dt> <dd class="todo" jsdisplay="!$this.description" jstcache="42"> Undocument ed. </dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.descripti on" jstcache="43" style="display: none; "> Description of this parameter from th e json schema. </dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="shouldExpandObjec t($this)" jstcache="44" style="display: none; "> <dl jstcache="0"> <div jsselect ="getPropertyListFromObject($this)" jstcache="10"> <div transclude="valueTemplat e" jstcache="17"> </div> </div> </dl> </dd> </div> </div> </dl> </div> </div> </ div> <!-- /description --> </div><div class="apiItem" jsselect="functions" jstca che="11" jsinstance="1"> <a jsvalues=".name:'method-' + name" jstcache="18" name ="method-connect"></a> <!-- method-anchor --> <h3 jscontent="name" jstcache="16" >connect</h3> <div class="summary" jstcache="0"><span jsdisplay="returns" jscont ent="getTypeName(returns)" jstcache="25">Port</span> <!-- Note: intentionally lo nger 80 columns --> <span jscontent="getFullyQualifiedFunctionName($this)" jstca che="26">chrome.tabs.connect</span>(<span jsselect="parameters" jsvalues="class: optional ? 'optional' : ''" jstcache="27" jsinstance="0" class="optional"><span jsdisplay="$index" jstcache="33" style="display: none; ">, </span><span jsconten t="getTypeName($this)" jstcache="34">integer</span> <var jstcache="0"><span jsco ntent="name" jstcache="16">tabId</span></var></span><span jsselect="parameters" jsvalues="class:optional ? 'optional' : ''" jstcache="27" jsinstance="*1" class= "optional"><span jsdisplay="$index" jstcache="33">, </span><span jscontent="getT ypeName($this)" jstcache="34">string</span> <var jstcache="0"><span jscontent="n ame" jstcache="16">name</span></var></span>)</div> <div class="description" jstc ache="0"> <p class="todo" jsdisplay="!description" jstcache="28">Undocumented.</ p> <p jsdisplay="description" jsvalues=".innerHTML:description" jstcache="29" st yle="display: none; "> A description from the json schema def of the function go es here. </p> <!-- PARAMETERS --> <h4 jstcache="0">Parameters</h4> <dl jstcache= "0"> <div jsselect="parameters" jstcache="35" jsinstance="0"> <!-- VALUE: This i s a subtemplate that is used elsewhere via jsTemplate *transclude* --> <div id=" valueTemplate" jstcache="0"> <dt jstcache="0"> <var jsdisplay="$this.name" jscon tent="$this.name" jstcache="45">tabId</var> <em jstcache="0"> <!-- TYPE --> <div style="display:inline" jstcache="0"> ( <span class="optional" jsdisplay="option al" jstcache="46">optional</span> <span id="typeTemplate" jstcache="0"> <span js display="getTypeRef($this)" jstcache="47" style="display: none; "> <a jsvalues=" .href: getTypeRefPage($this) + '#type-' + getTypeRef($this)" jscontent="getTypeR ef($this)" jstcache="49"> Type</a> </span> <span jsdisplay="!getTypeRef($this)" jstcache="48"> <span jsdisplay="isArray($this)" jstcache="50" style="display: no ne; "> array of <span jsselect="items" jstcache="52"><span transclude="typeTempl ate" jstcache="53"></span></span> </span> <span jsdisplay="!isArray($this)" jsco ntent="getTypeName($this)" jstcache="51">integer</span> </span> </span> ) </div> </em> </dt> <dd class="todo" jsdisplay="!$this.description" jstcache="42"> Undo cumented. </dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.des cription" jstcache="43" style="display: none; "> Description of this parameter f rom the json schema. </dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="shouldExpan dObject($this)" jstcache="44" style="display: none; "> <dl jstcache="0"> <div js select="getPropertyListFromObject($this)" jstcache="10"> <div transclude="valueT emplate" jstcache="17"> </div> </div> </dl> </dd> </div> <!-- /VALUE --> </div>< div jsselect="parameters" jstcache="35" jsinstance="*1"> <!-- VALUE: This is a s ubtemplate that is used elsewhere via jsTemplate *transclude* --> <div id="value Template" jstcache="0"> <dt jstcache="0"> <var jsdisplay="$this.name" jscontent= "$this.name" jstcache="45">name</var> <em jstcache="0"> <!-- TYPE --> <div style ="display:inline" jstcache="0"> ( <span class="optional" jsdisplay="optional" js tcache="46">optional</span> <span id="typeTemplate" jstcache="0"> <span jsdispla y="getTypeRef($this)" jstcache="47" style="display: none; "> <a jsvalues=".href: getTypeRefPage($this) + '#type-' + getTypeRef($this)" jscontent="getTypeRef($th is)" jstcache="49"> Type</a> </span> <span jsdisplay="!getTypeRef($this)" jstcac he="48"> <span jsdisplay="isArray($this)" jstcache="50" style="display: none; "> array of <span jsselect="items" jstcache="52"><span transclude="typeTemplate" j stcache="53"></span></span> </span> <span jsdisplay="!isArray($this)" jscontent= "getTypeName($this)" jstcache="51">string</span> </span> </span> ) </div> </em> </dt> <dd class="todo" jsdisplay="!$this.description" jstcache="42"> Undocumente d. </dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.descriptio n" jstcache="43" style="display: none; "> Description of this parameter from the json schema. </dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="shouldExpandObject ($this)" jstcache="44" style="display: none; "> <dl jstcache="0"> <div jsselect= "getPropertyListFromObject($this)" jstcache="10"> <div transclude="valueTemplate " jstcache="17"> </div> </div> </dl> </dd> </div> <!-- /VALUE --> </div> </dl> < !-- RETURNS --> <h4 jsdisplay="returns" jstcache="30">Returns</h4> <dl jstcache= "0"> <div jsselect="returns" jstcache="36"> <div jstcache="0"> <dt jstcache="0"> <var jsdisplay="$this.name" jscontent="$this.name" jstcache="45" style="display : none; ">tabId</var> <em jstcache="0"> <!-- TYPE --> <div style="display:inline " jstcache="0"> ( <span class="optional" jsdisplay="optional" jstcache="46" styl e="display: none; ">optional</span> <span id="typeTemplate" jstcache="0"> <span jsdisplay="getTypeRef($this)" jstcache="47" style=""> <a jsvalues=".href: getTyp eRefPage($this) + '#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" js tcache="49" href="extension.html#type-Port">Port</a> </span> <span jsdisplay="!g etTypeRef($this)" jstcache="48" style="display: none; "> <span jsdisplay="isArra y($this)" jstcache="50" style="display: none; "> array of <span jsselect="items" jstcache="52"><span transclude="typeTemplate" jstcache="53"></span></span> </sp an> <span jsdisplay="!isArray($this)" jscontent="getTypeName($this)" jstcache="5 1">integer</span> </span> </span> ) </div> </em> </dt> <dd class="todo" jsdispla y="!$this.description" jstcache="42"> Undocumented. </dd> <dd jsdisplay="$this.d escription" jsvalues=".innerHTML:$this.description" jstcache="43" style="display : none; "> Description of this parameter from the json schema. </dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="shouldExpandObject($this)" jstcache="44" style="d isplay: none; "> <dl jstcache="0"> <div jsselect="getPropertyListFromObject($thi s)" jstcache="10"> <div transclude="valueTemplate" jstcache="17"> </div> </div> </dl> </dd> </div> </div> </dl> <!-- CALLBACK --> <div jsdisplay="hasCall back(parameters)" jstcache="31" style="display: none; "> <div jsselect="getCallb ackParameters(parameters)" jstcache="37"> <h4 jstcache="0">Callback function</h4 > <p jstcache="0"> If you specify the <em jstcache="0">callback</em> parameter, it should specify a function that looks like this: </p> <!-- Note: intentionally longer 80 columns --> <pre jstcache="0">function(<span jscontent="getSignatureS tring(parameters)" jstcache="32">Type param1, Type param2</span>) <span class="s ubdued" jstcache="0">{...}</span>);</pre> <dl jstcache="0"> <div jsselect="param eters" jstcache="35"> <div transclude="valueTemplate" jstcache="17"> </div> </di v> </dl> </div> </div> </div> <!-- /description --> </div><div class="apiItem" j sselect="functions" jstcache="11" jsinstance="2"> <a jsvalues=".name:'method-' + name" jstcache="18" name="method-getSelected"></a> <!-- method-anchor --> <h3 j scontent="name" jstcache="16">getSelected</h3> <div class="summary" jstcache="0" ><span jsdisplay="returns" jscontent="getTypeName(returns)" jstcache="25" style= "display: none; ">void</span> <!-- Note: intentionally longer 80 columns --> <sp an jscontent="getFullyQualifiedFunctionName($this)" jstcache="26">chrome.tabs.ge tSelected</span>(<span jsselect="parameters" jsvalues="class:optional ? 'optiona l' : ''" jstcache="27" jsinstance="0" class="optional"><span jsdisplay="$index" jstcache="33" style="display: none; ">, </span><span jscontent="getTypeName($thi s)" jstcache="34">integer</span> <var jstcache="0"><span jscontent="name" jstcac he="16">windowId</span></var></span><span jsselect="parameters" jsvalues="class: optional ? 'optional' : ''" jstcache="27" jsinstance="*1" class="null"><span jsd isplay="$index" jstcache="33">, </span><span jscontent="getTypeName($this)" jstc ache="34">function</span> <var jstcache="0"><span jscontent="name" jstcache="16" >callback</span></var></span>)</div> <div class="description" jstcache="0"> <p c lass="todo" jsdisplay="!description" jstcache="28">Undocumented.</p> <p jsdispla y="description" jsvalues=".innerHTML:description" jstcache="29" style="display: none; "> A description from the json schema def of the function goes here. </p> <!-- PARAMETERS --> <h4 jstcache="0">Parameters</h4> <dl jstcache="0"> <div jsse lect="parameters" jstcache="35" jsinstance="0"> <!-- VALUE: This is a subtemplat e that is used elsewhere via jsTemplate *transclude* --> <div id="valueTemplate" jstcache="0"> <dt jstcache="0"> <var jsdisplay="$this.name" jscontent="$this.na me" jstcache="45">windowId</var> <em jstcache="0"> <!-- TYPE --> <div style="dis play:inline" jstcache="0"> ( <span class="optional" jsdisplay="optional" jstcach e="46">optional</span> <span id="typeTemplate" jstcache="0"> <span jsdisplay="ge tTypeRef($this)" jstcache="47" style="display: none; "> <a jsvalues=".href: getT ypeRefPage($this) + '#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="49"> Type</a> </span> <span jsdisplay="!getTypeRef($this)" jstcache="4 8"> <span jsdisplay="isArray($this)" jstcache="50" style="display: none; "> arra y of <span jsselect="items" jstcache="52"><span transclude="typeTemplate" jstcac he="53"></span></span> </span> <span jsdisplay="!isArray($this)" jscontent="getT ypeName($this)" jstcache="51">integer</span> </span> </span> ) </div> </em> </dt > <dd class="todo" jsdisplay="!$this.description" jstcache="42"> Undocumented. < /dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.description" j stcache="43" style="display: none; "> Description of this parameter from the jso n schema. </dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="shouldExpandObject($th is)" jstcache="44" style="display: none; "> <dl jstcache="0"> <div jsselect="get PropertyListFromObject($this)" jstcache="10"> <div transclude="valueTemplate" js tcache="17"> </div> </div> </dl> </dd> </div> <!-- /VALUE --> </div><div jsselec t="parameters" jstcache="35" jsinstance="*1"> <!-- VALUE: This is a subtemplate that is used elsewhere via jsTemplate *transclude* --> <div id="valueTemplate" j stcache="0"> <dt jstcache="0"> <var jsdisplay="$this.name" jscontent="$this.name " jstcache="45">callback</var> <em jstcache="0"> <!-- TYPE --> <div style="displ ay:inline" jstcache="0"> ( <span class="optional" jsdisplay="optional" jstcache= "46" style="display: none; ">optional</span> <span id="typeTemplate" jstcache="0 "> <span jsdisplay="getTypeRef($this)" jstcache="47" style="display: none; "> <a jsvalues=".href: getTypeRefPage($this) + '#type-' + getTypeRef($this)" jsconten t="getTypeRef($this)" jstcache="49"> Type</a> </span> <span jsdisplay="!getTypeR ef($this)" jstcache="48"> <span jsdisplay="isArray($this)" jstcache="50" style=" display: none; "> array of <span jsselect="items" jstcache="52"><span transclude ="typeTemplate" jstcache="53"></span></span> </span> <span jsdisplay="!isArray($ this)" jscontent="getTypeName($this)" jstcache="51">function</span> </span> </sp an> ) </div> </em> </dt> <dd class="todo" jsdisplay="!$this.description" jstcach e="42"> Undocumented. </dd> <dd jsdisplay="$this.description" jsvalues=".innerHT ML:$this.description" jstcache="43" style="display: none; "> Description of this parameter from the json schema. </dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay= "shouldExpandObject($this)" jstcache="44" style="display: none; "> <dl jstcache= "0"> <div jsselect="getPropertyListFromObject($this)" jstcache="10"> <div transc lude="valueTemplate" jstcache="17"> </div> </div> </dl> </dd> </div> <!-- /VALUE --> </div> </dl> <!-- RETURNS --> <h4 jsdisplay="returns" jstcache="30" style=" display: none; ">Returns</h4> <dl jstcache="0"> <div jsselect="returns" jstcache ="36" style="display: none; "> <div transclude="valueTemplate" jstcache="17"> </ div> </div> </dl> <!-- CALLBACK --> <div jsdisplay="hasCallback(parameters) " jstcache="31"> <div jsselect="getCallbackParameters(parameters)" jstcache="37" > <h4 jstcache="0">Callback function</h4> <p jstcache="0"> If you specify the <e m jstcache="0">callback</em> parameter, it should specify a function that looks like this: </p> <!-- Note: intentionally longer 80 columns --> <pre jstcache="0" >function(<span jscontent="getSignatureString(parameters)" jstcache="32">Tab tab </span>) <span class="subdued" jstcache="0">{...}</span>);</pre> <dl jstcache="0 "> <div jsselect="parameters" jstcache="35" jsinstance="*0"> <div jstcache="0"> <dt jstcache="0"> <var jsdisplay="$this.name" jscontent="$this.name" jstcache="4 5">tab</var> <em jstcache="0"> <!-- TYPE --> <div style="display:inline" jstcach e="0"> ( <span class="optional" jsdisplay="optional" jstcache="46" style="displa y: none; ">optional</span> <span id="typeTemplate" jstcache="0"> <span jsdisplay ="getTypeRef($this)" jstcache="47" style=""> <a jsvalues=".href: getTypeRefPage( $this) + '#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="4 9" href="tabs.html#type-Tab">Tab</a> </span> <span jsdisplay="!getTypeRef($this) " jstcache="48" style="display: none; "> <span jsdisplay="isArray($this)" jstcac he="50" style="display: none; "> array of <span jsselect="items" jstcache="52">< span transclude="typeTemplate" jstcache="53"></span></span> </span> <span jsdisp lay="!isArray($this)" jscontent="getTypeName($this)" jstcache="51">integer</span > </span> </span> ) </div> </em> </dt> <dd class="todo" jsdisplay="!$this.descri ption" jstcache="42"> Undocumented. </dd> <dd jsdisplay="$this.description" jsva lues=".innerHTML:$this.description" jstcache="43" style="display: none; "> Descr iption of this parameter from the json schema. </dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="shouldExpandObject($this)" jstcache="44" style="display: none; "> <dl jstcache="0"> <div jsselect="getPropertyListFromObject($this)" jstcache="10 "> <div transclude="valueTemplate" jstcache="17"> </div> </div> </dl> </dd> </di v> </div> </dl> </div> </div> </div> <!-- /description --> </div><div class="api Item" jsselect="functions" jstcache="11" jsinstance="3"> <a jsvalues=".name:'met hod-' + name" jstcache="18" name="method-getAllInWindow"></a> <!-- method-anchor --> <h3 jscontent="name" jstcache="16">getAllInWindow</h3> <div class="summary" jstcache="0"><span jsdisplay="returns" jscontent="getTypeName(returns)" jstcach e="25" style="display: none; ">void</span> <!-- Note: intentionally longer 80 co lumns --> <span jscontent="getFullyQualifiedFunctionName($this)" jstcache="26">c hrome.tabs.getAllInWindow</span>(<span jsselect="parameters" jsvalues="class:opt ional ? 'optional' : ''" jstcache="27" jsinstance="0" class="optional"><span jsd isplay="$index" jstcache="33" style="display: none; ">, </span><span jscontent=" getTypeName($this)" jstcache="34">integer</span> <var jstcache="0"><span jsconte nt="name" jstcache="16">windowId</span></var></span><span jsselect="parameters" jsvalues="class:optional ? 'optional' : ''" jstcache="27" jsinstance="*1" class= "null"><span jsdisplay="$index" jstcache="33">, </span><span jscontent="getTypeN ame($this)" jstcache="34">function</span> <var jstcache="0"><span jscontent="nam e" jstcache="16">callback</span></var></span>)</div> <div class="description" js tcache="0"> <p class="todo" jsdisplay="!description" jstcache="28">Undocumented. </p> <p jsdisplay="description" jsvalues=".innerHTML:description" jstcache="29" style="display: none; "> A description from the json schema def of the function goes here. </p> <!-- PARAMETERS --> <h4 jstcache="0">Parameters</h4> <dl jstcach e="0"> <div jsselect="parameters" jstcache="35" jsinstance="0"> <!-- VALUE: This is a subtemplate that is used elsewhere via jsTemplate *transclude* --> <div id ="valueTemplate" jstcache="0"> <dt jstcache="0"> <var jsdisplay="$this.name" jsc ontent="$this.name" jstcache="45">windowId</var> <em jstcache="0"> <!-- TYPE --> <div style="display:inline" jstcache="0"> ( <span class="optional" jsdisplay="o ptional" jstcache="46">optional</span> <span id="typeTemplate" jstcache="0"> <sp an jsdisplay="getTypeRef($this)" jstcache="47" style="display: none; "> <a jsval ues=".href: getTypeRefPage($this) + '#type-' + getTypeRef($this)" jscontent="get TypeRef($this)" jstcache="49"> Type</a> </span> <span jsdisplay="!getTypeRef($th is)" jstcache="48"> <span jsdisplay="isArray($this)" jstcache="50" style="displa y: none; "> array of <span jsselect="items" jstcache="52"><span transclude="type Template" jstcache="53"></span></span> </span> <span jsdisplay="!isArray($this)" jscontent="getTypeName($this)" jstcache="51">integer</span> </span> </span> ) < /div> </em> </dt> <dd class="todo" jsdisplay="!$this.description" jstcache="42"> Undocumented. </dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML:$thi s.description" jstcache="43" style="display: none; "> Description of this parame ter from the json schema. </dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="should ExpandObject($this)" jstcache="44" style="display: none; "> <dl jstcache="0"> <d iv jsselect="getPropertyListFromObject($this)" jstcache="10"> <div transclude="v alueTemplate" jstcache="17"> </div> </div> </dl> </dd> </div> <!-- /VALUE --> </ div><div jsselect="parameters" jstcache="35" jsinstance="*1"> <!-- VALUE: This i s a subtemplate that is used elsewhere via jsTemplate *transclude* --> <div id=" valueTemplate" jstcache="0"> <dt jstcache="0"> <var jsdisplay="$this.name" jscon tent="$this.name" jstcache="45">callback</var> <em jstcache="0"> <!-- TYPE --> < div style="display:inline" jstcache="0"> ( <span class="optional" jsdisplay="opt ional" jstcache="46" style="display: none; ">optional</span> <span id="typeTempl ate" jstcache="0"> <span jsdisplay="getTypeRef($this)" jstcache="47" style="disp lay: none; "> <a jsvalues=".href: getTypeRefPage($this) + '#type-' + getTypeRef( $this)" jscontent="getTypeRef($this)" jstcache="49"> Type</a> </span> <span jsdi splay="!getTypeRef($this)" jstcache="48"> <span jsdisplay="isArray($this)" jstca che="50" style="display: none; "> array of <span jsselect="items" jstcache="52"> <span transclude="typeTemplate" jstcache="53"></span></span> </span> <span jsdis play="!isArray($this)" jscontent="getTypeName($this)" jstcache="51">function</sp an> </span> </span> ) </div> </em> </dt> <dd class="todo" jsdisplay="!$this.desc ription" jstcache="42"> Undocumented. </dd> <dd jsdisplay="$this.description" js values=".innerHTML:$this.description" jstcache="43" style="display: none; "> Des cription of this parameter from the json schema. </dd> <!-- OBJECT PROPERTIES -- > <dd jsdisplay="shouldExpandObject($this)" jstcache="44" style="display: none; "> <dl jstcache="0"> <div jsselect="getPropertyListFromObject($this)" jstcache=" 10"> <div transclude="valueTemplate" jstcache="17"> </div> </div> </dl> </dd> </ div> <!-- /VALUE --> </div> </dl> <!-- RETURNS --> <h4 jsdisplay="returns" jstca che="30" style="display: none; ">Returns</h4> <dl jstcache="0"> <div jsselect="r eturns" jstcache="36" style="display: none; "> <div transclude="valueTemplate" j stcache="17"> </div> </div> </dl> <!-- CALLBACK --> <div jsdisplay="hasCall back(parameters)" jstcache="31"> <div jsselect="getCallbackParameters(parameters )" jstcache="37"> <h4 jstcache="0">Callback function</h4> <p jstcache="0"> If yo u specify the <em jstcache="0">callback</em> parameter, it should specify a func tion that looks like this: </p> <!-- Note: intentionally longer 80 columns --> < pre jstcache="0">function(<span jscontent="getSignatureString(parameters)" jstca che="32">array of Tab tabs</span>) <span class="subdued" jstcache="0">{...}</spa n>);</pre> <dl jstcache="0"> <div jsselect="parameters" jstcache="35" jsinstance ="*0"> <div jstcache="0"> <dt jstcache="0"> <var jsdisplay="$this.name" jsconten t="$this.name" jstcache="45">tabs</var> <em jstcache="0"> <!-- TYPE --> <div sty le="display:inline" jstcache="0"> ( <span class="optional" jsdisplay="optional" jstcache="46" style="display: none; ">optional</span> <span id="typeTemplate" js tcache="0"> <span jsdisplay="getTypeRef($this)" jstcache="47" style="display: no ne; "> <a jsvalues=".href: getTypeRefPage($this) + '#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="49"> Type</a> </span> <span jsdisplay=" !getTypeRef($this)" jstcache="48"> <span jsdisplay="isArray($this)" jstcache="50 " style=""> array of <span jsselect="items" jstcache="52"><span jstcache="0"> <s pan jsdisplay="getTypeRef($this)" jstcache="47" style=""> <a jsvalues=".href: ge tTypeRefPage($this) + '#type-' + getTypeRef($this)" jscontent="getTypeRef($this) " jstcache="49" href="tabs.html#type-Tab">Tab</a> </span> <span jsdisplay="!getT ypeRef($this)" jstcache="48" style="display: none; "> <span jsdisplay="isArray($ this)" jstcache="50" style="display: none; "> array of <span jsselect="items" js tcache="52"><span transclude="typeTemplate" jstcache="53"></span></span> </span> <span jsdisplay="!isArray($this)" jscontent="getTypeName($this)" jstcache="51"> integer</span> </span> </span></span> </span> <span jsdisplay="!isArray($this)" jscontent="getTypeName($this)" jstcache="51" style="display: none; ">integer</sp an> </span> </span> ) </div> </em> </dt> <dd class="todo" jsdisplay="!$this.desc ription" jstcache="42"> Undocumented. </dd> <dd jsdisplay="$this.description" js values=".innerHTML:$this.description" jstcache="43" style="display: none; "> Des cription of this parameter from the json schema. </dd> <!-- OBJECT PROPERTIES -- > <dd jsdisplay="shouldExpandObject($this)" jstcache="44" style="display: none; "> <dl jstcache="0"> <div jsselect="getPropertyListFromObject($this)" jstcache=" 10"> <div transclude="valueTemplate" jstcache="17"> </div> </div> </dl> </dd> </ div> </div> </dl> </div> </div> </div> <!-- /description --> </div><div class="a piItem" jsselect="functions" jstcache="11" jsinstance="4"> <a jsvalues=".name:'m ethod-' + name" jstcache="18" name="method-create"></a> <!-- method-anchor --> < h3 jscontent="name" jstcache="16">create</h3> <div class="summary" jstcache="0"> <span jsdisplay="returns" jscontent="getTypeName(returns)" jstcache="25" style=" display: none; ">void</span> <!-- Note: intentionally longer 80 columns --> <spa n jscontent="getFullyQualifiedFunctionName($this)" jstcache="26">chrome.tabs.cre ate</span>(<span jsselect="parameters" jsvalues="class:optional ? 'optional' : ' '" jstcache="27" jsinstance="0" class="null"><span jsdisplay="$index" jstcache=" 33" style="display: none; ">, </span><span jscontent="getTypeName($this)" jstcac he="34">object</span> <var jstcache="0"><span jscontent="name" jstcache="16">cre ateProperties</span></var></span><span jsselect="parameters" jsvalues="class:opt ional ? 'optional' : ''" jstcache="27" jsinstance="*1" class="optional"><span js display="$index" jstcache="33">, </span><span jscontent="getTypeName($this)" jst cache="34">function</span> <var jstcache="0"><span jscontent="name" jstcache="16 ">callback</span></var></span>)</div> <div class="description" jstcache="0"> <p class="todo" jsdisplay="!description" jstcache="28">Undocumented.</p> <p jsdispl ay="description" jsvalues=".innerHTML:description" jstcache="29" style="display: none; "> A description from the json schema def of the function goes here. </p> <!-- PARAMETERS --> <h4 jstcache="0">Parameters</h4> <dl jstcache="0"> <div jss elect="parameters" jstcache="35" jsinstance="0"> <!-- VALUE: This is a subtempla te that is used elsewhere via jsTemplate *transclude* --> <div id="valueTemplate " jstcache="0"> <dt jstcache="0"> <var jsdisplay="$this.name" jscontent="$this.n ame" jstcache="45">createProperties</var> <em jstcache="0"> <!-- TYPE --> <div s tyle="display:inline" jstcache="0"> ( <span class="optional" jsdisplay="optional " jstcache="46" style="display: none; ">optional</span> <span id="typeTemplate" jstcache="0"> <span jsdisplay="getTypeRef($this)" jstcache="47" style="display: none; "> <a jsvalues=".href: getTypeRefPage($this) + '#type-' + getTypeRef($this )" jscontent="getTypeRef($this)" jstcache="49"> Type</a> </span> <span jsdisplay ="!getTypeRef($this)" jstcache="48"> <span jsdisplay="isArray($this)" jstcache=" 50" style="display: none; "> array of <span jsselect="items" jstcache="52"><span transclude="typeTemplate" jstcache="53"></span></span> </span> <span jsdisplay= "!isArray($this)" jscontent="getTypeName($this)" jstcache="51">object</span> </s pan> </span> ) </div> </em> </dt> <dd class="todo" jsdisplay="!$this.description " jstcache="42"> Undocumented. </dd> <dd jsdisplay="$this.description" jsvalues= ".innerHTML:$this.description" jstcache="43" style="display: none; "> Descriptio n of this parameter from the json schema. </dd> <!-- OBJECT PROPERTIES --> <dd j sdisplay="shouldExpandObject($this)" jstcache="44"> <dl jstcache="0"> <div jssel ect="getPropertyListFromObject($this)" jstcache="10" jsinstance="0"> <div jstcac he="0"> <dt jstcache="0"> <var jsdisplay="$this.name" jscontent="$this.name" jst cache="45">windowId</var> <em jstcache="0"> <!-- TYPE --> <div style="display:in line" jstcache="0"> ( <span class="optional" jsdisplay="optional" jstcache="46" style="">optional</span> <span id="typeTemplate" jstcache="0"> <span jsdisplay=" getTypeRef($this)" jstcache="47" style="display: none; "> <a jsvalues=".href: ge tTypeRefPage($this) + '#type-' + getTypeRef($this)" jscontent="getTypeRef($this) " jstcache="49"> Type</a> </span> <span jsdisplay="!getTypeRef($this)" jstcache= "48"> <span jsdisplay="isArray($this)" jstcache="50" style="display: none; "> ar ray of <span jsselect="items" jstcache="52"><span transclude="typeTemplate" jstc ache="53"></span></span> </span> <span jsdisplay="!isArray($this)" jscontent="ge tTypeName($this)" jstcache="51">integer</span> </span> </span> ) </div> </em> </ dt> <dd class="todo" jsdisplay="!$this.description" jstcache="42"> Undocumented. </dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.description" jstcache="43" style="display: none; "> Description of this parameter from the j son schema. </dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="shouldExpandObject($ this)" jstcache="44" style="display: none; "> <dl jstcache="0"> <div jsselect="g etPropertyListFromObject($this)" jstcache="10"> <div transclude="valueTemplate" jstcache="17"> </div> </div> </dl> </dd> </div> </div><div jsselect="getProperty ListFromObject($this)" jstcache="10" jsinstance="1"> <div jstcache="0"> <dt jstc ache="0"> <var jsdisplay="$this.name" jscontent="$this.name" jstcache="45">index </var> <em jstcache="0"> <!-- TYPE --> <div style="display:inline" jstcache="0"> ( <span class="optional" jsdisplay="optional" jstcache="46" style="">optional</ span> <span id="typeTemplate" jstcache="0"> <span jsdisplay="getTypeRef($this)" jstcache="47" style="display: none; "> <a jsvalues=".href: getTypeRefPage($this) + '#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="49"> Ty pe</a> </span> <span jsdisplay="!getTypeRef($this)" jstcache="48"> <span jsdispl ay="isArray($this)" jstcache="50" style="display: none; "> array of <span jssele ct="items" jstcache="52"><span transclude="typeTemplate" jstcache="53"></span></ span> </span> <span jsdisplay="!isArray($this)" jscontent="getTypeName($this)" j stcache="51">integer</span> </span> </span> ) </div> </em> </dt> <dd class="todo " jsdisplay="!$this.description" jstcache="42"> Undocumented. </dd> <dd jsdispla y="$this.description" jsvalues=".innerHTML:$this.description" jstcache="43" styl e="display: none; "> Description of this parameter from the json schema. </dd> < !-- OBJECT PROPERTIES --> <dd jsdisplay="shouldExpandObject($this)" jstcache="44 " style="display: none; "> <dl jstcache="0"> <div jsselect="getPropertyListFromO bject($this)" jstcache="10"> <div transclude="valueTemplate" jstcache="17"> </di v> </div> </dl> </dd> </div> </div><div jsselect="getPropertyListFromObject($thi s)" jstcache="10" jsinstance="2"> <div jstcache="0"> <dt jstcache="0"> <var jsdi splay="$this.name" jscontent="$this.name" jstcache="45">url</var> <em jstcache=" 0"> <!-- TYPE --> <div style="display:inline" jstcache="0"> ( <span class="optio nal" jsdisplay="optional" jstcache="46" style="">optional</span> <span id="typeT emplate" jstcache="0"> <span jsdisplay="getTypeRef($this)" jstcache="47" style=" display: none; "> <a jsvalues=".href: getTypeRefPage($this) + '#type-' + getType Ref($this)" jscontent="getTypeRef($this)" jstcache="49"> Type</a> </span> <span jsdisplay="!getTypeRef($this)" jstcache="48"> <span jsdisplay="isArray($this)" j stcache="50" style="display: none; "> array of <span jsselect="items" jstcache=" 52"><span transclude="typeTemplate" jstcache="53"></span></span> </span> <span j sdisplay="!isArray($this)" jscontent="getTypeName($this)" jstcache="51">string</ span> </span> </span> ) </div> </em> </dt> <dd class="todo" jsdisplay="!$this.de scription" jstcache="42"> Undocumented. </dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.description" jstcache="43" style="display: none; "> D escription of this parameter from the json schema. </dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="shouldExpandObject($this)" jstcache="44" style="display: none ; "> <dl jstcache="0"> <div jsselect="getPropertyListFromObject($this)" jstcache ="10"> <div transclude="valueTemplate" jstcache="17"> </div> </div> </dl> </dd> </div> </div><div jsselect="getPropertyListFromObject($this)" jstcache="10" jsin stance="*3"> <div jstcache="0"> <dt jstcache="0"> <var jsdisplay="$this.name" js content="$this.name" jstcache="45">selected</var> <em jstcache="0"> <!-- TYPE -- > <div style="display:inline" jstcache="0"> ( <span class="optional" jsdisplay=" optional" jstcache="46" style="">optional</span> <span id="typeTemplate" jstcach e="0"> <span jsdisplay="getTypeRef($this)" jstcache="47" style="display: none; " > <a jsvalues=".href: getTypeRefPage($this) + '#type-' + getTypeRef($this)" jsco ntent="getTypeRef($this)" jstcache="49"> Type</a> </span> <span jsdisplay="!getT ypeRef($this)" jstcache="48"> <span jsdisplay="isArray($this)" jstcache="50" sty le="display: none; "> array of <span jsselect="items" jstcache="52"><span transc lude="typeTemplate" jstcache="53"></span></span> </span> <span jsdisplay="!isArr ay($this)" jscontent="getTypeName($this)" jstcache="51">boolean</span> </span> < /span> ) </div> </em> </dt> <dd class="todo" jsdisplay="!$this.description" jstc ache="42"> Undocumented. </dd> <dd jsdisplay="$this.description" jsvalues=".inne rHTML:$this.description" jstcache="43" style="display: none; "> Description of t his parameter from the json schema. </dd> <!-- OBJECT PROPERTIES --> <dd jsdispl ay="shouldExpandObject($this)" jstcache="44" style="display: none; "> <dl jstcac he="0"> <div jsselect="getPropertyListFromObject($this)" jstcache="10"> <div tra nsclude="valueTemplate" jstcache="17"> </div> </div> </dl> </dd> </div> </div> < /dl> </dd> </div> <!-- /VALUE --> </div><div jsselect="parameters" jstcache="35" jsinstance="*1"> <!-- VALUE: This is a subtemplate that is used elsewhere via j sTemplate *transclude* --> <div id="valueTemplate" jstcache="0"> <dt jstcache="0 "> <var jsdisplay="$this.name" jscontent="$this.name" jstcache="45">callback</va r> <em jstcache="0"> <!-- TYPE --> <div style="display:inline" jstcache="0"> ( < span class="optional" jsdisplay="optional" jstcache="46">optional</span> <span i d="typeTemplate" jstcache="0"> <span jsdisplay="getTypeRef($this)" jstcache="47" style="display: none; "> <a jsvalues=".href: getTypeRefPage($this) + '#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="49"> Type</a> </span > <span jsdisplay="!getTypeRef($this)" jstcache="48"> <span jsdisplay="isArray($ this)" jstcache="50" style="display: none; "> array of <span jsselect="items" js tcache="52"><span transclude="typeTemplate" jstcache="53"></span></span> </span> <span jsdisplay="!isArray($this)" jscontent="getTypeName($this)" jstcache="51"> function</span> </span> </span> ) </div> </em> </dt> <dd class="todo" jsdisplay= "!$this.description" jstcache="42"> Undocumented. </dd> <dd jsdisplay="$this.des cription" jsvalues=".innerHTML:$this.description" jstcache="43" style="display: none; "> Description of this parameter from the json schema. </dd> <!-- OBJECT P ROPERTIES --> <dd jsdisplay="shouldExpandObject($this)" jstcache="44" style="dis play: none; "> <dl jstcache="0"> <div jsselect="getPropertyListFromObject($this) " jstcache="10"> <div transclude="valueTemplate" jstcache="17"> </div> </div> </ dl> </dd> </div> <!-- /VALUE --> </div> </dl> <!-- RETURNS --> <h4 jsdisplay="re turns" jstcache="30" style="display: none; ">Returns</h4> <dl jstcache="0"> <div jsselect="returns" jstcache="36" style="display: none; "> <div transclude="valu eTemplate" jstcache="17"> </div> </div> </dl> <!-- CALLBACK --> <div jsdisplay= "hasCallback(parameters)" jstcache="31"> <div jsselect="getCallbackParameters(pa rameters)" jstcache="37"> <h4 jstcache="0">Callback function</h4> <p jstcache="0 "> If you specify the <em jstcache="0">callback</em> parameter, it should specif y a function that looks like this: </p> <!-- Note: intentionally longer 80 colum ns --> <pre jstcache="0">function(<span jscontent="getSignatureString(parameters )" jstcache="32">Tab tab</span>) <span class="subdued" jstcache="0">{...}</span> );</pre> <dl jstcache="0"> <div jsselect="parameters" jstcache="35" jsinstance=" *0"> <div jstcache="0"> <dt jstcache="0"> <var jsdisplay="$this.name" jscontent= "$this.name" jstcache="45">tab</var> <em jstcache="0"> <!-- TYPE --> <div style= "display:inline" jstcache="0"> ( <span class="optional" jsdisplay="optional" jst cache="46" style="display: none; ">optional</span> <span id="typeTemplate" jstca che="0"> <span jsdisplay="getTypeRef($this)" jstcache="47" style=""> <a jsvalues =".href: getTypeRefPage($this) + '#type-' + getTypeRef($this)" jscontent="getTyp eRef($this)" jstcache="49" href="tabs.html#type-Tab">Tab</a> </span> <span jsdis play="!getTypeRef($this)" jstcache="48" style="display: none; "> <span jsdisplay ="isArray($this)" jstcache="50" style="display: none; "> array of <span jsselect ="items" jstcache="52"><span transclude="typeTemplate" jstcache="53"></span></sp an> </span> <span jsdisplay="!isArray($this)" jscontent="getTypeName($this)" jst cache="51">integer</span> </span> </span> ) </div> </em> </dt> <dd class="todo" jsdisplay="!$this.description" jstcache="42"> Undocumented. </dd> <dd jsdisplay= "$this.description" jsvalues=".innerHTML:$this.description" jstcache="43" style= "display: none; "> Description of this parameter from the json schema. </dd> <!- - OBJECT PROPERTIES --> <dd jsdisplay="shouldExpandObject($this)" jstcache="44" style="display: none; "> <dl jstcache="0"> <div jsselect="getPropertyListFromObj ect($this)" jstcache="10"> <div transclude="valueTemplate" jstcache="17"> </div> </div> </dl> </dd> </div> </div> </dl> </div> </div> </div> <!-- /description - -> </div><div class="apiItem" jsselect="functions" jstcache="11" jsinstance="5"> <a jsvalues=".name:'method-' + name" jstcache="18" name="method-update"></a> <! -- method-anchor --> <h3 jscontent="name" jstcache="16">update</h3> <div class=" summary" jstcache="0"><span jsdisplay="returns" jscontent="getTypeName(returns)" jstcache="25" style="display: none; ">void</span> <!-- Note: intentionally long er 80 columns --> <span jscontent="getFullyQualifiedFunctionName($this)" jstcach e="26">chrome.tabs.update</span>(<span jsselect="parameters" jsvalues="class:opt ional ? 'optional' : ''" jstcache="27" jsinstance="0" class="null"><span jsdispl ay="$index" jstcache="33" style="display: none; ">, </span><span jscontent="getT ypeName($this)" jstcache="34">integer</span> <var jstcache="0"><span jscontent=" name" jstcache="16">tabId</span></var></span><span jsselect="parameters" jsvalue s="class:optional ? 'optional' : ''" jstcache="27" jsinstance="1" class="null">< span jsdisplay="$index" jstcache="33">, </span><span jscontent="getTypeName($thi s)" jstcache="34">object</span> <var jstcache="0"><span jscontent="name" jstcach e="16">updateProperties</span></var></span><span jsselect="parameters" jsvalues= "class:optional ? 'optional' : ''" jstcache="27" jsinstance="*2" class="optional "><span jsdisplay="$index" jstcache="33">, </span><span jscontent="getTypeName($ this)" jstcache="34">function</span> <var jstcache="0"><span jscontent="name" js tcache="16">callback</span></var></span>)</div> <div class="description" jstcach e="0"> <p class="todo" jsdisplay="!description" jstcache="28">Undocumented.</p> <p jsdisplay="description" jsvalues=".innerHTML:description" jstcache="29" style ="display: none; "> A description from the json schema def of the function goes here. </p> <!-- PARAMETERS --> <h4 jstcache="0">Parameters</h4> <dl jstcache="0" > <div jsselect="parameters" jstcache="35" jsinstance="0"> <!-- VALUE: This is a subtemplate that is used elsewhere via jsTemplate *transclude* --> <div id="val ueTemplate" jstcache="0"> <dt jstcache="0"> <var jsdisplay="$this.name" jsconten t="$this.name" jstcache="45">tabId</var> <em jstcache="0"> <!-- TYPE --> <div st yle="display:inline" jstcache="0"> ( <span class="optional" jsdisplay="optional" jstcache="46" style="display: none; ">optional</span> <span id="typeTemplate" j stcache="0"> <span jsdisplay="getTypeRef($this)" jstcache="47" style="display: n one; "> <a jsvalues=".href: getTypeRefPage($this) + '#type-' + getTypeRef($this) " jscontent="getTypeRef($this)" jstcache="49"> Type</a> </span> <span jsdisplay= "!getTypeRef($this)" jstcache="48"> <span jsdisplay="isArray($this)" jstcache="5 0" style="display: none; "> array of <span jsselect="items" jstcache="52"><span transclude="typeTemplate" jstcache="53"></span></span> </span> <span jsdisplay=" !isArray($this)" jscontent="getTypeName($this)" jstcache="51">integer</span> </s pan> </span> ) </div> </em> </dt> <dd class="todo" jsdisplay="!$this.description " jstcache="42"> Undocumented. </dd> <dd jsdisplay="$this.description" jsvalues= ".innerHTML:$this.description" jstcache="43" style="display: none; "> Descriptio n of this parameter from the json schema. </dd> <!-- OBJECT PROPERTIES --> <dd j sdisplay="shouldExpandObject($this)" jstcache="44" style="display: none; "> <dl jstcache="0"> <div jsselect="getPropertyListFromObject($this)" jstcache="10"> <d iv transclude="valueTemplate" jstcache="17"> </div> </div> </dl> </dd> </div> <! -- /VALUE --> </div><div jsselect="parameters" jstcache="35" jsinstance="1"> <!- - VALUE: This is a subtemplate that is used elsewhere via jsTemplate *transclude * --> <div id="valueTemplate" jstcache="0"> <dt jstcache="0"> <var jsdisplay="$t his.name" jscontent="$this.name" jstcache="45">updateProperties</var> <em jstcac he="0"> <!-- TYPE --> <div style="display:inline" jstcache="0"> ( <span class="o ptional" jsdisplay="optional" jstcache="46" style="display: none; ">optional</sp an> <span id="typeTemplate" jstcache="0"> <span jsdisplay="getTypeRef($this)" js tcache="47" style="display: none; "> <a jsvalues=".href: getTypeRefPage($this) + '#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="49"> Type </a> </span> <span jsdisplay="!getTypeRef($this)" jstcache="48"> <span jsdisplay ="isArray($this)" jstcache="50" style="display: none; "> array of <span jsselect ="items" jstcache="52"><span transclude="typeTemplate" jstcache="53"></span></sp an> </span> <span jsdisplay="!isArray($this)" jscontent="getTypeName($this)" jst cache="51">object</span> </span> </span> ) </div> </em> </dt> <dd class="todo" j sdisplay="!$this.description" jstcache="42"> Undocumented. </dd> <dd jsdisplay=" $this.description" jsvalues=".innerHTML:$this.description" jstcache="43" style=" display: none; "> Description of this parameter from the json schema. </dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="shouldExpandObject($this)" jstcache="44"> <dl jstcache="0"> <div jsselect="getPropertyListFromObject($this)" jstcache="10" jsinstance="0"> <div jstcache="0"> <dt jstcache="0"> <var jsdisplay="$this.name " jscontent="$this.name" jstcache="45">url</var> <em jstcache="0"> <!-- TYPE --> <div style="display:inline" jstcache="0"> ( <span class="optional" jsdisplay="o ptional" jstcache="46" style="">optional</span> <span id="typeTemplate" jstcache ="0"> <span jsdisplay="getTypeRef($this)" jstcache="47" style="display: none; "> <a jsvalues=".href: getTypeRefPage($this) + '#type-' + getTypeRef($this)" jscon tent="getTypeRef($this)" jstcache="49"> Type</a> </span> <span jsdisplay="!getTy peRef($this)" jstcache="48"> <span jsdisplay="isArray($this)" jstcache="50" styl e="display: none; "> array of <span jsselect="items" jstcache="52"><span transcl ude="typeTemplate" jstcache="53"></span></span> </span> <span jsdisplay="!isArra y($this)" jscontent="getTypeName($this)" jstcache="51">string</span> </span> </s pan> ) </div> </em> </dt> <dd class="todo" jsdisplay="!$this.description" jstcac he="42"> Undocumented. </dd> <dd jsdisplay="$this.description" jsvalues=".innerH TML:$this.description" jstcache="43" style="display: none; "> Description of thi s parameter from the json schema. </dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay ="shouldExpandObject($this)" jstcache="44" style="display: none; "> <dl jstcache ="0"> <div jsselect="getPropertyListFromObject($this)" jstcache="10"> <div trans clude="valueTemplate" jstcache="17"> </div> </div> </dl> </dd> </div> </div><div jsselect="getPropertyListFromObject($this)" jstcache="10" jsinstance="*1"> <div jstcache="0"> <dt jstcache="0"> <var jsdisplay="$this.name" jscontent="$this.na me" jstcache="45">selected</var> <em jstcache="0"> <!-- TYPE --> <div style="dis play:inline" jstcache="0"> ( <span class="optional" jsdisplay="optional" jstcach e="46" style="">optional</span> <span id="typeTemplate" jstcache="0"> <span jsdi splay="getTypeRef($this)" jstcache="47" style="display: none; "> <a jsvalues=".h ref: getTypeRefPage($this) + '#type-' + getTypeRef($this)" jscontent="getTypeRef ($this)" jstcache="49"> Type</a> </span> <span jsdisplay="!getTypeRef($this)" js tcache="48"> <span jsdisplay="isArray($this)" jstcache="50" style="display: none ; "> array of <span jsselect="items" jstcache="52"><span transclude="typeTemplat e" jstcache="53"></span></span> </span> <span jsdisplay="!isArray($this)" jscont ent="getTypeName($this)" jstcache="51">boolean</span> </span> </span> ) </div> < /em> </dt> <dd class="todo" jsdisplay="!$this.description" jstcache="42"> Undocu mented. </dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.descr iption" jstcache="43" style="display: none; "> Description of this parameter fro m the json schema. </dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="shouldExpandO bject($this)" jstcache="44" style="display: none; "> <dl jstcache="0"> <div jsse lect="getPropertyListFromObject($this)" jstcache="10"> <div transclude="valueTem plate" jstcache="17"> </div> </div> </dl> </dd> </div> </div> </dl> </dd> </div> <!-- /VALUE --> </div><div jsselect="parameters" jstcache="35" jsinstance="*2"> <!-- VALUE: This is a subtemplate that is used elsewhere via jsTemplate *transc lude* --> <div id="valueTemplate" jstcache="0"> <dt jstcache="0"> <var jsdisplay ="$this.name" jscontent="$this.name" jstcache="45">callback</var> <em jstcache=" 0"> <!-- TYPE --> <div style="display:inline" jstcache="0"> ( <span class="optio nal" jsdisplay="optional" jstcache="46">optional</span> <span id="typeTemplate" jstcache="0"> <span jsdisplay="getTypeRef($this)" jstcache="47" style="display: none; "> <a jsvalues=".href: getTypeRefPage($this) + '#type-' + getTypeRef($this )" jscontent="getTypeRef($this)" jstcache="49"> Type</a> </span> <span jsdisplay ="!getTypeRef($this)" jstcache="48"> <span jsdisplay="isArray($this)" jstcache=" 50" style="display: none; "> array of <span jsselect="items" jstcache="52"><span transclude="typeTemplate" jstcache="53"></span></span> </span> <span jsdisplay= "!isArray($this)" jscontent="getTypeName($this)" jstcache="51">function</span> < /span> </span> ) </div> </em> </dt> <dd class="todo" jsdisplay="!$this.descripti on" jstcache="42"> Undocumented. </dd> <dd jsdisplay="$this.description" jsvalue s=".innerHTML:$this.description" jstcache="43" style="display: none; "> Descript ion of this parameter from the json schema. </dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="shouldExpandObject($this)" jstcache="44" style="display: none; "> <d l jstcache="0"> <div jsselect="getPropertyListFromObject($this)" jstcache="10"> <div transclude="valueTemplate" jstcache="17"> </div> </div> </dl> </dd> </div> <!-- /VALUE --> </div> </dl> <!-- RETURNS --> <h4 jsdisplay="returns" jstcache=" 30" style="display: none; ">Returns</h4> <dl jstcache="0"> <div jsselect="return s" jstcache="36" style="display: none; "> <div transclude="valueTemplate" jstcac he="17"> </div> </div> </dl> <!-- CALLBACK --> <div jsdisplay="hasCallback(par ameters)" jstcache="31"> <div jsselect="getCallbackParameters(parameters)" jstca che="37"> <h4 jstcache="0">Callback function</h4> <p jstcache="0"> If you specif y the <em jstcache="0">callback</em> parameter, it should specify a function tha t looks like this: </p> <!-- Note: intentionally longer 80 columns --> <pre jstc ache="0">function(<span jscontent="getSignatureString(parameters)" jstcache="32" ></span>) <span class="subdued" jstcache="0">{...}</span>);</pre> <dl jstcache=" 0"> <div jsselect="parameters" jstcache="35" jsinstance="*0" style="display: non e; "> <div transclude="valueTemplate" jstcache="17"> </div> </div> </dl> </div> </div> </div> <!-- /description --> </div><div class="apiItem" jsselect="functio ns" jstcache="11" jsinstance="6"> <a jsvalues=".name:'method-' + name" jstcache= "18" name="method-move"></a> <!-- method-anchor --> <h3 jscontent="name" jstcach e="16">move</h3> <div class="summary" jstcache="0"><span jsdisplay="returns" jsc ontent="getTypeName(returns)" jstcache="25" style="display: none; ">void</span> <!-- Note: intentionally longer 80 columns --> <span jscontent="getFullyQualifie dFunctionName($this)" jstcache="26">chrome.tabs.move</span>(<span jsselect="para meters" jsvalues="class:optional ? 'optional' : ''" jstcache="27" jsinstance="0" class="null"><span jsdisplay="$index" jstcache="33" style="display: none; ">, < /span><span jscontent="getTypeName($this)" jstcache="34">integer</span> <var jst cache="0"><span jscontent="name" jstcache="16">tabId</span></var></span><span js select="parameters" jsvalues="class:optional ? 'optional' : ''" jstcache="27" js instance="1" class="null"><span jsdisplay="$index" jstcache="33">, </span><span jscontent="getTypeName($this)" jstcache="34">object</span> <var jstcache="0"><sp an jscontent="name" jstcache="16">moveProperties</span></var></span><span jssele ct="parameters" jsvalues="class:optional ? 'optional' : ''" jstcache="27" jsinst ance="*2" class="optional"><span jsdisplay="$index" jstcache="33">, </span><span jscontent="getTypeName($this)" jstcache="34">function</span> <var jstcache="0"> <span jscontent="name" jstcache="16">callback</span></var></span>)</div> <div cl ass="description" jstcache="0"> <p class="todo" jsdisplay="!description" jstcach e="28">Undocumented.</p> <p jsdisplay="description" jsvalues=".innerHTML:descrip tion" jstcache="29" style="display: none; "> A description from the json schema def of the function goes here. </p> <!-- PARAMETERS --> <h4 jstcache="0">Paramet ers</h4> <dl jstcache="0"> <div jsselect="parameters" jstcache="35" jsinstance=" 0"> <!-- VALUE: This is a subtemplate that is used elsewhere via jsTemplate *tra nsclude* --> <div id="valueTemplate" jstcache="0"> <dt jstcache="0"> <var jsdisp lay="$this.name" jscontent="$this.name" jstcache="45">tabId</var> <em jstcache=" 0"> <!-- TYPE --> <div style="display:inline" jstcache="0"> ( <span class="optio nal" jsdisplay="optional" jstcache="46" style="display: none; ">optional</span> <span id="typeTemplate" jstcache="0"> <span jsdisplay="getTypeRef($this)" jstcac he="47" style="display: none; "> <a jsvalues=".href: getTypeRefPage($this) + '#t ype-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="49"> Type</a> </span> <span jsdisplay="!getTypeRef($this)" jstcache="48"> <span jsdisplay="is Array($this)" jstcache="50" style="display: none; "> array of <span jsselect="it ems" jstcache="52"><span transclude="typeTemplate" jstcache="53"></span></span> </span> <span jsdisplay="!isArray($this)" jscontent="getTypeName($this)" jstcach e="51">integer</span> </span> </span> ) </div> </em> </dt> <dd class="todo" jsdi splay="!$this.description" jstcache="42"> Undocumented. </dd> <dd jsdisplay="$th is.description" jsvalues=".innerHTML:$this.description" jstcache="43" style="dis play: none; "> Description of this parameter from the json schema. </dd> <!-- OB JECT PROPERTIES --> <dd jsdisplay="shouldExpandObject($this)" jstcache="44" styl e="display: none; "> <dl jstcache="0"> <div jsselect="getPropertyListFromObject( $this)" jstcache="10"> <div transclude="valueTemplate" jstcache="17"> </div> </d iv> </dl> </dd> </div> <!-- /VALUE --> </div><div jsselect="parameters" jstcache ="35" jsinstance="1"> <!-- VALUE: This is a subtemplate that is used elsewhere v ia jsTemplate *transclude* --> <div id="valueTemplate" jstcache="0"> <dt jstcach e="0"> <var jsdisplay="$this.name" jscontent="$this.name" jstcache="45">moveProp erties</var> <em jstcache="0"> <!-- TYPE --> <div style="display:inline" jstcach e="0"> ( <span class="optional" jsdisplay="optional" jstcache="46" style="displa y: none; ">optional</span> <span id="typeTemplate" jstcache="0"> <span jsdisplay ="getTypeRef($this)" jstcache="47" style="display: none; "> <a jsvalues=".href: getTypeRefPage($this) + '#type-' + getTypeRef($this)" jscontent="getTypeRef($thi s)" jstcache="49"> Type</a> </span> <span jsdisplay="!getTypeRef($this)" jstcach e="48"> <span jsdisplay="isArray($this)" jstcache="50" style="display: none; "> array of <span jsselect="items" jstcache="52"><span transclude="typeTemplate" js tcache="53"></span></span> </span> <span jsdisplay="!isArray($this)" jscontent=" getTypeName($this)" jstcache="51">object</span> </span> </span> ) </div> </em> < /dt> <dd class="todo" jsdisplay="!$this.description" jstcache="42"> Undocumented . </dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.description " jstcache="43" style="display: none; "> Description of this parameter from the json schema. </dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="shouldExpandObject( $this)" jstcache="44"> <dl jstcache="0"> <div jsselect="getPropertyListFromObjec t($this)" jstcache="10" jsinstance="0"> <div jstcache="0"> <dt jstcache="0"> <va r jsdisplay="$this.name" jscontent="$this.name" jstcache="45">windowId</var> <em jstcache="0"> <!-- TYPE --> <div style="display:inline" jstcache="0"> ( <span c lass="optional" jsdisplay="optional" jstcache="46" style="">optional</span> <spa n id="typeTemplate" jstcache="0"> <span jsdisplay="getTypeRef($this)" jstcache=" 47" style="display: none; "> <a jsvalues=".href: getTypeRefPage($this) + '#type- ' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="49"> Type</a> </s pan> <span jsdisplay="!getTypeRef($this)" jstcache="48"> <span jsdisplay="isArra y($this)" jstcache="50" style="display: none; "> array of <span jsselect="items" jstcache="52"><span transclude="typeTemplate" jstcache="53"></span></span> </sp an> <span jsdisplay="!isArray($this)" jscontent="getTypeName($this)" jstcache="5 1">integer</span> </span> </span> ) </div> </em> </dt> <dd class="todo" jsdispla y="!$this.description" jstcache="42"> Undocumented. </dd> <dd jsdisplay="$this.d escription" jsvalues=".innerHTML:$this.description" jstcache="43" style="display : none; "> Description of this parameter from the json schema. </dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="shouldExpandObject($this)" jstcache="44" style="d isplay: none; "> <dl jstcache="0"> <div jsselect="getPropertyListFromObject($thi s)" jstcache="10"> <div transclude="valueTemplate" jstcache="17"> </div> </div> </dl> </dd> </div> </div><div jsselect="getPropertyListFromObject($this)" jstcac he="10" jsinstance="*1"> <div jstcache="0"> <dt jstcache="0"> <var jsdisplay="$t his.name" jscontent="$this.name" jstcache="45">index</var> <em jstcache="0"> <!- - TYPE --> <div style="display:inline" jstcache="0"> ( <span class="optional" js display="optional" jstcache="46" style="display: none; ">optional</span> <span i d="typeTemplate" jstcache="0"> <span jsdisplay="getTypeRef($this)" jstcache="47" style="display: none; "> <a jsvalues=".href: getTypeRefPage($this) + '#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="49"> Type</a> </span > <span jsdisplay="!getTypeRef($this)" jstcache="48"> <span jsdisplay="isArray($ this)" jstcache="50" style="display: none; "> array of <span jsselect="items" js tcache="52"><span transclude="typeTemplate" jstcache="53"></span></span> </span> <span jsdisplay="!isArray($this)" jscontent="getTypeName($this)" jstcache="51"> integer</span> </span> </span> ) </div> </em> </dt> <dd class="todo" jsdisplay=" !$this.description" jstcache="42"> Undocumented. </dd> <dd jsdisplay="$this.desc ription" jsvalues=".innerHTML:$this.description" jstcache="43" style="display: n one; "> Description of this parameter from the json schema. </dd> <!-- OBJECT PR OPERTIES --> <dd jsdisplay="shouldExpandObject($this)" jstcache="44" style="disp lay: none; "> <dl jstcache="0"> <div jsselect="getPropertyListFromObject($this)" jstcache="10"> <div transclude="valueTemplate" jstcache="17"> </div> </div> </d l> </dd> </div> </div> </dl> </dd> </div> <!-- /VALUE --> </div><div jsselect="p arameters" jstcache="35" jsinstance="*2"> <!-- VALUE: This is a subtemplate that is used elsewhere via jsTemplate *transclude* --> <div id="valueTemplate" jstca che="0"> <dt jstcache="0"> <var jsdisplay="$this.name" jscontent="$this.name" js tcache="45">callback</var> <em jstcache="0"> <!-- TYPE --> <div style="display:i nline" jstcache="0"> ( <span class="optional" jsdisplay="optional" jstcache="46" >optional</span> <span id="typeTemplate" jstcache="0"> <span jsdisplay="getTypeR ef($this)" jstcache="47" style="display: none; "> <a jsvalues=".href: getTypeRef Page($this) + '#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcac he="49"> Type</a> </span> <span jsdisplay="!getTypeRef($this)" jstcache="48"> <s pan jsdisplay="isArray($this)" jstcache="50" style="display: none; "> array of < span jsselect="items" jstcache="52"><span transclude="typeTemplate" jstcache="53 "></span></span> </span> <span jsdisplay="!isArray($this)" jscontent="getTypeNam e($this)" jstcache="51">function</span> </span> </span> ) </div> </em> </dt> <dd class="todo" jsdisplay="!$this.description" jstcache="42"> Undocumented. </dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.description" jstcac he="43" style="display: none; "> Description of this parameter from the json sch ema. </dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="shouldExpandObject($this)" jstcache="44" style="display: none; "> <dl jstcache="0"> <div jsselect="getPrope rtyListFromObject($this)" jstcache="10"> <div transclude="valueTemplate" jstcach e="17"> </div> </div> </dl> </dd> </div> <!-- /VALUE --> </div> </dl> <!-- RETUR NS --> <h4 jsdisplay="returns" jstcache="30" style="display: none; ">Returns</h4 > <dl jstcache="0"> <div jsselect="returns" jstcache="36" style="display: none; "> <div transclude="valueTemplate" jstcache="17"> </div> </div> </dl> <!-- CALLB ACK --> <div jsdisplay="hasCallback(parameters)" jstcache="31"> <div jsselect=" getCallbackParameters(parameters)" jstcache="37"> <h4 jstcache="0">Callback func tion</h4> <p jstcache="0"> If you specify the <em jstcache="0">callback</em> par ameter, it should specify a function that looks like this: </p> <!-- Note: inten tionally longer 80 columns --> <pre jstcache="0">function(<span jscontent="getSi gnatureString(parameters)" jstcache="32"></span>) <span class="subdued" jstcache ="0">{...}</span>);</pre> <dl jstcache="0"> <div jsselect="parameters" jstcache= "35" jsinstance="*0" style="display: none; "> <div transclude="valueTemplate" js tcache="17"> </div> </div> </dl> </div> </div> </div> <!-- /description --> </di v><div class="apiItem" jsselect="functions" jstcache="11" jsinstance="7"> <a jsv alues=".name:'method-' + name" jstcache="18" name="method-remove"></a> <!-- meth od-anchor --> <h3 jscontent="name" jstcache="16">remove</h3> <div class="summary " jstcache="0"><span jsdisplay="returns" jscontent="getTypeName(returns)" jstcac he="25" style="display: none; ">void</span> <!-- Note: intentionally longer 80 c olumns --> <span jscontent="getFullyQualifiedFunctionName($this)" jstcache="26"> chrome.tabs.remove</span>(<span jsselect="parameters" jsvalues="class:optional ? 'optional' : ''" jstcache="27" jsinstance="0" class="optional"><span jsdisplay= "$index" jstcache="33" style="display: none; ">, </span><span jscontent="getType Name($this)" jstcache="34">integer</span> <var jstcache="0"><span jscontent="nam e" jstcache="16">tabId</span></var></span><span jsselect="parameters" jsvalues=" class:optional ? 'optional' : ''" jstcache="27" jsinstance="*1" class="optional" ><span jsdisplay="$index" jstcache="33">, </span><span jscontent="getTypeName($t his)" jstcache="34">function</span> <var jstcache="0"><span jscontent="name" jst cache="16">callback</span></var></span>)</div> <div class="description" jstcache ="0"> <p class="todo" jsdisplay="!description" jstcache="28">Undocumented.</p> < p jsdisplay="description" jsvalues=".innerHTML:description" jstcache="29" style= "display: none; "> A description from the json schema def of the function goes h ere. </p> <!-- PARAMETERS --> <h4 jstcache="0">Parameters</h4> <dl jstcache="0"> <div jsselect="parameters" jstcache="35" jsinstance="0"> <!-- VALUE: This is a subtemplate that is used elsewhere via jsTemplate *transclude* --> <div id="valu eTemplate" jstcache="0"> <dt jstcache="0"> <var jsdisplay="$this.name" jscontent ="$this.name" jstcache="45">tabId</var> <em jstcache="0"> <!-- TYPE --> <div sty le="display:inline" jstcache="0"> ( <span class="optional" jsdisplay="optional" jstcache="46">optional</span> <span id="typeTemplate" jstcache="0"> <span jsdisp lay="getTypeRef($this)" jstcache="47" style="display: none; "> <a jsvalues=".hre f: getTypeRefPage($this) + '#type-' + getTypeRef($this)" jscontent="getTypeRef($ this)" jstcache="49"> Type</a> </span> <span jsdisplay="!getTypeRef($this)" jstc ache="48"> <span jsdisplay="isArray($this)" jstcache="50" style="display: none; "> array of <span jsselect="items" jstcache="52"><span transclude="typeTemplate" jstcache="53"></span></span> </span> <span jsdisplay="!isArray($this)" jsconten t="getTypeName($this)" jstcache="51">integer</span> </span> </span> ) </div> </e m> </dt> <dd class="todo" jsdisplay="!$this.description" jstcache="42"> Undocume nted. </dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.descrip tion" jstcache="43" style="display: none; "> Description of this parameter from the json schema. </dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="shouldExpandObj ect($this)" jstcache="44" style="display: none; "> <dl jstcache="0"> <div jssele ct="getPropertyListFromObject($this)" jstcache="10"> <div transclude="valueTempl ate" jstcache="17"> </div> </div> </dl> </dd> </div> <!-- /VALUE --> </div><div jsselect="parameters" jstcache="35" jsinstance="*1"> <!-- VALUE: This is a subte mplate that is used elsewhere via jsTemplate *transclude* --> <div id="valueTemp late" jstcache="0"> <dt jstcache="0"> <var jsdisplay="$this.name" jscontent="$th is.name" jstcache="45">callback</var> <em jstcache="0"> <!-- TYPE --> <div style ="display:inline" jstcache="0"> ( <span class="optional" jsdisplay="optional" js tcache="46">optional</span> <span id="typeTemplate" jstcache="0"> <span jsdispla y="getTypeRef($this)" jstcache="47" style="display: none; "> <a jsvalues=".href: getTypeRefPage($this) + '#type-' + getTypeRef($this)" jscontent="getTypeRef($th is)" jstcache="49"> Type</a> </span> <span jsdisplay="!getTypeRef($this)" jstcac he="48"> <span jsdisplay="isArray($this)" jstcache="50" style="display: none; "> array of <span jsselect="items" jstcache="52"><span transclude="typeTemplate" j stcache="53"></span></span> </span> <span jsdisplay="!isArray($this)" jscontent= "getTypeName($this)" jstcache="51">function</span> </span> </span> ) </div> </em > </dt> <dd class="todo" jsdisplay="!$this.description" jstcache="42"> Undocumen ted. </dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.descript ion" jstcache="43" style="display: none; "> Description of this parameter from t he json schema. </dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="shouldExpandObje ct($this)" jstcache="44" style="display: none; "> <dl jstcache="0"> <div jsselec t="getPropertyListFromObject($this)" jstcache="10"> <div transclude="valueTempla te" jstcache="17"> </div> </div> </dl> </dd> </div> <!-- /VALUE --> </div> </dl> <!-- RETURNS --> <h4 jsdisplay="returns" jstcache="30" style="display: none; "> Returns</h4> <dl jstcache="0"> <div jsselect="returns" jstcache="36" style="disp lay: none; "> <div transclude="valueTemplate" jstcache="17"> </div> </div> </dl> <!-- CALLBACK --> <div jsdisplay="hasCallback(parameters)" jstcache="31"> <div jsselect="getCallbackParameters(parameters)" jstcache="37"> <h4 jstcache=" 0">Callback function</h4> <p jstcache="0"> If you specify the <em jstcache="0">c allback</em> parameter, it should specify a function that looks like this: </p> <!-- Note: intentionally longer 80 columns --> <pre jstcache="0">function(<span jscontent="getSignatureString(parameters)" jstcache="32"></span>) <span class="s ubdued" jstcache="0">{...}</span>);</pre> <dl jstcache="0"> <div jsselect="param eters" jstcache="35" jsinstance="*0" style="display: none; "> <div transclude="v alueTemplate" jstcache="17"> </div> </div> </dl> </div> </div> </div> <!-- /desc ription --> </div><div class="apiItem" jsselect="functions" jstcache="11" jsinst ance="8"> <a jsvalues=".name:'method-' + name" jstcache="18" name="method-detect Language"></a> <!-- method-anchor --> <h3 jscontent="name" jstcache="16">detectL anguage</h3> <div class="summary" jstcache="0"><span jsdisplay="returns" jsconte nt="getTypeName(returns)" jstcache="25" style="display: none; ">void</span> <!-- Note: intentionally longer 80 columns --> <span jscontent="getFullyQualifiedFun ctionName($this)" jstcache="26">chrome.tabs.detectLanguage</span>(<span jsselect ="parameters" jsvalues="class:optional ? 'optional' : ''" jstcache="27" jsinstan ce="0" class="optional"><span jsdisplay="$index" jstcache="33" style="display: n one; ">, </span><span jscontent="getTypeName($this)" jstcache="34">integer</span > <var jstcache="0"><span jscontent="name" jstcache="16">tabId</span></var></spa n><span jsselect="parameters" jsvalues="class:optional ? 'optional' : ''" jstcac he="27" jsinstance="*1" class="null"><span jsdisplay="$index" jstcache="33">, </ span><span jscontent="getTypeName($this)" jstcache="34">function</span> <var jst cache="0"><span jscontent="name" jstcache="16">callback</span></var></span>)</di v> <div class="description" jstcache="0"> <p class="todo" jsdisplay="!descriptio n" jstcache="28" style="display: none; ">Undocumented.</p> <p jsdisplay="descrip tion" jsvalues=".innerHTML:description" jstcache="29">detect language of tab.</p > <!-- PARAMETERS --> <h4 jstcache="0">Parameters</h4> <dl jstcache="0"> <div js select="parameters" jstcache="35" jsinstance="0"> <!-- VALUE: This is a subtempl ate that is used elsewhere via jsTemplate *transclude* --> <div id="valueTemplat e" jstcache="0"> <dt jstcache="0"> <var jsdisplay="$this.name" jscontent="$this. name" jstcache="45">tabId</var> <em jstcache="0"> <!-- TYPE --> <div style="disp lay:inline" jstcache="0"> ( <span class="optional" jsdisplay="optional" jstcache ="46">optional</span> <span id="typeTemplate" jstcache="0"> <span jsdisplay="get TypeRef($this)" jstcache="47" style="display: none; "> <a jsvalues=".href: getTy peRefPage($this) + '#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" j stcache="49"> Type</a> </span> <span jsdisplay="!getTypeRef($this)" jstcache="48 "> <span jsdisplay="isArray($this)" jstcache="50" style="display: none; "> array of <span jsselect="items" jstcache="52"><span transclude="typeTemplate" jstcach e="53"></span></span> </span> <span jsdisplay="!isArray($this)" jscontent="getTy peName($this)" jstcache="51">integer</span> </span> </span> ) </div> </em> </dt> <dd class="todo" jsdisplay="!$this.description" jstcache="42"> Undocumented. </ dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.description" js tcache="43" style="display: none; "> Description of this parameter from the json schema. </dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="shouldExpandObject($thi s)" jstcache="44" style="display: none; "> <dl jstcache="0"> <div jsselect="getP ropertyListFromObject($this)" jstcache="10"> <div transclude="valueTemplate" jst cache="17"> </div> </div> </dl> </dd> </div> <!-- /VALUE --> </div><div jsselect ="parameters" jstcache="35" jsinstance="*1"> <!-- VALUE: This is a subtemplate t hat is used elsewhere via jsTemplate *transclude* --> <div id="valueTemplate" js tcache="0"> <dt jstcache="0"> <var jsdisplay="$this.name" jscontent="$this.name" jstcache="45">callback</var> <em jstcache="0"> <!-- TYPE --> <div style="displa y:inline" jstcache="0"> ( <span class="optional" jsdisplay="optional" jstcache=" 46" style="display: none; ">optional</span> <span id="typeTemplate" jstcache="0" > <span jsdisplay="getTypeRef($this)" jstcache="47" style="display: none; "> <a jsvalues=".href: getTypeRefPage($this) + '#type-' + getTypeRef($this)" jscontent ="getTypeRef($this)" jstcache="49"> Type</a> </span> <span jsdisplay="!getTypeRe f($this)" jstcache="48"> <span jsdisplay="isArray($this)" jstcache="50" style="d isplay: none; "> array of <span jsselect="items" jstcache="52"><span transclude= "typeTemplate" jstcache="53"></span></span> </span> <span jsdisplay="!isArray($t his)" jscontent="getTypeName($this)" jstcache="51">function</span> </span> </spa n> ) </div> </em> </dt> <dd class="todo" jsdisplay="!$this.description" jstcache ="42"> Undocumented. </dd> <dd jsdisplay="$this.description" jsvalues=".innerHTM L:$this.description" jstcache="43" style="display: none; "> Description of this parameter from the json schema. </dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay=" shouldExpandObject($this)" jstcache="44" style="display: none; "> <dl jstcache=" 0"> <div jsselect="getPropertyListFromObject($this)" jstcache="10"> <div transcl ude="valueTemplate" jstcache="17"> </div> </div> </dl> </dd> </div> <!-- /VALUE --> </div> </dl> <!-- RETURNS --> <h4 jsdisplay="returns" jstcache="30" style="d isplay: none; ">Returns</h4> <dl jstcache="0"> <div jsselect="returns" jstcache= "36" style="display: none; "> <div transclude="valueTemplate" jstcache="17"> </d iv> </div> </dl> <!-- CALLBACK --> <div jsdisplay="hasCallback(parameters) " jstcache="31"> <div jsselect="getCallbackParameters(parameters)" jstcache="37" > <h4 jstcache="0">Callback function</h4> <p jstcache="0"> If you specify the <e m jstcache="0">callback</em> parameter, it should specify a function that looks like this: </p> <!-- Note: intentionally longer 80 columns --> <pre jstcache="0" >function(<span jscontent="getSignatureString(parameters)" jstcache="32">string language</span>) <span class="subdued" jstcache="0">{...}</span>);</pre> <dl jst cache="0"> <div jsselect="parameters" jstcache="35" jsinstance="*0"> <div jstcac he="0"> <dt jstcache="0"> <var jsdisplay="$this.name" jscontent="$this.name" jst cache="45">language</var> <em jstcache="0"> <!-- TYPE --> <div style="display:in line" jstcache="0"> ( <span class="optional" jsdisplay="optional" jstcache="46" style="display: none; ">optional</span> <span id="typeTemplate" jstcache="0"> <s pan jsdisplay="getTypeRef($this)" jstcache="47" style="display: none; "> <a jsva lues=".href: getTypeRefPage($this) + '#type-' + getTypeRef($this)" jscontent="ge tTypeRef($this)" jstcache="49"> Type</a> </span> <span jsdisplay="!getTypeRef($t his)" jstcache="48"> <span jsdisplay="isArray($this)" jstcache="50" style="displ ay: none; "> array of <span jsselect="items" jstcache="52"><span transclude="typ eTemplate" jstcache="53"></span></span> </span> <span jsdisplay="!isArray($this) " jscontent="getTypeName($this)" jstcache="51">string</span> </span> </span> ) < /div> </em> </dt> <dd class="todo" jsdisplay="!$this.description" jstcache="42"> Undocumented. </dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML:$thi s.description" jstcache="43" style="display: none; "> Description of this parame ter from the json schema. </dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="should ExpandObject($this)" jstcache="44" style="display: none; "> <dl jstcache="0"> <d iv jsselect="getPropertyListFromObject($this)" jstcache="10"> <div transclude="v alueTemplate" jstcache="17"> </div> </div> </dl> </dd> </div> </div> </dl> </div > </div> </div> <!-- /description --> </div><div class="apiItem" jsselect="funct ions" jstcache="11" jsinstance="*9"> <a jsvalues=".name:'method-' + name" jstcac he="18" name="method-captureVisibleTab"></a> <!-- method-anchor --> <h3 jsconten t="name" jstcache="16">captureVisibleTab</h3> <div class="summary" jstcache="0"> <span jsdisplay="returns" jscontent="getTypeName(returns)" jstcache="25" style=" display: none; ">void</span> <!-- Note: intentionally longer 80 columns --> <spa n jscontent="getFullyQualifiedFunctionName($this)" jstcache="26">chrome.tabs.cap tureVisibleTab</span>(<span jsselect="parameters" jsvalues="class:optional ? 'op tional' : ''" jstcache="27" jsinstance="0" class="optional"><span jsdisplay="$in dex" jstcache="33" style="display: none; ">, </span><span jscontent="getTypeName ($this)" jstcache="34">integer</span> <var jstcache="0"><span jscontent="name" j stcache="16">windowId</span></var></span><span jsselect="parameters" jsvalues="c lass:optional ? 'optional' : ''" jstcache="27" jsinstance="*1" class="null"><spa n jsdisplay="$index" jstcache="33">, </span><span jscontent="getTypeName($this)" jstcache="34">function</span> <var jstcache="0"><span jscontent="name" jstcache ="16">callback</span></var></span>)</div> <div class="description" jstcache="0"> <p class="todo" jsdisplay="!description" jstcache="28" style="display: none; "> Undocumented.</p> <p jsdisplay="description" jsvalues=".innerHTML:description" j stcache="29">Captures the visible area of the visible tab in the given window.</ p> <!-- PARAMETERS --> <h4 jstcache="0">Parameters</h4> <dl jstcache="0"> <div j sselect="parameters" jstcache="35" jsinstance="0"> <!-- VALUE: This is a subtemp late that is used elsewhere via jsTemplate *transclude* --> <div id="valueTempla te" jstcache="0"> <dt jstcache="0"> <var jsdisplay="$this.name" jscontent="$this .name" jstcache="45">windowId</var> <em jstcache="0"> <!-- TYPE --> <div style=" display:inline" jstcache="0"> ( <span class="optional" jsdisplay="optional" jstc ache="46">optional</span> <span id="typeTemplate" jstcache="0"> <span jsdisplay= "getTypeRef($this)" jstcache="47" style="display: none; "> <a jsvalues=".href: g etTypeRefPage($this) + '#type-' + getTypeRef($this)" jscontent="getTypeRef($this )" jstcache="49"> Type</a> </span> <span jsdisplay="!getTypeRef($this)" jstcache ="48"> <span jsdisplay="isArray($this)" jstcache="50" style="display: none; "> a rray of <span jsselect="items" jstcache="52"><span transclude="typeTemplate" jst cache="53"></span></span> </span> <span jsdisplay="!isArray($this)" jscontent="g etTypeName($this)" jstcache="51">integer</span> </span> </span> ) </div> </em> < /dt> <dd class="todo" jsdisplay="!$this.description" jstcache="42" style="displa y: none; "> Undocumented. </dd> <dd jsdisplay="$this.description" jsvalues=".inn erHTML:$this.description" jstcache="43">The target window. If <var jstcache="0"> null</var> or <var jstcache="0">undefined</var>, the 'current' window will be as sumed.</dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="shouldExpandObject($this)" jstcache="44" style="display: none; "> <dl jstcache="0"> <div jsselect="getProp ertyListFromObject($this)" jstcache="10"> <div transclude="valueTemplate" jstcac he="17"> </div> </div> </dl> </dd> </div> <!-- /VALUE --> </div><div jsselect="p arameters" jstcache="35" jsinstance="*1"> <!-- VALUE: This is a subtemplate that is used elsewhere via jsTemplate *transclude* --> <div id="valueTemplate" jstca che="0"> <dt jstcache="0"> <var jsdisplay="$this.name" jscontent="$this.name" js tcache="45">callback</var> <em jstcache="0"> <!-- TYPE --> <div style="display:i nline" jstcache="0"> ( <span class="optional" jsdisplay="optional" jstcache="46" style="display: none; ">optional</span> <span id="typeTemplate" jstcache="0"> < span jsdisplay="getTypeRef($this)" jstcache="47" style="display: none; "> <a jsv alues=".href: getTypeRefPage($this) + '#type-' + getTypeRef($this)" jscontent="g etTypeRef($this)" jstcache="49"> Type</a> </span> <span jsdisplay="!getTypeRef($ this)" jstcache="48"> <span jsdisplay="isArray($this)" jstcache="50" style="disp lay: none; "> array of <span jsselect="items" jstcache="52"><span transclude="ty peTemplate" jstcache="53"></span></span> </span> <span jsdisplay="!isArray($this )" jscontent="getTypeName($this)" jstcache="51">function</span> </span> </span> ) </div> </em> </dt> <dd class="todo" jsdisplay="!$this.description" jstcache="4 2"> Undocumented. </dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML:$ this.description" jstcache="43" style="display: none; "> Description of this par ameter from the json schema. </dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="sho uldExpandObject($this)" jstcache="44" style="display: none; "> <dl jstcache="0"> <div jsselect="getPropertyListFromObject($this)" jstcache="10"> <div transclude ="valueTemplate" jstcache="17"> </div> </div> </dl> </dd> </div> <!-- /VALUE --> </div> </dl> <!-- RETURNS --> <h4 jsdisplay="returns" jstcache="30" style="disp lay: none; ">Returns</h4> <dl jstcache="0"> <div jsselect="returns" jstcache="36 " style="display: none; "> <div transclude="valueTemplate" jstcache="17"> </div> </div> </dl> <!-- CALLBACK --> <div jsdisplay="hasCallback(parameters)" jstcac he="31"> <div jsselect="getCallbackParameters(parameters)" jstcache="37"> <h4 js tcache="0">Callback function</h4> <p jstcache="0"> If you specify the <em jstcac he="0">callback</em> parameter, it should specify a function that looks like thi s: </p> <!-- Note: intentionally longer 80 columns --> <pre jstcache="0">functio n(<span jscontent="getSignatureString(parameters)" jstcache="32">string dataUrl< /span>) <span class="subdued" jstcache="0">{...}</span>);</pre> <dl jstcache="0" > <div jsselect="parameters" jstcache="35" jsinstance="*0"> <div jstcache="0"> < dt jstcache="0"> <var jsdisplay="$this.name" jscontent="$this.name" jstcache="45 ">dataUrl</var> <em jstcache="0"> <!-- TYPE --> <div style="display:inline" jstc ache="0"> ( <span class="optional" jsdisplay="optional" jstcache="46" style="dis play: none; ">optional</span> <span id="typeTemplate" jstcache="0"> <span jsdisp lay="getTypeRef($this)" jstcache="47" style="display: none; "> <a jsvalues=".hre f: getTypeRefPage($this) + '#type-' + getTypeRef($this)" jscontent="getTypeRef($ this)" jstcache="49"> Type</a> </span> <span jsdisplay="!getTypeRef($this)" jstc ache="48"> <span jsdisplay="isArray($this)" jstcache="50" style="display: none; "> array of <span jsselect="items" jstcache="52"><span transclude="typeTemplate" jstcache="53"></span></span> </span> <span jsdisplay="!isArray($this)" jsconten t="getTypeName($this)" jstcache="51">string</span> </span> </span> ) </div> </em > </dt> <dd class="todo" jsdisplay="!$this.description" jstcache="42" style="dis play: none; "> Undocumented. </dd> <dd jsdisplay="$this.description" jsvalues=". innerHTML:$this.description" jstcache="43" style="">a data url encoding of the c aptured tab.</dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="shouldExpandObject($ this)" jstcache="44" style="display: none; "> <dl jstcache="0"> <div jsselect="g etPropertyListFromObject($this)" jstcache="10"> <div transclude="valueTemplate" jstcache="17"> </div> </div> </dl> </dd> </div> </div> </dl> </div> </div> </div > <!-- /description --> </div> <!-- /apiItem --> </div> <!-- /apiGroup --> <!-- EVENTS --> <div jsdisplay="events &amp;&amp; events.length &gt; 0" class="apiGro up" jstcache="7"> <a name="#events" jstcache="0"></a> <h2 id="events" jstcache=" 0">Events</h2> <!-- iterates over all events --> <div jsselect="events" class="a piItem" jstcache="12" jsinstance="0"> <a jsvalues=".name:'event-' + name" jstcac he="19" name="event-onCreated"></a> <h3 jscontent="name" jstcache="16">onCreated </h3> <div class="summary" jstcache="0"> <!-- Note: intentionally longer 80 colu mns --> <span jscontent="getModuleName() + '.'" class="subdued" jstcache="23">ch rome.tabs.</span><span jscontent="name" jstcache="16">onCreated</span><span clas s="subdued" jstcache="0">.addListener</span>(function(<span jscontent="getSignat ureString(parameters)" jstcache="32">Tab tab</span>) <span class="subdued" jstca che="0">{...}</span>); </div> <div class="description" jstcache="0"> <p class="t odo" jsdisplay="!description" jstcache="28">Undocumented.</p> <p jsdisplay="desc ription" jsvalues=".innerHTML:description" jstcache="29" style="display: none; " > A description from the json schema def of the event goes here. </p> <!-- PARAM ETERS --> <h4 jstcache="0">Parameters</h4> <dl jstcache="0"> <div jsselect="para meters" jstcache="35" jsinstance="*0"> <div jstcache="0"> <dt jstcache="0"> <var jsdisplay="$this.name" jscontent="$this.name" jstcache="45">tab</var> <em jstca che="0"> <!-- TYPE --> <div style="display:inline" jstcache="0"> ( <span class=" optional" jsdisplay="optional" jstcache="46" style="display: none; ">optional</s pan> <span id="typeTemplate" jstcache="0"> <span jsdisplay="getTypeRef($this)" j stcache="47" style=""> <a jsvalues=".href: getTypeRefPage($this) + '#type-' + ge tTypeRef($this)" jscontent="getTypeRef($this)" jstcache="49" href="tabs.html#typ e-Tab">Tab</a> </span> <span jsdisplay="!getTypeRef($this)" jstcache="48" style= "display: none; "> <span jsdisplay="isArray($this)" jstcache="50" style="display : none; "> array of <span jsselect="items" jstcache="52"><span transclude="typeT emplate" jstcache="53"></span></span> </span> <span jsdisplay="!isArray($this)" jscontent="getTypeName($this)" jstcache="51">integer</span> </span> </span> ) </ div> </em> </dt> <dd class="todo" jsdisplay="!$this.description" jstcache="42"> Undocumented. </dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this .description" jstcache="43" style="display: none; "> Description of this paramet er from the json schema. </dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="shouldE xpandObject($this)" jstcache="44" style="display: none; "> <dl jstcache="0"> <di v jsselect="getPropertyListFromObject($this)" jstcache="10"> <div transclude="va lueTemplate" jstcache="17"> </div> </div> </dl> </dd> </div> </div> </dl> </div> <!-- /decription --> </div><div jsselect="events" class="apiItem" jstcache="12" jsinstance="1"> <a jsvalues=".name:'event-' + name" jstcache="19" name="event-o nUpdated"></a> <h3 jscontent="name" jstcache="16">onUpdated</h3> <div class="sum mary" jstcache="0"> <!-- Note: intentionally longer 80 columns --> <span jsconte nt="getModuleName() + '.'" class="subdued" jstcache="23">chrome.tabs.</span><spa n jscontent="name" jstcache="16">onUpdated</span><span class="subdued" jstcache= "0">.addListener</span>(function(<span jscontent="getSignatureString(parameters) " jstcache="32">integer tabId, object changedProps</span>) <span class="subdued" jstcache="0">{...}</span>); </div> <div class="description" jstcache="0"> <p cl ass="todo" jsdisplay="!description" jstcache="28">Undocumented.</p> <p jsdisplay ="description" jsvalues=".innerHTML:description" jstcache="29" style="display: n one; "> A description from the json schema def of the event goes here. </p> <!-- PARAMETERS --> <h4 jstcache="0">Parameters</h4> <dl jstcache="0"> <div jsselect ="parameters" jstcache="35" jsinstance="0"> <div jstcache="0"> <dt jstcache="0"> <var jsdisplay="$this.name" jscontent="$this.name" jstcache="45">tabId</var> <e m jstcache="0"> <!-- TYPE --> <div style="display:inline" jstcache="0"> ( <span class="optional" jsdisplay="optional" jstcache="46" style="display: none; ">opti onal</span> <span id="typeTemplate" jstcache="0"> <span jsdisplay="getTypeRef($t his)" jstcache="47" style="display: none; "> <a jsvalues=".href: getTypeRefPage( $this) + '#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="4 9"> Type</a> </span> <span jsdisplay="!getTypeRef($this)" jstcache="48"> <span j sdisplay="isArray($this)" jstcache="50" style="display: none; "> array of <span jsselect="items" jstcache="52"><span transclude="typeTemplate" jstcache="53"></s pan></span> </span> <span jsdisplay="!isArray($this)" jscontent="getTypeName($th is)" jstcache="51">integer</span> </span> </span> ) </div> </em> </dt> <dd class ="todo" jsdisplay="!$this.description" jstcache="42"> Undocumented. </dd> <dd js display="$this.description" jsvalues=".innerHTML:$this.description" jstcache="43 " style="display: none; "> Description of this parameter from the json schema. < /dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="shouldExpandObject($this)" jstcac he="44" style="display: none; "> <dl jstcache="0"> <div jsselect="getPropertyLis tFromObject($this)" jstcache="10"> <div transclude="valueTemplate" jstcache="17" > </div> </div> </dl> </dd> </div> </div><div jsselect="parameters" jstcache="35 " jsinstance="*1"> <div jstcache="0"> <dt jstcache="0"> <var jsdisplay="$this.na me" jscontent="$this.name" jstcache="45">changedProps</var> <em jstcache="0"> <! -- TYPE --> <div style="display:inline" jstcache="0"> ( <span class="optional" j sdisplay="optional" jstcache="46" style="display: none; ">optional</span> <span id="typeTemplate" jstcache="0"> <span jsdisplay="getTypeRef($this)" jstcache="47 " style="display: none; "> <a jsvalues=".href: getTypeRefPage($this) + '#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="49"> Type</a> </spa n> <span jsdisplay="!getTypeRef($this)" jstcache="48"> <span jsdisplay="isArray( $this)" jstcache="50" style="display: none; "> array of <span jsselect="items" j stcache="52"><span transclude="typeTemplate" jstcache="53"></span></span> </span > <span jsdisplay="!isArray($this)" jscontent="getTypeName($this)" jstcache="51" >object</span> </span> </span> ) </div> </em> </dt> <dd class="todo" jsdisplay=" !$this.description" jstcache="42"> Undocumented. </dd> <dd jsdisplay="$this.desc ription" jsvalues=".innerHTML:$this.description" jstcache="43" style="display: n one; "> Description of this parameter from the json schema. </dd> <!-- OBJECT PR OPERTIES --> <dd jsdisplay="shouldExpandObject($this)" jstcache="44" style=""> < dl jstcache="0"> <div jsselect="getPropertyListFromObject($this)" jstcache="10" jsinstance="0"> <div jstcache="0"> <dt jstcache="0"> <var jsdisplay="$this.name" jscontent="$this.name" jstcache="45">status</var> <em jstcache="0"> <!-- TYPE - -> <div style="display:inline" jstcache="0"> ( <span class="optional" jsdisplay= "optional" jstcache="46" style="display: none; ">optional</span> <span id="typeT emplate" jstcache="0"> <span jsdisplay="getTypeRef($this)" jstcache="47" style=" display: none; "> <a jsvalues=".href: getTypeRefPage($this) + '#type-' + getType Ref($this)" jscontent="getTypeRef($this)" jstcache="49"> Type</a> </span> <span jsdisplay="!getTypeRef($this)" jstcache="48"> <span jsdisplay="isArray($this)" j stcache="50" style="display: none; "> array of <span jsselect="items" jstcache=" 52"><span transclude="typeTemplate" jstcache="53"></span></span> </span> <span j sdisplay="!isArray($this)" jscontent="getTypeName($this)" jstcache="51">string</ span> </span> </span> ) </div> </em> </dt> <dd class="todo" jsdisplay="!$this.de scription" jstcache="42"> Undocumented. </dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.description" jstcache="43" style="display: none; "> D escription of this parameter from the json schema. </dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="shouldExpandObject($this)" jstcache="44" style="display: none ; "> <dl jstcache="0"> <div jsselect="getPropertyListFromObject($this)" jstcache ="10"> <div transclude="valueTemplate" jstcache="17"> </div> </div> </dl> </dd> </div> </div><div jsselect="getPropertyListFromObject($this)" jstcache="10" jsin stance="*1"> <div jstcache="0"> <dt jstcache="0"> <var jsdisplay="$this.name" js content="$this.name" jstcache="45">url</var> <em jstcache="0"> <!-- TYPE --> <di v style="display:inline" jstcache="0"> ( <span class="optional" jsdisplay="optio nal" jstcache="46" style="">optional</span> <span id="typeTemplate" jstcache="0" > <span jsdisplay="getTypeRef($this)" jstcache="47" style="display: none; "> <a jsvalues=".href: getTypeRefPage($this) + '#type-' + getTypeRef($this)" jscontent ="getTypeRef($this)" jstcache="49"> Type</a> </span> <span jsdisplay="!getTypeRe f($this)" jstcache="48"> <span jsdisplay="isArray($this)" jstcache="50" style="d isplay: none; "> array of <span jsselect="items" jstcache="52"><span transclude= "typeTemplate" jstcache="53"></span></span> </span> <span jsdisplay="!isArray($t his)" jscontent="getTypeName($this)" jstcache="51">string</span> </span> </span> ) </div> </em> </dt> <dd class="todo" jsdisplay="!$this.description" jstcache=" 42"> Undocumented. </dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML: $this.description" jstcache="43" style="display: none; "> Description of this pa rameter from the json schema. </dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="sh ouldExpandObject($this)" jstcache="44" style="display: none; "> <dl jstcache="0" > <div jsselect="getPropertyListFromObject($this)" jstcache="10"> <div transclud e="valueTemplate" jstcache="17"> </div> </div> </dl> </dd> </div> </div> </dl> < /dd> </div> </div> </dl> </div> <!-- /decription --> </div><div jsselect="events " class="apiItem" jstcache="12" jsinstance="2"> <a jsvalues=".name:'event-' + na me" jstcache="19" name="event-onMoved"></a> <h3 jscontent="name" jstcache="16">o nMoved</h3> <div class="summary" jstcache="0"> <!-- Note: intentionally longer 8 0 columns --> <span jscontent="getModuleName() + '.'" class="subdued" jstcache=" 23">chrome.tabs.</span><span jscontent="name" jstcache="16">onMoved</span><span class="subdued" jstcache="0">.addListener</span>(function(<span jscontent="getSi gnatureString(parameters)" jstcache="32">integer tabId, object MoveInfo</span>) <span class="subdued" jstcache="0">{...}</span>); </div> <div class="description " jstcache="0"> <p class="todo" jsdisplay="!description" jstcache="28">Undocumen ted.</p> <p jsdisplay="description" jsvalues=".innerHTML:description" jstcache=" 29" style="display: none; "> A description from the json schema def of the event goes here. </p> <!-- PARAMETERS --> <h4 jstcache="0">Parameters</h4> <dl jstcac he="0"> <div jsselect="parameters" jstcache="35" jsinstance="0"> <div jstcache=" 0"> <dt jstcache="0"> <var jsdisplay="$this.name" jscontent="$this.name" jstcach e="45">tabId</var> <em jstcache="0"> <!-- TYPE --> <div style="display:inline" j stcache="0"> ( <span class="optional" jsdisplay="optional" jstcache="46" style=" display: none; ">optional</span> <span id="typeTemplate" jstcache="0"> <span jsd isplay="getTypeRef($this)" jstcache="47" style="display: none; "> <a jsvalues=". href: getTypeRefPage($this) + '#type-' + getTypeRef($this)" jscontent="getTypeRe f($this)" jstcache="49"> Type</a> </span> <span jsdisplay="!getTypeRef($this)" j stcache="48"> <span jsdisplay="isArray($this)" jstcache="50" style="display: non e; "> array of <span jsselect="items" jstcache="52"><span transclude="typeTempla te" jstcache="53"></span></span> </span> <span jsdisplay="!isArray($this)" jscon tent="getTypeName($this)" jstcache="51">integer</span> </span> </span> ) </div> </em> </dt> <dd class="todo" jsdisplay="!$this.description" jstcache="42"> Undoc umented. </dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.desc ription" jstcache="43" style="display: none; "> Description of this parameter fr om the json schema. </dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="shouldExpand Object($this)" jstcache="44" style="display: none; "> <dl jstcache="0"> <div jss elect="getPropertyListFromObject($this)" jstcache="10"> <div transclude="valueTe mplate" jstcache="17"> </div> </div> </dl> </dd> </div> </div><div jsselect="par ameters" jstcache="35" jsinstance="*1"> <div jstcache="0"> <dt jstcache="0"> <va r jsdisplay="$this.name" jscontent="$this.name" jstcache="45">MoveInfo</var> <em jstcache="0"> <!-- TYPE --> <div style="display:inline" jstcache="0"> ( <span c lass="optional" jsdisplay="optional" jstcache="46" style="display: none; ">optio nal</span> <span id="typeTemplate" jstcache="0"> <span jsdisplay="getTypeRef($th is)" jstcache="47" style="display: none; "> <a jsvalues=".href: getTypeRefPage($ this) + '#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="49 "> Type</a> </span> <span jsdisplay="!getTypeRef($this)" jstcache="48"> <span js display="isArray($this)" jstcache="50" style="display: none; "> array of <span j sselect="items" jstcache="52"><span transclude="typeTemplate" jstcache="53"></sp an></span> </span> <span jsdisplay="!isArray($this)" jscontent="getTypeName($thi s)" jstcache="51">object</span> </span> </span> ) </div> </em> </dt> <dd class=" todo" jsdisplay="!$this.description" jstcache="42"> Undocumented. </dd> <dd jsdi splay="$this.description" jsvalues=".innerHTML:$this.description" jstcache="43" style="display: none; "> Description of this parameter from the json schema. </d d> <!-- OBJECT PROPERTIES --> <dd jsdisplay="shouldExpandObject($this)" jstcache ="44" style=""> <dl jstcache="0"> <div jsselect="getPropertyListFromObject($this )" jstcache="10" jsinstance="0"> <div jstcache="0"> <dt jstcache="0"> <var jsdis play="$this.name" jscontent="$this.name" jstcache="45">windowId</var> <em jstcac he="0"> <!-- TYPE --> <div style="display:inline" jstcache="0"> ( <span class="o ptional" jsdisplay="optional" jstcache="46" style="display: none; ">optional</sp an> <span id="typeTemplate" jstcache="0"> <span jsdisplay="getTypeRef($this)" js tcache="47" style="display: none; "> <a jsvalues=".href: getTypeRefPage($this) + '#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="49"> Type </a> </span> <span jsdisplay="!getTypeRef($this)" jstcache="48"> <span jsdisplay ="isArray($this)" jstcache="50" style="display: none; "> array of <span jsselect ="items" jstcache="52"><span transclude="typeTemplate" jstcache="53"></span></sp an> </span> <span jsdisplay="!isArray($this)" jscontent="getTypeName($this)" jst cache="51">integer</span> </span> </span> ) </div> </em> </dt> <dd class="todo" jsdisplay="!$this.description" jstcache="42"> Undocumented. </dd> <dd jsdisplay= "$this.description" jsvalues=".innerHTML:$this.description" jstcache="43" style= "display: none; "> Description of this parameter from the json schema. </dd> <!- - OBJECT PROPERTIES --> <dd jsdisplay="shouldExpandObject($this)" jstcache="44" style="display: none; "> <dl jstcache="0"> <div jsselect="getPropertyListFromObj ect($this)" jstcache="10"> <div transclude="valueTemplate" jstcache="17"> </div> </div> </dl> </dd> </div> </div><div jsselect="getPropertyListFromObject($this) " jstcache="10" jsinstance="1"> <div jstcache="0"> <dt jstcache="0"> <var jsdisp lay="$this.name" jscontent="$this.name" jstcache="45">fromIndex</var> <em jstcac he="0"> <!-- TYPE --> <div style="display:inline" jstcache="0"> ( <span class="o ptional" jsdisplay="optional" jstcache="46" style="display: none; ">optional</sp an> <span id="typeTemplate" jstcache="0"> <span jsdisplay="getTypeRef($this)" js tcache="47" style="display: none; "> <a jsvalues=".href: getTypeRefPage($this) + '#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="49"> Type </a> </span> <span jsdisplay="!getTypeRef($this)" jstcache="48"> <span jsdisplay ="isArray($this)" jstcache="50" style="display: none; "> array of <span jsselect ="items" jstcache="52"><span transclude="typeTemplate" jstcache="53"></span></sp an> </span> <span jsdisplay="!isArray($this)" jscontent="getTypeName($this)" jst cache="51">integer</span> </span> </span> ) </div> </em> </dt> <dd class="todo" jsdisplay="!$this.description" jstcache="42"> Undocumented. </dd> <dd jsdisplay= "$this.description" jsvalues=".innerHTML:$this.description" jstcache="43" style= "display: none; "> Description of this parameter from the json schema. </dd> <!- - OBJECT PROPERTIES --> <dd jsdisplay="shouldExpandObject($this)" jstcache="44" style="display: none; "> <dl jstcache="0"> <div jsselect="getPropertyListFromObj ect($this)" jstcache="10"> <div transclude="valueTemplate" jstcache="17"> </div> </div> </dl> </dd> </div> </div><div jsselect="getPropertyListFromObject($this) " jstcache="10" jsinstance="*2"> <div jstcache="0"> <dt jstcache="0"> <var jsdis play="$this.name" jscontent="$this.name" jstcache="45">toIndex</var> <em jstcach e="0"> <!-- TYPE --> <div style="display:inline" jstcache="0"> ( <span class="op tional" jsdisplay="optional" jstcache="46" style="display: none; ">optional</spa n> <span id="typeTemplate" jstcache="0"> <span jsdisplay="getTypeRef($this)" jst cache="47" style="display: none; "> <a jsvalues=".href: getTypeRefPage($this) + '#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="49"> Type< /a> </span> <span jsdisplay="!getTypeRef($this)" jstcache="48"> <span jsdisplay= "isArray($this)" jstcache="50" style="display: none; "> array of <span jsselect= "items" jstcache="52"><span transclude="typeTemplate" jstcache="53"></span></spa n> </span> <span jsdisplay="!isArray($this)" jscontent="getTypeName($this)" jstc ache="51">integer</span> </span> </span> ) </div> </em> </dt> <dd class="todo" j sdisplay="!$this.description" jstcache="42"> Undocumented. </dd> <dd jsdisplay=" $this.description" jsvalues=".innerHTML:$this.description" jstcache="43" style=" display: none; "> Description of this parameter from the json schema. </dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="shouldExpandObject($this)" jstcache="44" s tyle="display: none; "> <dl jstcache="0"> <div jsselect="getPropertyListFromObje ct($this)" jstcache="10"> <div transclude="valueTemplate" jstcache="17"> </div> </div> </dl> </dd> </div> </div> </dl> </dd> </div> </div> </dl> </div> <!-- /de cription --> </div><div jsselect="events" class="apiItem" jstcache="12" jsinstan ce="3"> <a jsvalues=".name:'event-' + name" jstcache="19" name="event-onSelectio nChanged"></a> <h3 jscontent="name" jstcache="16">onSelectionChanged</h3> <div c lass="summary" jstcache="0"> <!-- Note: intentionally longer 80 columns --> <spa n jscontent="getModuleName() + '.'" class="subdued" jstcache="23">chrome.tabs.</ span><span jscontent="name" jstcache="16">onSelectionChanged</span><span class=" subdued" jstcache="0">.addListener</span>(function(<span jscontent="getSignature String(parameters)" jstcache="32">integer tabId, object SelectInfo</span>) <span class="subdued" jstcache="0">{...}</span>); </div> <div class="description" jst cache="0"> <p class="todo" jsdisplay="!description" jstcache="28">Undocumented.< /p> <p jsdisplay="description" jsvalues=".innerHTML:description" jstcache="29" s tyle="display: none; "> A description from the json schema def of the event goes here. </p> <!-- PARAMETERS --> <h4 jstcache="0">Parameters</h4> <dl jstcache="0 "> <div jsselect="parameters" jstcache="35" jsinstance="0"> <div jstcache="0"> < dt jstcache="0"> <var jsdisplay="$this.name" jscontent="$this.name" jstcache="45 ">tabId</var> <em jstcache="0"> <!-- TYPE --> <div style="display:inline" jstcac he="0"> ( <span class="optional" jsdisplay="optional" jstcache="46" style="displ ay: none; ">optional</span> <span id="typeTemplate" jstcache="0"> <span jsdispla y="getTypeRef($this)" jstcache="47" style="display: none; "> <a jsvalues=".href: getTypeRefPage($this) + '#type-' + getTypeRef($this)" jscontent="getTypeRef($th is)" jstcache="49"> Type</a> </span> <span jsdisplay="!getTypeRef($this)" jstcac he="48"> <span jsdisplay="isArray($this)" jstcache="50" style="display: none; "> array of <span jsselect="items" jstcache="52"><span transclude="typeTemplate" j stcache="53"></span></span> </span> <span jsdisplay="!isArray($this)" jscontent= "getTypeName($this)" jstcache="51">integer</span> </span> </span> ) </div> </em> </dt> <dd class="todo" jsdisplay="!$this.description" jstcache="42"> Undocument ed. </dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.descripti on" jstcache="43" style="display: none; "> Description of this parameter from th e json schema. </dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="shouldExpandObjec t($this)" jstcache="44" style="display: none; "> <dl jstcache="0"> <div jsselect ="getPropertyListFromObject($this)" jstcache="10"> <div transclude="valueTemplat e" jstcache="17"> </div> </div> </dl> </dd> </div> </div><div jsselect="paramete rs" jstcache="35" jsinstance="*1"> <div jstcache="0"> <dt jstcache="0"> <var jsd isplay="$this.name" jscontent="$this.name" jstcache="45">SelectInfo</var> <em js tcache="0"> <!-- TYPE --> <div style="display:inline" jstcache="0"> ( <span clas s="optional" jsdisplay="optional" jstcache="46" style="display: none; ">optional </span> <span id="typeTemplate" jstcache="0"> <span jsdisplay="getTypeRef($this) " jstcache="47" style="display: none; "> <a jsvalues=".href: getTypeRefPage($thi s) + '#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="49"> Type</a> </span> <span jsdisplay="!getTypeRef($this)" jstcache="48"> <span jsdis play="isArray($this)" jstcache="50" style="display: none; "> array of <span jsse lect="items" jstcache="52"><span transclude="typeTemplate" jstcache="53"></span> </span> </span> <span jsdisplay="!isArray($this)" jscontent="getTypeName($this)" jstcache="51">object</span> </span> </span> ) </div> </em> </dt> <dd class="tod o" jsdisplay="!$this.description" jstcache="42"> Undocumented. </dd> <dd jsdispl ay="$this.description" jsvalues=".innerHTML:$this.description" jstcache="43" sty le="display: none; "> Description of this parameter from the json schema. </dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="shouldExpandObject($this)" jstcache="4 4" style=""> <dl jstcache="0"> <div jsselect="getPropertyListFromObject($this)" jstcache="10" jsinstance="*0"> <div jstcache="0"> <dt jstcache="0"> <var jsdispl ay="$this.name" jscontent="$this.name" jstcache="45">windowId</var> <em jstcache ="0"> <!-- TYPE --> <div style="display:inline" jstcache="0"> ( <span class="opt ional" jsdisplay="optional" jstcache="46" style="display: none; ">optional</span > <span id="typeTemplate" jstcache="0"> <span jsdisplay="getTypeRef($this)" jstc ache="47" style="display: none; "> <a jsvalues=".href: getTypeRefPage($this) + ' #type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="49"> Type</ a> </span> <span jsdisplay="!getTypeRef($this)" jstcache="48"> <span jsdisplay=" isArray($this)" jstcache="50" style="display: none; "> array of <span jsselect=" items" jstcache="52"><span transclude="typeTemplate" jstcache="53"></span></span > </span> <span jsdisplay="!isArray($this)" jscontent="getTypeName($this)" jstca che="51">integer</span> </span> </span> ) </div> </em> </dt> <dd class="todo" js display="!$this.description" jstcache="42"> Undocumented. </dd> <dd jsdisplay="$ this.description" jsvalues=".innerHTML:$this.description" jstcache="43" style="d isplay: none; "> Description of this parameter from the json schema. </dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="shouldExpandObject($this)" jstcache="44" st yle="display: none; "> <dl jstcache="0"> <div jsselect="getPropertyListFromObjec t($this)" jstcache="10"> <div transclude="valueTemplate" jstcache="17"> </div> < /div> </dl> </dd> </div> </div> </dl> </dd> </div> </div> </dl> </div> <!-- /dec ription --> </div><div jsselect="events" class="apiItem" jstcache="12" jsinstanc e="4"> <a jsvalues=".name:'event-' + name" jstcache="19" name="event-onAttached" ></a> <h3 jscontent="name" jstcache="16">onAttached</h3> <div class="summary" js tcache="0"> <!-- Note: intentionally longer 80 columns --> <span jscontent="getM oduleName() + '.'" class="subdued" jstcache="23">chrome.tabs.</span><span jscont ent="name" jstcache="16">onAttached</span><span class="subdued" jstcache="0">.ad dListener</span>(function(<span jscontent="getSignatureString(parameters)" jstca che="32">integer tabId, object AttachInfo</span>) <span class="subdued" jstcache ="0">{...}</span>); </div> <div class="description" jstcache="0"> <p class="todo " jsdisplay="!description" jstcache="28">Undocumented.</p> <p jsdisplay="descrip tion" jsvalues=".innerHTML:description" jstcache="29" style="display: none; "> A description from the json schema def of the event goes here. </p> <!-- PARAMETE RS --> <h4 jstcache="0">Parameters</h4> <dl jstcache="0"> <div jsselect="paramet ers" jstcache="35" jsinstance="0"> <div jstcache="0"> <dt jstcache="0"> <var jsd isplay="$this.name" jscontent="$this.name" jstcache="45">tabId</var> <em jstcach e="0"> <!-- TYPE --> <div style="display:inline" jstcache="0"> ( <span class="op tional" jsdisplay="optional" jstcache="46" style="display: none; ">optional</spa n> <span id="typeTemplate" jstcache="0"> <span jsdisplay="getTypeRef($this)" jst cache="47" style="display: none; "> <a jsvalues=".href: getTypeRefPage($this) + '#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="49"> Type< /a> </span> <span jsdisplay="!getTypeRef($this)" jstcache="48"> <span jsdisplay= "isArray($this)" jstcache="50" style="display: none; "> array of <span jsselect= "items" jstcache="52"><span transclude="typeTemplate" jstcache="53"></span></spa n> </span> <span jsdisplay="!isArray($this)" jscontent="getTypeName($this)" jstc ache="51">integer</span> </span> </span> ) </div> </em> </dt> <dd class="todo" j sdisplay="!$this.description" jstcache="42"> Undocumented. </dd> <dd jsdisplay=" $this.description" jsvalues=".innerHTML:$this.description" jstcache="43" style=" display: none; "> Description of this parameter from the json schema. </dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="shouldExpandObject($this)" jstcache="44" s tyle="display: none; "> <dl jstcache="0"> <div jsselect="getPropertyListFromObje ct($this)" jstcache="10"> <div transclude="valueTemplate" jstcache="17"> </div> </div> </dl> </dd> </div> </div><div jsselect="parameters" jstcache="35" jsinsta nce="*1"> <div jstcache="0"> <dt jstcache="0"> <var jsdisplay="$this.name" jscon tent="$this.name" jstcache="45">AttachInfo</var> <em jstcache="0"> <!-- TYPE --> <div style="display:inline" jstcache="0"> ( <span class="optional" jsdisplay="o ptional" jstcache="46" style="display: none; ">optional</span> <span id="typeTem plate" jstcache="0"> <span jsdisplay="getTypeRef($this)" jstcache="47" style="di splay: none; "> <a jsvalues=".href: getTypeRefPage($this) + '#type-' + getTypeRe f($this)" jscontent="getTypeRef($this)" jstcache="49"> Type</a> </span> <span js display="!getTypeRef($this)" jstcache="48"> <span jsdisplay="isArray($this)" jst cache="50" style="display: none; "> array of <span jsselect="items" jstcache="52 "><span transclude="typeTemplate" jstcache="53"></span></span> </span> <span jsd isplay="!isArray($this)" jscontent="getTypeName($this)" jstcache="51">object</sp an> </span> </span> ) </div> </em> </dt> <dd class="todo" jsdisplay="!$this.desc ription" jstcache="42"> Undocumented. </dd> <dd jsdisplay="$this.description" js values=".innerHTML:$this.description" jstcache="43" style="display: none; "> Des cription of this parameter from the json schema. </dd> <!-- OBJECT PROPERTIES -- > <dd jsdisplay="shouldExpandObject($this)" jstcache="44" style=""> <dl jstcache ="0"> <div jsselect="getPropertyListFromObject($this)" jstcache="10" jsinstance= "0"> <div jstcache="0"> <dt jstcache="0"> <var jsdisplay="$this.name" jscontent= "$this.name" jstcache="45">newWindowId</var> <em jstcache="0"> <!-- TYPE --> <di v style="display:inline" jstcache="0"> ( <span class="optional" jsdisplay="optio nal" jstcache="46" style="display: none; ">optional</span> <span id="typeTemplat e" jstcache="0"> <span jsdisplay="getTypeRef($this)" jstcache="47" style="displa y: none; "> <a jsvalues=".href: getTypeRefPage($this) + '#type-' + getTypeRef($t his)" jscontent="getTypeRef($this)" jstcache="49"> Type</a> </span> <span jsdisp lay="!getTypeRef($this)" jstcache="48"> <span jsdisplay="isArray($this)" jstcach e="50" style="display: none; "> array of <span jsselect="items" jstcache="52"><s pan transclude="typeTemplate" jstcache="53"></span></span> </span> <span jsdispl ay="!isArray($this)" jscontent="getTypeName($this)" jstcache="51">integer</span> </span> </span> ) </div> </em> </dt> <dd class="todo" jsdisplay="!$this.descrip tion" jstcache="42"> Undocumented. </dd> <dd jsdisplay="$this.description" jsval ues=".innerHTML:$this.description" jstcache="43" style="display: none; "> Descri ption of this parameter from the json schema. </dd> <!-- OBJECT PROPERTIES --> < dd jsdisplay="shouldExpandObject($this)" jstcache="44" style="display: none; "> <dl jstcache="0"> <div jsselect="getPropertyListFromObject($this)" jstcache="10" > <div transclude="valueTemplate" jstcache="17"> </div> </div> </dl> </dd> </div > </div><div jsselect="getPropertyListFromObject($this)" jstcache="10" jsinstanc e="*1"> <div jstcache="0"> <dt jstcache="0"> <var jsdisplay="$this.name" jsconte nt="$this.name" jstcache="45">newPosition</var> <em jstcache="0"> <!-- TYPE --> <div style="display:inline" jstcache="0"> ( <span class="optional" jsdisplay="op tional" jstcache="46" style="display: none; ">optional</span> <span id="typeTemp late" jstcache="0"> <span jsdisplay="getTypeRef($this)" jstcache="47" style="dis play: none; "> <a jsvalues=".href: getTypeRefPage($this) + '#type-' + getTypeRef ($this)" jscontent="getTypeRef($this)" jstcache="49"> Type</a> </span> <span jsd isplay="!getTypeRef($this)" jstcache="48"> <span jsdisplay="isArray($this)" jstc ache="50" style="display: none; "> array of <span jsselect="items" jstcache="52" ><span transclude="typeTemplate" jstcache="53"></span></span> </span> <span jsdi splay="!isArray($this)" jscontent="getTypeName($this)" jstcache="51">integer</sp an> </span> </span> ) </div> </em> </dt> <dd class="todo" jsdisplay="!$this.desc ription" jstcache="42"> Undocumented. </dd> <dd jsdisplay="$this.description" js values=".innerHTML:$this.description" jstcache="43" style="display: none; "> Des cription of this parameter from the json schema. </dd> <!-- OBJECT PROPERTIES -- > <dd jsdisplay="shouldExpandObject($this)" jstcache="44" style="display: none; "> <dl jstcache="0"> <div jsselect="getPropertyListFromObject($this)" jstcache=" 10"> <div transclude="valueTemplate" jstcache="17"> </div> </div> </dl> </dd> </ div> </div> </dl> </dd> </div> </div> </dl> </div> <!-- /decription --> </div><d iv jsselect="events" class="apiItem" jstcache="12" jsinstance="5"> <a jsvalues=" .name:'event-' + name" jstcache="19" name="event-onDetached"></a> <h3 jscontent= "name" jstcache="16">onDetached</h3> <div class="summary" jstcache="0"> <!-- Not e: intentionally longer 80 columns --> <span jscontent="getModuleName() + '.'" c lass="subdued" jstcache="23">chrome.tabs.</span><span jscontent="name" jstcache= "16">onDetached</span><span class="subdued" jstcache="0">.addListener</span>(fun ction(<span jscontent="getSignatureString(parameters)" jstcache="32">integer tab Id, object DetachInfo</span>) <span class="subdued" jstcache="0">{...}</span>); </div> <div class="description" jstcache="0"> <p class="todo" jsdisplay="!descri ption" jstcache="28">Undocumented.</p> <p jsdisplay="description" jsvalues=".inn erHTML:description" jstcache="29" style="display: none; "> A description from th e json schema def of the event goes here. </p> <!-- PARAMETERS --> <h4 jstcache= "0">Parameters</h4> <dl jstcache="0"> <div jsselect="parameters" jstcache="35" j sinstance="0"> <div jstcache="0"> <dt jstcache="0"> <var jsdisplay="$this.name" jscontent="$this.name" jstcache="45">tabId</var> <em jstcache="0"> <!-- TYPE --> <div style="display:inline" jstcache="0"> ( <span class="optional" jsdisplay="o ptional" jstcache="46" style="display: none; ">optional</span> <span id="typeTem plate" jstcache="0"> <span jsdisplay="getTypeRef($this)" jstcache="47" style="di splay: none; "> <a jsvalues=".href: getTypeRefPage($this) + '#type-' + getTypeRe f($this)" jscontent="getTypeRef($this)" jstcache="49"> Type</a> </span> <span js display="!getTypeRef($this)" jstcache="48"> <span jsdisplay="isArray($this)" jst cache="50" style="display: none; "> array of <span jsselect="items" jstcache="52 "><span transclude="typeTemplate" jstcache="53"></span></span> </span> <span jsd isplay="!isArray($this)" jscontent="getTypeName($this)" jstcache="51">integer</s pan> </span> </span> ) </div> </em> </dt> <dd class="todo" jsdisplay="!$this.des cription" jstcache="42"> Undocumented. </dd> <dd jsdisplay="$this.description" j svalues=".innerHTML:$this.description" jstcache="43" style="display: none; "> De scription of this parameter from the json schema. </dd> <!-- OBJECT PROPERTIES - -> <dd jsdisplay="shouldExpandObject($this)" jstcache="44" style="display: none; "> <dl jstcache="0"> <div jsselect="getPropertyListFromObject($this)" jstcache= "10"> <div transclude="valueTemplate" jstcache="17"> </div> </div> </dl> </dd> < /div> </div><div jsselect="parameters" jstcache="35" jsinstance="*1"> <div jstca che="0"> <dt jstcache="0"> <var jsdisplay="$this.name" jscontent="$this.name" js tcache="45">DetachInfo</var> <em jstcache="0"> <!-- TYPE --> <div style="display :inline" jstcache="0"> ( <span class="optional" jsdisplay="optional" jstcache="4 6" style="display: none; ">optional</span> <span id="typeTemplate" jstcache="0"> <span jsdisplay="getTypeRef($this)" jstcache="47" style="display: none; "> <a j svalues=".href: getTypeRefPage($this) + '#type-' + getTypeRef($this)" jscontent= "getTypeRef($this)" jstcache="49"> Type</a> </span> <span jsdisplay="!getTypeRef ($this)" jstcache="48"> <span jsdisplay="isArray($this)" jstcache="50" style="di splay: none; "> array of <span jsselect="items" jstcache="52"><span transclude=" typeTemplate" jstcache="53"></span></span> </span> <span jsdisplay="!isArray($th is)" jscontent="getTypeName($this)" jstcache="51">object</span> </span> </span> ) </div> </em> </dt> <dd class="todo" jsdisplay="!$this.description" jstcache="4 2"> Undocumented. </dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML:$ this.description" jstcache="43" style="display: none; "> Description of this par ameter from the json schema. </dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="sho uldExpandObject($this)" jstcache="44" style=""> <dl jstcache="0"> <div jsselect= "getPropertyListFromObject($this)" jstcache="10" jsinstance="0"> <div jstcache=" 0"> <dt jstcache="0"> <var jsdisplay="$this.name" jscontent="$this.name" jstcach e="45">oldWindowId</var> <em jstcache="0"> <!-- TYPE --> <div style="display:inl ine" jstcache="0"> ( <span class="optional" jsdisplay="optional" jstcache="46" s tyle="display: none; ">optional</span> <span id="typeTemplate" jstcache="0"> <sp an jsdisplay="getTypeRef($this)" jstcache="47" style="display: none; "> <a jsval ues=".href: getTypeRefPage($this) + '#type-' + getTypeRef($this)" jscontent="get TypeRef($this)" jstcache="49"> Type</a> </span> <span jsdisplay="!getTypeRef($th is)" jstcache="48"> <span jsdisplay="isArray($this)" jstcache="50" style="displa y: none; "> array of <span jsselect="items" jstcache="52"><span transclude="type Template" jstcache="53"></span></span> </span> <span jsdisplay="!isArray($this)" jscontent="getTypeName($this)" jstcache="51">integer</span> </span> </span> ) < /div> </em> </dt> <dd class="todo" jsdisplay="!$this.description" jstcache="42"> Undocumented. </dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML:$thi s.description" jstcache="43" style="display: none; "> Description of this parame ter from the json schema. </dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="should ExpandObject($this)" jstcache="44" style="display: none; "> <dl jstcache="0"> <d iv jsselect="getPropertyListFromObject($this)" jstcache="10"> <div transclude="v alueTemplate" jstcache="17"> </div> </div> </dl> </dd> </div> </div><div jsselec t="getPropertyListFromObject($this)" jstcache="10" jsinstance="*1"> <div jstcach e="0"> <dt jstcache="0"> <var jsdisplay="$this.name" jscontent="$this.name" jstc ache="45">oldPosition</var> <em jstcache="0"> <!-- TYPE --> <div style="display: inline" jstcache="0"> ( <span class="optional" jsdisplay="optional" jstcache="46 " style="display: none; ">optional</span> <span id="typeTemplate" jstcache="0"> <span jsdisplay="getTypeRef($this)" jstcache="47" style="display: none; "> <a js values=".href: getTypeRefPage($this) + '#type-' + getTypeRef($this)" jscontent=" getTypeRef($this)" jstcache="49"> Type</a> </span> <span jsdisplay="!getTypeRef( $this)" jstcache="48"> <span jsdisplay="isArray($this)" jstcache="50" style="dis play: none; "> array of <span jsselect="items" jstcache="52"><span transclude="t ypeTemplate" jstcache="53"></span></span> </span> <span jsdisplay="!isArray($thi s)" jscontent="getTypeName($this)" jstcache="51">integer</span> </span> </span> ) </div> </em> </dt> <dd class="todo" jsdisplay="!$this.description" jstcache="4 2"> Undocumented. </dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML:$ this.description" jstcache="43" style="display: none; "> Description of this par ameter from the json schema. </dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="sho uldExpandObject($this)" jstcache="44" style="display: none; "> <dl jstcache="0"> <div jsselect="getPropertyListFromObject($this)" jstcache="10"> <div transclude ="valueTemplate" jstcache="17"> </div> </div> </dl> </dd> </div> </div> </dl> </ dd> </div> </div> </dl> </div> <!-- /decription --> </div><div jsselect="events" class="apiItem" jstcache="12" jsinstance="*6"> <a jsvalues=".name:'event-' + na me" jstcache="19" name="event-onRemoved"></a> <h3 jscontent="name" jstcache="16" >onRemoved</h3> <div class="summary" jstcache="0"> <!-- Note: intentionally long er 80 columns --> <span jscontent="getModuleName() + '.'" class="subdued" jstcac he="23">chrome.tabs.</span><span jscontent="name" jstcache="16">onRemoved</span> <span class="subdued" jstcache="0">.addListener</span>(function(<span jscontent= "getSignatureString(parameters)" jstcache="32">integer tabId</span>) <span class ="subdued" jstcache="0">{...}</span>); </div> <div class="description" jstcache= "0"> <p class="todo" jsdisplay="!description" jstcache="28">Undocumented.</p> <p jsdisplay="description" jsvalues=".innerHTML:description" jstcache="29" style=" display: none; "> A description from the json schema def of the event goes here. </p> <!-- PARAMETERS --> <h4 jstcache="0">Parameters</h4> <dl jstcache="0"> <di v jsselect="parameters" jstcache="35" jsinstance="*0"> <div jstcache="0"> <dt js tcache="0"> <var jsdisplay="$this.name" jscontent="$this.name" jstcache="45">tab Id</var> <em jstcache="0"> <!-- TYPE --> <div style="display:inline" jstcache="0 "> ( <span class="optional" jsdisplay="optional" jstcache="46" style="display: n one; ">optional</span> <span id="typeTemplate" jstcache="0"> <span jsdisplay="ge tTypeRef($this)" jstcache="47" style="display: none; "> <a jsvalues=".href: getT ypeRefPage($this) + '#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="49"> Type</a> </span> <span jsdisplay="!getTypeRef($this)" jstcache="4 8"> <span jsdisplay="isArray($this)" jstcache="50" style="display: none; "> arra y of <span jsselect="items" jstcache="52"><span transclude="typeTemplate" jstcac he="53"></span></span> </span> <span jsdisplay="!isArray($this)" jscontent="getT ypeName($this)" jstcache="51">integer</span> </span> </span> ) </div> </em> </dt > <dd class="todo" jsdisplay="!$this.description" jstcache="42"> Undocumented. < /dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.description" j stcache="43" style="display: none; "> Description of this parameter from the jso n schema. </dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="shouldExpandObject($th is)" jstcache="44" style="display: none; "> <dl jstcache="0"> <div jsselect="get PropertyListFromObject($this)" jstcache="10"> <div transclude="valueTemplate" js tcache="17"> </div> </div> </dl> </dd> </div> </div> </dl> </div> <!-- /decripti on --> </div> <!-- /apiItem --> </div> <!-- /apiGroup --> <!-- TYPES --> <div js display="types &amp;&amp; types.length &gt; 0" class="apiGroup" jstcache="8"> <a name="#types" jstcache="0"></a> <h2 id="types" jstcache="0">Types</h2> <!-- ite rates over all types --> <div jsselect="types" class="apiItem" jstcache="13" jsi nstance="*0"> <a jsvalues=".name:'type-' + id" jstcache="20" name="type-Tab"></a > <h3 jscontent="id" jstcache="21">Tab</h3> <div jstcache="0"> <dt jstcache="0"> <var jsdisplay="$this.name" jscontent="$this.name" jstcache="45" style="display : none; ">tabId</var> <em jstcache="0"> <!-- TYPE --> <div style="display:inline " jstcache="0"> ( <span class="optional" jsdisplay="optional" jstcache="46" styl e="display: none; ">optional</span> <span id="typeTemplate" jstcache="0"> <span jsdisplay="getTypeRef($this)" jstcache="47" style="display: none; "> <a jsvalues =".href: getTypeRefPage($this) + '#type-' + getTypeRef($this)" jscontent="getTyp eRef($this)" jstcache="49"> Type</a> </span> <span jsdisplay="!getTypeRef($this) " jstcache="48"> <span jsdisplay="isArray($this)" jstcache="50" style="display: none; "> array of <span jsselect="items" jstcache="52"><span transclude="typeTem plate" jstcache="53"></span></span> </span> <span jsdisplay="!isArray($this)" js content="getTypeName($this)" jstcache="51">object</span> </span> </span> ) </div > </em> </dt> <dd class="todo" jsdisplay="!$this.description" jstcache="42"> Und ocumented. </dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.de scription" jstcache="43" style="display: none; "> Description of this parameter from the json schema. </dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="shouldExpa ndObject($this)" jstcache="44" style=""> <dl jstcache="0"> <div jsselect="getPro pertyListFromObject($this)" jstcache="10" jsinstance="0"> <div jstcache="0"> <dt jstcache="0"> <var jsdisplay="$this.name" jscontent="$this.name" jstcache="45"> id</var> <em jstcache="0"> <!-- TYPE --> <div style="display:inline" jstcache="0 "> ( <span class="optional" jsdisplay="optional" jstcache="46" style="display: n one; ">optional</span> <span id="typeTemplate" jstcache="0"> <span jsdisplay="ge tTypeRef($this)" jstcache="47" style="display: none; "> <a jsvalues=".href: getT ypeRefPage($this) + '#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="49"> Type</a> </span> <span jsdisplay="!getTypeRef($this)" jstcache="4 8"> <span jsdisplay="isArray($this)" jstcache="50" style="display: none; "> arra y of <span jsselect="items" jstcache="52"><span transclude="typeTemplate" jstcac he="53"></span></span> </span> <span jsdisplay="!isArray($this)" jscontent="getT ypeName($this)" jstcache="51">integer</span> </span> </span> ) </div> </em> </dt > <dd class="todo" jsdisplay="!$this.description" jstcache="42"> Undocumented. < /dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.description" j stcache="43" style="display: none; "> Description of this parameter from the jso n schema. </dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="shouldExpandObject($th is)" jstcache="44" style="display: none; "> <dl jstcache="0"> <div jsselect="get PropertyListFromObject($this)" jstcache="10"> <div transclude="valueTemplate" js tcache="17"> </div> </div> </dl> </dd> </div> </div><div jsselect="getPropertyLi stFromObject($this)" jstcache="10" jsinstance="1"> <div jstcache="0"> <dt jstcac he="0"> <var jsdisplay="$this.name" jscontent="$this.name" jstcache="45">index</ var> <em jstcache="0"> <!-- TYPE --> <div style="display:inline" jstcache="0"> ( <span class="optional" jsdisplay="optional" jstcache="46" style="display: none; ">optional</span> <span id="typeTemplate" jstcache="0"> <span jsdisplay="getTyp eRef($this)" jstcache="47" style="display: none; "> <a jsvalues=".href: getTypeR efPage($this) + '#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstc ache="49"> Type</a> </span> <span jsdisplay="!getTypeRef($this)" jstcache="48"> <span jsdisplay="isArray($this)" jstcache="50" style="display: none; "> array of <span jsselect="items" jstcache="52"><span transclude="typeTemplate" jstcache=" 53"></span></span> </span> <span jsdisplay="!isArray($this)" jscontent="getTypeN ame($this)" jstcache="51">integer</span> </span> </span> ) </div> </em> </dt> <d d class="todo" jsdisplay="!$this.description" jstcache="42"> Undocumented. </dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.description" jstca che="43" style="display: none; "> Description of this parameter from the json sc hema. </dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="shouldExpandObject($this)" jstcache="44" style="display: none; "> <dl jstcache="0"> <div jsselect="getProp ertyListFromObject($this)" jstcache="10"> <div transclude="valueTemplate" jstcac he="17"> </div> </div> </dl> </dd> </div> </div><div jsselect="getPropertyListFr omObject($this)" jstcache="10" jsinstance="2"> <div jstcache="0"> <dt jstcache=" 0"> <var jsdisplay="$this.name" jscontent="$this.name" jstcache="45">windowId</v ar> <em jstcache="0"> <!-- TYPE --> <div style="display:inline" jstcache="0"> ( <span class="optional" jsdisplay="optional" jstcache="46" style="display: none; ">optional</span> <span id="typeTemplate" jstcache="0"> <span jsdisplay="getType Ref($this)" jstcache="47" style="display: none; "> <a jsvalues=".href: getTypeRe fPage($this) + '#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstca che="49"> Type</a> </span> <span jsdisplay="!getTypeRef($this)" jstcache="48"> < span jsdisplay="isArray($this)" jstcache="50" style="display: none; "> array of <span jsselect="items" jstcache="52"><span transclude="typeTemplate" jstcache="5 3"></span></span> </span> <span jsdisplay="!isArray($this)" jscontent="getTypeNa me($this)" jstcache="51">integer</span> </span> </span> ) </div> </em> </dt> <dd class="todo" jsdisplay="!$this.description" jstcache="42"> Undocumented. </dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.description" jstcac he="43" style="display: none; "> Description of this parameter from the json sch ema. </dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="shouldExpandObject($this)" jstcache="44" style="display: none; "> <dl jstcache="0"> <div jsselect="getPrope rtyListFromObject($this)" jstcache="10"> <div transclude="valueTemplate" jstcach e="17"> </div> </div> </dl> </dd> </div> </div><div jsselect="getPropertyListFro mObject($this)" jstcache="10" jsinstance="3"> <div jstcache="0"> <dt jstcache="0 "> <var jsdisplay="$this.name" jscontent="$this.name" jstcache="45">selected</va r> <em jstcache="0"> <!-- TYPE --> <div style="display:inline" jstcache="0"> ( < span class="optional" jsdisplay="optional" jstcache="46" style="display: none; " >optional</span> <span id="typeTemplate" jstcache="0"> <span jsdisplay="getTypeR ef($this)" jstcache="47" style="display: none; "> <a jsvalues=".href: getTypeRef Page($this) + '#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcac he="49"> Type</a> </span> <span jsdisplay="!getTypeRef($this)" jstcache="48"> <s pan jsdisplay="isArray($this)" jstcache="50" style="display: none; "> array of < span jsselect="items" jstcache="52"><span transclude="typeTemplate" jstcache="53 "></span></span> </span> <span jsdisplay="!isArray($this)" jscontent="getTypeNam e($this)" jstcache="51">boolean</span> </span> </span> ) </div> </em> </dt> <dd class="todo" jsdisplay="!$this.description" jstcache="42"> Undocumented. </dd> < dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.description" jstcach e="43" style="display: none; "> Description of this parameter from the json sche ma. </dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="shouldExpandObject($this)" j stcache="44" style="display: none; "> <dl jstcache="0"> <div jsselect="getProper tyListFromObject($this)" jstcache="10"> <div transclude="valueTemplate" jstcache ="17"> </div> </div> </dl> </dd> </div> </div><div jsselect="getPropertyListFrom Object($this)" jstcache="10" jsinstance="4"> <div jstcache="0"> <dt jstcache="0" > <var jsdisplay="$this.name" jscontent="$this.name" jstcache="45">url</var> <em jstcache="0"> <!-- TYPE --> <div style="display:inline" jstcache="0"> ( <span c lass="optional" jsdisplay="optional" jstcache="46" style="display: none; ">optio nal</span> <span id="typeTemplate" jstcache="0"> <span jsdisplay="getTypeRef($th is)" jstcache="47" style="display: none; "> <a jsvalues=".href: getTypeRefPage($ this) + '#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="49 "> Type</a> </span> <span jsdisplay="!getTypeRef($this)" jstcache="48"> <span js display="isArray($this)" jstcache="50" style="display: none; "> array of <span j sselect="items" jstcache="52"><span transclude="typeTemplate" jstcache="53"></sp an></span> </span> <span jsdisplay="!isArray($this)" jscontent="getTypeName($thi s)" jstcache="51">string</span> </span> </span> ) </div> </em> </dt> <dd class=" todo" jsdisplay="!$this.description" jstcache="42"> Undocumented. </dd> <dd jsdi splay="$this.description" jsvalues=".innerHTML:$this.description" jstcache="43" style="display: none; "> Description of this parameter from the json schema. </d d> <!-- OBJECT PROPERTIES --> <dd jsdisplay="shouldExpandObject($this)" jstcache ="44" style="display: none; "> <dl jstcache="0"> <div jsselect="getPropertyListF romObject($this)" jstcache="10"> <div transclude="valueTemplate" jstcache="17"> </div> </div> </dl> </dd> </div> </div><div jsselect="getPropertyListFromObject( $this)" jstcache="10" jsinstance="5"> <div jstcache="0"> <dt jstcache="0"> <var jsdisplay="$this.name" jscontent="$this.name" jstcache="45">title</var> <em jstc ache="0"> <!-- TYPE --> <div style="display:inline" jstcache="0"> ( <span class= "optional" jsdisplay="optional" jstcache="46" style="">optional</span> <span id= "typeTemplate" jstcache="0"> <span jsdisplay="getTypeRef($this)" jstcache="47" s tyle="display: none; "> <a jsvalues=".href: getTypeRefPage($this) + '#type-' + g etTypeRef($this)" jscontent="getTypeRef($this)" jstcache="49"> Type</a> </span> <span jsdisplay="!getTypeRef($this)" jstcache="48"> <span jsdisplay="isArray($th is)" jstcache="50" style="display: none; "> array of <span jsselect="items" jstc ache="52"><span transclude="typeTemplate" jstcache="53"></span></span> </span> < span jsdisplay="!isArray($this)" jscontent="getTypeName($this)" jstcache="51">st ring</span> </span> </span> ) </div> </em> </dt> <dd class="todo" jsdisplay="!$t his.description" jstcache="42"> Undocumented. </dd> <dd jsdisplay="$this.descrip tion" jsvalues=".innerHTML:$this.description" jstcache="43" style="display: none ; "> Description of this parameter from the json schema. </dd> <!-- OBJECT PROPE RTIES --> <dd jsdisplay="shouldExpandObject($this)" jstcache="44" style="display : none; "> <dl jstcache="0"> <div jsselect="getPropertyListFromObject($this)" js tcache="10"> <div transclude="valueTemplate" jstcache="17"> </div> </div> </dl> </dd> </div> </div><div jsselect="getPropertyListFromObject($this)" jstcache="10 " jsinstance="6"> <div jstcache="0"> <dt jstcache="0"> <var jsdisplay="$this.nam e" jscontent="$this.name" jstcache="45">favIconUrl</var> <em jstcache="0"> <!-- TYPE --> <div style="display:inline" jstcache="0"> ( <span class="optional" jsdi splay="optional" jstcache="46" style="">optional</span> <span id="typeTemplate" jstcache="0"> <span jsdisplay="getTypeRef($this)" jstcache="47" style="display: none; "> <a jsvalues=".href: getTypeRefPage($this) + '#type-' + getTypeRef($this )" jscontent="getTypeRef($this)" jstcache="49"> Type</a> </span> <span jsdisplay ="!getTypeRef($this)" jstcache="48"> <span jsdisplay="isArray($this)" jstcache=" 50" style="display: none; "> array of <span jsselect="items" jstcache="52"><span transclude="typeTemplate" jstcache="53"></span></span> </span> <span jsdisplay= "!isArray($this)" jscontent="getTypeName($this)" jstcache="51">string</span> </s pan> </span> ) </div> </em> </dt> <dd class="todo" jsdisplay="!$this.description " jstcache="42"> Undocumented. </dd> <dd jsdisplay="$this.description" jsvalues= ".innerHTML:$this.description" jstcache="43" style="display: none; "> Descriptio n of this parameter from the json schema. </dd> <!-- OBJECT PROPERTIES --> <dd j sdisplay="shouldExpandObject($this)" jstcache="44" style="display: none; "> <dl jstcache="0"> <div jsselect="getPropertyListFromObject($this)" jstcache="10"> <d iv transclude="valueTemplate" jstcache="17"> </div> </div> </dl> </dd> </div> </ div><div jsselect="getPropertyListFromObject($this)" jstcache="10" jsinstance="* 7"> <div jstcache="0"> <dt jstcache="0"> <var jsdisplay="$this.name" jscontent=" $this.name" jstcache="45">status</var> <em jstcache="0"> <!-- TYPE --> <div styl e="display:inline" jstcache="0"> ( <span class="optional" jsdisplay="optional" j stcache="46" style="">optional</span> <span id="typeTemplate" jstcache="0"> <spa n jsdisplay="getTypeRef($this)" jstcache="47" style="display: none; "> <a jsvalu es=".href: getTypeRefPage($this) + '#type-' + getTypeRef($this)" jscontent="getT ypeRef($this)" jstcache="49"> Type</a> </span> <span jsdisplay="!getTypeRef($thi s)" jstcache="48"> <span jsdisplay="isArray($this)" jstcache="50" style="display : none; "> array of <span jsselect="items" jstcache="52"><span transclude="typeT emplate" jstcache="53"></span></span> </span> <span jsdisplay="!isArray($this)" jscontent="getTypeName($this)" jstcache="51">string</span> </span> </span> ) </d iv> </em> </dt> <dd class="todo" jsdisplay="!$this.description" jstcache="42"> U ndocumented. </dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this. description" jstcache="43" style="display: none; "> Description of this paramete r from the json schema. </dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="shouldEx pandObject($this)" jstcache="44" style="display: none; "> <dl jstcache="0"> <div jsselect="getPropertyListFromObject($this)" jstcache="10"> <div transclude="val ueTemplate" jstcache="17"> </div> </div> </dl> </dd> </div> </div> </dl> </dd> < /div> </div> <!-- /apiItem --> </div> <!-- /apiGroup --> </div> <!-- /apiPage -- > </div> <!-- /mainColumn --> </div> <!-- /pageContent --> <div id="pageFooter" --="" jstcache="0"> Copyright 2009. For terms of use, see the Chromium <a href=" http://src.chromium.org/viewvc/chrome/trunk/src/LICENSE" jstcache="0">license</a >. </div> <!-- /pageFooter --> </div> <!-- /container --> </body></html>
OLDNEW
« no previous file with comments | « chrome/common/extensions/docs/bookmarks.html ('k') | chrome/common/extensions/docs/windows.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698