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

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

Issue 180016: Extension API Renaming/Consistency changes (Closed)
Patch Set: render docs Created 11 years, 3 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="getPageTitle()" jstcache="1">chrome.tabs</title> <link hre f="css/ApiRefStyles.css" rel="stylesheet" type="text/css" jstcache="0"> <script type="text/javascript" src="../../../third_party/jstemplate/jstemplate_compiled. js" jstcache="0"> </script> <script type="text/javascript" src="js/api_page_gene rator.js" jstcache="0"></script> <script type="text/javascript" src="js/bootstra p.js" jstcache="0"></script> </head><!-- <body> content is completely generated. Do not edit, as it will be and rewritten. --><body jstcache="0"> <div id="conta iner" jstcache="0"> <a name="top" jstcache="0"> </a> <!-- API HEADER --> <div id ="pageHeader" jstcache="0"> <div id="searchbox" jstcache="0"> <form action="http ://www.google.com/cse" id="cse-search-box" jstcache="0"> <div jstcache="0"> <inp ut type="hidden" name="cx" value="002967670403910741006:61_cvzfqtno" jstcache="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="Search" jstcache="0"> </div> </form> <script type="text/javascript" src="http://www.goog le.com/jsapi" jstcache="0"></script> <script type="text/javascript" jstcache="0" >google.load("elements", "1", {packages: "transliteration"});</script> <script t ype="text/javascript" src="http://www.google.com/coop/cse/t13n?form=cse-search-b ox&amp;t13n_langs=en" jstcache="0"></script> <script type="text/javascript" src= "http://www.google.com/coop/cse/brand?form=cse-search-box&amp;lang=en" jstcache= "0"></script> </div> <div id="pageTitle" jstcache="0"> <h1 jscontent="getPageTit le()" jstcache="1">chrome.tabs</h1> </div> </div> <!-- /pageHeader --> <div id=" pageContent" jstcache="0"> <!-- SIDENAV --> <div id="leftNav" jstcache="0"> <ul jstcache="0"> <li jstcache="0"> <a href="index.html" jstcache="0">Home</a></li> <li jstcache="0"> <a href="getstarted.html" jstcache="0">Getting Started</a></li > <li jstcache="0"> <a href="overview.html" jstcache="0">Overview</a></li> <li j stcache="0"> <a href="devguide.html" jstcache="0"><div jstcache="0">Developer's Guide</div></a> <ul jstcache="0"> <li jstcache="0"><a href="toolstrip.html" jstc ache="0">Toolstrips</a></li> <li jstcache="0"><a href="pageActions.html" jstcach e="0">Page Actions</a></li> <li jstcache="0"><a href="background_pages.html" jst cache="0">Background Pages</a></li> <li jstcache="0"><a href="content_scripts.ht ml" jstcache="0">Content Scripts</a></li> <li jstcache="0">Events</li> <li jstca che="0" class="leftNavSelected">Tabs</li> <li jstcache="0"><a href="windows.html " jstcache="0">Windows</a></li> <li jstcache="0"><a href="bookmarks.html" jstcac he="0">Bookmarks</a></li> <li jstcache="0">Themes</li> <li jstcache="0"><a href= "npapi.html" jstcache="0">NPAPI Plugins</a></li> <li jstcache="0"><a href="packa ging.html" jstcache="0">Packaging</a></li> <li jstcache="0">Autoupdate</li> </ul > </li> <li jstcache="0"><a href="tutorials.html" jstcache="0"><div jstcache="0" >Tutorials</div></a> <ul jstcache="0"> <li jstcache="0"><a href="tut_debugging.h tml" jstcache="0">Debugging</a></li> </ul> </li> <li jstcache="0">Reference <ul jstcache="0"> <li jstcache="0"> Formats <ul jstcache="0"> <li jstcache="0"><a hr ef="manifest.html" jstcache="0">Manifest Files</a></li> <li jstcache="0">Match P atterns</li> <li jstcache="0">Packages (.crx)</li> </ul> </li> <li jstcache="0"> <a href="api_index.html" jstcache="0">chrome.* APIs</a> </li> <li jstcache="0"> Other APIs</li> </ul> </li> <li jstcache="0">Samples <ul jstcache="0"> <li jstca che="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" js display="showPageTOC()" jstcache="2"> <p jstcache="0">Contents</p> <ol jstcache= "0"> <li jsselect="getStaticTOC()" jstcache="9" jsinstance="*0" style="display: none; "> <a jscontent="name" jsvalues=".href:'#' + href" jstcache="14">h2Name</a > <ol jstcache="0"> <li jsselect="$this.children" jstcache="22"> <a jscontent="n ame" jsvalues=".href:'#' + href" jstcache="14">h3Name</a> </li> </ol> </li> <div jsselect="apiDefinition" jstcache="3"> <li jstcache="0"> <a href="#apiReference " jscontent="'API Reference: ' + getModuleName()" jstcache="23">API Reference: c hrome.tabs</a> <ol jstcache="0"> <li jsdisplay="$this.properties" jstcache="5" s tyle="display: none; "> <a href="#properties" jstcache="0">Properties</a> <ol js tcache="0"> <li jsselect="getPropertyListFromObject($this)" jstcache="10"> <a js content="name" jsvalues=".href:'#property-' + name" href="#property-anchor" jstc ache="42">propertyName</a> </li> </ol> </li> <li jsdisplay="functions &amp;&amp; functions.length &gt; 0" jstcache="6"> <a href="#methods" jstcache="0">Methods< /a> <ol jstcache="0"> <li jsselect="functions" jstcache="11" jsinstance="0"> <a jscontent="name" jsvalues=".href:'#method-' + name" href="#method-get" jstcache= "43">get</a> </li><li jsselect="functions" jstcache="11" jsinstance="1"> <a jsco ntent="name" jsvalues=".href:'#method-' + name" href="#method-connect" jstcache= "43">connect</a> </li><li jsselect="functions" jstcache="11" jsinstance="2"> <a jscontent="name" jsvalues=".href:'#method-' + name" href="#method-getSelected" j stcache="43">getSelected</a> </li><li jsselect="functions" jstcache="11" jsinsta nce="3"> <a jscontent="name" jsvalues=".href:'#method-' + name" href="#method-ge tAllInWindow" jstcache="43">getAllInWindow</a> </li><li jsselect="functions" jst cache="11" jsinstance="4"> <a jscontent="name" jsvalues=".href:'#method-' + name " href="#method-create" jstcache="43">create</a> </li><li jsselect="functions" j stcache="11" jsinstance="5"> <a jscontent="name" jsvalues=".href:'#method-' + na me" href="#method-update" jstcache="43">update</a> </li><li jsselect="functions" jstcache="11" jsinstance="6"> <a jscontent="name" jsvalues=".href:'#method-' + name" href="#method-move" jstcache="43">move</a> </li><li jsselect="functions" j stcache="11" jsinstance="7"> <a jscontent="name" jsvalues=".href:'#method-' + na me" href="#method-remove" jstcache="43">remove</a> </li><li jsselect="functions" jstcache="11" jsinstance="8"> <a jscontent="name" jsvalues=".href:'#method-' + name" href="#method-detectLanguage" jstcache="43">detectLanguage</a> </li><li js select="functions" jstcache="11" jsinstance="*9"> <a jscontent="name" jsvalues=" .href:'#method-' + name" href="#method-captureVisibleTab" jstcache="43">captureV isibleTab</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" jsvalue s=".href:'#event-' + name" href="#event-onCreated" jstcache="44">onCreated</a> < /li><li jsselect="events" jstcache="12" jsinstance="1"> <a jscontent="name" jsva lues=".href:'#event-' + name" href="#event-onUpdated" jstcache="44">onUpdated</a > </li><li jsselect="events" jstcache="12" jsinstance="2"> <a jscontent="name" j svalues=".href:'#event-' + name" href="#event-onMoved" jstcache="44">onMoved</a> </li><li jsselect="events" jstcache="12" jsinstance="3"> <a jscontent="name" js values=".href:'#event-' + name" href="#event-onSelectionChanged" jstcache="44">o nSelectionChanged</a> </li><li jsselect="events" jstcache="12" jsinstance="4"> < a jscontent="name" jsvalues=".href:'#event-' + name" href="#event-onAttached" js tcache="44">onAttached</a> </li><li jsselect="events" jstcache="12" jsinstance=" 5"> <a jscontent="name" jsvalues=".href:'#event-' + name" href="#event-onDetache d" jstcache="44">onDetached</a> </li><li jsselect="events" jstcache="12" jsinsta nce="*6"> <a jscontent="name" jsvalues=".href:'#event-' + name" href="#event-onR emoved" jstcache="44">onRemoved</a> </li> </ol> </li> <li jsdisplay="types &amp; &amp; types.length &gt; 0" jstcache="8"> <a href="#types" jstcache="0">Types</a> <ol jstcache="0"> <li jsselect="types" jstcache="13" jsinstance="*0"> <a jscont ent="id" jsvalues=".href:'#type-' + id" href="#type-Tab" jstcache="45">Tab</a> < /li> </ol> </li> </ol> </li> </div> </ol> </div> <!-- /TABLE OF CONTENTS --> <!- - STATIC CONTENT PLACEHOLDER --> <div id="static" jstcache="0"><!-- BEGIN AUTHOR ED CONTENT --> <p class="todo" jstcache="0"> [PENDING: API Module Overview Goes Here] </p> <!-- END AUTHORED CONTENT --> </div> <!-- API PAGE --> <div class="ap iPage" jsselect="apiDefinition" jstcache="3"> <a name="apiReference" jstcache="0 "></a> <h2 jscontent="getModuleName() + ' API reference'" jstcache="4">chrome.ta bs API reference</h2> <!-- PROPERTIES --> <div jsdisplay="$this.properties" clas s="apiGroup" jstcache="5" style="display: none; "> <a name="properties" jstcache ="0"></a> <h3 id="properties" jstcache="0">Properties</h3> <div jsselect="getPro pertyListFromObject($this)" jstcache="10"> <a jsvalues=".name:'property-' + name " jstcache="15"></a> <h4 jscontent="name" jstcache="16">getLastError</h4> <div c lass="summary" jstcache="0"> <!-- Note: intentionally longer 80 columns --> <spa n jscontent="getModuleName() + '.'" jstcache="24">chrome.extension</span><span j scontent="$this.name" jstcache="25">lastError</span> </div> <div transclude="val ueTemplate" jstcache="17"> </div> </div> </div> <!-- /apiGroup --> <!-- METHODS --> <div jsdisplay="functions &amp;&amp; functions.length &gt; 0" class="apiGrou p" id="methods" jstcache="6"> <a name="methods" jstcache="0"></a> <h3 jstcache=" 0">Methods</h3> <!-- iterates over all functions --> <div class="apiItem" jssele ct="functions" jstcache="11" jsinstance="0"> <a jsvalues=".name:'method-' + name " jstcache="18" name="method-get"></a> <!-- method-anchor --> <h4 jscontent="nam e" jstcache="16">get</h4> <div class="summary" jstcache="0"><span jsdisplay="ret urns" jscontent="getTypeName(returns)" jstcache="26" style="display: none; ">voi d</span> <!-- Note: intentionally longer 80 columns --> <span jscontent="getFull yQualifiedFunctionName($this)" jstcache="27">chrome.tabs.get</span>(<span jssele ct="parameters" jsvalues="class:optional ? 'optional' : ''" jstcache="28" jsinst ance="0" class="null"><span jsdisplay="$index" jstcache="34" style="display: non e; ">, </span><span jscontent="getTypeName($this)" jstcache="35">integer</span> <var jstcache="0"><span jscontent="name" jstcache="16">tabId</span></var></span> <span jsselect="parameters" jsvalues="class:optional ? 'optional' : ''" jstcache ="28" jsinstance="*1" class="null"><span jsdisplay="$index" jstcache="34">, </sp an><span jscontent="getTypeName($this)" jstcache="35">function</span> <var jstca che="0"><span jscontent="name" jstcache="16">callback</span></var></span>)</div> <div class="description" jstcache="0"> <p class="todo" jsdisplay="!description" jstcache="29">Undocumented.</p> <p jsdisplay="description" jsvalues=".innerHTML :description" jstcache="30" 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="36" jsin stance="0"> <!-- VALUE: This is a subtemplate that is used elsewhere via jsTempl ate *transclude* --> <div id="valueTemplate" jstcache="0"> <dt jstcache="0"> <va r jsdisplay="$this.name" jscontent="$this.name" jstcache="46">tabId</var> <em js tcache="0"> <!-- TYPE --> <div style="display:inline" jstcache="0"> ( <span clas s="optional" jsdisplay="optional" jstcache="47" style="display: none; ">optional </span> <span id="typeTemplate" jstcache="0"> <span jsdisplay="getTypeRef($this) " jstcache="48" style="display: none; "> <a jsvalues=".href: getTypeRefPage($thi s) + '#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="50"> Type</a> </span> <span jsdisplay="!getTypeRef($this)" jstcache="49"> <span jsdis play="isArray($this)" jstcache="51" style="display: none; "> array of <span jsse lect="items" jstcache="53"><span transclude="typeTemplate" jstcache="54"></span> </span> </span> <span jsdisplay="!isArray($this)" jscontent="getTypeName($this)" jstcache="52">integer</span> </span> </span> ) </div> </em> </dt> <dd class="to do" jsdisplay="!$this.description" jstcache="39"> Undocumented. </dd> <dd jsdisp lay="$this.description" jsvalues=".innerHTML:$this.description" jstcache="40" st yle="display: none; "> Description of this parameter from the json schema. </dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="shouldExpandObject($this)" jstcache=" 41" style="display: none; "> <dl jstcache="0"> <div jsselect="getPropertyListFro mObject($this)" jstcache="10"> <div transclude="valueTemplate" jstcache="17"> </ div> </div> </dl> </dd> </div> <!-- /VALUE --> </div><div jsselect="parameters" jstcache="36" jsinstance="*1"> <!-- VALUE: This is a subtemplate that is used el sewhere via jsTemplate *transclude* --> <div id="valueTemplate" jstcache="0"> <d t jstcache="0"> <var jsdisplay="$this.name" jscontent="$this.name" jstcache="46" >callback</var> <em jstcache="0"> <!-- TYPE --> <div style="display:inline" jstc ache="0"> ( <span class="optional" jsdisplay="optional" jstcache="47" style="dis play: none; ">optional</span> <span id="typeTemplate" jstcache="0"> <span jsdisp lay="getTypeRef($this)" jstcache="48" style="display: none; "> <a jsvalues=".hre f: getTypeRefPage($this) + '#type-' + getTypeRef($this)" jscontent="getTypeRef($ this)" jstcache="50"> Type</a> </span> <span jsdisplay="!getTypeRef($this)" jstc ache="49"> <span jsdisplay="isArray($this)" jstcache="51" style="display: none; "> array of <span jsselect="items" jstcache="53"><span transclude="typeTemplate" jstcache="54"></span></span> </span> <span jsdisplay="!isArray($this)" jsconten t="getTypeName($this)" jstcache="52">function</span> </span> </span> ) </div> </ em> </dt> <dd class="todo" jsdisplay="!$this.description" jstcache="39"> Undocum ented. </dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.descri ption" jstcache="40" style="display: none; "> Description of this parameter from the json schema. </dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="shouldExpandOb ject($this)" jstcache="41" style="display: none; "> <dl jstcache="0"> <div jssel ect="getPropertyListFromObject($this)" jstcache="10"> <div transclude="valueTemp late" jstcache="17"> </div> </div> </dl> </dd> </div> <!-- /VALUE --> </div> </d l> <!-- RETURNS --> <h4 jsdisplay="returns" jstcache="31" style="display: none; ">Returns</h4> <dl jstcache="0"> <div jsselect="returns" jstcache="37" style="di splay: none; "> <div transclude="valueTemplate" jstcache="17"> </div> </div> </d l> <!-- CALLBACK --> <div jsdisplay="hasCallback(parameters)" jstcache="32"> <div jsselect="getCallbackParameters(parameters)" jstcache="38"> <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="33">Tab tab</span>) <span c lass="subdued" jstcache="0">{...}</span>);</pre> <dl jstcache="0"> <div jsselect ="parameters" jstcache="36" jsinstance="*0"> <div jstcache="0"> <dt jstcache="0" > <var jsdisplay="$this.name" jscontent="$this.name" jstcache="46">tab</var> <em jstcache="0"> <!-- TYPE --> <div style="display:inline" jstcache="0"> ( <span c lass="optional" jsdisplay="optional" jstcache="47" style="display: none; ">optio nal</span> <span id="typeTemplate" jstcache="0"> <span jsdisplay="getTypeRef($th is)" jstcache="48" style=""> <a jsvalues=".href: getTypeRefPage($this) + '#type- ' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="50" href="tabs.ht ml#type-Tab">Tab</a> </span> <span jsdisplay="!getTypeRef($this)" jstcache="49" style="display: none; "> <span jsdisplay="isArray($this)" jstcache="51" style="d isplay: none; "> array of <span jsselect="items" jstcache="53"><span transclude= "typeTemplate" jstcache="54"></span></span> </span> <span jsdisplay="!isArray($t his)" jscontent="getTypeName($this)" jstcache="52">integer</span> </span> </span > ) </div> </em> </dt> <dd class="todo" jsdisplay="!$this.description" jstcache= "39"> Undocumented. </dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML :$this.description" jstcache="40" style="display: none; "> Description of this p arameter from the json schema. </dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="s houldExpandObject($this)" jstcache="41" style="display: none; "> <dl jstcache="0 "> <div jsselect="getPropertyListFromObject($this)" jstcache="10"> <div transclu de="valueTemplate" jstcache="17"> </div> </div> </dl> </dd> </div> </div> </dl> </div> </div> </div> <!-- /description --> </div><div class="apiItem" jsselect=" functions" jstcache="11" jsinstance="1"> <a jsvalues=".name:'method-' + name" js tcache="18" name="method-connect"></a> <!-- method-anchor --> <h4 jscontent="nam e" jstcache="16">connect</h4> <div class="summary" jstcache="0"><span jsdisplay= "returns" jscontent="getTypeName(returns)" jstcache="26">Port</span> <!-- Note: intentionally longer 80 columns --> <span jscontent="getFullyQualifiedFunctionNa me($this)" jstcache="27">chrome.tabs.connect</span>(<span jsselect="parameters" jsvalues="class:optional ? 'optional' : ''" jstcache="28" jsinstance="0" class=" optional"><span jsdisplay="$index" jstcache="34" style="display: none; ">, </spa n><span jscontent="getTypeName($this)" jstcache="35">integer</span> <var jstcach e="0"><span jscontent="name" jstcache="16">tabId</span></var></span><span jssele ct="parameters" jsvalues="class:optional ? 'optional' : ''" jstcache="28" jsinst ance="*1" class="optional"><span jsdisplay="$index" jstcache="34">, </span><span jscontent="getTypeName($this)" jstcache="35">string</span> <var jstcache="0"><s pan jscontent="name" jstcache="16">name</span></var></span>)</div> <div class="d escription" jstcache="0"> <p class="todo" jsdisplay="!description" jstcache="29" >Undocumented.</p> <p jsdisplay="description" jsvalues=".innerHTML:description" jstcache="30" style="display: none; "> A description from the json schema def of the function goes here. </p> <!-- PARAMETERS --> <h4 jstcache="0">Parameters</h 4> <dl jstcache="0"> <div jsselect="parameters" jstcache="36" jsinstance="0"> <! -- VALUE: This is a subtemplate that is used elsewhere via jsTemplate *transclud e* --> <div id="valueTemplate" jstcache="0"> <dt jstcache="0"> <var jsdisplay="$ this.name" jscontent="$this.name" jstcache="46">tabId</var> <em jstcache="0"> <! -- TYPE --> <div style="display:inline" jstcache="0"> ( <span class="optional" j sdisplay="optional" jstcache="47">optional</span> <span id="typeTemplate" jstcac he="0"> <span jsdisplay="getTypeRef($this)" jstcache="48" style="display: none; "> <a jsvalues=".href: getTypeRefPage($this) + '#type-' + getTypeRef($this)" jsc ontent="getTypeRef($this)" jstcache="50"> Type</a> </span> <span jsdisplay="!get TypeRef($this)" jstcache="49"> <span jsdisplay="isArray($this)" jstcache="51" st yle="display: none; "> array of <span jsselect="items" jstcache="53"><span trans clude="typeTemplate" jstcache="54"></span></span> </span> <span jsdisplay="!isAr ray($this)" jscontent="getTypeName($this)" jstcache="52">integer</span> </span> </span> ) </div> </em> </dt> <dd class="todo" jsdisplay="!$this.description" jst cache="39"> Undocumented. </dd> <dd jsdisplay="$this.description" jsvalues=".inn erHTML:$this.description" jstcache="40" style="display: none; "> Description of this parameter from the json schema. </dd> <!-- OBJECT PROPERTIES --> <dd jsdisp lay="shouldExpandObject($this)" jstcache="41" style="display: none; "> <dl jstca che="0"> <div jsselect="getPropertyListFromObject($this)" jstcache="10"> <div tr ansclude="valueTemplate" jstcache="17"> </div> </div> </dl> </dd> </div> <!-- /V ALUE --> </div><div jsselect="parameters" jstcache="36" jsinstance="*1"> <!-- VA LUE: This is a subtemplate that is used elsewhere via jsTemplate *transclude* -- > <div id="valueTemplate" jstcache="0"> <dt jstcache="0"> <var jsdisplay="$this. name" jscontent="$this.name" jstcache="46">name</var> <em jstcache="0"> <!-- TYP E --> <div style="display:inline" jstcache="0"> ( <span class="optional" jsdispl ay="optional" jstcache="47">optional</span> <span id="typeTemplate" jstcache="0" > <span jsdisplay="getTypeRef($this)" jstcache="48" style="display: none; "> <a jsvalues=".href: getTypeRefPage($this) + '#type-' + getTypeRef($this)" jscontent ="getTypeRef($this)" jstcache="50"> Type</a> </span> <span jsdisplay="!getTypeRe f($this)" jstcache="49"> <span jsdisplay="isArray($this)" jstcache="51" style="d isplay: none; "> array of <span jsselect="items" jstcache="53"><span transclude= "typeTemplate" jstcache="54"></span></span> </span> <span jsdisplay="!isArray($t his)" jscontent="getTypeName($this)" jstcache="52">string</span> </span> </span> ) </div> </em> </dt> <dd class="todo" jsdisplay="!$this.description" jstcache=" 39"> Undocumented. </dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML: $this.description" jstcache="40" style="display: none; "> Description of this pa rameter from the json schema. </dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="sh ouldExpandObject($this)" jstcache="41" style="display: none; "> <dl jstcache="0" > <div jsselect="getPropertyListFromObject($this)" jstcache="10"> <div transclud e="valueTemplate" jstcache="17"> </div> </div> </dl> </dd> </div> <!-- /VALUE -- > </div> </dl> <!-- RETURNS --> <h4 jsdisplay="returns" jstcache="31">Returns</h 4> <dl jstcache="0"> <div jsselect="returns" jstcache="37"> <div jstcache="0"> < dt jstcache="0"> <var jsdisplay="$this.name" jscontent="$this.name" jstcache="46 " style="display: none; ">tabId</var> <em jstcache="0"> <!-- TYPE --> <div style ="display:inline" jstcache="0"> ( <span class="optional" jsdisplay="optional" js tcache="47" style="display: none; ">optional</span> <span id="typeTemplate" jstc ache="0"> <span jsdisplay="getTypeRef($this)" jstcache="48" style=""> <a jsvalue s=".href: getTypeRefPage($this) + '#type-' + getTypeRef($this)" jscontent="getTy peRef($this)" jstcache="50" href="extension.html#type-Port">Port</a> </span> <sp an jsdisplay="!getTypeRef($this)" jstcache="49" style="display: none; "> <span j sdisplay="isArray($this)" jstcache="51" style="display: none; "> array of <span jsselect="items" jstcache="53"><span transclude="typeTemplate" jstcache="54"></s pan></span> </span> <span jsdisplay="!isArray($this)" jscontent="getTypeName($th is)" jstcache="52">integer</span> </span> </span> ) </div> </em> </dt> <dd class ="todo" jsdisplay="!$this.description" jstcache="39"> Undocumented. </dd> <dd js display="$this.description" jsvalues=".innerHTML:$this.description" jstcache="40 " style="display: none; "> Description of this parameter from the json schema. < /dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="shouldExpandObject($this)" jstcac he="41" style="display: none; "> <dl jstcache="0"> <div jsselect="getPropertyLis tFromObject($this)" jstcache="10"> <div transclude="valueTemplate" jstcache="17" > </div> </div> </dl> </dd> </div> </div> </dl> <!-- CALLBACK --> <div js display="hasCallback(parameters)" jstcache="32" style="display: none; "> <div js select="getCallbackParameters(parameters)" jstcache="38"> <h4 jstcache="0">Callb ack 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> <!-- Not e: intentionally longer 80 columns --> <pre jstcache="0">function(<span jsconten t="getSignatureString(parameters)" jstcache="33">Type param1, Type param2</span> ) <span class="subdued" jstcache="0">{...}</span>);</pre> <dl jstcache="0"> <div jsselect="parameters" jstcache="36"> <div transclude="valueTemplate" jstcache=" 17"> </div> </div> </dl> </div> </div> </div> <!-- /description --> </div><div c lass="apiItem" jsselect="functions" jstcache="11" jsinstance="2"> <a jsvalues=". name:'method-' + name" jstcache="18" name="method-getSelected"></a> <!-- method- anchor --> <h4 jscontent="name" jstcache="16">getSelected</h4> <div class="summa ry" jstcache="0"><span jsdisplay="returns" jscontent="getTypeName(returns)" jstc ache="26" style="display: none; ">void</span> <!-- Note: intentionally longer 80 columns --> <span jscontent="getFullyQualifiedFunctionName($this)" jstcache="27 ">chrome.tabs.getSelected</span>(<span jsselect="parameters" jsvalues="class:opt ional ? 'optional' : ''" jstcache="28" jsinstance="0" class="optional"><span jsd isplay="$index" jstcache="34" style="display: none; ">, </span><span jscontent=" getTypeName($this)" jstcache="35">integer</span> <var jstcache="0"><span jsconte nt="name" jstcache="16">windowId</span></var></span><span jsselect="parameters" jsvalues="class:optional ? 'optional' : ''" jstcache="28" jsinstance="*1" class= "null"><span jsdisplay="$index" jstcache="34">, </span><span jscontent="getTypeN ame($this)" jstcache="35">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="29">Undocumented. </p> <p jsdisplay="description" jsvalues=".innerHTML:description" jstcache="30" 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="36" 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="46">windowId</var> <em jstcache="0"> <!-- TYPE --> <div style="display:inline" jstcache="0"> ( <span class="optional" jsdisplay="o ptional" jstcache="47">optional</span> <span id="typeTemplate" jstcache="0"> <sp an jsdisplay="getTypeRef($this)" jstcache="48" style="display: none; "> <a jsval ues=".href: getTypeRefPage($this) + '#type-' + getTypeRef($this)" jscontent="get TypeRef($this)" jstcache="50"> Type</a> </span> <span jsdisplay="!getTypeRef($th is)" jstcache="49"> <span jsdisplay="isArray($this)" jstcache="51" style="displa y: none; "> array of <span jsselect="items" jstcache="53"><span transclude="type Template" jstcache="54"></span></span> </span> <span jsdisplay="!isArray($this)" jscontent="getTypeName($this)" jstcache="52">integer</span> </span> </span> ) < /div> </em> </dt> <dd class="todo" jsdisplay="!$this.description" jstcache="39"> Undocumented. </dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML:$thi s.description" jstcache="40" style="display: none; "> Description of this parame ter from the json schema. </dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="should ExpandObject($this)" jstcache="41" 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="36" 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="46">callback</var> <em jstcache="0"> <!-- TYPE --> < div style="display:inline" jstcache="0"> ( <span class="optional" jsdisplay="opt ional" jstcache="47" style="display: none; ">optional</span> <span id="typeTempl ate" jstcache="0"> <span jsdisplay="getTypeRef($this)" jstcache="48" style="disp lay: none; "> <a jsvalues=".href: getTypeRefPage($this) + '#type-' + getTypeRef( $this)" jscontent="getTypeRef($this)" jstcache="50"> Type</a> </span> <span jsdi splay="!getTypeRef($this)" jstcache="49"> <span jsdisplay="isArray($this)" jstca che="51" style="display: none; "> array of <span jsselect="items" jstcache="53"> <span transclude="typeTemplate" jstcache="54"></span></span> </span> <span jsdis play="!isArray($this)" jscontent="getTypeName($this)" jstcache="52">function</sp an> </span> </span> ) </div> </em> </dt> <dd class="todo" jsdisplay="!$this.desc ription" jstcache="39"> Undocumented. </dd> <dd jsdisplay="$this.description" js values=".innerHTML:$this.description" jstcache="40" style="display: none; "> Des cription of this parameter from the json schema. </dd> <!-- OBJECT PROPERTIES -- > <dd jsdisplay="shouldExpandObject($this)" jstcache="41" 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="31" style="display: none; ">Returns</h4> <dl jstcache="0"> <div jsselect="r eturns" jstcache="37" style="display: none; "> <div transclude="valueTemplate" j stcache="17"> </div> </div> </dl> <!-- CALLBACK --> <div jsdisplay="hasCall back(parameters)" jstcache="32"> <div jsselect="getCallbackParameters(parameters )" jstcache="38"> <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="33">Tab tab</span>) <span class="subdued" jstcache="0">{...}</span>);</pre> <dl jstcache="0"> <div jsselect="parameters" jstcache="36" jsinstance="*0"> <di v jstcache="0"> <dt jstcache="0"> <var jsdisplay="$this.name" jscontent="$this.n ame" jstcache="46">tab</var> <em jstcache="0"> <!-- TYPE --> <div style="display :inline" jstcache="0"> ( <span class="optional" jsdisplay="optional" jstcache="4 7" style="display: none; ">optional</span> <span id="typeTemplate" jstcache="0"> <span jsdisplay="getTypeRef($this)" jstcache="48" style=""> <a jsvalues=".href: getTypeRefPage($this) + '#type-' + getTypeRef($this)" jscontent="getTypeRef($th is)" jstcache="50" href="tabs.html#type-Tab">Tab</a> </span> <span jsdisplay="!g etTypeRef($this)" jstcache="49" style="display: none; "> <span jsdisplay="isArra y($this)" jstcache="51" style="display: none; "> array of <span jsselect="items" jstcache="53"><span transclude="typeTemplate" jstcache="54"></span></span> </sp an> <span jsdisplay="!isArray($this)" jscontent="getTypeName($this)" jstcache="5 2">integer</span> </span> </span> ) </div> </em> </dt> <dd class="todo" jsdispla y="!$this.description" jstcache="39"> Undocumented. </dd> <dd jsdisplay="$this.d escription" jsvalues=".innerHTML:$this.description" jstcache="40" style="display : none; "> Description of this parameter from the json schema. </dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="shouldExpandObject($this)" jstcache="41" 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> </div> </div> </div> <!-- /description --> </div ><div class="apiItem" jsselect="functions" jstcache="11" jsinstance="3"> <a jsva lues=".name:'method-' + name" jstcache="18" name="method-getAllInWindow"></a> <! -- method-anchor --> <h4 jscontent="name" jstcache="16">getAllInWindow</h4> <div class="summary" jstcache="0"><span jsdisplay="returns" jscontent="getTypeName(r eturns)" jstcache="26" style="display: none; ">void</span> <!-- Note: intentiona lly longer 80 columns --> <span jscontent="getFullyQualifiedFunctionName($this)" jstcache="27">chrome.tabs.getAllInWindow</span>(<span jsselect="parameters" jsv alues="class:optional ? 'optional' : ''" jstcache="28" jsinstance="0" class="opt ional"><span jsdisplay="$index" jstcache="34" style="display: none; ">, </span>< span jscontent="getTypeName($this)" jstcache="35">integer</span> <var jstcache=" 0"><span jscontent="name" jstcache="16">windowId</span></var></span><span jssele ct="parameters" jsvalues="class:optional ? 'optional' : ''" jstcache="28" jsinst ance="*1" class="null"><span jsdisplay="$index" jstcache="34">, </span><span jsc ontent="getTypeName($this)" jstcache="35">function</span> <var jstcache="0"><spa n jscontent="name" jstcache="16">callback</span></var></span>)</div> <div class= "description" jstcache="0"> <p class="todo" jsdisplay="!description" jstcache="2 9">Undocumented.</p> <p jsdisplay="description" jsvalues=".innerHTML:description " jstcache="30" 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="36" jsinstance="0"> <!-- VALUE: This is a subtemplate that is used elsewhere via jsTemplate *transcl ude* --> <div id="valueTemplate" jstcache="0"> <dt jstcache="0"> <var jsdisplay= "$this.name" jscontent="$this.name" jstcache="46">windowId</var> <em jstcache="0 "> <!-- TYPE --> <div style="display:inline" jstcache="0"> ( <span class="option al" jsdisplay="optional" jstcache="47">optional</span> <span id="typeTemplate" j stcache="0"> <span jsdisplay="getTypeRef($this)" jstcache="48" style="display: n one; "> <a jsvalues=".href: getTypeRefPage($this) + '#type-' + getTypeRef($this) " jscontent="getTypeRef($this)" jstcache="50"> Type</a> </span> <span jsdisplay= "!getTypeRef($this)" jstcache="49"> <span jsdisplay="isArray($this)" jstcache="5 1" style="display: none; "> array of <span jsselect="items" jstcache="53"><span transclude="typeTemplate" jstcache="54"></span></span> </span> <span jsdisplay=" !isArray($this)" jscontent="getTypeName($this)" jstcache="52">integer</span> </s pan> </span> ) </div> </em> </dt> <dd class="todo" jsdisplay="!$this.description " jstcache="39"> Undocumented. </dd> <dd jsdisplay="$this.description" jsvalues= ".innerHTML:$this.description" jstcache="40" style="display: none; "> Descriptio n of this parameter from the json schema. </dd> <!-- OBJECT PROPERTIES --> <dd j sdisplay="shouldExpandObject($this)" jstcache="41" 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="36" jsinstance="*1"> <! -- VALUE: This is a subtemplate that is used elsewhere via jsTemplate *transclud e* --> <div id="valueTemplate" jstcache="0"> <dt jstcache="0"> <var jsdisplay="$ this.name" jscontent="$this.name" jstcache="46">callback</var> <em jstcache="0"> <!-- TYPE --> <div style="display:inline" jstcache="0"> ( <span class="optional " jsdisplay="optional" jstcache="47" style="display: none; ">optional</span> <sp an id="typeTemplate" jstcache="0"> <span jsdisplay="getTypeRef($this)" jstcache= "48" style="display: none; "> <a jsvalues=".href: getTypeRefPage($this) + '#type -' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="50"> Type</a> </ span> <span jsdisplay="!getTypeRef($this)" jstcache="49"> <span jsdisplay="isArr ay($this)" jstcache="51" style="display: none; "> array of <span jsselect="items " jstcache="53"><span transclude="typeTemplate" jstcache="54"></span></span> </s pan> <span jsdisplay="!isArray($this)" jscontent="getTypeName($this)" jstcache=" 52">function</span> </span> </span> ) </div> </em> </dt> <dd class="todo" jsdisp lay="!$this.description" jstcache="39"> Undocumented. </dd> <dd jsdisplay="$this .description" jsvalues=".innerHTML:$this.description" jstcache="40" style="displ ay: none; "> Description of this parameter from the json schema. </dd> <!-- OBJE CT PROPERTIES --> <dd jsdisplay="shouldExpandObject($this)" jstcache="41" style= "display: none; "> <dl jstcache="0"> <div jsselect="getPropertyListFromObject($t his)" jstcache="10"> <div transclude="valueTemplate" jstcache="17"> </div> </div > </dl> </dd> </div> <!-- /VALUE --> </div> </dl> <!-- RETURNS --> <h4 jsdisplay ="returns" jstcache="31" style="display: none; ">Returns</h4> <dl jstcache="0"> <div jsselect="returns" jstcache="37" style="display: none; "> <div transclude=" valueTemplate" jstcache="17"> </div> </div> </dl> <!-- CALLBACK --> <div js display="hasCallback(parameters)" jstcache="32"> <div jsselect="getCallbackParam eters(parameters)" jstcache="38"> <h4 jstcache="0">Callback function</h4> <p jst cache="0"> If you specify the <em jstcache="0">callback</em> parameter, it shoul d specify a function that looks like this: </p> <!-- Note: intentionally longer 80 columns --> <pre jstcache="0">function(<span jscontent="getSignatureString(pa rameters)" jstcache="33">array of Tab tabs</span>) <span class="subdued" jstcach e="0">{...}</span>);</pre> <dl jstcache="0"> <div jsselect="parameters" jstcache ="36" jsinstance="*0"> <div jstcache="0"> <dt jstcache="0"> <var jsdisplay="$thi s.name" jscontent="$this.name" jstcache="46">tabs</var> <em jstcache="0"> <!-- T YPE --> <div style="display:inline" jstcache="0"> ( <span class="optional" jsdis play="optional" jstcache="47" style="display: none; ">optional</span> <span id=" typeTemplate" jstcache="0"> <span jsdisplay="getTypeRef($this)" jstcache="48" st yle="display: none; "> <a jsvalues=".href: getTypeRefPage($this) + '#type-' + ge tTypeRef($this)" jscontent="getTypeRef($this)" jstcache="50"> Type</a> </span> < span jsdisplay="!getTypeRef($this)" jstcache="49"> <span jsdisplay="isArray($thi s)" jstcache="51" style=""> array of <span jsselect="items" jstcache="53"><span jstcache="0"> <span jsdisplay="getTypeRef($this)" jstcache="48" style=""> <a jsv alues=".href: getTypeRefPage($this) + '#type-' + getTypeRef($this)" jscontent="g etTypeRef($this)" jstcache="50" href="tabs.html#type-Tab">Tab</a> </span> <span jsdisplay="!getTypeRef($this)" jstcache="49" style="display: none; "> <span jsdi splay="isArray($this)" jstcache="51" style="display: none; "> array of <span jss elect="items" jstcache="53"><span transclude="typeTemplate" jstcache="54"></span ></span> </span> <span jsdisplay="!isArray($this)" jscontent="getTypeName($this) " jstcache="52">integer</span> </span> </span></span> </span> <span jsdisplay="! isArray($this)" jscontent="getTypeName($this)" jstcache="52" style="display: non e; ">integer</span> </span> </span> ) </div> </em> </dt> <dd class="todo" jsdisp lay="!$this.description" jstcache="39"> Undocumented. </dd> <dd jsdisplay="$this .description" jsvalues=".innerHTML:$this.description" jstcache="40" style="displ ay: none; "> Description of this parameter from the json schema. </dd> <!-- OBJE CT PROPERTIES --> <dd jsdisplay="shouldExpandObject($this)" jstcache="41" 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> </div> </div> </div> <!-- /description --> </d iv><div class="apiItem" jsselect="functions" jstcache="11" jsinstance="4"> <a js values=".name:'method-' + name" jstcache="18" name="method-create"></a> <!-- met hod-anchor --> <h4 jscontent="name" jstcache="16">create</h4> <div class="summar y" jstcache="0"><span jsdisplay="returns" jscontent="getTypeName(returns)" jstca che="26" style="display: none; ">void</span> <!-- Note: intentionally longer 80 columns --> <span jscontent="getFullyQualifiedFunctionName($this)" jstcache="27" >chrome.tabs.create</span>(<span jsselect="parameters" jsvalues="class:optional ? 'optional' : ''" jstcache="28" jsinstance="0" class="null"><span jsdisplay="$i ndex" jstcache="34" style="display: none; ">, </span><span jscontent="getTypeNam e($this)" jstcache="35">object</span> <var jstcache="0"><span jscontent="name" j stcache="16">createProperties</span></var></span><span jsselect="parameters" jsv alues="class:optional ? 'optional' : ''" jstcache="28" jsinstance="*1" class="op tional"><span jsdisplay="$index" jstcache="34">, </span><span jscontent="getType Name($this)" jstcache="35">function</span> <var jstcache="0"><span jscontent="na me" jstcache="16">callback</span></var></span>)</div> <div class="description" j stcache="0"> <p class="todo" jsdisplay="!description" jstcache="29">Undocumented .</p> <p jsdisplay="description" jsvalues=".innerHTML:description" jstcache="30" style="display: none; "> A description from the json schema def of the function goes here. </p> <!-- PARAMETERS --> <h4 jstcache="0">Parameters</h4> <dl jstcac he="0"> <div jsselect="parameters" jstcache="36" jsinstance="0"> <!-- VALUE: Thi s is a subtemplate that is used elsewhere via jsTemplate *transclude* --> <div i d="valueTemplate" jstcache="0"> <dt jstcache="0"> <var jsdisplay="$this.name" js content="$this.name" jstcache="46">createProperties</var> <em jstcache="0"> <!-- TYPE --> <div style="display:inline" jstcache="0"> ( <span class="optional" jsd isplay="optional" jstcache="47" style="display: none; ">optional</span> <span id ="typeTemplate" jstcache="0"> <span jsdisplay="getTypeRef($this)" jstcache="48" style="display: none; "> <a jsvalues=".href: getTypeRefPage($this) + '#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="50"> Type</a> </span> <span jsdisplay="!getTypeRef($this)" jstcache="49"> <span jsdisplay="isArray($t his)" jstcache="51" style="display: none; "> array of <span jsselect="items" jst cache="53"><span transclude="typeTemplate" jstcache="54"></span></span> </span> <span jsdisplay="!isArray($this)" jscontent="getTypeName($this)" jstcache="52">o bject</span> </span> </span> ) </div> </em> </dt> <dd class="todo" jsdisplay="!$ this.description" jstcache="39"> Undocumented. </dd> <dd jsdisplay="$this.descri ption" jsvalues=".innerHTML:$this.description" jstcache="40" style="display: non e; "> Description of this parameter from the json schema. </dd> <!-- OBJECT PROP ERTIES --> <dd jsdisplay="shouldExpandObject($this)" jstcache="41"> <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="46">windowId</var> <em jstcache="0"> <!-- TYPE --> <div s tyle="display:inline" jstcache="0"> ( <span class="optional" jsdisplay="optional " jstcache="47" style="">optional</span> <span id="typeTemplate" jstcache="0"> < span jsdisplay="getTypeRef($this)" jstcache="48" style="display: none; "> <a jsv alues=".href: getTypeRefPage($this) + '#type-' + getTypeRef($this)" jscontent="g etTypeRef($this)" jstcache="50"> Type</a> </span> <span jsdisplay="!getTypeRef($ this)" jstcache="49"> <span jsdisplay="isArray($this)" jstcache="51" style="disp lay: none; "> array of <span jsselect="items" jstcache="53"><span transclude="ty peTemplate" jstcache="54"></span></span> </span> <span jsdisplay="!isArray($this )" jscontent="getTypeName($this)" jstcache="52">integer</span> </span> </span> ) </div> </em> </dt> <dd class="todo" jsdisplay="!$this.description" jstcache="39 "> Undocumented. </dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML:$t his.description" jstcache="40" style="display: none; "> Description of this para meter from the json schema. </dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="shou ldExpandObject($this)" jstcache="41" style="display: none; "> <dl jstcache="0"> <div jsselect="getPropertyListFromObject($this)" jstcache="10"> <div transclude= "valueTemplate" jstcache="17"> </div> </div> </dl> </dd> </div> </div><div jssel ect="getPropertyListFromObject($this)" jstcache="10" jsinstance="1"> <div jstcac he="0"> <dt jstcache="0"> <var jsdisplay="$this.name" jscontent="$this.name" jst cache="46">index</var> <em jstcache="0"> <!-- TYPE --> <div style="display:inlin e" jstcache="0"> ( <span class="optional" jsdisplay="optional" jstcache="47" sty le="">optional</span> <span id="typeTemplate" jstcache="0"> <span jsdisplay="get TypeRef($this)" jstcache="48" style="display: none; "> <a jsvalues=".href: getTy peRefPage($this) + '#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" j stcache="50"> Type</a> </span> <span jsdisplay="!getTypeRef($this)" jstcache="49 "> <span jsdisplay="isArray($this)" jstcache="51" style="display: none; "> array of <span jsselect="items" jstcache="53"><span transclude="typeTemplate" jstcach e="54"></span></span> </span> <span jsdisplay="!isArray($this)" jscontent="getTy peName($this)" jstcache="52">integer</span> </span> </span> ) </div> </em> </dt> <dd class="todo" jsdisplay="!$this.description" jstcache="39"> Undocumented. </ dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.description" js tcache="40" style="display: none; "> Description of this parameter from the json schema. </dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="shouldExpandObject($thi s)" jstcache="41" style="display: none; "> <dl jstcache="0"> <div jsselect="getP ropertyListFromObject($this)" jstcache="10"> <div transclude="valueTemplate" jst cache="17"> </div> </div> </dl> </dd> </div> </div><div jsselect="getPropertyLis tFromObject($this)" jstcache="10" jsinstance="2"> <div jstcache="0"> <dt jstcach e="0"> <var jsdisplay="$this.name" jscontent="$this.name" jstcache="46">url</var > <em jstcache="0"> <!-- TYPE --> <div style="display:inline" jstcache="0"> ( <s pan class="optional" jsdisplay="optional" jstcache="47" style="">optional</span> <span id="typeTemplate" jstcache="0"> <span jsdisplay="getTypeRef($this)" jstca che="48" style="display: none; "> <a jsvalues=".href: getTypeRefPage($this) + '# type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="50"> Type</a > </span> <span jsdisplay="!getTypeRef($this)" jstcache="49"> <span jsdisplay="i sArray($this)" jstcache="51" style="display: none; "> array of <span jsselect="i tems" jstcache="53"><span transclude="typeTemplate" jstcache="54"></span></span> </span> <span jsdisplay="!isArray($this)" jscontent="getTypeName($this)" jstcac he="52">string</span> </span> </span> ) </div> </em> </dt> <dd class="todo" jsdi splay="!$this.description" jstcache="39"> Undocumented. </dd> <dd jsdisplay="$th is.description" jsvalues=".innerHTML:$this.description" jstcache="40" style="dis play: none; "> Description of this parameter from the json schema. </dd> <!-- OB JECT PROPERTIES --> <dd jsdisplay="shouldExpandObject($this)" jstcache="41" 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="*3"> <div jstcache="0"> <dt jstcache="0"> <var jsdisplay ="$this.name" jscontent="$this.name" jstcache="46">selected</var> <em jstcache=" 0"> <!-- TYPE --> <div style="display:inline" jstcache="0"> ( <span class="optio nal" jsdisplay="optional" jstcache="47" style="">optional</span> <span id="typeT emplate" jstcache="0"> <span jsdisplay="getTypeRef($this)" jstcache="48" style=" display: none; "> <a jsvalues=".href: getTypeRefPage($this) + '#type-' + getType Ref($this)" jscontent="getTypeRef($this)" jstcache="50"> Type</a> </span> <span jsdisplay="!getTypeRef($this)" jstcache="49"> <span jsdisplay="isArray($this)" j stcache="51" style="display: none; "> array of <span jsselect="items" jstcache=" 53"><span transclude="typeTemplate" jstcache="54"></span></span> </span> <span j sdisplay="!isArray($this)" jscontent="getTypeName($this)" jstcache="52">boolean< /span> </span> </span> ) </div> </em> </dt> <dd class="todo" jsdisplay="!$this.d escription" jstcache="39"> Undocumented. </dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.description" jstcache="40" style="display: none; "> Description of this parameter from the json schema. </dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="shouldExpandObject($this)" jstcache="41" style="display: non e; "> <dl jstcache="0"> <div jsselect="getPropertyListFromObject($this)" jstcach e="10"> <div transclude="valueTemplate" jstcache="17"> </div> </div> </dl> </dd> </div> </div> </dl> </dd> </div> <!-- /VALUE --> </div><div jsselect="parameter s" jstcache="36" jsinstance="*1"> <!-- VALUE: This is a subtemplate that is used elsewhere via jsTemplate *transclude* --> <div id="valueTemplate" jstcache="0"> <dt jstcache="0"> <var jsdisplay="$this.name" jscontent="$this.name" jstcache=" 46">callback</var> <em jstcache="0"> <!-- TYPE --> <div style="display:inline" j stcache="0"> ( <span class="optional" jsdisplay="optional" jstcache="47">optiona l</span> <span id="typeTemplate" jstcache="0"> <span jsdisplay="getTypeRef($this )" jstcache="48" style="display: none; "> <a jsvalues=".href: getTypeRefPage($th is) + '#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="50"> Type</a> </span> <span jsdisplay="!getTypeRef($this)" jstcache="49"> <span jsdi splay="isArray($this)" jstcache="51" style="display: none; "> array of <span jss elect="items" jstcache="53"><span transclude="typeTemplate" jstcache="54"></span ></span> </span> <span jsdisplay="!isArray($this)" jscontent="getTypeName($this) " jstcache="52">function</span> </span> </span> ) </div> </em> </dt> <dd class=" todo" jsdisplay="!$this.description" jstcache="39"> Undocumented. </dd> <dd jsdi splay="$this.description" jsvalues=".innerHTML:$this.description" jstcache="40" style="display: none; "> Description of this parameter from the json schema. </d d> <!-- OBJECT PROPERTIES --> <dd jsdisplay="shouldExpandObject($this)" jstcache ="41" style="display: none; "> <dl jstcache="0"> <div jsselect="getPropertyListF romObject($this)" jstcache="10"> <div transclude="valueTemplate" jstcache="17"> </div> </div> </dl> </dd> </div> <!-- /VALUE --> </div> </dl> <!-- RETURNS --> < h4 jsdisplay="returns" jstcache="31" style="display: none; ">Returns</h4> <dl js tcache="0"> <div jsselect="returns" jstcache="37" style="display: none; "> <div transclude="valueTemplate" jstcache="17"> </div> </div> </dl> <!-- CALLBACK --> <div jsdisplay="hasCallback(parameters)" jstcache="32"> <div jsselect="getCallb ackParameters(parameters)" jstcache="38"> <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="33">Tab tab</span>) <span class="subdued" jstcache= "0">{...}</span>);</pre> <dl jstcache="0"> <div jsselect="parameters" jstcache=" 36" jsinstance="*0"> <div jstcache="0"> <dt jstcache="0"> <var jsdisplay="$this. name" jscontent="$this.name" jstcache="46">tab</var> <em jstcache="0"> <!-- TYPE --> <div style="display:inline" jstcache="0"> ( <span class="optional" jsdispla y="optional" jstcache="47" style="display: none; ">optional</span> <span id="typ eTemplate" jstcache="0"> <span jsdisplay="getTypeRef($this)" jstcache="48" style =""> <a jsvalues=".href: getTypeRefPage($this) + '#type-' + getTypeRef($this)" j scontent="getTypeRef($this)" jstcache="50" href="tabs.html#type-Tab">Tab</a> </s pan> <span jsdisplay="!getTypeRef($this)" jstcache="49" style="display: none; "> <span jsdisplay="isArray($this)" jstcache="51" style="display: none; "> array o f <span jsselect="items" jstcache="53"><span transclude="typeTemplate" jstcache= "54"></span></span> </span> <span jsdisplay="!isArray($this)" jscontent="getType Name($this)" jstcache="52">integer</span> </span> </span> ) </div> </em> </dt> < dd class="todo" jsdisplay="!$this.description" jstcache="39"> Undocumented. </dd > <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.description" jstc ache="40" style="display: none; "> Description of this parameter from the json s chema. </dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="shouldExpandObject($this) " jstcache="41" style="display: none; "> <dl jstcache="0"> <div jsselect="getPro pertyListFromObject($this)" jstcache="10"> <div transclude="valueTemplate" jstca che="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 --> <h4 jscontent="name" jstcache="16">update</ h4> <div class="summary" jstcache="0"><span jsdisplay="returns" jscontent="getTy peName(returns)" jstcache="26" style="display: none; ">void</span> <!-- Note: in tentionally longer 80 columns --> <span jscontent="getFullyQualifiedFunctionName ($this)" jstcache="27">chrome.tabs.update</span>(<span jsselect="parameters" jsv alues="class:optional ? 'optional' : ''" jstcache="28" jsinstance="0" class="nul l"><span jsdisplay="$index" jstcache="34" style="display: none; ">, </span><span jscontent="getTypeName($this)" jstcache="35">integer</span> <var jstcache="0">< span jscontent="name" jstcache="16">tabId</span></var></span><span jsselect="par ameters" jsvalues="class:optional ? 'optional' : ''" jstcache="28" jsinstance="1 " class="null"><span jsdisplay="$index" jstcache="34">, </span><span jscontent=" getTypeName($this)" jstcache="35">object</span> <var jstcache="0"><span jsconten t="name" jstcache="16">updateProperties</span></var></span><span jsselect="param eters" jsvalues="class:optional ? 'optional' : ''" jstcache="28" jsinstance="*2" class="optional"><span jsdisplay="$index" jstcache="34">, </span><span jsconten t="getTypeName($this)" jstcache="35">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="29">Un documented.</p> <p jsdisplay="description" jsvalues=".innerHTML:description" jst cache="30" 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="36" 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="46">tabId</var> <em jstcache="0"> <!-- TYPE --> <div style="display:inline" jstcache="0"> ( <span class="optional" jsdi splay="optional" jstcache="47" style="display: none; ">optional</span> <span id= "typeTemplate" jstcache="0"> <span jsdisplay="getTypeRef($this)" jstcache="48" s tyle="display: none; "> <a jsvalues=".href: getTypeRefPage($this) + '#type-' + g etTypeRef($this)" jscontent="getTypeRef($this)" jstcache="50"> Type</a> </span> <span jsdisplay="!getTypeRef($this)" jstcache="49"> <span jsdisplay="isArray($th is)" jstcache="51" style="display: none; "> array of <span jsselect="items" jstc ache="53"><span transclude="typeTemplate" jstcache="54"></span></span> </span> < span jsdisplay="!isArray($this)" jscontent="getTypeName($this)" jstcache="52">in teger</span> </span> </span> ) </div> </em> </dt> <dd class="todo" jsdisplay="!$ this.description" jstcache="39"> Undocumented. </dd> <dd jsdisplay="$this.descri ption" jsvalues=".innerHTML:$this.description" jstcache="40" style="display: non e; "> Description of this parameter from the json schema. </dd> <!-- OBJECT PROP ERTIES --> <dd jsdisplay="shouldExpandObject($this)" jstcache="41" 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="36" jsi nstance="1"> <!-- VALUE: This is a subtemplate that is used elsewhere via jsTemp late *transclude* --> <div id="valueTemplate" jstcache="0"> <dt jstcache="0"> <v ar jsdisplay="$this.name" jscontent="$this.name" jstcache="46">updateProperties< /var> <em jstcache="0"> <!-- TYPE --> <div style="display:inline" jstcache="0"> ( <span class="optional" jsdisplay="optional" jstcache="47" style="display: none ; ">optional</span> <span id="typeTemplate" jstcache="0"> <span jsdisplay="getTy peRef($this)" jstcache="48" style="display: none; "> <a jsvalues=".href: getType RefPage($this) + '#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jst cache="50"> Type</a> </span> <span jsdisplay="!getTypeRef($this)" jstcache="49"> <span jsdisplay="isArray($this)" jstcache="51" style="display: none; "> array o f <span jsselect="items" jstcache="53"><span transclude="typeTemplate" jstcache= "54"></span></span> </span> <span jsdisplay="!isArray($this)" jscontent="getType Name($this)" jstcache="52">object</span> </span> </span> ) </div> </em> </dt> <d d class="todo" jsdisplay="!$this.description" jstcache="39"> Undocumented. </dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.description" jstca che="40" style="display: none; "> Description of this parameter from the json sc hema. </dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="shouldExpandObject($this)" jstcache="41"> <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="46">url</var> <em jstcache="0 "> <!-- TYPE --> <div style="display:inline" jstcache="0"> ( <span class="option al" jsdisplay="optional" jstcache="47" style="">optional</span> <span id="typeTe mplate" jstcache="0"> <span jsdisplay="getTypeRef($this)" jstcache="48" style="d isplay: none; "> <a jsvalues=".href: getTypeRefPage($this) + '#type-' + getTypeR ef($this)" jscontent="getTypeRef($this)" jstcache="50"> Type</a> </span> <span j sdisplay="!getTypeRef($this)" jstcache="49"> <span jsdisplay="isArray($this)" js tcache="51" style="display: none; "> array of <span jsselect="items" jstcache="5 3"><span transclude="typeTemplate" jstcache="54"></span></span> </span> <span js display="!isArray($this)" jscontent="getTypeName($this)" jstcache="52">string</s pan> </span> </span> ) </div> </em> </dt> <dd class="todo" jsdisplay="!$this.des cription" jstcache="39"> Undocumented. </dd> <dd jsdisplay="$this.description" j svalues=".innerHTML:$this.description" jstcache="40" style="display: none; "> De scription of this parameter from the json schema. </dd> <!-- OBJECT PROPERTIES - -> <dd jsdisplay="shouldExpandObject($this)" jstcache="41" 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" jsins tance="*1"> <div jstcache="0"> <dt jstcache="0"> <var jsdisplay="$this.name" jsc ontent="$this.name" jstcache="46">selected</var> <em jstcache="0"> <!-- TYPE --> <div style="display:inline" jstcache="0"> ( <span class="optional" jsdisplay="o ptional" jstcache="47" style="">optional</span> <span id="typeTemplate" jstcache ="0"> <span jsdisplay="getTypeRef($this)" jstcache="48" style="display: none; "> <a jsvalues=".href: getTypeRefPage($this) + '#type-' + getTypeRef($this)" jscon tent="getTypeRef($this)" jstcache="50"> Type</a> </span> <span jsdisplay="!getTy peRef($this)" jstcache="49"> <span jsdisplay="isArray($this)" jstcache="51" styl e="display: none; "> array of <span jsselect="items" jstcache="53"><span transcl ude="typeTemplate" jstcache="54"></span></span> </span> <span jsdisplay="!isArra y($this)" jscontent="getTypeName($this)" jstcache="52">boolean</span> </span> </ span> ) </div> </em> </dt> <dd class="todo" jsdisplay="!$this.description" jstca che="39"> Undocumented. </dd> <dd jsdisplay="$this.description" jsvalues=".inner HTML:$this.description" jstcache="40" style="display: none; "> Description of th is parameter from the json schema. </dd> <!-- OBJECT PROPERTIES --> <dd jsdispla y="shouldExpandObject($this)" jstcache="41" style="display: none; "> <dl jstcach e="0"> <div jsselect="getPropertyListFromObject($this)" jstcache="10"> <div tran sclude="valueTemplate" jstcache="17"> </div> </div> </dl> </dd> </div> </div> </ dl> </dd> </div> <!-- /VALUE --> </div><div jsselect="parameters" jstcache="36" jsinstance="*2"> <!-- VALUE: This is a subtemplate that is used elsewhere via js Template *transclude* --> <div id="valueTemplate" jstcache="0"> <dt jstcache="0" > <var jsdisplay="$this.name" jscontent="$this.name" jstcache="46">callback</var > <em jstcache="0"> <!-- TYPE --> <div style="display:inline" jstcache="0"> ( <s pan class="optional" jsdisplay="optional" jstcache="47">optional</span> <span id ="typeTemplate" jstcache="0"> <span jsdisplay="getTypeRef($this)" jstcache="48" style="display: none; "> <a jsvalues=".href: getTypeRefPage($this) + '#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="50"> Type</a> </span> <span jsdisplay="!getTypeRef($this)" jstcache="49"> <span jsdisplay="isArray($t his)" jstcache="51" style="display: none; "> array of <span jsselect="items" jst cache="53"><span transclude="typeTemplate" jstcache="54"></span></span> </span> <span jsdisplay="!isArray($this)" jscontent="getTypeName($this)" jstcache="52">f unction</span> </span> </span> ) </div> </em> </dt> <dd class="todo" jsdisplay=" !$this.description" jstcache="39"> Undocumented. </dd> <dd jsdisplay="$this.desc ription" jsvalues=".innerHTML:$this.description" jstcache="40" style="display: n one; "> Description of this parameter from the json schema. </dd> <!-- OBJECT PR OPERTIES --> <dd jsdisplay="shouldExpandObject($this)" jstcache="41" style="disp lay: none; "> <dl jstcache="0"> <div jsselect="getPropertyListFromObject($this)" jstcache="10"> <div transclude="valueTemplate" jstcache="17"> </div> </div> </d l> </dd> </div> <!-- /VALUE --> </div> </dl> <!-- RETURNS --> <h4 jsdisplay="ret urns" jstcache="31" style="display: none; ">Returns</h4> <dl jstcache="0"> <div jsselect="returns" jstcache="37" style="display: none; "> <div transclude="value Template" jstcache="17"> </div> </div> </dl> <!-- CALLBACK --> <div jsdisplay= "hasCallback(parameters)" jstcache="32"> <div jsselect="getCallbackParameters(pa rameters)" jstcache="38"> <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="33"></span>) <span class="subdued" jstcache="0">{...}</span>);</pre > <dl jstcache="0"> <div jsselect="parameters" jstcache="36" jsinstance="*0" sty le="display: none; "> <div transclude="valueTemplate" jstcache="17"> </div> </di v> </dl> </div> </div> </div> <!-- /description --> </div><div class="apiItem" j sselect="functions" jstcache="11" jsinstance="6"> <a jsvalues=".name:'method-' + name" jstcache="18" name="method-move"></a> <!-- method-anchor --> <h4 jsconten t="name" jstcache="16">move</h4> <div class="summary" jstcache="0"><span jsdispl ay="returns" jscontent="getTypeName(returns)" jstcache="26" style="display: none ; ">void</span> <!-- Note: intentionally longer 80 columns --> <span jscontent=" getFullyQualifiedFunctionName($this)" jstcache="27">chrome.tabs.move</span>(<spa n jsselect="parameters" jsvalues="class:optional ? 'optional' : ''" jstcache="28 " jsinstance="0" class="null"><span jsdisplay="$index" jstcache="34" style="disp lay: none; ">, </span><span jscontent="getTypeName($this)" jstcache="35">integer </span> <var jstcache="0"><span jscontent="name" jstcache="16">tabId</span></var ></span><span jsselect="parameters" jsvalues="class:optional ? 'optional' : ''" jstcache="28" jsinstance="1" class="null"><span jsdisplay="$index" jstcache="34" >, </span><span jscontent="getTypeName($this)" jstcache="35">object</span> <var jstcache="0"><span jscontent="name" jstcache="16">moveProperties</span></var></s pan><span jsselect="parameters" jsvalues="class:optional ? 'optional' : ''" jstc ache="28" jsinstance="*2" class="optional"><span jsdisplay="$index" jstcache="34 ">, </span><span jscontent="getTypeName($this)" jstcache="35">function</span> <v ar jstcache="0"><span jscontent="name" jstcache="16">callback</span></var></span >)</div> <div class="description" jstcache="0"> <p class="todo" jsdisplay="!desc ription" jstcache="29">Undocumented.</p> <p jsdisplay="description" jsvalues=".i nnerHTML:description" jstcache="30" style="display: none; "> A description from the json schema def of the function goes here. </p> <!-- PARAMETERS --> <h4 jstc ache="0">Parameters</h4> <dl jstcache="0"> <div jsselect="parameters" jstcache=" 36" 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" jscontent="$this.name" jstcache="46">tabId</var > <em jstcache="0"> <!-- TYPE --> <div style="display:inline" jstcache="0"> ( <s pan class="optional" jsdisplay="optional" jstcache="47" style="display: none; "> optional</span> <span id="typeTemplate" jstcache="0"> <span jsdisplay="getTypeRe f($this)" jstcache="48" style="display: none; "> <a jsvalues=".href: getTypeRefP age($this) + '#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcach e="50"> Type</a> </span> <span jsdisplay="!getTypeRef($this)" jstcache="49"> <sp an jsdisplay="isArray($this)" jstcache="51" style="display: none; "> array of <s pan jsselect="items" jstcache="53"><span transclude="typeTemplate" jstcache="54" ></span></span> </span> <span jsdisplay="!isArray($this)" jscontent="getTypeName ($this)" jstcache="52">integer</span> </span> </span> ) </div> </em> </dt> <dd c lass="todo" jsdisplay="!$this.description" jstcache="39"> Undocumented. </dd> <d d jsdisplay="$this.description" jsvalues=".innerHTML:$this.description" jstcache ="40" style="display: none; "> Description of this parameter from the json schem a. </dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="shouldExpandObject($this)" js tcache="41" style="display: none; "> <dl jstcache="0"> <div jsselect="getPropert yListFromObject($this)" jstcache="10"> <div transclude="valueTemplate" jstcache= "17"> </div> </div> </dl> </dd> </div> <!-- /VALUE --> </div><div jsselect="para meters" jstcache="36" jsinstance="1"> <!-- VALUE: This is a subtemplate that is used elsewhere via jsTemplate *transclude* --> <div id="valueTemplate" jstcache= "0"> <dt jstcache="0"> <var jsdisplay="$this.name" jscontent="$this.name" jstcac he="46">moveProperties</var> <em jstcache="0"> <!-- TYPE --> <div style="display :inline" jstcache="0"> ( <span class="optional" jsdisplay="optional" jstcache="4 7" style="display: none; ">optional</span> <span id="typeTemplate" jstcache="0"> <span jsdisplay="getTypeRef($this)" jstcache="48" style="display: none; "> <a j svalues=".href: getTypeRefPage($this) + '#type-' + getTypeRef($this)" jscontent= "getTypeRef($this)" jstcache="50"> Type</a> </span> <span jsdisplay="!getTypeRef ($this)" jstcache="49"> <span jsdisplay="isArray($this)" jstcache="51" style="di splay: none; "> array of <span jsselect="items" jstcache="53"><span transclude=" typeTemplate" jstcache="54"></span></span> </span> <span jsdisplay="!isArray($th is)" jscontent="getTypeName($this)" jstcache="52">object</span> </span> </span> ) </div> </em> </dt> <dd class="todo" jsdisplay="!$this.description" jstcache="3 9"> Undocumented. </dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML:$ this.description" jstcache="40" style="display: none; "> Description of this par ameter from the json schema. </dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="sho uldExpandObject($this)" jstcache="41"> <dl jstcache="0"> <div jsselect="getPrope rtyListFromObject($this)" jstcache="10" jsinstance="0"> <div jstcache="0"> <dt j stcache="0"> <var jsdisplay="$this.name" jscontent="$this.name" jstcache="46">wi ndowId</var> <em jstcache="0"> <!-- TYPE --> <div style="display:inline" jstcach e="0"> ( <span class="optional" jsdisplay="optional" jstcache="47" style="">opti onal</span> <span id="typeTemplate" jstcache="0"> <span jsdisplay="getTypeRef($t his)" jstcache="48" style="display: none; "> <a jsvalues=".href: getTypeRefPage( $this) + '#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="5 0"> Type</a> </span> <span jsdisplay="!getTypeRef($this)" jstcache="49"> <span j sdisplay="isArray($this)" jstcache="51" style="display: none; "> array of <span jsselect="items" jstcache="53"><span transclude="typeTemplate" jstcache="54"></s pan></span> </span> <span jsdisplay="!isArray($this)" jscontent="getTypeName($th is)" jstcache="52">integer</span> </span> </span> ) </div> </em> </dt> <dd class ="todo" jsdisplay="!$this.description" jstcache="39"> Undocumented. </dd> <dd js display="$this.description" jsvalues=".innerHTML:$this.description" jstcache="40 " style="display: none; "> Description of this parameter from the json schema. < /dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="shouldExpandObject($this)" jstcac he="41" 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="getPropertyListFromObjec t($this)" jstcache="10" jsinstance="*1"> <div jstcache="0"> <dt jstcache="0"> <v ar jsdisplay="$this.name" jscontent="$this.name" jstcache="46">index</var> <em j stcache="0"> <!-- TYPE --> <div style="display:inline" jstcache="0"> ( <span cla ss="optional" jsdisplay="optional" jstcache="47" style="display: none; ">optiona l</span> <span id="typeTemplate" jstcache="0"> <span jsdisplay="getTypeRef($this )" jstcache="48" style="display: none; "> <a jsvalues=".href: getTypeRefPage($th is) + '#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="50"> Type</a> </span> <span jsdisplay="!getTypeRef($this)" jstcache="49"> <span jsdi splay="isArray($this)" jstcache="51" style="display: none; "> array of <span jss elect="items" jstcache="53"><span transclude="typeTemplate" jstcache="54"></span ></span> </span> <span jsdisplay="!isArray($this)" jscontent="getTypeName($this) " jstcache="52">integer</span> </span> </span> ) </div> </em> </dt> <dd class="t odo" jsdisplay="!$this.description" jstcache="39"> Undocumented. </dd> <dd jsdis play="$this.description" jsvalues=".innerHTML:$this.description" jstcache="40" s tyle="display: none; "> Description of this parameter from the json schema. </dd > <!-- OBJECT PROPERTIES --> <dd jsdisplay="shouldExpandObject($this)" jstcache= "41" style="display: none; "> <dl jstcache="0"> <div jsselect="getPropertyListFr omObject($this)" jstcache="10"> <div transclude="valueTemplate" jstcache="17"> < /div> </div> </dl> </dd> </div> </div> </dl> </dd> </div> <!-- /VALUE --> </div> <div jsselect="parameters" jstcache="36" jsinstance="*2"> <!-- 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="46">callback</var> <em jstcache="0"> <!-- TYPE --> <div style="display:inline" jstcache="0"> ( <span class="optional" jsdisplay="optiona l" jstcache="47">optional</span> <span id="typeTemplate" jstcache="0"> <span jsd isplay="getTypeRef($this)" jstcache="48" style="display: none; "> <a jsvalues=". href: getTypeRefPage($this) + '#type-' + getTypeRef($this)" jscontent="getTypeRe f($this)" jstcache="50"> Type</a> </span> <span jsdisplay="!getTypeRef($this)" j stcache="49"> <span jsdisplay="isArray($this)" jstcache="51" style="display: non e; "> array of <span jsselect="items" jstcache="53"><span transclude="typeTempla te" jstcache="54"></span></span> </span> <span jsdisplay="!isArray($this)" jscon tent="getTypeName($this)" jstcache="52">function</span> </span> </span> ) </div> </em> </dt> <dd class="todo" jsdisplay="!$this.description" jstcache="39"> Undo cumented. </dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.des cription" jstcache="40" style="display: none; "> Description of this parameter f rom the json schema. </dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="shouldExpan dObject($this)" jstcache="41" 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> </dl> <!-- RETURNS --> <h4 jsdisplay="returns" jstcache="31" style="display: non e; ">Returns</h4> <dl jstcache="0"> <div jsselect="returns" jstcache="37" style= "display: none; "> <div transclude="valueTemplate" jstcache="17"> </div> </div> </dl> <!-- CALLBACK --> <div jsdisplay="hasCallback(parameters)" jstcache="32"> <div jsselect="getCallbackParameters(parameters)" jstcache="38"> <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="33"></span>) <span class="s ubdued" jstcache="0">{...}</span>);</pre> <dl jstcache="0"> <div jsselect="param eters" jstcache="36" 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="7"> <a jsvalues=".name:'method-' + name" jstcache="18" name="method-remove "></a> <!-- method-anchor --> <h4 jscontent="name" jstcache="16">remove</h4> <di v class="summary" jstcache="0"><span jsdisplay="returns" jscontent="getTypeName( returns)" jstcache="26" style="display: none; ">void</span> <!-- Note: intention ally longer 80 columns --> <span jscontent="getFullyQualifiedFunctionName($this) " jstcache="27">chrome.tabs.remove</span>(<span jsselect="parameters" jsvalues=" class:optional ? 'optional' : ''" jstcache="28" jsinstance="0" class="optional"> <span jsdisplay="$index" jstcache="34" style="display: none; ">, </span><span js content="getTypeName($this)" jstcache="35">integer</span> <var jstcache="0"><spa n jscontent="name" jstcache="16">tabId</span></var></span><span jsselect="parame ters" jsvalues="class:optional ? 'optional' : ''" jstcache="28" jsinstance="*1" class="optional"><span jsdisplay="$index" jstcache="34">, </span><span jscontent ="getTypeName($this)" jstcache="35">function</span> <var jstcache="0"><span jsco ntent="name" jstcache="16">callback</span></var></span>)</div> <div class="descr iption" jstcache="0"> <p class="todo" jsdisplay="!description" jstcache="29">Und ocumented.</p> <p jsdisplay="description" jsvalues=".innerHTML:description" jstc ache="30" 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="36" jsinstance="0"> <!-- V ALUE: This is a subtemplate that is used elsewhere via jsTemplate *transclude* - -> <div id="valueTemplate" jstcache="0"> <dt jstcache="0"> <var jsdisplay="$this .name" jscontent="$this.name" jstcache="46">tabId</var> <em jstcache="0"> <!-- T YPE --> <div style="display:inline" jstcache="0"> ( <span class="optional" jsdis play="optional" jstcache="47">optional</span> <span id="typeTemplate" jstcache=" 0"> <span jsdisplay="getTypeRef($this)" jstcache="48" style="display: none; "> < a jsvalues=".href: getTypeRefPage($this) + '#type-' + getTypeRef($this)" jsconte nt="getTypeRef($this)" jstcache="50"> Type</a> </span> <span jsdisplay="!getType Ref($this)" jstcache="49"> <span jsdisplay="isArray($this)" jstcache="51" style= "display: none; "> array of <span jsselect="items" jstcache="53"><span transclud e="typeTemplate" jstcache="54"></span></span> </span> <span jsdisplay="!isArray( $this)" jscontent="getTypeName($this)" jstcache="52">integer</span> </span> </sp an> ) </div> </em> </dt> <dd class="todo" jsdisplay="!$this.description" jstcach e="39"> Undocumented. </dd> <dd jsdisplay="$this.description" jsvalues=".innerHT ML:$this.description" jstcache="40" style="display: none; "> Description of this parameter from the json schema. </dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay= "shouldExpandObject($this)" jstcache="41" 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><div jsselect="parameters" jstcache="36" jsinstance="*1"> <!-- VALUE: This is a subtemplate that is used elsewhere via jsTemplate *transclude* --> <d iv id="valueTemplate" jstcache="0"> <dt jstcache="0"> <var jsdisplay="$this.name " jscontent="$this.name" jstcache="46">callback</var> <em jstcache="0"> <!-- TYP E --> <div style="display:inline" jstcache="0"> ( <span class="optional" jsdispl ay="optional" jstcache="47">optional</span> <span id="typeTemplate" jstcache="0" > <span jsdisplay="getTypeRef($this)" jstcache="48" style="display: none; "> <a jsvalues=".href: getTypeRefPage($this) + '#type-' + getTypeRef($this)" jscontent ="getTypeRef($this)" jstcache="50"> Type</a> </span> <span jsdisplay="!getTypeRe f($this)" jstcache="49"> <span jsdisplay="isArray($this)" jstcache="51" style="d isplay: none; "> array of <span jsselect="items" jstcache="53"><span transclude= "typeTemplate" jstcache="54"></span></span> </span> <span jsdisplay="!isArray($t his)" jscontent="getTypeName($this)" jstcache="52">function</span> </span> </spa n> ) </div> </em> </dt> <dd class="todo" jsdisplay="!$this.description" jstcache ="39"> Undocumented. </dd> <dd jsdisplay="$this.description" jsvalues=".innerHTM L:$this.description" jstcache="40" style="display: none; "> Description of this parameter from the json schema. </dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay=" shouldExpandObject($this)" jstcache="41" 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="31" style="d isplay: none; ">Returns</h4> <dl jstcache="0"> <div jsselect="returns" jstcache= "37" style="display: none; "> <div transclude="valueTemplate" jstcache="17"> </d iv> </div> </dl> <!-- CALLBACK --> <div jsdisplay="hasCallback(parameters) " jstcache="32"> <div jsselect="getCallbackParameters(parameters)" jstcache="38" > <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="33"></span> ) <span class="subdued" jstcache="0">{...}</span>);</pre> <dl jstcache="0"> <div jsselect="parameters" jstcache="36" jsinstance="*0" style="display: none; "> <d iv transclude="valueTemplate" jstcache="17"> </div> </div> </dl> </div> </div> < /div> <!-- /description --> </div><div class="apiItem" jsselect="functions" jstc ache="11" jsinstance="8"> <a jsvalues=".name:'method-' + name" jstcache="18" nam e="method-detectLanguage"></a> <!-- method-anchor --> <h4 jscontent="name" jstca che="16">detectLanguage</h4> <div class="summary" jstcache="0"><span jsdisplay=" returns" jscontent="getTypeName(returns)" jstcache="26" style="display: none; "> void</span> <!-- Note: intentionally longer 80 columns --> <span jscontent="getF ullyQualifiedFunctionName($this)" jstcache="27">chrome.tabs.detectLanguage</span >(<span jsselect="parameters" jsvalues="class:optional ? 'optional' : ''" jstcac he="28" jsinstance="0" class="optional"><span jsdisplay="$index" jstcache="34" s tyle="display: none; ">, </span><span jscontent="getTypeName($this)" jstcache="3 5">integer</span> <var jstcache="0"><span jscontent="name" jstcache="16">tabId</ span></var></span><span jsselect="parameters" jsvalues="class:optional ? 'option al' : ''" jstcache="28" jsinstance="*1" class="null"><span jsdisplay="$index" js tcache="34">, </span><span jscontent="getTypeName($this)" jstcache="35">function </span> <var jstcache="0"><span jscontent="name" jstcache="16">callback</span></ var></span>)</div> <div class="description" jstcache="0"> <p class="todo" jsdisp lay="!description" jstcache="29" style="display: none; ">Undocumented.</p> <p js display="description" jsvalues=".innerHTML:description" jstcache="30">detect lan guage of tab.</p> <!-- PARAMETERS --> <h4 jstcache="0">Parameters</h4> <dl jstca che="0"> <div jsselect="parameters" jstcache="36" jsinstance="0"> <!-- VALUE: Th is is a subtemplate that is used elsewhere via jsTemplate *transclude* --> <div id="valueTemplate" jstcache="0"> <dt jstcache="0"> <var jsdisplay="$this.name" j scontent="$this.name" jstcache="46">tabId</var> <em jstcache="0"> <!-- TYPE --> <div style="display:inline" jstcache="0"> ( <span class="optional" jsdisplay="op tional" jstcache="47">optional</span> <span id="typeTemplate" jstcache="0"> <spa n jsdisplay="getTypeRef($this)" jstcache="48" style="display: none; "> <a jsvalu es=".href: getTypeRefPage($this) + '#type-' + getTypeRef($this)" jscontent="getT ypeRef($this)" jstcache="50"> Type</a> </span> <span jsdisplay="!getTypeRef($thi s)" jstcache="49"> <span jsdisplay="isArray($this)" jstcache="51" style="display : none; "> array of <span jsselect="items" jstcache="53"><span transclude="typeT emplate" jstcache="54"></span></span> </span> <span jsdisplay="!isArray($this)" jscontent="getTypeName($this)" jstcache="52">integer</span> </span> </span> ) </ div> </em> </dt> <dd class="todo" jsdisplay="!$this.description" jstcache="39"> Undocumented. </dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this .description" jstcache="40" style="display: none; "> Description of this paramet er from the json schema. </dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="shouldE xpandObject($this)" jstcache="41" style="display: none; "> <dl jstcache="0"> <di v jsselect="getPropertyListFromObject($this)" jstcache="10"> <div transclude="va lueTemplate" jstcache="17"> </div> </div> </dl> </dd> </div> <!-- /VALUE --> </d iv><div jsselect="parameters" jstcache="36" jsinstance="*1"> <!-- VALUE: This is a subtemplate that is used elsewhere via jsTemplate *transclude* --> <div id="v alueTemplate" jstcache="0"> <dt jstcache="0"> <var jsdisplay="$this.name" jscont ent="$this.name" jstcache="46">callback</var> <em jstcache="0"> <!-- TYPE --> <d iv style="display:inline" jstcache="0"> ( <span class="optional" jsdisplay="opti onal" jstcache="47" style="display: none; ">optional</span> <span id="typeTempla te" jstcache="0"> <span jsdisplay="getTypeRef($this)" jstcache="48" style="displ ay: none; "> <a jsvalues=".href: getTypeRefPage($this) + '#type-' + getTypeRef($ this)" jscontent="getTypeRef($this)" jstcache="50"> Type</a> </span> <span jsdis play="!getTypeRef($this)" jstcache="49"> <span jsdisplay="isArray($this)" jstcac he="51" style="display: none; "> array of <span jsselect="items" jstcache="53">< span transclude="typeTemplate" jstcache="54"></span></span> </span> <span jsdisp lay="!isArray($this)" jscontent="getTypeName($this)" jstcache="52">function</spa n> </span> </span> ) </div> </em> </dt> <dd class="todo" jsdisplay="!$this.descr iption" jstcache="39"> Undocumented. </dd> <dd jsdisplay="$this.description" jsv alues=".innerHTML:$this.description" jstcache="40" style="display: none; "> Desc ription of this parameter from the json schema. </dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="shouldExpandObject($this)" jstcache="41" style="display: none; " > <dl jstcache="0"> <div jsselect="getPropertyListFromObject($this)" jstcache="1 0"> <div transclude="valueTemplate" jstcache="17"> </div> </div> </dl> </dd> </d iv> <!-- /VALUE --> </div> </dl> <!-- RETURNS --> <h4 jsdisplay="returns" jstcac he="31" style="display: none; ">Returns</h4> <dl jstcache="0"> <div jsselect="re turns" jstcache="37" style="display: none; "> <div transclude="valueTemplate" js tcache="17"> </div> </div> </dl> <!-- CALLBACK --> <div jsdisplay="hasCall back(parameters)" jstcache="32"> <div jsselect="getCallbackParameters(parameters )" jstcache="38"> <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="33">string language</span>) <span class="subdued" jstcache="0">{...}</span> );</pre> <dl jstcache="0"> <div jsselect="parameters" jstcache="36" jsinstance=" *0"> <div jstcache="0"> <dt jstcache="0"> <var jsdisplay="$this.name" jscontent= "$this.name" jstcache="46">language</var> <em jstcache="0"> <!-- TYPE --> <div s tyle="display:inline" jstcache="0"> ( <span class="optional" jsdisplay="optional " jstcache="47" style="display: none; ">optional</span> <span id="typeTemplate" jstcache="0"> <span jsdisplay="getTypeRef($this)" jstcache="48" style="display: none; "> <a jsvalues=".href: getTypeRefPage($this) + '#type-' + getTypeRef($this )" jscontent="getTypeRef($this)" jstcache="50"> Type</a> </span> <span jsdisplay ="!getTypeRef($this)" jstcache="49"> <span jsdisplay="isArray($this)" jstcache=" 51" style="display: none; "> array of <span jsselect="items" jstcache="53"><span transclude="typeTemplate" jstcache="54"></span></span> </span> <span jsdisplay= "!isArray($this)" jscontent="getTypeName($this)" jstcache="52">string</span> </s pan> </span> ) </div> </em> </dt> <dd class="todo" jsdisplay="!$this.description " jstcache="39"> Undocumented. </dd> <dd jsdisplay="$this.description" jsvalues= ".innerHTML:$this.description" jstcache="40" style="display: none; "> Descriptio n of this parameter from the json schema. </dd> <!-- OBJECT PROPERTIES --> <dd j sdisplay="shouldExpandObject($this)" jstcache="41" style="display: none; "> <dl jstcache="0"> <div jsselect="getPropertyListFromObject($this)" jstcache="10"> <d iv transclude="valueTemplate" jstcache="17"> </div> </div> </dl> </dd> </div> </ div> </dl> </div> </div> </div> <!-- /description --> </div><div class="apiItem" jsselect="functions" jstcache="11" jsinstance="*9"> <a jsvalues=".name:'method- ' + name" jstcache="18" name="method-captureVisibleTab"></a> <!-- method-anchor --> <h4 jscontent="name" jstcache="16">captureVisibleTab</h4> <div class="summar y" jstcache="0"><span jsdisplay="returns" jscontent="getTypeName(returns)" jstca che="26" style="display: none; ">void</span> <!-- Note: intentionally longer 80 columns --> <span jscontent="getFullyQualifiedFunctionName($this)" jstcache="27" >chrome.tabs.captureVisibleTab</span>(<span jsselect="parameters" jsvalues="clas s:optional ? 'optional' : ''" jstcache="28" jsinstance="0" class="optional"><spa n jsdisplay="$index" jstcache="34" style="display: none; ">, </span><span jscont ent="getTypeName($this)" jstcache="35">integer</span> <var jstcache="0"><span js content="name" jstcache="16">windowId</span></var></span><span jsselect="paramet ers" jsvalues="class:optional ? 'optional' : ''" jstcache="28" jsinstance="*1" c lass="null"><span jsdisplay="$index" jstcache="34">, </span><span jscontent="get TypeName($this)" jstcache="35">function</span> <var jstcache="0"><span jscontent ="name" jstcache="16">callback</span></var></span>)</div> <div class="descriptio n" jstcache="0"> <p class="todo" jsdisplay="!description" jstcache="29" style="d isplay: none; ">Undocumented.</p> <p jsdisplay="description" jsvalues=".innerHTM L:description" jstcache="30">Captures the visible area of the visible tab in the given window.</p> <!-- PARAMETERS --> <h4 jstcache="0">Parameters</h4> <dl jstc ache="0"> <div jsselect="parameters" jstcache="36" jsinstance="0"> <!-- VALUE: T his is a subtemplate that is used elsewhere via jsTemplate *transclude* --> <div id="valueTemplate" jstcache="0"> <dt jstcache="0"> <var jsdisplay="$this.name" jscontent="$this.name" jstcache="46">windowId</var> <em jstcache="0"> <!-- TYPE --> <div style="display:inline" jstcache="0"> ( <span class="optional" jsdisplay ="optional" jstcache="47">optional</span> <span id="typeTemplate" jstcache="0"> <span jsdisplay="getTypeRef($this)" jstcache="48" style="display: none; "> <a js values=".href: getTypeRefPage($this) + '#type-' + getTypeRef($this)" jscontent=" getTypeRef($this)" jstcache="50"> Type</a> </span> <span jsdisplay="!getTypeRef( $this)" jstcache="49"> <span jsdisplay="isArray($this)" jstcache="51" style="dis play: none; "> array of <span jsselect="items" jstcache="53"><span transclude="t ypeTemplate" jstcache="54"></span></span> </span> <span jsdisplay="!isArray($thi s)" jscontent="getTypeName($this)" jstcache="52">integer</span> </span> </span> ) </div> </em> </dt> <dd class="todo" jsdisplay="!$this.description" jstcache="3 9" style="display: none; "> Undocumented. </dd> <dd jsdisplay="$this.description " jsvalues=".innerHTML:$this.description" jstcache="40">The target window. If <v ar jstcache="0">null</var> or <var jstcache="0">undefined</var>, the 'current' w indow will be assumed.</dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="shouldExpa ndObject($this)" jstcache="41" style="display: none; "> <dl jstcache="0"> <div j sselect="getPropertyListFromObject($this)" jstcache="10"> <div transclude="value Template" jstcache="17"> </div> </div> </dl> </dd> </div> <!-- /VALUE --> </div> <div jsselect="parameters" jstcache="36" jsinstance="*1"> <!-- 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="46">callback</var> <em jstcache="0"> <!-- TYPE --> <div style="display:inline" jstcache="0"> ( <span class="optional" jsdisplay="optiona l" jstcache="47" style="display: none; ">optional</span> <span id="typeTemplate" jstcache="0"> <span jsdisplay="getTypeRef($this)" jstcache="48" style="display: none; "> <a jsvalues=".href: getTypeRefPage($this) + '#type-' + getTypeRef($thi s)" jscontent="getTypeRef($this)" jstcache="50"> Type</a> </span> <span jsdispla y="!getTypeRef($this)" jstcache="49"> <span jsdisplay="isArray($this)" jstcache= "51" style="display: none; "> array of <span jsselect="items" jstcache="53"><spa n transclude="typeTemplate" jstcache="54"></span></span> </span> <span jsdisplay ="!isArray($this)" jscontent="getTypeName($this)" jstcache="52">function</span> </span> </span> ) </div> </em> </dt> <dd class="todo" jsdisplay="!$this.descript ion" jstcache="39"> Undocumented. </dd> <dd jsdisplay="$this.description" jsvalu es=".innerHTML:$this.description" jstcache="40" style="display: none; "> Descrip tion of this parameter from the json schema. </dd> <!-- OBJECT PROPERTIES --> <d d jsdisplay="shouldExpandObject($this)" jstcache="41" 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= "31" style="display: none; ">Returns</h4> <dl jstcache="0"> <div jsselect="retur ns" jstcache="37" style="display: none; "> <div transclude="valueTemplate" jstca che="17"> </div> </div> </dl> <!-- CALLBACK --> <div jsdisplay="hasCallback(par ameters)" jstcache="32"> <div jsselect="getCallbackParameters(parameters)" jstca che="38"> <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="33" >string dataUrl</span>) <span class="subdued" jstcache="0">{...}</span>);</pre> <dl jstcache="0"> <div jsselect="parameters" jstcache="36" jsinstance="*0"> <div jstcache="0"> <dt jstcache="0"> <var jsdisplay="$this.name" jscontent="$this.na me" jstcache="46">dataUrl</var> <em jstcache="0"> <!-- TYPE --> <div style="disp lay:inline" jstcache="0"> ( <span class="optional" jsdisplay="optional" jstcache ="47" style="display: none; ">optional</span> <span id="typeTemplate" jstcache=" 0"> <span jsdisplay="getTypeRef($this)" jstcache="48" style="display: none; "> < a jsvalues=".href: getTypeRefPage($this) + '#type-' + getTypeRef($this)" jsconte nt="getTypeRef($this)" jstcache="50"> Type</a> </span> <span jsdisplay="!getType Ref($this)" jstcache="49"> <span jsdisplay="isArray($this)" jstcache="51" style= "display: none; "> array of <span jsselect="items" jstcache="53"><span transclud e="typeTemplate" jstcache="54"></span></span> </span> <span jsdisplay="!isArray( $this)" jscontent="getTypeName($this)" jstcache="52">string</span> </span> </spa n> ) </div> </em> </dt> <dd class="todo" jsdisplay="!$this.description" jstcache ="39" style="display: none; "> Undocumented. </dd> <dd jsdisplay="$this.descript ion" jsvalues=".innerHTML:$this.description" jstcache="40" style="">a data url e ncoding of the captured tab.</dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="shou ldExpandObject($this)" jstcache="41" style="display: none; "> <dl jstcache="0"> <div jsselect="getPropertyListFromObject($this)" jstcache="10"> <div transclude= "valueTemplate" jstcache="17"> </div> </div> </dl> </dd> </div> </div> </dl> </d iv> </div> </div> <!-- /description --> </div> <!-- /apiItem --> </div> <!-- /ap iGroup --> <!-- EVENTS --> <div jsdisplay="events &amp;&amp; events.length &gt; 0" class="apiGroup" jstcache="7"> <a name="events" jstcache="0"></a> <h3 id="eve nts" jstcache="0">Events</h3> <!-- iterates over all events --> <div jsselect="e vents" class="apiItem" jstcache="12" jsinstance="0"> <a jsvalues=".name:'event-' + name" jstcache="19" name="event-onCreated"></a> <h4 jscontent="name" jstcache ="16">onCreated</h4> <div class="summary" jstcache="0"> <!-- Note: intentionally longer 80 columns --> <span jscontent="getModuleName() + '.'" class="subdued" j stcache="24">chrome.tabs.</span><span jscontent="name" jstcache="16">onCreated</ span><span class="subdued" jstcache="0">.addListener</span>(function(<span jscon tent="getSignatureString(parameters)" jstcache="33">Tab tab</span>) <span class= "subdued" jstcache="0">{...}</span>); </div> <div class="description" jstcache=" 0"> <p class="todo" jsdisplay="!description" jstcache="29">Undocumented.</p> <p jsdisplay="description" jsvalues=".innerHTML:description" jstcache="30" style="d isplay: 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="36" jsinstance="*0"> <div jstcache="0"> <dt jst cache="0"> <var jsdisplay="$this.name" jscontent="$this.name" jstcache="46">tab< /var> <em jstcache="0"> <!-- TYPE --> <div style="display:inline" jstcache="0"> ( <span class="optional" jsdisplay="optional" jstcache="47" style="display: none ; ">optional</span> <span id="typeTemplate" jstcache="0"> <span jsdisplay="getTy peRef($this)" jstcache="48" style=""> <a jsvalues=".href: getTypeRefPage($this) + '#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="50" href ="tabs.html#type-Tab">Tab</a> </span> <span jsdisplay="!getTypeRef($this)" jstca che="49" style="display: none; "> <span jsdisplay="isArray($this)" jstcache="51" style="display: none; "> array of <span jsselect="items" jstcache="53"><span tr ansclude="typeTemplate" jstcache="54"></span></span> </span> <span jsdisplay="!i sArray($this)" jscontent="getTypeName($this)" jstcache="52">integer</span> </spa n> </span> ) </div> </em> </dt> <dd class="todo" jsdisplay="!$this.description" jstcache="39"> Undocumented. </dd> <dd jsdisplay="$this.description" jsvalues=". innerHTML:$this.description" jstcache="40" style="display: none; "> Description of this parameter from the json schema. </dd> <!-- OBJECT PROPERTIES --> <dd jsd isplay="shouldExpandObject($this)" jstcache="41" style="display: none; "> <dl js tcache="0"> <div jsselect="getPropertyListFromObject($this)" jstcache="10"> <div transclude="valueTemplate" jstcache="17"> </div> </div> </dl> </dd> </div> </di v> </dl> </div> <!-- /decription --> </div><div jsselect="events" class="apiItem " jstcache="12" jsinstance="1"> <a jsvalues=".name:'event-' + name" jstcache="19 " name="event-onUpdated"></a> <h4 jscontent="name" jstcache="16">onUpdated</h4> <div class="summary" jstcache="0"> <!-- Note: intentionally longer 80 columns -- > <span jscontent="getModuleName() + '.'" class="subdued" jstcache="24">chrome.t abs.</span><span jscontent="name" jstcache="16">onUpdated</span><span class="sub dued" jstcache="0">.addListener</span>(function(<span jscontent="getSignatureStr ing(parameters)" jstcache="33">integer tabId, object changeInfo</span>) <span cl ass="subdued" jstcache="0">{...}</span>); </div> <div class="description" jstcac he="0"> <p class="todo" jsdisplay="!description" jstcache="29">Undocumented.</p> <p jsdisplay="description" jsvalues=".innerHTML:description" jstcache="30" styl e="display: none; "> A description from the json schema def of the event goes he re. </p> <!-- PARAMETERS --> <h4 jstcache="0">Parameters</h4> <dl jstcache="0"> <div jsselect="parameters" jstcache="36" jsinstance="0"> <div jstcache="0"> <dt jstcache="0"> <var jsdisplay="$this.name" jscontent="$this.name" jstcache="46">t abId</var> <em jstcache="0"> <!-- TYPE --> <div style="display:inline" jstcache= "0"> ( <span class="optional" jsdisplay="optional" jstcache="47" style="display: none; ">optional</span> <span id="typeTemplate" jstcache="0"> <span jsdisplay=" getTypeRef($this)" jstcache="48" style="display: none; "> <a jsvalues=".href: ge tTypeRefPage($this) + '#type-' + getTypeRef($this)" jscontent="getTypeRef($this) " jstcache="50"> Type</a> </span> <span jsdisplay="!getTypeRef($this)" jstcache= "49"> <span jsdisplay="isArray($this)" jstcache="51" style="display: none; "> ar ray of <span jsselect="items" jstcache="53"><span transclude="typeTemplate" jstc ache="54"></span></span> </span> <span jsdisplay="!isArray($this)" jscontent="ge tTypeName($this)" jstcache="52">integer</span> </span> </span> ) </div> </em> </ dt> <dd class="todo" jsdisplay="!$this.description" jstcache="39"> Undocumented. </dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.description" jstcache="40" style="display: none; "> Description of this parameter from the j son schema. </dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="shouldExpandObject($ this)" jstcache="41" 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="parameters" jstcache="36" jsinstance="*1"> <div jstcache="0"> <dt jstcache="0"> <var jsdisp lay="$this.name" jscontent="$this.name" jstcache="46">changeInfo</var> <em jstca che="0"> <!-- TYPE --> <div style="display:inline" jstcache="0"> ( <span class=" optional" jsdisplay="optional" jstcache="47" style="display: none; ">optional</s pan> <span id="typeTemplate" jstcache="0"> <span jsdisplay="getTypeRef($this)" j stcache="48" style="display: none; "> <a jsvalues=".href: getTypeRefPage($this) + '#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="50"> Typ e</a> </span> <span jsdisplay="!getTypeRef($this)" jstcache="49"> <span jsdispla y="isArray($this)" jstcache="51" style="display: none; "> array of <span jsselec t="items" jstcache="53"><span transclude="typeTemplate" jstcache="54"></span></s pan> </span> <span jsdisplay="!isArray($this)" jscontent="getTypeName($this)" js tcache="52">object</span> </span> </span> ) </div> </em> </dt> <dd class="todo" jsdisplay="!$this.description" jstcache="39"> Undocumented. </dd> <dd jsdisplay= "$this.description" jsvalues=".innerHTML:$this.description" jstcache="40" style= "display: none; "> Description of this parameter from the json schema. </dd> <!- - OBJECT PROPERTIES --> <dd jsdisplay="shouldExpandObject($this)" jstcache="41" style=""> <dl jstcache="0"> <div jsselect="getPropertyListFromObject($this)" jst cache="10" jsinstance="0"> <div jstcache="0"> <dt jstcache="0"> <var jsdisplay=" $this.name" jscontent="$this.name" jstcache="46">status</var> <em jstcache="0"> <!-- TYPE --> <div style="display:inline" jstcache="0"> ( <span class="optional" jsdisplay="optional" jstcache="47" style="display: none; ">optional</span> <spa n id="typeTemplate" jstcache="0"> <span jsdisplay="getTypeRef($this)" jstcache=" 48" style="display: none; "> <a jsvalues=".href: getTypeRefPage($this) + '#type- ' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="50"> Type</a> </s pan> <span jsdisplay="!getTypeRef($this)" jstcache="49"> <span jsdisplay="isArra y($this)" jstcache="51" style="display: none; "> array of <span jsselect="items" jstcache="53"><span transclude="typeTemplate" jstcache="54"></span></span> </sp an> <span jsdisplay="!isArray($this)" jscontent="getTypeName($this)" jstcache="5 2">string</span> </span> </span> ) </div> </em> </dt> <dd class="todo" jsdisplay ="!$this.description" jstcache="39"> Undocumented. </dd> <dd jsdisplay="$this.de scription" jsvalues=".innerHTML:$this.description" jstcache="40" style="display: none; "> Description of this parameter from the json schema. </dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="shouldExpandObject($this)" jstcache="41" style="di splay: 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)" jstcach e="10" jsinstance="*1"> <div jstcache="0"> <dt jstcache="0"> <var jsdisplay="$th is.name" jscontent="$this.name" jstcache="46">url</var> <em jstcache="0"> <!-- T YPE --> <div style="display:inline" jstcache="0"> ( <span class="optional" jsdis play="optional" jstcache="47" style="">optional</span> <span id="typeTemplate" j stcache="0"> <span jsdisplay="getTypeRef($this)" jstcache="48" style="display: n one; "> <a jsvalues=".href: getTypeRefPage($this) + '#type-' + getTypeRef($this) " jscontent="getTypeRef($this)" jstcache="50"> Type</a> </span> <span jsdisplay= "!getTypeRef($this)" jstcache="49"> <span jsdisplay="isArray($this)" jstcache="5 1" style="display: none; "> array of <span jsselect="items" jstcache="53"><span transclude="typeTemplate" jstcache="54"></span></span> </span> <span jsdisplay=" !isArray($this)" jscontent="getTypeName($this)" jstcache="52">string</span> </sp an> </span> ) </div> </em> </dt> <dd class="todo" jsdisplay="!$this.description" jstcache="39"> Undocumented. </dd> <dd jsdisplay="$this.description" jsvalues=" .innerHTML:$this.description" jstcache="40" style="display: none; "> Description of this parameter from the json schema. </dd> <!-- OBJECT PROPERTIES --> <dd js display="shouldExpandObject($this)" jstcache="41" style="display: none; "> <dl j stcache="0"> <div jsselect="getPropertyListFromObject($this)" jstcache="10"> <di v transclude="valueTemplate" jstcache="17"> </div> </div> </dl> </dd> </div> </d iv> </dl> </dd> </div> </div> </dl> </div> <!-- /decription --> </div><div jssel ect="events" class="apiItem" jstcache="12" jsinstance="2"> <a jsvalues=".name:'e vent-' + name" jstcache="19" name="event-onMoved"></a> <h4 jscontent="name" jstc ache="16">onMoved</h4> <div class="summary" jstcache="0"> <!-- Note: intentional ly longer 80 columns --> <span jscontent="getModuleName() + '.'" class="subdued" jstcache="24">chrome.tabs.</span><span jscontent="name" jstcache="16">onMoved</ span><span class="subdued" jstcache="0">.addListener</span>(function(<span jscon tent="getSignatureString(parameters)" jstcache="33">integer tabId, object moveIn fo</span>) <span class="subdued" jstcache="0">{...}</span>); </div> <div class=" description" jstcache="0"> <p class="todo" jsdisplay="!description" jstcache="29 ">Undocumented.</p> <p jsdisplay="description" jsvalues=".innerHTML:description" jstcache="30" style="display: none; "> A description from the json schema def o f the event goes here. </p> <!-- PARAMETERS --> <h4 jstcache="0">Parameters</h4> <dl jstcache="0"> <div jsselect="parameters" jstcache="36" jsinstance="0"> <div jstcache="0"> <dt jstcache="0"> <var jsdisplay="$this.name" jscontent="$this.na me" jstcache="46">tabId</var> <em jstcache="0"> <!-- TYPE --> <div style="displa y:inline" jstcache="0"> ( <span class="optional" jsdisplay="optional" jstcache=" 47" style="display: none; ">optional</span> <span id="typeTemplate" jstcache="0" > <span jsdisplay="getTypeRef($this)" jstcache="48" style="display: none; "> <a jsvalues=".href: getTypeRefPage($this) + '#type-' + getTypeRef($this)" jscontent ="getTypeRef($this)" jstcache="50"> Type</a> </span> <span jsdisplay="!getTypeRe f($this)" jstcache="49"> <span jsdisplay="isArray($this)" jstcache="51" style="d isplay: none; "> array of <span jsselect="items" jstcache="53"><span transclude= "typeTemplate" jstcache="54"></span></span> </span> <span jsdisplay="!isArray($t his)" jscontent="getTypeName($this)" jstcache="52">integer</span> </span> </span > ) </div> </em> </dt> <dd class="todo" jsdisplay="!$this.description" jstcache= "39"> Undocumented. </dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML :$this.description" jstcache="40" style="display: none; "> Description of this p arameter from the json schema. </dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="s houldExpandObject($this)" jstcache="41" style="display: none; "> <dl jstcache="0 "> <div jsselect="getPropertyListFromObject($this)" jstcache="10"> <div transclu de="valueTemplate" jstcache="17"> </div> </div> </dl> </dd> </div> </div><div js select="parameters" jstcache="36" jsinstance="*1"> <div jstcache="0"> <dt jstcac he="0"> <var jsdisplay="$this.name" jscontent="$this.name" jstcache="46">moveInf o</var> <em jstcache="0"> <!-- TYPE --> <div style="display:inline" jstcache="0" > ( <span class="optional" jsdisplay="optional" jstcache="47" style="display: no ne; ">optional</span> <span id="typeTemplate" jstcache="0"> <span jsdisplay="get TypeRef($this)" jstcache="48" style="display: none; "> <a jsvalues=".href: getTy peRefPage($this) + '#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" j stcache="50"> Type</a> </span> <span jsdisplay="!getTypeRef($this)" jstcache="49 "> <span jsdisplay="isArray($this)" jstcache="51" style="display: none; "> array of <span jsselect="items" jstcache="53"><span transclude="typeTemplate" jstcach e="54"></span></span> </span> <span jsdisplay="!isArray($this)" jscontent="getTy peName($this)" jstcache="52">object</span> </span> </span> ) </div> </em> </dt> <dd class="todo" jsdisplay="!$this.description" jstcache="39"> Undocumented. </d d> <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.description" jst cache="40" style="display: none; "> Description of this parameter from the json schema. </dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="shouldExpandObject($this )" jstcache="41" style=""> <dl jstcache="0"> <div jsselect="getPropertyListFromO bject($this)" jstcache="10" jsinstance="0"> <div jstcache="0"> <dt jstcache="0"> <var jsdisplay="$this.name" jscontent="$this.name" jstcache="46">windowId</var> <em jstcache="0"> <!-- TYPE --> <div style="display:inline" jstcache="0"> ( <sp an class="optional" jsdisplay="optional" jstcache="47" style="display: none; ">o ptional</span> <span id="typeTemplate" jstcache="0"> <span jsdisplay="getTypeRef ($this)" jstcache="48" style="display: none; "> <a jsvalues=".href: getTypeRefPa ge($this) + '#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache ="50"> Type</a> </span> <span jsdisplay="!getTypeRef($this)" jstcache="49"> <spa n jsdisplay="isArray($this)" jstcache="51" style="display: none; "> array of <sp an jsselect="items" jstcache="53"><span transclude="typeTemplate" jstcache="54"> </span></span> </span> <span jsdisplay="!isArray($this)" jscontent="getTypeName( $this)" jstcache="52">integer</span> </span> </span> ) </div> </em> </dt> <dd cl ass="todo" jsdisplay="!$this.description" jstcache="39"> Undocumented. </dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.description" jstcache= "40" style="display: none; "> Description of this parameter from the json schema . </dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="shouldExpandObject($this)" jst cache="41" 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="1"> <div jstcache="0"> <dt jstcache="0"> <var jsdisplay="$this.name" jscontent="$this.name" jstcache="46">fromIndex</var> <em jstcache="0"> <!-- TYPE --> <div style="display:inline" jstcache="0"> ( <sp an class="optional" jsdisplay="optional" jstcache="47" style="display: none; ">o ptional</span> <span id="typeTemplate" jstcache="0"> <span jsdisplay="getTypeRef ($this)" jstcache="48" style="display: none; "> <a jsvalues=".href: getTypeRefPa ge($this) + '#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache ="50"> Type</a> </span> <span jsdisplay="!getTypeRef($this)" jstcache="49"> <spa n jsdisplay="isArray($this)" jstcache="51" style="display: none; "> array of <sp an jsselect="items" jstcache="53"><span transclude="typeTemplate" jstcache="54"> </span></span> </span> <span jsdisplay="!isArray($this)" jscontent="getTypeName( $this)" jstcache="52">integer</span> </span> </span> ) </div> </em> </dt> <dd cl ass="todo" jsdisplay="!$this.description" jstcache="39"> Undocumented. </dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.description" jstcache= "40" style="display: none; "> Description of this parameter from the json schema . </dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="shouldExpandObject($this)" jst cache="41" 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="46">toIndex</var> <em jstcache="0"> <!-- TYPE --> <div style="display:inline" jstcache="0"> ( <spa n class="optional" jsdisplay="optional" jstcache="47" style="display: none; ">op tional</span> <span id="typeTemplate" jstcache="0"> <span jsdisplay="getTypeRef( $this)" jstcache="48" style="display: none; "> <a jsvalues=".href: getTypeRefPag e($this) + '#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache= "50"> Type</a> </span> <span jsdisplay="!getTypeRef($this)" jstcache="49"> <span jsdisplay="isArray($this)" jstcache="51" style="display: none; "> array of <spa n jsselect="items" jstcache="53"><span transclude="typeTemplate" jstcache="54">< /span></span> </span> <span jsdisplay="!isArray($this)" jscontent="getTypeName($ this)" jstcache="52">integer</span> </span> </span> ) </div> </em> </dt> <dd cla ss="todo" jsdisplay="!$this.description" jstcache="39"> Undocumented. </dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.description" jstcache=" 40" style="display: none; "> Description of this parameter from the json schema. </dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="shouldExpandObject($this)" jstc ache="41" 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> </dl> </dd> </div> </div> </dl> </di v> <!-- /decription --> </div><div jsselect="events" class="apiItem" jstcache="1 2" jsinstance="3"> <a jsvalues=".name:'event-' + name" jstcache="19" name="event -onSelectionChanged"></a> <h4 jscontent="name" jstcache="16">onSelectionChanged< /h4> <div class="summary" jstcache="0"> <!-- Note: intentionally longer 80 colum ns --> <span jscontent="getModuleName() + '.'" class="subdued" jstcache="24">chr ome.tabs.</span><span jscontent="name" jstcache="16">onSelectionChanged</span><s pan class="subdued" jstcache="0">.addListener</span>(function(<span jscontent="g etSignatureString(parameters)" jstcache="33">integer tabId, object selectInfo</s pan>) <span class="subdued" jstcache="0">{...}</span>); </div> <div class="descr iption" jstcache="0"> <p class="todo" jsdisplay="!description" jstcache="29">Und ocumented.</p> <p jsdisplay="description" jsvalues=".innerHTML:description" jstc ache="30" 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"> <div jsselect="parameters" jstcache="36" jsinstance="0"> <div jstc ache="0"> <dt jstcache="0"> <var jsdisplay="$this.name" jscontent="$this.name" j stcache="46">tabId</var> <em jstcache="0"> <!-- TYPE --> <div style="display:inl ine" jstcache="0"> ( <span class="optional" jsdisplay="optional" jstcache="47" s tyle="display: none; ">optional</span> <span id="typeTemplate" jstcache="0"> <sp an jsdisplay="getTypeRef($this)" jstcache="48" style="display: none; "> <a jsval ues=".href: getTypeRefPage($this) + '#type-' + getTypeRef($this)" jscontent="get TypeRef($this)" jstcache="50"> Type</a> </span> <span jsdisplay="!getTypeRef($th is)" jstcache="49"> <span jsdisplay="isArray($this)" jstcache="51" style="displa y: none; "> array of <span jsselect="items" jstcache="53"><span transclude="type Template" jstcache="54"></span></span> </span> <span jsdisplay="!isArray($this)" jscontent="getTypeName($this)" jstcache="52">integer</span> </span> </span> ) < /div> </em> </dt> <dd class="todo" jsdisplay="!$this.description" jstcache="39"> Undocumented. </dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML:$thi s.description" jstcache="40" style="display: none; "> Description of this parame ter from the json schema. </dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="should ExpandObject($this)" jstcache="41" 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="parameters" jstcache="36" jsinstance="*1"> <div jstcache="0"> <dt jstcache="0 "> <var jsdisplay="$this.name" jscontent="$this.name" jstcache="46">selectInfo</ var> <em jstcache="0"> <!-- TYPE --> <div style="display:inline" jstcache="0"> ( <span class="optional" jsdisplay="optional" jstcache="47" style="display: none; ">optional</span> <span id="typeTemplate" jstcache="0"> <span jsdisplay="getTyp eRef($this)" jstcache="48" style="display: none; "> <a jsvalues=".href: getTypeR efPage($this) + '#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstc ache="50"> Type</a> </span> <span jsdisplay="!getTypeRef($this)" jstcache="49"> <span jsdisplay="isArray($this)" jstcache="51" style="display: none; "> array of <span jsselect="items" jstcache="53"><span transclude="typeTemplate" jstcache=" 54"></span></span> </span> <span jsdisplay="!isArray($this)" jscontent="getTypeN ame($this)" jstcache="52">object</span> </span> </span> ) </div> </em> </dt> <dd class="todo" jsdisplay="!$this.description" jstcache="39"> Undocumented. </dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.description" jstcac he="40" style="display: none; "> Description of this parameter from the json sch ema. </dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="shouldExpandObject($this)" jstcache="41" style=""> <dl jstcache="0"> <div jsselect="getPropertyListFromObje ct($this)" jstcache="10" jsinstance="*0"> <div jstcache="0"> <dt jstcache="0"> < var jsdisplay="$this.name" jscontent="$this.name" jstcache="46">windowId</var> < em jstcache="0"> <!-- TYPE --> <div style="display:inline" jstcache="0"> ( <span class="optional" jsdisplay="optional" jstcache="47" style="display: none; ">opt ional</span> <span id="typeTemplate" jstcache="0"> <span jsdisplay="getTypeRef($ this)" jstcache="48" style="display: none; "> <a jsvalues=".href: getTypeRefPage ($this) + '#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache=" 50"> Type</a> </span> <span jsdisplay="!getTypeRef($this)" jstcache="49"> <span jsdisplay="isArray($this)" jstcache="51" style="display: none; "> array of <span jsselect="items" jstcache="53"><span transclude="typeTemplate" jstcache="54"></ span></span> </span> <span jsdisplay="!isArray($this)" jscontent="getTypeName($t his)" jstcache="52">integer</span> </span> </span> ) </div> </em> </dt> <dd clas s="todo" jsdisplay="!$this.description" jstcache="39"> Undocumented. </dd> <dd j sdisplay="$this.description" jsvalues=".innerHTML:$this.description" jstcache="4 0" style="display: none; "> Description of this parameter from the json schema. </dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="shouldExpandObject($this)" jstca che="41" style="display: none; "> <dl jstcache="0"> <div jsselect="getPropertyLi stFromObject($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="4"> <a jsvalues=".name:'event-' + name" jstcache="19" name="event- onAttached"></a> <h4 jscontent="name" jstcache="16">onAttached</h4> <div class=" summary" jstcache="0"> <!-- Note: intentionally longer 80 columns --> <span jsco ntent="getModuleName() + '.'" class="subdued" jstcache="24">chrome.tabs.</span>< span jscontent="name" jstcache="16">onAttached</span><span class="subdued" jstca che="0">.addListener</span>(function(<span jscontent="getSignatureString(paramet ers)" jstcache="33">integer tabId, object attachInfo</span>) <span class="subdue d" jstcache="0">{...}</span>); </div> <div class="description" jstcache="0"> <p class="todo" jsdisplay="!description" jstcache="29">Undocumented.</p> <p jsdispl ay="description" jsvalues=".innerHTML:description" jstcache="30" 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"> <div jssele ct="parameters" jstcache="36" jsinstance="0"> <div jstcache="0"> <dt jstcache="0 "> <var jsdisplay="$this.name" jscontent="$this.name" jstcache="46">tabId</var> <em jstcache="0"> <!-- TYPE --> <div style="display:inline" jstcache="0"> ( <spa n class="optional" jsdisplay="optional" jstcache="47" style="display: none; ">op tional</span> <span id="typeTemplate" jstcache="0"> <span jsdisplay="getTypeRef( $this)" jstcache="48" style="display: none; "> <a jsvalues=".href: getTypeRefPag e($this) + '#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache= "50"> Type</a> </span> <span jsdisplay="!getTypeRef($this)" jstcache="49"> <span jsdisplay="isArray($this)" jstcache="51" style="display: none; "> array of <spa n jsselect="items" jstcache="53"><span transclude="typeTemplate" jstcache="54">< /span></span> </span> <span jsdisplay="!isArray($this)" jscontent="getTypeName($ this)" jstcache="52">integer</span> </span> </span> ) </div> </em> </dt> <dd cla ss="todo" jsdisplay="!$this.description" jstcache="39"> Undocumented. </dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.description" jstcache=" 40" style="display: none; "> Description of this parameter from the json schema. </dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="shouldExpandObject($this)" jstc ache="41" 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="parameters" jstcache=" 36" jsinstance="*1"> <div jstcache="0"> <dt jstcache="0"> <var jsdisplay="$this. name" jscontent="$this.name" jstcache="46">attachInfo</var> <em jstcache="0"> <! -- TYPE --> <div style="display:inline" jstcache="0"> ( <span class="optional" j sdisplay="optional" jstcache="47" style="display: none; ">optional</span> <span id="typeTemplate" jstcache="0"> <span jsdisplay="getTypeRef($this)" jstcache="48 " style="display: none; "> <a jsvalues=".href: getTypeRefPage($this) + '#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="50"> Type</a> </spa n> <span jsdisplay="!getTypeRef($this)" jstcache="49"> <span jsdisplay="isArray( $this)" jstcache="51" style="display: none; "> array of <span jsselect="items" j stcache="53"><span transclude="typeTemplate" jstcache="54"></span></span> </span > <span jsdisplay="!isArray($this)" jscontent="getTypeName($this)" jstcache="52" >object</span> </span> </span> ) </div> </em> </dt> <dd class="todo" jsdisplay=" !$this.description" jstcache="39"> Undocumented. </dd> <dd jsdisplay="$this.desc ription" jsvalues=".innerHTML:$this.description" jstcache="40" style="display: n one; "> Description of this parameter from the json schema. </dd> <!-- OBJECT PR OPERTIES --> <dd jsdisplay="shouldExpandObject($this)" jstcache="41" 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="46">newWindowId</var> <em jstcache="0"> <!-- T YPE --> <div style="display:inline" jstcache="0"> ( <span class="optional" jsdis play="optional" jstcache="47" style="display: none; ">optional</span> <span id=" typeTemplate" jstcache="0"> <span jsdisplay="getTypeRef($this)" jstcache="48" st yle="display: none; "> <a jsvalues=".href: getTypeRefPage($this) + '#type-' + ge tTypeRef($this)" jscontent="getTypeRef($this)" jstcache="50"> Type</a> </span> < span jsdisplay="!getTypeRef($this)" jstcache="49"> <span jsdisplay="isArray($thi s)" jstcache="51" style="display: none; "> array of <span jsselect="items" jstca che="53"><span transclude="typeTemplate" jstcache="54"></span></span> </span> <s pan jsdisplay="!isArray($this)" jscontent="getTypeName($this)" jstcache="52">int eger</span> </span> </span> ) </div> </em> </dt> <dd class="todo" jsdisplay="!$t his.description" jstcache="39"> Undocumented. </dd> <dd jsdisplay="$this.descrip tion" jsvalues=".innerHTML:$this.description" jstcache="40" style="display: none ; "> Description of this parameter from the json schema. </dd> <!-- OBJECT PROPE RTIES --> <dd jsdisplay="shouldExpandObject($this)" jstcache="41" 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="*1"> <div jstcache="0"> <dt jstcache="0"> <var jsdisplay="$this.na me" jscontent="$this.name" jstcache="46">newPosition</var> <em jstcache="0"> <!- - TYPE --> <div style="display:inline" jstcache="0"> ( <span class="optional" js display="optional" jstcache="47" style="display: none; ">optional</span> <span i d="typeTemplate" jstcache="0"> <span jsdisplay="getTypeRef($this)" jstcache="48" style="display: none; "> <a jsvalues=".href: getTypeRefPage($this) + '#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="50"> Type</a> </span > <span jsdisplay="!getTypeRef($this)" jstcache="49"> <span jsdisplay="isArray($ this)" jstcache="51" style="display: none; "> array of <span jsselect="items" js tcache="53"><span transclude="typeTemplate" jstcache="54"></span></span> </span> <span jsdisplay="!isArray($this)" jscontent="getTypeName($this)" jstcache="52"> integer</span> </span> </span> ) </div> </em> </dt> <dd class="todo" jsdisplay=" !$this.description" jstcache="39"> Undocumented. </dd> <dd jsdisplay="$this.desc ription" jsvalues=".innerHTML:$this.description" jstcache="40" style="display: n one; "> Description of this parameter from the json schema. </dd> <!-- OBJECT PR OPERTIES --> <dd jsdisplay="shouldExpandObject($this)" jstcache="41" 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> </div> </dl> </div> <!-- /decription - -> </div><div jsselect="events" class="apiItem" jstcache="12" jsinstance="5"> <a jsvalues=".name:'event-' + name" jstcache="19" name="event-onDetached"></a> <h4 jscontent="name" jstcache="16">onDetached</h4> <div class="summary" jstcache="0 "> <!-- Note: intentionally longer 80 columns --> <span jscontent="getModuleName () + '.'" class="subdued" jstcache="24">chrome.tabs.</span><span jscontent="name " jstcache="16">onDetached</span><span class="subdued" jstcache="0">.addListener </span>(function(<span jscontent="getSignatureString(parameters)" jstcache="33"> integer tabId, object detachInfo</span>) <span class="subdued" jstcache="0">{... }</span>); </div> <div class="description" jstcache="0"> <p class="todo" jsdispl ay="!description" jstcache="29">Undocumented.</p> <p jsdisplay="description" jsv alues=".innerHTML:description" jstcache="30" style="display: none; "> A descript ion from the json schema def of the event goes here. </p> <!-- PARAMETERS --> <h 4 jstcache="0">Parameters</h4> <dl jstcache="0"> <div jsselect="parameters" jstc ache="36" jsinstance="0"> <div jstcache="0"> <dt jstcache="0"> <var jsdisplay="$ this.name" jscontent="$this.name" jstcache="46">tabId</var> <em jstcache="0"> <! -- TYPE --> <div style="display:inline" jstcache="0"> ( <span class="optional" j sdisplay="optional" jstcache="47" style="display: none; ">optional</span> <span id="typeTemplate" jstcache="0"> <span jsdisplay="getTypeRef($this)" jstcache="48 " style="display: none; "> <a jsvalues=".href: getTypeRefPage($this) + '#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="50"> Type</a> </spa n> <span jsdisplay="!getTypeRef($this)" jstcache="49"> <span jsdisplay="isArray( $this)" jstcache="51" style="display: none; "> array of <span jsselect="items" j stcache="53"><span transclude="typeTemplate" jstcache="54"></span></span> </span > <span jsdisplay="!isArray($this)" jscontent="getTypeName($this)" jstcache="52" >integer</span> </span> </span> ) </div> </em> </dt> <dd class="todo" jsdisplay= "!$this.description" jstcache="39"> Undocumented. </dd> <dd jsdisplay="$this.des cription" jsvalues=".innerHTML:$this.description" jstcache="40" style="display: none; "> Description of this parameter from the json schema. </dd> <!-- OBJECT P ROPERTIES --> <dd jsdisplay="shouldExpandObject($this)" jstcache="41" style="dis play: 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="36" jsinstance="*1"> <div jstcache="0"> <dt jstcache="0"> <var jsdisplay="$this.name" jscontent="$th is.name" jstcache="46">detachInfo</var> <em jstcache="0"> <!-- TYPE --> <div sty le="display:inline" jstcache="0"> ( <span class="optional" jsdisplay="optional" jstcache="47" style="display: none; ">optional</span> <span id="typeTemplate" js tcache="0"> <span jsdisplay="getTypeRef($this)" jstcache="48" style="display: no ne; "> <a jsvalues=".href: getTypeRefPage($this) + '#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="50"> Type</a> </span> <span jsdisplay=" !getTypeRef($this)" jstcache="49"> <span jsdisplay="isArray($this)" jstcache="51 " style="display: none; "> array of <span jsselect="items" jstcache="53"><span t ransclude="typeTemplate" jstcache="54"></span></span> </span> <span jsdisplay="! isArray($this)" jscontent="getTypeName($this)" jstcache="52">object</span> </spa n> </span> ) </div> </em> </dt> <dd class="todo" jsdisplay="!$this.description" jstcache="39"> Undocumented. </dd> <dd jsdisplay="$this.description" jsvalues=". innerHTML:$this.description" jstcache="40" style="display: none; "> Description of this parameter from the json schema. </dd> <!-- OBJECT PROPERTIES --> <dd jsd isplay="shouldExpandObject($this)" jstcache="41" style=""> <dl jstcache="0"> <di v jsselect="getPropertyListFromObject($this)" jstcache="10" jsinstance="0"> <div jstcache="0"> <dt jstcache="0"> <var jsdisplay="$this.name" jscontent="$this.na me" jstcache="46">oldWindowId</var> <em jstcache="0"> <!-- TYPE --> <div style=" display:inline" jstcache="0"> ( <span class="optional" jsdisplay="optional" jstc ache="47" style="display: none; ">optional</span> <span id="typeTemplate" jstcac he="0"> <span jsdisplay="getTypeRef($this)" jstcache="48" style="display: none; "> <a jsvalues=".href: getTypeRefPage($this) + '#type-' + getTypeRef($this)" jsc ontent="getTypeRef($this)" jstcache="50"> Type</a> </span> <span jsdisplay="!get TypeRef($this)" jstcache="49"> <span jsdisplay="isArray($this)" jstcache="51" st yle="display: none; "> array of <span jsselect="items" jstcache="53"><span trans clude="typeTemplate" jstcache="54"></span></span> </span> <span jsdisplay="!isAr ray($this)" jscontent="getTypeName($this)" jstcache="52">integer</span> </span> </span> ) </div> </em> </dt> <dd class="todo" jsdisplay="!$this.description" jst cache="39"> Undocumented. </dd> <dd jsdisplay="$this.description" jsvalues=".inn erHTML:$this.description" jstcache="40" style="display: none; "> Description of this parameter from the json schema. </dd> <!-- OBJECT PROPERTIES --> <dd jsdisp lay="shouldExpandObject($this)" jstcache="41" style="display: none; "> <dl jstca che="0"> <div jsselect="getPropertyListFromObject($this)" jstcache="10"> <div tr ansclude="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="46">oldPosition</var> <em jstcache="0"> <!-- TYPE --> <div styl e="display:inline" jstcache="0"> ( <span class="optional" jsdisplay="optional" j stcache="47" style="display: none; ">optional</span> <span id="typeTemplate" jst cache="0"> <span jsdisplay="getTypeRef($this)" jstcache="48" style="display: non e; "> <a jsvalues=".href: getTypeRefPage($this) + '#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="50"> Type</a> </span> <span jsdisplay="! getTypeRef($this)" jstcache="49"> <span jsdisplay="isArray($this)" jstcache="51" style="display: none; "> array of <span jsselect="items" jstcache="53"><span tr ansclude="typeTemplate" jstcache="54"></span></span> </span> <span jsdisplay="!i sArray($this)" jscontent="getTypeName($this)" jstcache="52">integer</span> </spa n> </span> ) </div> </em> </dt> <dd class="todo" jsdisplay="!$this.description" jstcache="39"> Undocumented. </dd> <dd jsdisplay="$this.description" jsvalues=". innerHTML:$this.description" jstcache="40" style="display: none; "> Description of this parameter from the json schema. </dd> <!-- OBJECT PROPERTIES --> <dd jsd isplay="shouldExpandObject($this)" jstcache="41" style="display: none; "> <dl js tcache="0"> <div jsselect="getPropertyListFromObject($this)" jstcache="10"> <div transclude="valueTemplate" jstcache="17"> </div> </div> </dl> </dd> </div> </di v> </dl> </dd> </div> </div> </dl> </div> <!-- /decription --> </div><div jssele ct="events" class="apiItem" jstcache="12" jsinstance="*6"> <a jsvalues=".name:'e vent-' + name" jstcache="19" name="event-onRemoved"></a> <h4 jscontent="name" js tcache="16">onRemoved</h4> <div class="summary" jstcache="0"> <!-- Note: intenti onally longer 80 columns --> <span jscontent="getModuleName() + '.'" class="subd ued" jstcache="24">chrome.tabs.</span><span jscontent="name" jstcache="16">onRem oved</span><span class="subdued" jstcache="0">.addListener</span>(function(<span jscontent="getSignatureString(parameters)" jstcache="33">integer tabId</span>) <span class="subdued" jstcache="0">{...}</span>); </div> <div class="description " jstcache="0"> <p class="todo" jsdisplay="!description" jstcache="29">Undocumen ted.</p> <p jsdisplay="description" jsvalues=".innerHTML:description" jstcache=" 30" 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="36" jsinstance="*0"> <div jstcache= "0"> <dt jstcache="0"> <var jsdisplay="$this.name" jscontent="$this.name" jstcac he="46">tabId</var> <em jstcache="0"> <!-- TYPE --> <div style="display:inline" jstcache="0"> ( <span class="optional" jsdisplay="optional" jstcache="47" style= "display: none; ">optional</span> <span id="typeTemplate" jstcache="0"> <span js display="getTypeRef($this)" jstcache="48" style="display: none; "> <a jsvalues=" .href: getTypeRefPage($this) + '#type-' + getTypeRef($this)" jscontent="getTypeR ef($this)" jstcache="50"> Type</a> </span> <span jsdisplay="!getTypeRef($this)" jstcache="49"> <span jsdisplay="isArray($this)" jstcache="51" style="display: no ne; "> array of <span jsselect="items" jstcache="53"><span transclude="typeTempl ate" jstcache="54"></span></span> </span> <span jsdisplay="!isArray($this)" jsco ntent="getTypeName($this)" jstcache="52">integer</span> </span> </span> ) </div> </em> </dt> <dd class="todo" jsdisplay="!$this.description" jstcache="39"> Undo cumented. </dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.des cription" jstcache="40" style="display: none; "> Description of this parameter f rom the json schema. </dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="shouldExpan dObject($this)" jstcache="41" style="display: none; "> <dl jstcache="0"> <div js select="getPropertyListFromObject($this)" jstcache="10"> <div transclude="valueT emplate" jstcache="17"> </div> </div> </dl> </dd> </div> </div> </dl> </div> <!- - /decription --> </div> <!-- /apiItem --> </div> <!-- /apiGroup --> <!-- TYPES --> <div jsdisplay="types &amp;&amp; types.length &gt; 0" class="apiGroup" jstca che="8"> <a name="types" jstcache="0"></a> <h3 id="types" jstcache="0">Types</h3 > <!-- iterates over all types --> <div jsselect="types" class="apiItem" jstcach e="13" jsinstance="*0"> <a jsvalues=".name:'type-' + id" jstcache="20" name="typ e-Tab"></a> <h4 jscontent="id" jstcache="21">Tab</h4> <div jstcache="0"> <dt jst cache="0"> <var jsdisplay="$this.name" jscontent="$this.name" jstcache="46" styl e="display: none; ">tabId</var> <em jstcache="0"> <!-- TYPE --> <div style="disp lay:inline" jstcache="0"> ( <span class="optional" jsdisplay="optional" jstcache ="47" style="display: none; ">optional</span> <span id="typeTemplate" jstcache=" 0"> <span jsdisplay="getTypeRef($this)" jstcache="48" style="display: none; "> < a jsvalues=".href: getTypeRefPage($this) + '#type-' + getTypeRef($this)" jsconte nt="getTypeRef($this)" jstcache="50"> Type</a> </span> <span jsdisplay="!getType Ref($this)" jstcache="49"> <span jsdisplay="isArray($this)" jstcache="51" style= "display: none; "> array of <span jsselect="items" jstcache="53"><span transclud e="typeTemplate" jstcache="54"></span></span> </span> <span jsdisplay="!isArray( $this)" jscontent="getTypeName($this)" jstcache="52">object</span> </span> </spa n> ) </div> </em> </dt> <dd class="todo" jsdisplay="!$this.description" jstcache ="39"> Undocumented. </dd> <dd jsdisplay="$this.description" jsvalues=".innerHTM L:$this.description" jstcache="40" style="display: none; "> Description of this parameter from the json schema. </dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay=" shouldExpandObject($this)" jstcache="41" style=""> <dl jstcache="0"> <div jssele ct="getPropertyListFromObject($this)" jstcache="10" jsinstance="0"> <div jstcach e="0"> <dt jstcache="0"> <var jsdisplay="$this.name" jscontent="$this.name" jstc ache="46">id</var> <em jstcache="0"> <!-- TYPE --> <div style="display:inline" j stcache="0"> ( <span class="optional" jsdisplay="optional" jstcache="47" style=" display: none; ">optional</span> <span id="typeTemplate" jstcache="0"> <span jsd isplay="getTypeRef($this)" jstcache="48" style="display: none; "> <a jsvalues=". href: getTypeRefPage($this) + '#type-' + getTypeRef($this)" jscontent="getTypeRe f($this)" jstcache="50"> Type</a> </span> <span jsdisplay="!getTypeRef($this)" j stcache="49"> <span jsdisplay="isArray($this)" jstcache="51" style="display: non e; "> array of <span jsselect="items" jstcache="53"><span transclude="typeTempla te" jstcache="54"></span></span> </span> <span jsdisplay="!isArray($this)" jscon tent="getTypeName($this)" jstcache="52">integer</span> </span> </span> ) </div> </em> </dt> <dd class="todo" jsdisplay="!$this.description" jstcache="39"> Undoc umented. </dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.desc ription" jstcache="40" style="display: none; "> Description of this parameter fr om the json schema. </dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="shouldExpand Object($this)" jstcache="41" 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="get PropertyListFromObject($this)" jstcache="10" jsinstance="1"> <div jstcache="0"> <dt jstcache="0"> <var jsdisplay="$this.name" jscontent="$this.name" jstcache="4 6">index</var> <em jstcache="0"> <!-- TYPE --> <div style="display:inline" jstca che="0"> ( <span class="optional" jsdisplay="optional" jstcache="47" style="disp lay: none; ">optional</span> <span id="typeTemplate" jstcache="0"> <span jsdispl ay="getTypeRef($this)" jstcache="48" style="display: none; "> <a jsvalues=".href : getTypeRefPage($this) + '#type-' + getTypeRef($this)" jscontent="getTypeRef($t his)" jstcache="50"> Type</a> </span> <span jsdisplay="!getTypeRef($this)" jstca che="49"> <span jsdisplay="isArray($this)" jstcache="51" style="display: none; " > array of <span jsselect="items" jstcache="53"><span transclude="typeTemplate" jstcache="54"></span></span> </span> <span jsdisplay="!isArray($this)" jscontent ="getTypeName($this)" jstcache="52">integer</span> </span> </span> ) </div> </em > </dt> <dd class="todo" jsdisplay="!$this.description" jstcache="39"> Undocumen ted. </dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.descript ion" jstcache="40" style="display: none; "> Description of this parameter from t he json schema. </dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="shouldExpandObje ct($this)" jstcache="41" 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="getProp ertyListFromObject($this)" jstcache="10" jsinstance="2"> <div jstcache="0"> <dt jstcache="0"> <var jsdisplay="$this.name" jscontent="$this.name" jstcache="46">w indowId</var> <em jstcache="0"> <!-- TYPE --> <div style="display:inline" jstcac he="0"> ( <span class="optional" jsdisplay="optional" jstcache="47" style="displ ay: none; ">optional</span> <span id="typeTemplate" jstcache="0"> <span jsdispla y="getTypeRef($this)" jstcache="48" style="display: none; "> <a jsvalues=".href: getTypeRefPage($this) + '#type-' + getTypeRef($this)" jscontent="getTypeRef($th is)" jstcache="50"> Type</a> </span> <span jsdisplay="!getTypeRef($this)" jstcac he="49"> <span jsdisplay="isArray($this)" jstcache="51" style="display: none; "> array of <span jsselect="items" jstcache="53"><span transclude="typeTemplate" j stcache="54"></span></span> </span> <span jsdisplay="!isArray($this)" jscontent= "getTypeName($this)" jstcache="52">integer</span> </span> </span> ) </div> </em> </dt> <dd class="todo" jsdisplay="!$this.description" jstcache="39"> Undocument ed. </dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.descripti on" jstcache="40" style="display: none; "> Description of this parameter from th e json schema. </dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="shouldExpandObjec t($this)" jstcache="41" 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="getPrope rtyListFromObject($this)" jstcache="10" jsinstance="3"> <div jstcache="0"> <dt j stcache="0"> <var jsdisplay="$this.name" jscontent="$this.name" jstcache="46">se lected</var> <em jstcache="0"> <!-- TYPE --> <div style="display:inline" jstcach e="0"> ( <span class="optional" jsdisplay="optional" jstcache="47" style="displa y: none; ">optional</span> <span id="typeTemplate" jstcache="0"> <span jsdisplay ="getTypeRef($this)" jstcache="48" style="display: none; "> <a jsvalues=".href: getTypeRefPage($this) + '#type-' + getTypeRef($this)" jscontent="getTypeRef($thi s)" jstcache="50"> Type</a> </span> <span jsdisplay="!getTypeRef($this)" jstcach e="49"> <span jsdisplay="isArray($this)" jstcache="51" style="display: none; "> array of <span jsselect="items" jstcache="53"><span transclude="typeTemplate" js tcache="54"></span></span> </span> <span jsdisplay="!isArray($this)" jscontent=" getTypeName($this)" jstcache="52">boolean</span> </span> </span> ) </div> </em> </dt> <dd class="todo" jsdisplay="!$this.description" jstcache="39"> Undocumente d. </dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.descriptio n" jstcache="40" style="display: none; "> Description of this parameter from the json schema. </dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="shouldExpandObject ($this)" jstcache="41" 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="getProper tyListFromObject($this)" jstcache="10" jsinstance="4"> <div jstcache="0"> <dt js tcache="0"> <var jsdisplay="$this.name" jscontent="$this.name" jstcache="46">url </var> <em jstcache="0"> <!-- TYPE --> <div style="display:inline" jstcache="0"> ( <span class="optional" jsdisplay="optional" jstcache="47" style="display: non e; ">optional</span> <span id="typeTemplate" jstcache="0"> <span jsdisplay="getT ypeRef($this)" jstcache="48" style="display: none; "> <a jsvalues=".href: getTyp eRefPage($this) + '#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" js tcache="50"> Type</a> </span> <span jsdisplay="!getTypeRef($this)" jstcache="49" > <span jsdisplay="isArray($this)" jstcache="51" style="display: none; "> array of <span jsselect="items" jstcache="53"><span transclude="typeTemplate" jstcache ="54"></span></span> </span> <span jsdisplay="!isArray($this)" jscontent="getTyp eName($this)" jstcache="52">string</span> </span> </span> ) </div> </em> </dt> < dd class="todo" jsdisplay="!$this.description" jstcache="39"> Undocumented. </dd > <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.description" jstc ache="40" style="display: none; "> Description of this parameter from the json s chema. </dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="shouldExpandObject($this) " jstcache="41" style="display: none; "> <dl jstcache="0"> <div jsselect="getPro pertyListFromObject($this)" jstcache="10"> <div transclude="valueTemplate" jstca che="17"> </div> </div> </dl> </dd> </div> </div><div jsselect="getPropertyListF romObject($this)" jstcache="10" jsinstance="5"> <div jstcache="0"> <dt jstcache= "0"> <var jsdisplay="$this.name" jscontent="$this.name" jstcache="46">title</var > <em jstcache="0"> <!-- TYPE --> <div style="display:inline" jstcache="0"> ( <s pan class="optional" jsdisplay="optional" jstcache="47" style="">optional</span> <span id="typeTemplate" jstcache="0"> <span jsdisplay="getTypeRef($this)" jstca che="48" style="display: none; "> <a jsvalues=".href: getTypeRefPage($this) + '# type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="50"> Type</a > </span> <span jsdisplay="!getTypeRef($this)" jstcache="49"> <span jsdisplay="i sArray($this)" jstcache="51" style="display: none; "> array of <span jsselect="i tems" jstcache="53"><span transclude="typeTemplate" jstcache="54"></span></span> </span> <span jsdisplay="!isArray($this)" jscontent="getTypeName($this)" jstcac he="52">string</span> </span> </span> ) </div> </em> </dt> <dd class="todo" jsdi splay="!$this.description" jstcache="39"> Undocumented. </dd> <dd jsdisplay="$th is.description" jsvalues=".innerHTML:$this.description" jstcache="40" style="dis play: none; "> Description of this parameter from the json schema. </dd> <!-- OB JECT PROPERTIES --> <dd jsdisplay="shouldExpandObject($this)" jstcache="41" 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="6"> <div jstcache="0"> <dt jstcache="0"> <var jsdisplay= "$this.name" jscontent="$this.name" jstcache="46">favIconUrl</var> <em jstcache= "0"> <!-- TYPE --> <div style="display:inline" jstcache="0"> ( <span class="opti onal" jsdisplay="optional" jstcache="47" style="">optional</span> <span id="type Template" jstcache="0"> <span jsdisplay="getTypeRef($this)" jstcache="48" style= "display: none; "> <a jsvalues=".href: getTypeRefPage($this) + '#type-' + getTyp eRef($this)" jscontent="getTypeRef($this)" jstcache="50"> Type</a> </span> <span jsdisplay="!getTypeRef($this)" jstcache="49"> <span jsdisplay="isArray($this)" jstcache="51" style="display: none; "> array of <span jsselect="items" jstcache= "53"><span transclude="typeTemplate" jstcache="54"></span></span> </span> <span jsdisplay="!isArray($this)" jscontent="getTypeName($this)" jstcache="52">string< /span> </span> </span> ) </div> </em> </dt> <dd class="todo" jsdisplay="!$this.d escription" jstcache="39"> Undocumented. </dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.description" jstcache="40" style="display: none; "> Description of this parameter from the json schema. </dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="shouldExpandObject($this)" jstcache="41" style="display: non e; "> <dl jstcache="0"> <div jsselect="getPropertyListFromObject($this)" jstcach e="10"> <div transclude="valueTemplate" jstcache="17"> </div> </div> </dl> </dd> </div> </div><div jsselect="getPropertyListFromObject($this)" jstcache="10" jsi nstance="*7"> <div jstcache="0"> <dt jstcache="0"> <var jsdisplay="$this.name" j scontent="$this.name" jstcache="46">status</var> <em jstcache="0"> <!-- TYPE --> <div style="display:inline" jstcache="0"> ( <span class="optional" jsdisplay="o ptional" jstcache="47" style="">optional</span> <span id="typeTemplate" jstcache ="0"> <span jsdisplay="getTypeRef($this)" jstcache="48" style="display: none; "> <a jsvalues=".href: getTypeRefPage($this) + '#type-' + getTypeRef($this)" jscon tent="getTypeRef($this)" jstcache="50"> Type</a> </span> <span jsdisplay="!getTy peRef($this)" jstcache="49"> <span jsdisplay="isArray($this)" jstcache="51" styl e="display: none; "> array of <span jsselect="items" jstcache="53"><span transcl ude="typeTemplate" jstcache="54"></span></span> </span> <span jsdisplay="!isArra y($this)" jscontent="getTypeName($this)" jstcache="52">string</span> </span> </s pan> ) </div> </em> </dt> <dd class="todo" jsdisplay="!$this.description" jstcac he="39"> Undocumented. </dd> <dd jsdisplay="$this.description" jsvalues=".innerH TML:$this.description" jstcache="40" style="display: none; "> Description of thi s parameter from the json schema. </dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay ="shouldExpandObject($this)" jstcache="41" style="display: none; "> <dl jstcache ="0"> <div jsselect="getPropertyListFromObject($this)" jstcache="10"> <div trans clude="valueTemplate" jstcache="17"> </div> </div> </dl> </dd> </div> </div> </d l> </dd> </div> </div> <!-- /apiItem --> </div> <!-- /apiGroup --> </div> <!-- / apiPage --> </div> <!-- /mainColumn --> </div> <!-- /pageContent --> <div id="pa geFooter" --="" 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></htm l> 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="getPageTitle()" jstcache="1">chrome.tabs</title> <link hre f="css/ApiRefStyles.css" rel="stylesheet" type="text/css" jstcache="0"> <script type="text/javascript" src="../../../third_party/jstemplate/jstemplate_compiled. js" jstcache="0"> </script> <script type="text/javascript" src="js/api_page_gene rator.js" jstcache="0"></script> <script type="text/javascript" src="js/bootstra p.js" jstcache="0"></script> </head><!-- <body> content is completely generated. Do not edit, as it will be and rewritten. --><body jstcache="0"> <div id="conta iner" jstcache="0"> <a name="top" jstcache="0"> </a> <!-- API HEADER --> <div id ="pageHeader" jstcache="0"> <div id="searchbox" jstcache="0"> <form action="http ://www.google.com/cse" id="cse-search-box" jstcache="0"> <div jstcache="0"> <inp ut type="hidden" name="cx" value="002967670403910741006:61_cvzfqtno" jstcache="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="Search" jstcache="0"> </div> </form> <script type="text/javascript" src="http://www.goog le.com/jsapi" jstcache="0"></script> <script type="text/javascript" jstcache="0" >google.load("elements", "1", {packages: "transliteration"});</script> <script t ype="text/javascript" src="http://www.google.com/coop/cse/t13n?form=cse-search-b ox&amp;t13n_langs=en" jstcache="0"></script> <script type="text/javascript" src= "http://www.google.com/coop/cse/brand?form=cse-search-box&amp;lang=en" jstcache= "0"></script> </div> <div id="pageTitle" jstcache="0"> <h1 jscontent="getPageTit le()" jstcache="1">chrome.tabs</h1> </div> </div> <!-- /pageHeader --> <div id=" pageContent" jstcache="0"> <!-- SIDENAV --> <div id="leftNav" jstcache="0"> <ul jstcache="0"> <li jstcache="0"> <a href="index.html" jstcache="0">Home</a></li> <li jstcache="0"> <a href="getstarted.html" jstcache="0">Getting Started</a></li > <li jstcache="0"> <a href="overview.html" jstcache="0">Overview</a></li> <li j stcache="0"> <a href="devguide.html" jstcache="0"><div jstcache="0">Developer's Guide</div></a> <ul jstcache="0"> <li jstcache="0"><a href="toolstrip.html" jstc ache="0">Toolstrips</a></li> <li jstcache="0"><a href="pageActions.html" jstcach e="0">Page Actions</a></li> <li jstcache="0"><a href="background_pages.html" jst cache="0">Background Pages</a></li> <li jstcache="0"><a href="content_scripts.ht ml" jstcache="0">Content Scripts</a></li> <li jstcache="0">Events</li> <li jstca che="0" class="leftNavSelected">Tabs</li> <li jstcache="0"><a href="windows.html " jstcache="0">Windows</a></li> <li jstcache="0"><a href="bookmarks.html" jstcac he="0">Bookmarks</a></li> <li jstcache="0">Themes</li> <li jstcache="0"><a href= "npapi.html" jstcache="0">NPAPI Plugins</a></li> <li jstcache="0"><a href="packa ging.html" jstcache="0">Packaging</a></li> <li jstcache="0">Autoupdate</li> </ul > </li> <li jstcache="0"><a href="tutorials.html" jstcache="0"><div jstcache="0" >Tutorials</div></a> <ul jstcache="0"> <li jstcache="0"><a href="tut_debugging.h tml" jstcache="0">Debugging</a></li> </ul> </li> <li jstcache="0">Reference <ul jstcache="0"> <li jstcache="0"> Formats <ul jstcache="0"> <li jstcache="0"><a hr ef="manifest.html" jstcache="0">Manifest Files</a></li> <li jstcache="0">Match P atterns</li> <li jstcache="0">Packages (.crx)</li> </ul> </li> <li jstcache="0"> <a href="api_index.html" jstcache="0">chrome.* APIs</a> </li> <li jstcache="0"> <a href="api_other.html" jstcache="0">Other APIs</a> </li> </ul> </li> <li jstc ache="0"><a href="http://dev.chromium.org/developers/design-documents/extensions /samples" jstcache="0">Samples</a></li> </ul> </div> <div id="mainColumn" jstcac he="0"> <!-- TABLE OF CONTENTS --> <div id="toc" jsdisplay="showPageTOC()" jstca che="2"> <p jstcache="0">Contents</p> <ol jstcache="0"> <li jsselect="getStaticT OC()" jstcache="9" jsinstance="*0" style="display: none; "> <a jscontent="name" jsvalues=".href:'#' + href" jstcache="14">h2Name</a> <ol jstcache="0"> <li jssel ect="$this.children" jstcache="22"> <a jscontent="name" jsvalues=".href:'#' + hr ef" jstcache="14">h3Name</a> </li> </ol> </li> <div jsselect="apiDefinition" jst cache="3"> <li jstcache="0"> <a href="#apiReference" jscontent="'API reference: ' + getModuleName()" jstcache="4">API reference: chrome.tabs</a> <ol jstcache="0 "> <li jsdisplay="$this.properties" jstcache="5" style="display: none; "> <a hre f="#properties" jstcache="0">Properties</a> <ol jstcache="0"> <li jsselect="getP ropertyListFromObject($this)" jstcache="10"> <a jscontent="name" jsvalues=".href :'#property-' + name" href="#property-anchor" jstcache="41">propertyName</a> </l i> </ol> </li> <li jsdisplay="functions &amp;&amp; functions.length &gt; 0" jstc ache="6"> <a href="#methods" jstcache="0">Methods</a> <ol jstcache="0"> <li jsse lect="functions" jstcache="11" jsinstance="0"> <a jscontent="name" jsvalues=".hr ef:'#method-' + name" href="#method-get" jstcache="42">get</a> </li><li jsselect ="functions" jstcache="11" jsinstance="1"> <a jscontent="name" jsvalues=".href:' #method-' + name" href="#method-connect" jstcache="42">connect</a> </li><li jsse lect="functions" jstcache="11" jsinstance="2"> <a jscontent="name" jsvalues=".hr ef:'#method-' + name" href="#method-getSelected" jstcache="42">getSelected</a> < /li><li jsselect="functions" jstcache="11" jsinstance="3"> <a jscontent="name" j svalues=".href:'#method-' + name" href="#method-getAllInWindow" jstcache="42">ge tAllInWindow</a> </li><li jsselect="functions" jstcache="11" jsinstance="4"> <a jscontent="name" jsvalues=".href:'#method-' + name" href="#method-create" jstcac he="42">create</a> </li><li jsselect="functions" jstcache="11" jsinstance="5"> < a jscontent="name" jsvalues=".href:'#method-' + name" href="#method-update" jstc ache="42">update</a> </li><li jsselect="functions" jstcache="11" jsinstance="6"> <a jscontent="name" jsvalues=".href:'#method-' + name" href="#method-move" jstc ache="42">move</a> </li><li jsselect="functions" jstcache="11" jsinstance="7"> < a jscontent="name" jsvalues=".href:'#method-' + name" href="#method-remove" jstc ache="42">remove</a> </li><li jsselect="functions" jstcache="11" jsinstance="8"> <a jscontent="name" jsvalues=".href:'#method-' + name" href="#method-detectLang uage" jstcache="42">detectLanguage</a> </li><li jsselect="functions" jstcache="1 1" jsinstance="*9"> <a jscontent="name" jsvalues=".href:'#method-' + name" href= "#method-captureVisibleTab" jstcache="42">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" jstcach e="12" jsinstance="0"> <a jscontent="name" jsvalues=".href:'#event-' + name" hre f="#event-onCreated" jstcache="43">onCreated</a> </li><li jsselect="events" jstc ache="12" jsinstance="1"> <a jscontent="name" jsvalues=".href:'#event-' + name" href="#event-onUpdated" jstcache="43">onUpdated</a> </li><li jsselect="events" j stcache="12" jsinstance="2"> <a jscontent="name" jsvalues=".href:'#event-' + nam e" href="#event-onMoved" jstcache="43">onMoved</a> </li><li jsselect="events" js tcache="12" jsinstance="3"> <a jscontent="name" jsvalues=".href:'#event-' + name " href="#event-onSelectionChanged" jstcache="43">onSelectionChanged</a> </li><li jsselect="events" jstcache="12" jsinstance="4"> <a jscontent="name" jsvalues=". href:'#event-' + name" href="#event-onAttached" jstcache="43">onAttached</a> </l i><li jsselect="events" jstcache="12" jsinstance="5"> <a jscontent="name" jsvalu es=".href:'#event-' + name" href="#event-onDetached" jstcache="43">onDetached</a > </li><li jsselect="events" jstcache="12" jsinstance="*6"> <a jscontent="name" jsvalues=".href:'#event-' + name" href="#event-onRemoved" jstcache="43">onRemove d</a> </li> </ol> </li> <li jsdisplay="types &amp;&amp; types.length &gt; 0" jst cache="8"> <a href="#types" jstcache="0">Types</a> <ol jstcache="0"> <li jsselec t="types" jstcache="13" jsinstance="*0"> <a jscontent="id" jsvalues=".href:'#typ e-' + id" href="#type-Tab" jstcache="44">Tab</a> </li> </ol> </li> </ol> </li> < /div> </ol> </div> <!-- /TABLE OF CONTENTS --> <!-- STATIC CONTENT PLACEHOLDER - -> <div id="static" jstcache="0"><!-- BEGIN AUTHORED CONTENT --> <p class="todo" jstcache="0"> [PENDING: API Module Overview Goes Here] </p> <!-- END AUTHORED C ONTENT --> </div> <!-- API PAGE --> <div class="apiPage" jsselect="apiDefinition " jstcache="3"> <a name="apiReference" jstcache="0"></a> <h2 jscontent="'API ref erence: ' + getModuleName()" jstcache="4">API reference: chrome.tabs</h2> <!-- P ROPERTIES --> <div jsdisplay="$this.properties" class="apiGroup" jstcache="5" st yle="display: none; "> <a name="properties" jstcache="0"></a> <h3 id="properties " jstcache="0">Properties</h3> <div jsselect="getPropertyListFromObject($this)" jstcache="10"> <a jsvalues=".name:'property-' + name" jstcache="15"></a> <h4 jsc ontent="name" jstcache="16">getLastError</h4> <div class="summary" jstcache="0"> <!-- Note: intentionally longer 80 columns --> <span jscontent="getModuleName() + '.'" jstcache="23">chrome.extension</span><span jscontent="$this.name" jstcac he="24">lastError</span> </div> <div transclude="valueTemplate" jstcache="17"> < /div> </div> </div> <!-- /apiGroup --> <!-- METHODS --> <div jsdisplay="function s &amp;&amp; functions.length &gt; 0" class="apiGroup" id="methods" jstcache="6" > <a name="methods" jstcache="0"></a> <h3 jstcache="0">Methods</h3> <!-- iterate s over all functions --> <div class="apiItem" jsselect="functions" jstcache="11" jsinstance="0"> <a jsvalues=".name:'method-' + name" jstcache="18" name="method -get"></a> <!-- method-anchor --> <h4 jscontent="name" jstcache="16">get</h4> <d iv class="summary" jstcache="0"><span jsdisplay="returns" jscontent="getTypeName (returns)" jstcache="25" style="display: none; ">void</span> <!-- Note: intentio nally longer 80 columns --> <span jscontent="getFullyQualifiedFunctionName($this )" jstcache="26">chrome.tabs.get</span>(<span jsselect="parameters" jsvalues="cl ass:optional ? 'optional' : ''" jstcache="27" jsinstance="0" class="null"><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= "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">tabId</var> <em jstcache="0"> <!-- TYPE --> <d iv style="display:inline" jstcache="0"> ( <span class="optional" jsdisplay="opti onal" jstcache="46" style="display: none; ">optional</span> <span id="typeTempla te" jstcache="0"> <span jsdisplay="getTypeRef($this)" jstcache="47" style="displ ay: none; "> <a jsvalues=".href: getTypeRefPage($this) + '#type-' + getTypeRef($ this)" jscontent="getTypeRef($this)" jstcache="49"> Type</a> </span> <span jsdis play="!getTypeRef($this)" jstcache="48"> <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="38"> Undocumented. </dd> <dd jsdisplay="$this.description" jsva lues=".innerHTML:$this.description" jstcache="39" style="display: none; "> Descr iption of this parameter from the json schema. </dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="shouldExpandObject($this)" jstcache="40" style="display: none; "> <dl jstcache="0"> <div jsselect="getPropertyListFromObject($this)" jstcache="10 "> <div transclude="valueTemplate" jstcache="17"> </div> </div> </dl> </dd> </di v> <!-- /VALUE --> </div><div jsselect="parameters" jstcache="35" jsinstance="*1 "> <!-- VALUE: This is a subtemplate that is used elsewhere via jsTemplate *tran sclude* --> <div id="valueTemplate" jstcache="0"> <dt jstcache="0"> <var jsdispl ay="$this.name" jscontent="$this.name" jstcache="45">callback</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">function</span> </span> </span> ) </div> </em> </dt> <dd class="todo" j sdisplay="!$this.description" jstcache="38"> Undocumented. </dd> <dd jsdisplay=" $this.description" jsvalues=".innerHTML:$this.description" jstcache="39" style=" display: none; "> Description of this parameter from the json schema. </dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="shouldExpandObject($this)" jstcache="40" s tyle="display: none; "> <dl jstcache="0"> <div jsselect="getPropertyListFromObje ct($this)" jstcache="10"> <div transclude="valueTemplate" jstcache="17"> </div> </div> </dl> </dd> </div> <!-- /VALUE --> </div> </dl> <!-- RETURNS --> <h4 jsdi splay="returns" jstcache="30" style="display: none; ">Returns</h4> <dl jstcache= "0"> <div jsselect="returns" jstcache="36" style="display: none; "> <div transcl ude="valueTemplate" jstcache="17"> </div> </div> </dl> <!-- CALLBACK --> <div jsdisplay="hasCallback(parameters)" jstcache="31"> <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">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" jsdispla y="optional" jstcache="46" style="display: none; ">optional</span> <span id="typ eTemplate" jstcache="0"> <span jsdisplay="getTypeRef($this)" jstcache="47" style =""> <a jsvalues=".href: getTypeRefPage($this) + '#type-' + getTypeRef($this)" j scontent="getTypeRef($this)" jstcache="49" href="tabs.html#type-Tab">Tab</a> </s pan> <span jsdisplay="!getTypeRef($this)" jstcache="48" style="display: none; "> <span jsdisplay="isArray($this)" jstcache="50" style="display: none; "> array o f <span jsselect="items" jstcache="52"><span transclude="typeTemplate" jstcache= "53"></span></span> </span> <span jsdisplay="!isArray($this)" jscontent="getType Name($this)" jstcache="51">integer</span> </span> </span> ) </div> </em> </dt> < dd class="todo" jsdisplay="!$this.description" jstcache="38"> Undocumented. </dd > <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.description" jstc ache="39" style="display: none; "> Description of this parameter from the json s chema. </dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="shouldExpandObject($this) " jstcache="40" style="display: none; "> <dl jstcache="0"> <div jsselect="getPro pertyListFromObject($this)" jstcache="10"> <div transclude="valueTemplate" jstca che="17"> </div> </div> </dl> </dd> </div> </div> </dl> </div> </div> </div> <!- - /description --> </div><div class="apiItem" jsselect="functions" jstcache="11" jsinstance="1"> <a jsvalues=".name:'method-' + name" jstcache="18" name="method -connect"></a> <!-- method-anchor --> <h4 jscontent="name" jstcache="16">connect </h4> <div class="summary" jstcache="0"><span jsdisplay="returns" jscontent="get TypeName(returns)" jstcache="25">Port</span> <!-- Note: intentionally longer 80 columns --> <span jscontent="getFullyQualifiedFunctionName($this)" jstcache="26" >chrome.tabs.connect</span>(<span jsselect="parameters" jsvalues="class:optional ? 'optional' : ''" jstcache="27" jsinstance="0" class="optional"><span jsdispla y="$index" jstcache="33" style="display: none; ">, </span><span jscontent="getTy peName($this)" jstcache="34">integer</span> <var jstcache="0"><span jscontent="n ame" jstcache="16">tabId</span></var></span><span jsselect="parameters" jsvalues ="class:optional ? 'optional' : ''" jstcache="27" jsinstance="*1" class="optiona l"><span jsdisplay="$index" jstcache="33">, </span><span jscontent="getTypeName( $this)" jstcache="34">object</span> <var jstcache="0"><span jscontent="name" jst cache="16">connectInfo</span></var></span>)</div> <div class="description" jstca che="0"> <p class="todo" jsdisplay="!description" jstcache="28">Undocumented.</p > <p jsdisplay="description" jsvalues=".innerHTML:description" jstcache="29" sty le="display: none; "> A description from the json schema def of the function goe s 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="v alueTemplate" jstcache="0"> <dt jstcache="0"> <var jsdisplay="$this.name" jscont ent="$this.name" jstcache="45">tabId</var> <em jstcache="0"> <!-- TYPE --> <div style="display:inline" jstcache="0"> ( <span class="optional" jsdisplay="optiona l" jstcache="46">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="38"> Undoc umented. </dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.desc ription" jstcache="39" style="display: none; "> Description of this parameter fr om the json schema. </dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="shouldExpand Object($this)" jstcache="40" style="display: none; "> <dl jstcache="0"> <div jss elect="getPropertyListFromObject($this)" jstcache="10"> <div transclude="valueTe mplate" jstcache="17"> </div> </div> </dl> </dd> </div> <!-- /VALUE --> </div><d iv jsselect="parameters" jstcache="35" jsinstance="*1"> <!-- VALUE: This is a su btemplate that is used elsewhere via jsTemplate *transclude* --> <div id="valueT emplate" jstcache="0"> <dt jstcache="0"> <var jsdisplay="$this.name" jscontent=" $this.name" jstcache="45">connectInfo</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">object</span> </span> </span> ) </div> </em> </dt> <dd class="todo" jsdisplay="!$this.description" jstcache="38"> Undoc umented. </dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.desc ription" jstcache="39" style="display: none; "> Description of this parameter fr om the json schema. </dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="shouldExpand Object($this)" jstcache="40"> <dl jstcache="0"> <div jsselect="getPropertyListFr omObject($this)" jstcache="10" jsinstance="*0"> <div 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"> ( <sp an class="optional" jsdisplay="optional" jstcache="46" style="">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">string</span> </span> </span> ) </div> </em> </dt> <dd class="todo" jsdis play="!$this.description" jstcache="38" style="display: none; "> Undocumented. < /dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.description" j stcache="39" style="">Will be passed into onConnect for content scripts that are listening for the connection event.</dd> <!-- OBJECT PROPERTIES --> <dd jsdispl ay="shouldExpandObject($this)" jstcache="40" 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> </dl> <!-- RETURNS --> <h4 jsdisplay="r eturns" jstcache="30">Returns</h4> <dl jstcache="0"> <div jsselect="returns" jst cache="36"> <div jstcache="0"> <dt jstcache="0"> <var jsdisplay="$this.name" jsc ontent="$this.name" jstcache="45" style="display: none; ">tabId</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=""> <a jsvalues=".href: getTypeRefPage($this) + '#type-' + get TypeRef($this)" jscontent="getTypeRef($this)" jstcache="49" href="extension.html #type-Port">Port</a> </span> <span jsdisplay="!getTypeRef($this)" jstcache="48" style="display: none; "> <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">integer</span> </span> </span > ) </div> </em> </dt> <dd class="todo" jsdisplay="!$this.description" jstcache= "38"> Undocumented. </dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML :$this.description" jstcache="39" style="display: none; "> Description of this p arameter from the json schema. </dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="s houldExpandObject($this)" jstcache="40" style="display: none; "> <dl jstcache="0 "> <div jsselect="getPropertyListFromObject($this)" jstcache="10"> <div transclu de="valueTemplate" jstcache="17"> </div> </div> </dl> </dd> </div> </div> </dl> <!-- CALLBACK --> <div jsdisplay="hasCallback(parameters)" jstcache="31" style="display: none; "> <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" >Type param1, Type param2</span>) <span class="subdued" jstcache="0">{...}</span >);</pre> <dl jstcache="0"> <div jsselect="parameters" jstcache="35"> <div trans clude="valueTemplate" jstcache="17"> </div> </div> </dl> </div> </div> </div> <! -- /description --> </div><div class="apiItem" jsselect="functions" jstcache="11 " jsinstance="2"> <a jsvalues=".name:'method-' + name" jstcache="18" name="metho d-getSelected"></a> <!-- method-anchor --> <h4 jscontent="name" jstcache="16">ge tSelected</h4> <div class="summary" jstcache="0"><span jsdisplay="returns" jscon tent="getTypeName(returns)" jstcache="25" style="display: none; ">void</span> <! -- Note: intentionally longer 80 columns --> <span jscontent="getFullyQualifiedF unctionName($this)" jstcache="26">chrome.tabs.getSelected</span>(<span jsselect= "parameters" jsvalues="class:optional ? 'optional' : ''" jstcache="27" jsinstanc e="0" class="optional"><span jsdisplay="$index" jstcache="33" style="display: no ne; ">, </span><span jscontent="getTypeName($this)" jstcache="34">integer</span> <var jstcache="0"><span jscontent="name" jstcache="16">windowId</span></var></s pan><span jsselect="parameters" jsvalues="class:optional ? 'optional' : ''" jstc ache="27" jsinstance="*1" class="null"><span jsdisplay="$index" jstcache="33">, </span><span jscontent="getTypeName($this)" jstcache="34">function</span> <var j stcache="0"><span jscontent="name" jstcache="16">callback</span></var></span>)</ div> <div class="description" jstcache="0"> <p class="todo" jsdisplay="!descript ion" jstcache="28">Undocumented.</p> <p jsdisplay="description" jsvalues=".inner HTML: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 jsT emplate *transclude* --> <div id="valueTemplate" 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"> ( <sp an class="optional" jsdisplay="optional" jstcache="46">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="38"> Undocumented. </dd> <dd jsdisplay="$this.descri ption" jsvalues=".innerHTML:$this.description" jstcache="39" style="display: non e; "> Description of this parameter from the json schema. </dd> <!-- OBJECT PROP ERTIES --> <dd jsdisplay="shouldExpandObject($this)" jstcache="40" 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="38"> Undocumented. </dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.description" jstcache=" 39" style="display: none; "> Description of this parameter from the json schema. </dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="shouldExpandObject($this)" jstc ache="40" 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="38"> Undocument ed. </dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.descripti on" jstcache="39" style="display: none; "> Description of this parameter from th e json schema. </dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="shouldExpandObjec t($this)" jstcache="40" 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="3"> <a jsvalues=".name:'method-' + name" jstcache="18" name ="method-getAllInWindow"></a> <!-- method-anchor --> <h4 jscontent="name" jstcac he="16">getAllInWindow</h4> <div class="summary" jstcache="0"><span jsdisplay="r eturns" jscontent="getTypeName(returns)" jstcache="25" style="display: none; ">v oid</span> <!-- Note: intentionally longer 80 columns --> <span jscontent="getFu llyQualifiedFunctionName($this)" jstcache="26">chrome.tabs.getAllInWindow</span> (<span jsselect="parameters" jsvalues="class:optional ? 'optional' : ''" jstcach e="27" jsinstance="0" class="optional"><span jsdisplay="$index" jstcache="33" st yle="display: none; ">, </span><span jscontent="getTypeName($this)" jstcache="34 ">integer</span> <var jstcache="0"><span jscontent="name" jstcache="16">windowId </span></var></span><span jsselect="parameters" jsvalues="class:optional ? 'opti onal' : ''" jstcache="27" jsinstance="*1" class="null"><span jsdisplay="$index" jstcache="33">, </span><span jscontent="getTypeName($this)" jstcache="34">functi on</span> <var jstcache="0"><span jscontent="name" jstcache="16">callback</span> </var></span>)</div> <div class="description" jstcache="0"> <p class="todo" jsdi splay="!description" jstcache="28">Undocumented.</p> <p jsdisplay="description" jsvalues=".innerHTML:description" jstcache="29" style="display: none; "> A descr iption 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 e lsewhere via jsTemplate *transclude* --> <div id="valueTemplate" jstcache="0"> < dt jstcache="0"> <var jsdisplay="$this.name" jscontent="$this.name" jstcache="45 ">windowId</var> <em jstcache="0"> <!-- TYPE --> <div style="display:inline" jst cache="0"> ( <span class="optional" 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"> 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">integer</span> </span> </span> ) </div> </em> </dt> <dd class="tod o" jsdisplay="!$this.description" jstcache="38"> Undocumented. </dd> <dd jsdispl ay="$this.description" jsvalues=".innerHTML:$this.description" jstcache="39" sty le="display: none; "> Description of this parameter from the json schema. </dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="shouldExpandObject($this)" jstcache="4 0" style="display: none; "> <dl jstcache="0"> <div jsselect="getPropertyListFrom Object($this)" jstcache="10"> <div transclude="valueTemplate" jstcache="17"> </d iv> </div> </dl> </dd> </div> <!-- /VALUE --> </div><div jsselect="parameters" j stcache="35" jsinstance="*1"> <!-- VALUE: This is a subtemplate that is used els ewhere via jsTemplate *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" 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">function</span> </span> </span> ) </div> </e m> </dt> <dd class="todo" jsdisplay="!$this.description" jstcache="38"> Undocume nted. </dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.descrip tion" jstcache="39" style="display: none; "> Description of this parameter from the json schema. </dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="shouldExpandObj ect($this)" jstcache="40" 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> </dl > <!-- RETURNS --> <h4 jsdisplay="returns" jstcache="30" style="display: none; " >Returns</h4> <dl jstcache="0"> <div jsselect="returns" jstcache="36" style="dis play: 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">array of Tab tabs</span >) <span class="subdued" jstcache="0">{...}</span>);</pre> <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 s</var> <em jstcache="0"> <!-- TYPE --> <div style="display:inline" jstcache="0" > ( <span class="optional" jsdisplay="optional" jstcache="46" style="display: no ne; ">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=""> array of <span jssel ect="items" jstcache="52"><span jstcache="0"> <span jsdisplay="getTypeRef($this) " jstcache="47" 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" sty le="display: none; "> <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">integer</span> </span> </span></ span> </span> <span jsdisplay="!isArray($this)" jscontent="getTypeName($this)" j stcache="51" style="display: none; ">integer</span> </span> </span> ) </div> </e m> </dt> <dd class="todo" jsdisplay="!$this.description" jstcache="38"> Undocume nted. </dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.descrip tion" jstcache="39" style="display: none; "> Description of this parameter from the json schema. </dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="shouldExpandObj ect($this)" jstcache="40" style="display: none; "> <dl jstcache="0"> <div jssele ct="getPropertyListFromObject($this)" jstcache="10"> <div transclude="valueTempl ate" jstcache="17"> </div> </div> </dl> </dd> </div> </div> </dl> </div> </div> </div> <!-- /description --> </div><div class="apiItem" jsselect="functions" jst cache="11" jsinstance="4"> <a jsvalues=".name:'method-' + name" jstcache="18" na me="method-create"></a> <!-- method-anchor --> <h4 jscontent="name" jstcache="16 ">create</h4> <div class="summary" jstcache="0"><span jsdisplay="returns" jscont ent="getTypeName(returns)" jstcache="25" style="display: none; ">void</span> <!- - Note: intentionally longer 80 columns --> <span jscontent="getFullyQualifiedFu nctionName($this)" jstcache="26">chrome.tabs.create</span>(<span jsselect="param eters" 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">object</span> <var jstca che="0"><span jscontent="name" jstcache="16">createProperties</span></var></span ><span jsselect="parameters" jsvalues="class:optional ? 'optional' : ''" jstcach e="27" jsinstance="*1" 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 class="description" jstcache="0"> <p class="todo" jsdisplay="!descrip tion" jstcache="28">Undocumented.</p> <p jsdisplay="description" jsvalues=".inne rHTML:description" jstcache="29" style="display: none; "> A description from the json schema def of the function goes here. </p> <!-- PARAMETERS --> <h4 jstcach e="0">Parameters</h4> <dl jstcache="0"> <div jsselect="parameters" jstcache="35" jsinstance="0"> <!-- VALUE: This is a subtemplate that is used elsewhere via js Template *transclude* --> <div id="valueTemplate" jstcache="0"> <dt jstcache="0" > <var jsdisplay="$this.name" jscontent="$this.name" jstcache="45">createPropert ies</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">object</span> </span> </span> ) </div> </em> </dt > <dd class="todo" jsdisplay="!$this.description" jstcache="38"> Undocumented. < /dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.description" j stcache="39" style="display: none; "> Description of this parameter from the jso n schema. </dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="shouldExpandObject($th is)" jstcache="40"> <dl jstcache="0"> <div jsselect="getPropertyListFromObject($ this)" jstcache="10" jsinstance="0"> <div jstcache="0"> <dt jstcache="0"> <var j sdisplay="$this.name" jscontent="$this.name" jstcache="45">windowId</var> <em js tcache="0"> <!-- TYPE --> <div style="display:inline" jstcache="0"> ( <span clas s="optional" jsdisplay="optional" jstcache="46" style="">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="38"> Undocumented. </dd> <dd jsdisplay="$this.desc ription" jsvalues=".innerHTML:$this.description" jstcache="39" style="display: n one; "> Description of this parameter from the json schema. </dd> <!-- OBJECT PR OPERTIES --> <dd jsdisplay="shouldExpandObject($this)" jstcache="40" 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><div jsselect="getPropertyListFromObject($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"> <!-- TY PE --> <div style="display:inline" jstcache="0"> ( <span class="optional" jsdisp lay="optional" jstcache="46" style="">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="display: none; "> array of <span jsselect="items" jstcache="52"><span t ransclude="typeTemplate" jstcache="53"></span></span> </span> <span jsdisplay="! isArray($this)" jscontent="getTypeName($this)" jstcache="51">integer</span> </sp an> </span> ) </div> </em> </dt> <dd class="todo" jsdisplay="!$this.description" jstcache="38"> Undocumented. </dd> <dd jsdisplay="$this.description" jsvalues=" .innerHTML:$this.description" jstcache="39" style="display: none; "> Description of this parameter from the json schema. </dd> <!-- OBJECT PROPERTIES --> <dd js display="shouldExpandObject($this)" jstcache="40" style="display: none; "> <dl j stcache="0"> <div jsselect="getPropertyListFromObject($this)" jstcache="10"> <di v transclude="valueTemplate" jstcache="17"> </div> </div> </dl> </dd> </div> </d iv><div jsselect="getPropertyListFromObject($this)" jstcache="10" jsinstance="2" > <div jstcache="0"> <dt jstcache="0"> <var jsdisplay="$this.name" jscontent="$t his.name" jstcache="45">url</var> <em jstcache="0"> <!-- TYPE --> <div style="di splay:inline" jstcache="0"> ( <span class="optional" jsdisplay="optional" jstcac he="46" style="">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">string</span> </span> </span> ) </div> < /em> </dt> <dd class="todo" jsdisplay="!$this.description" jstcache="38"> Undocu mented. </dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.descr iption" jstcache="39" style="display: none; "> Description of this parameter fro m the json schema. </dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="shouldExpandO bject($this)" jstcache="40" 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><div jsselect="getP ropertyListFromObject($this)" jstcache="10" jsinstance="*3"> <div jstcache="0"> <dt jstcache="0"> <var jsdisplay="$this.name" jscontent="$this.name" jstcache="4 5">selected</var> <em jstcache="0"> <!-- TYPE --> <div style="display:inline" js tcache="0"> ( <span class="optional" jsdisplay="optional" jstcache="46" style="" >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="38"> Undocumented. </dd> < dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.description" jstcach e="39" style="display: none; "> Description of this parameter from the json sche ma. </dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="shouldExpandObject($this)" j stcache="40" style="display: none; "> <dl jstcache="0"> <div jsselect="getProper tyListFromObject($this)" jstcache="10"> <div transclude="valueTemplate" jstcache ="17"> </div> </div> </dl> </dd> </div> </div> </dl> </dd> </div> <!-- /VALUE -- > </div><div jsselect="parameters" jstcache="35" jsinstance="*1"> <!-- VALUE: Th is is a subtemplate that is used elsewhere via jsTemplate *transclude* --> <div id="valueTemplate" jstcache="0"> <dt jstcache="0"> <var jsdisplay="$this.name" j scontent="$this.name" jstcache="45">callback</var> <em jstcache="0"> <!-- TYPE - -> <div style="display:inline" jstcache="0"> ( <span class="optional" jsdisplay= "optional" jstcache="46">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="3 8"> Undocumented. </dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML:$ this.description" jstcache="39" style="display: none; "> Description of this par ameter from the json schema. </dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="sho uldExpandObject($this)" jstcache="40" 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">Tab tab</span>) <span class="subdued" jstcache="0">{...}</span>);</pre> <dl jstcache="0"> <div jsselect="parameters" jstcache="35" jsinstance="*0"> <div jstcache="0"> <dt jstc ache="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="getTyp eRef($this)" jstcache="47" 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)" jstcac he="48" style="display: none; "> <span jsdisplay="isArray($this)" jstcache="50" style="display: none; "> array of <span jsselect="items" jstcache="52"><span tra nsclude="typeTemplate" jstcache="53"></span></span> </span> <span jsdisplay="!is Array($this)" jscontent="getTypeName($this)" jstcache="51">integer</span> </span > </span> ) </div> </em> </dt> <dd class="todo" jsdisplay="!$this.description" j stcache="38"> Undocumented. </dd> <dd jsdisplay="$this.description" jsvalues=".i nnerHTML:$this.description" jstcache="39" style="display: none; "> Description o f this parameter from the json schema. </dd> <!-- OBJECT PROPERTIES --> <dd jsdi splay="shouldExpandObject($this)" jstcache="40" 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> </div> </div> </div> <!-- /description --> </div><div class="apiItem" js select="functions" jstcache="11" jsinstance="5"> <a jsvalues=".name:'method-' + name" jstcache="18" name="method-update"></a> <!-- method-anchor --> <h4 jsconte nt="name" jstcache="16">update</h4> <div class="summary" jstcache="0"><span jsdi splay="returns" jscontent="getTypeName(returns)" jstcache="25" style="display: n one; ">void</span> <!-- Note: intentionally longer 80 columns --> <span jsconten t="getFullyQualifiedFunctionName($this)" jstcache="26">chrome.tabs.update</span> (<span jsselect="parameters" jsvalues="class:optional ? 'optional' : ''" jstcach e="27" jsinstance="0" class="null"><span jsdisplay="$index" jstcache="33" style= "display: none; ">, </span><span jscontent="getTypeName($this)" jstcache="34">in teger</span> <var jstcache="0"><span jscontent="name" jstcache="16">tabId</span> </var></span><span jsselect="parameters" jsvalues="class:optional ? 'optional' : ''" jstcache="27" jsinstance="1" class="null"><span jsdisplay="$index" jstcache ="33">, </span><span jscontent="getTypeName($this)" jstcache="34">object</span> <var jstcache="0"><span jscontent="name" jstcache="16">updateProperties</span></ var></span><span jsselect="parameters" jsvalues="class:optional ? 'optional' : ' '" jstcache="27" jsinstance="*2" class="optional"><span jsdisplay="$index" jstca che="33">, </span><span jscontent="getTypeName($this)" jstcache="34">function</s pan> <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 jsdisplay="description" jsval ues=".innerHTML:description" jstcache="29" style="display: none; "> A descriptio n from the json schema def of the function goes here. </p> <!-- PARAMETERS --> < h4 jstcache="0">Parameters</h4> <dl jstcache="0"> <div jsselect="parameters" jst cache="35" jsinstance="0"> <!-- VALUE: This is a subtemplate that is used elsewh ere via jsTemplate *transclude* --> <div id="valueTemplate" 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="38"> Undocumented. < /dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.description" j stcache="39" style="display: none; "> Description of this parameter from the jso n schema. </dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="shouldExpandObject($th is)" jstcache="40" 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 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">updateProperties</var> <em jstcache="0"> <!-- TYPE --> <div style ="display:inline" jstcache="0"> ( <span class="optional" jsdisplay="optional" js tcache="46" style="display: none; ">optional</span> <span id="typeTemplate" jstc ache="0"> <span jsdisplay="getTypeRef($this)" jstcache="47" style="display: none ; "> <a jsvalues=".href: getTypeRefPage($this) + '#type-' + getTypeRef($this)" j scontent="getTypeRef($this)" jstcache="49"> Type</a> </span> <span jsdisplay="!g etTypeRef($this)" jstcache="48"> <span jsdisplay="isArray($this)" jstcache="50" style="display: none; "> array of <span jsselect="items" jstcache="52"><span tra nsclude="typeTemplate" jstcache="53"></span></span> </span> <span jsdisplay="!is Array($this)" jscontent="getTypeName($this)" jstcache="51">object</span> </span> </span> ) </div> </em> </dt> <dd class="todo" jsdisplay="!$this.description" js tcache="38"> Undocumented. </dd> <dd jsdisplay="$this.description" jsvalues=".in nerHTML:$this.description" jstcache="39" style="display: none; "> Description of this parameter from the json schema. </dd> <!-- OBJECT PROPERTIES --> <dd jsdis play="shouldExpandObject($this)" jstcache="40"> <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">url</var> <em jstcache="0"> <!-- TYPE --> <div style="display:inline" jst cache="0"> ( <span class="optional" jsdisplay="optional" jstcache="46" style=""> optional</span> <span id="typeTemplate" jstcache="0"> <span jsdisplay="getTypeRe f($this)" jstcache="47" style="display: none; "> <a jsvalues=".href: getTypeRefP age($this) + '#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcach e="49"> Type</a> </span> <span jsdisplay="!getTypeRef($this)" jstcache="48"> <sp an jsdisplay="isArray($this)" jstcache="50" style="display: none; "> array of <s pan 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 cl ass="todo" jsdisplay="!$this.description" jstcache="38"> Undocumented. </dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.description" jstcache= "39" style="display: none; "> Description of this parameter from the json schema . </dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="shouldExpandObject($this)" jst cache="40" 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="*1"> <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"> ( <sp an class="optional" jsdisplay="optional" jstcache="46" style="">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">boolean</span> </span> </span> ) </div> </em> </dt> <dd class="todo" jsdi splay="!$this.description" jstcache="38"> Undocumented. </dd> <dd jsdisplay="$th is.description" jsvalues=".innerHTML:$this.description" jstcache="39" style="dis play: none; "> Description of this parameter from the json schema. </dd> <!-- OB JECT PROPERTIES --> <dd jsdisplay="shouldExpandObject($this)" jstcache="40" 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> </dl> </dd> </div> <!-- /VALUE --> </div><div jsse lect="parameters" jstcache="35" jsinstance="*2"> <!-- 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">callback</var> <em jstcache="0"> <!-- TYPE --> <div style="di splay:inline" jstcache="0"> ( <span class="optional" jsdisplay="optional" jstcac he="46">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">function</span> </span> </span> ) </div> </em> </ dt> <dd class="todo" jsdisplay="!$this.description" jstcache="38"> Undocumented. </dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.description" jstcache="39" style="display: none; "> Description of this parameter from the j son schema. </dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="shouldExpandObject($ this)" jstcache="40" style="display: none; "> <dl jstcache="0"> <div jsselect="g etPropertyListFromObject($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; ">Retu rns</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 js select="getCallbackParameters(parameters)" jstcache="37"> <h4 jstcache="0">Callb ack 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> <!-- Not e: intentionally longer 80 columns --> <pre jstcache="0">function(<span jsconten t="getSignatureString(parameters)" jstcache="32"></span>) <span class="subdued" jstcache="0">{...}</span>);</pre> <dl jstcache="0"> <div jsselect="parameters" j stcache="35" jsinstance="*0" style="display: none; "> <div transclude="valueTemp late" jstcache="17"> </div> </div> </dl> </div> </div> </div> <!-- /description --> </div><div class="apiItem" jsselect="functions" jstcache="11" jsinstance="6" > <a jsvalues=".name:'method-' + name" jstcache="18" name="method-move"></a> <!- - method-anchor --> <h4 jscontent="name" jstcache="16">move</h4> <div class="sum mary" jstcache="0"><span jsdisplay="returns" jscontent="getTypeName(returns)" js tcache="25" style="display: none; ">void</span> <!-- Note: intentionally longer 80 columns --> <span jscontent="getFullyQualifiedFunctionName($this)" jstcache=" 26">chrome.tabs.move</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="getTypeNa me($this)" jstcache="34">integer</span> <var jstcache="0"><span jscontent="name" jstcache="16">tabId</span></var></span><span jsselect="parameters" jsvalues="cl ass:optional ? 'optional' : ''" jstcache="27" jsinstance="1" class="null"><span jsdisplay="$index" jstcache="33">, </span><span jscontent="getTypeName($this)" j stcache="34">object</span> <var jstcache="0"><span jscontent="name" jstcache="16 ">moveProperties</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" jstcache= "16">callback</span></var></span>)</div> <div class="description" jstcache="0"> <p class="todo" jsdisplay="!description" jstcache="28">Undocumented.</p> <p jsdi splay="description" jsvalues=".innerHTML:description" jstcache="29" style="displ ay: 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 subtem plate that is used elsewhere via jsTemplate *transclude* --> <div id="valueTempl ate" jstcache="0"> <dt jstcache="0"> <var jsdisplay="$this.name" jscontent="$thi s.name" jstcache="45">tabId</var> <em jstcache="0"> <!-- TYPE --> <div style="di splay:inline" jstcache="0"> ( <span class="optional" jsdisplay="optional" jstcac he="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)" 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">integer</span> </span> </ span> ) </div> </em> </dt> <dd class="todo" jsdisplay="!$this.description" jstca che="38"> Undocumented. </dd> <dd jsdisplay="$this.description" jsvalues=".inner HTML:$this.description" jstcache="39" style="display: none; "> Description of th is parameter from the json schema. </dd> <!-- OBJECT PROPERTIES --> <dd jsdispla y="shouldExpandObject($this)" jstcache="40" style="display: none; "> <dl jstcach e="0"> <div jsselect="getPropertyListFromObject($this)" jstcache="10"> <div tran sclude="valueTemplate" jstcache="17"> </div> </div> </dl> </dd> </div> <!-- /VAL UE --> </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="$this.nam e" jscontent="$this.name" jstcache="45">moveProperties</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="display: none; "> <a jsvalues=".href: getTypeRefPage($this) + '#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="49"> Type</a> </sp an> <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> </spa n> <span jsdisplay="!isArray($this)" jscontent="getTypeName($this)" jstcache="51 ">object</span> </span> </span> ) </div> </em> </dt> <dd class="todo" jsdisplay= "!$this.description" jstcache="38"> Undocumented. </dd> <dd jsdisplay="$this.des cription" jsvalues=".innerHTML:$this.description" jstcache="39" style="display: none; "> Description of this parameter from the json schema. </dd> <!-- OBJECT P ROPERTIES --> <dd jsdisplay="shouldExpandObject($this)" jstcache="40"> <dl jstca che="0"> <div jsselect="getPropertyListFromObject($this)" jstcache="10" jsinstan ce="0"> <div jstcache="0"> <dt jstcache="0"> <var jsdisplay="$this.name" jsconte nt="$this.name" jstcache="45">windowId</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">integer</span> </span> </span > ) </div> </em> </dt> <dd class="todo" jsdisplay="!$this.description" jstcache= "38"> Undocumented. </dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML :$this.description" jstcache="39" style="display: none; "> Description of this p arameter from the json schema. </dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="s houldExpandObject($this)" jstcache="40" style="display: none; "> <dl jstcache="0 "> <div jsselect="getPropertyListFromObject($this)" jstcache="10"> <div transclu de="valueTemplate" jstcache="17"> </div> </div> </dl> </dd> </div> </div><div js select="getPropertyListFromObject($this)" jstcache="10" jsinstance="*1"> <div js tcache="0"> <dt jstcache="0"> <var jsdisplay="$this.name" jscontent="$this.name" jstcache="45">index</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">integer</span> </span> </span> ) </div> </em> </dt> <dd class="todo" jsdisplay="!$this.description" jstcache="38 "> Undocumented. </dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML:$t his.description" jstcache="39" style="display: none; "> Description of this para meter from the json schema. </dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="shou ldExpandObject($this)" jstcache="40" style="display: none; "> <dl jstcache="0"> <div jsselect="getPropertyListFromObject($this)" jstcache="10"> <div transclude= "valueTemplate" jstcache="17"> </div> </div> </dl> </dd> </div> </div> </dl> </d d> </div> <!-- /VALUE --> </div><div jsselect="parameters" jstcache="35" jsinsta nce="*2"> <!-- VALUE: This is a subtemplate that is used elsewhere via jsTemplat e *transclude* --> <div id="valueTemplate" jstcache="0"> <dt jstcache="0"> <var jsdisplay="$this.name" jscontent="$this.name" jstcache="45">callback</var> <em j stcache="0"> <!-- TYPE --> <div style="display:inline" jstcache="0"> ( <span cla ss="optional" jsdisplay="optional" jstcache="46">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">function </span> </span> </span> ) </div> </em> </dt> <dd class="todo" jsdisplay="!$this. description" jstcache="38"> Undocumented. </dd> <dd jsdisplay="$this.description " jsvalues=".innerHTML:$this.description" jstcache="39" style="display: none; "> Description of this parameter from the json schema. </dd> <!-- OBJECT PROPERTIE S --> <dd jsdisplay="shouldExpandObject($this)" jstcache="40" style="display: no ne; "> <dl jstcache="0"> <div jsselect="getPropertyListFromObject($this)" jstcac he="10"> <div transclude="valueTemplate" jstcache="17"> </div> </div> </dl> </dd > </div> <!-- /VALUE --> </div> </dl> <!-- RETURNS --> <h4 jsdisplay="returns" j stcache="30" style="display: none; ">Returns</h4> <dl jstcache="0"> <div jsselec t="returns" jstcache="36" style="display: none; "> <div transclude="valueTemplat e" jstcache="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"></span>) <span class="subdued" jstcache="0">{...}</span>);</pre> <dl js tcache="0"> <div jsselect="parameters" jstcache="35" jsinstance="*0" style="disp lay: none; "> <div transclude="valueTemplate" jstcache="17"> </div> </div> </dl> </div> </div> </div> <!-- /description --> </div><div class="apiItem" jsselect= "functions" jstcache="11" jsinstance="7"> <a jsvalues=".name:'method-' + name" j stcache="18" name="method-remove"></a> <!-- method-anchor --> <h4 jscontent="nam e" jstcache="16">remove</h4> <div class="summary" jstcache="0"><span jsdisplay=" returns" jscontent="getTypeName(returns)" jstcache="25" style="display: none; "> void</span> <!-- Note: intentionally longer 80 columns --> <span jscontent="getF ullyQualifiedFunctionName($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="di splay: none; ">, </span><span jscontent="getTypeName($this)" jstcache="34">integ er</span> <var jstcache="0"><span jscontent="name" jstcache="16">tabId</span></v ar></span><span jsselect="parameters" jsvalues="class:optional ? 'optional' : '' " jstcache="27" jsinstance="*1" class="optional"><span jsdisplay="$index" jstcac he="33">, </span><span jscontent="getTypeName($this)" jstcache="34">function</sp an> <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 jsdisplay="description" jsvalu es=".innerHTML:description" jstcache="29" style="display: none; "> A description from the json schema def of the function goes here. </p> <!-- PARAMETERS --> <h 4 jstcache="0">Parameters</h4> <dl jstcache="0"> <div jsselect="parameters" jstc ache="35" jsinstance="0"> <!-- VALUE: This is a subtemplate that is used elsewhe re via jsTemplate *transclude* --> <div id="valueTemplate" jstcache="0"> <dt jst cache="0"> <var jsdisplay="$this.name" jscontent="$this.name" jstcache="45">tabI d</var> <em jstcache="0"> <!-- TYPE --> <div style="display:inline" jstcache="0" > ( <span class="optional" jsdisplay="optional" jstcache="46">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="38"> Undocumented. </dd> <dd jsdisplay="$this .description" jsvalues=".innerHTML:$this.description" jstcache="39" style="displ ay: none; "> Description of this parameter from the json schema. </dd> <!-- OBJE CT PROPERTIES --> <dd jsdisplay="shouldExpandObject($this)" jstcache="40" style= "display: none; "> <dl jstcache="0"> <div jsselect="getPropertyListFromObject($t his)" jstcache="10"> <div 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 vi a jsTemplate *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">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">function</span> </span> </span> ) </div> </em> </dt> <dd class="todo" jsdispl ay="!$this.description" jstcache="38"> Undocumented. </dd> <dd jsdisplay="$this. description" jsvalues=".innerHTML:$this.description" jstcache="39" style="displa y: none; "> Description of this parameter from the json schema. </dd> <!-- OBJEC T PROPERTIES --> <dd jsdisplay="shouldExpandObject($this)" jstcache="40" style=" display: none; "> <dl jstcache="0"> <div jsselect="getPropertyListFromObject($th is)" 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="returns" jstcache="36" style="display: none; "> <div transclude="v alueTemplate" jstcache="17"> </div> </div> </dl> <!-- CALLBACK --> <div js display="hasCallback(parameters)" jstcache="31"> <div jsselect="getCallbackParam eters(parameters)" jstcache="37"> <h4 jstcache="0">Callback function</h4> <p jst cache="0"> If you specify the <em jstcache="0">callback</em> parameter, it shoul d specify a function that looks like this: </p> <!-- Note: intentionally longer 80 columns --> <pre jstcache="0">function(<span jscontent="getSignatureString(pa rameters)" 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" jstcache="17"> </d iv> </div> </dl> </div> </div> </div> <!-- /description --> </div><div class="ap iItem" jsselect="functions" jstcache="11" jsinstance="8"> <a jsvalues=".name:'me thod-' + name" jstcache="18" name="method-detectLanguage"></a> <!-- method-ancho r --> <h4 jscontent="name" jstcache="16">detectLanguage</h4> <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.detectLanguage</span>(<span jsselect="parameters" jsvalues="class:op tional ? 'optional' : ''" jstcache="27" jsinstance="0" class="optional"><span js display="$index" jstcache="33" style="display: none; ">, </span><span jscontent= "getTypeName($this)" jstcache="34">integer</span> <var jstcache="0"><span jscont ent="name" jstcache="16">tabId</span></var></span><span jsselect="parameters" js values="class:optional ? 'optional' : ''" jstcache="27" jsinstance="*1" class="n ull"><span jsdisplay="$index" jstcache="33">, </span><span jscontent="getTypeNam e($this)" jstcache="34">function</span> <var jstcache="0"><span jscontent="name" jstcache="16">callback</span></var></span>)</div> <div class="description" jstc ache="0"> <p class="todo" jsdisplay="!description" jstcache="28" style="display: none; ">Undocumented.</p> <p jsdisplay="description" jsvalues=".innerHTML:descr iption" jstcache="29">detect language of tab.</p> <!-- PARAMETERS --> <h4 jstcac he="0">Parameters</h4> <dl jstcache="0"> <div jsselect="parameters" jstcache="35 " jsinstance="0"> <!-- 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">tabId</var> <em jstcache="0"> <!-- TYPE --> <div style="display:inline" jstcache="0"> ( <spa n class="optional" jsdisplay="optional" jstcache="46">optional</span> <span id=" typeTemplate" jstcache="0"> <span jsdisplay="getTypeRef($this)" jstcache="47" st yle="display: none; "> <a jsvalues=".href: getTypeRefPage($this) + '#type-' + ge tTypeRef($this)" jscontent="getTypeRef($this)" jstcache="49"> Type</a> </span> < span jsdisplay="!getTypeRef($this)" jstcache="48"> <span jsdisplay="isArray($thi s)" jstcache="50" style="display: none; "> array of <span jsselect="items" jstca che="52"><span transclude="typeTemplate" jstcache="53"></span></span> </span> <s pan jsdisplay="!isArray($this)" jscontent="getTypeName($this)" jstcache="51">int eger</span> </span> </span> ) </div> </em> </dt> <dd class="todo" jsdisplay="!$t his.description" jstcache="38"> Undocumented. </dd> <dd jsdisplay="$this.descrip tion" jsvalues=".innerHTML:$this.description" jstcache="39" style="display: none ; "> Description of this parameter from the json schema. </dd> <!-- OBJECT PROPE RTIES --> <dd jsdisplay="shouldExpandObject($this)" jstcache="40" style="display : none; "> <dl jstcache="0"> <div jsselect="getPropertyListFromObject($this)" js tcache="10"> <div transclude="valueTemplate" jstcache="17"> </div> </div> </dl> </dd> </div> <!-- /VALUE --> </div><div jsselect="parameters" jstcache="35" jsin stance="*1"> <!-- VALUE: This is a subtemplate that is used elsewhere via jsTemp late *transclude* --> <div id="valueTemplate" jstcache="0"> <dt jstcache="0"> <v ar jsdisplay="$this.name" jscontent="$this.name" jstcache="45">callback</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">function</span> </span> </span> ) </div> </em> </dt> <dd clas s="todo" jsdisplay="!$this.description" jstcache="38"> Undocumented. </dd> <dd j sdisplay="$this.description" jsvalues=".innerHTML:$this.description" jstcache="3 9" style="display: none; "> Description of this parameter from the json schema. </dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="shouldExpandObject($this)" jstca che="40" style="display: none; "> <dl jstcache="0"> <div jsselect="getPropertyLi stFromObject($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="returns" jstcache="36" style="display: none; "> <d iv 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">string language</span>) <span class="su bdued" jstcache="0">{...}</span>);</pre> <dl jstcache="0"> <div jsselect="parame ters" jstcache="35" jsinstance="*0"> <div jstcache="0"> <dt jstcache="0"> <var j sdisplay="$this.name" jscontent="$this.name" jstcache="45">language</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">string</span> </span> </span> ) </div> </em> </dt> <dd class="tod o" jsdisplay="!$this.description" jstcache="38"> Undocumented. </dd> <dd jsdispl ay="$this.description" jsvalues=".innerHTML:$this.description" jstcache="39" sty le="display: none; "> Description of this parameter from the json schema. </dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="shouldExpandObject($this)" jstcache="4 0" style="display: none; "> <dl jstcache="0"> <div jsselect="getPropertyListFrom Object($this)" jstcache="10"> <div transclude="valueTemplate" jstcache="17"> </d iv> </div> </dl> </dd> </div> </div> </dl> </div> </div> </div> <!-- /descriptio n --> </div><div class="apiItem" jsselect="functions" jstcache="11" jsinstance=" *9"> <a jsvalues=".name:'method-' + name" jstcache="18" name="method-captureVisi bleTab"></a> <!-- method-anchor --> <h4 jscontent="name" jstcache="16">captureVi sibleTab</h4> <div class="summary" jstcache="0"><span jsdisplay="returns" jscont ent="getTypeName(returns)" jstcache="25" style="display: none; ">void</span> <!- - Note: intentionally longer 80 columns --> <span jscontent="getFullyQualifiedFu nctionName($this)" jstcache="26">chrome.tabs.captureVisibleTab</span>(<span jsse lect="parameters" jsvalues="class:optional ? 'optional' : ''" jstcache="27" jsin stance="0" class="optional"><span jsdisplay="$index" jstcache="33" style="displa y: none; ">, </span><span jscontent="getTypeName($this)" jstcache="34">integer</ span> <var jstcache="0"><span jscontent="name" jstcache="16">windowId</span></va r></span><span jsselect="parameters" jsvalues="class:optional ? 'optional' : ''" jstcache="27" jsinstance="*1" class="null"><span jsdisplay="$index" jstcache="3 3">, </span><span jscontent="getTypeName($this)" jstcache="34">function</span> < var jstcache="0"><span jscontent="name" jstcache="16">callback</span></var></spa n>)</div> <div class="description" jstcache="0"> <p class="todo" jsdisplay="!des cription" jstcache="28" style="display: none; ">Undocumented.</p> <p jsdisplay=" description" jsvalues=".innerHTML:description" jstcache="29">Captures the visibl e area of the visible tab in the given window.</p> <!-- PARAMETERS --> <h4 jstca che="0">Parameters</h4> <dl jstcache="0"> <div jsselect="parameters" jstcache="3 5" 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" 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">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" >integer</span> </span> </span> ) </div> </em> </dt> <dd class="todo" jsdisplay= "!$this.description" jstcache="38" style="display: none; "> Undocumented. </dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.description" jstcac he="39">The target window. If <var jstcache="0">null</var> or <var jstcache="0"> undefined</var>, the 'current' window will be assumed.</dd> <!-- OBJECT PROPERTI ES --> <dd jsdisplay="shouldExpandObject($this)" jstcache="40" style="display: n one; "> <dl jstcache="0"> <div jsselect="getPropertyListFromObject($this)" jstca che="10"> <div transclude="valueTemplate" jstcache="17"> </div> </div> </dl> </d d> </div> <!-- /VALUE --> </div><div jsselect="parameters" jstcache="35" jsinsta nce="*1"> <!-- VALUE: This is a subtemplate that is used elsewhere via jsTemplat e *transclude* --> <div id="valueTemplate" jstcache="0"> <dt jstcache="0"> <var jsdisplay="$this.name" jscontent="$this.name" jstcache="45">callback</var> <em j stcache="0"> <!-- TYPE --> <div style="display:inline" jstcache="0"> ( <span cla ss="optional" jsdisplay="optional" jstcache="46" style="display: none; ">optiona l</span> <span id="typeTemplate" jstcache="0"> <span jsdisplay="getTypeRef($this )" jstcache="47" style="display: none; "> <a jsvalues=".href: getTypeRefPage($th is) + '#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="49"> Type</a> </span> <span jsdisplay="!getTypeRef($this)" jstcache="48"> <span jsdi splay="isArray($this)" jstcache="50" style="display: none; "> array of <span jss elect="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.description" jstcache="38"> Undocumented. </dd> <dd jsdi splay="$this.description" jsvalues=".innerHTML:$this.description" jstcache="39" style="display: none; "> Description of this parameter from the json schema. </d d> <!-- OBJECT PROPERTIES --> <dd jsdisplay="shouldExpandObject($this)" jstcache ="40" style="display: none; "> <dl jstcache="0"> <div jsselect="getPropertyListF romObject($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 js tcache="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="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">string dataUrl</span>) <span class="subdued" js tcache="0">{...}</span>);</pre> <dl jstcache="0"> <div jsselect="parameters" jst cache="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" 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">string</span> </span> </span> ) </div> </em> </dt> <dd class="todo" jsdispl ay="!$this.description" jstcache="38" style="display: none; "> Undocumented. </d d> <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.description" jst cache="39" style="">a data url encoding of the captured tab.</dd> <!-- OBJECT PR OPERTIES --> <dd jsdisplay="shouldExpandObject($this)" jstcache="40" 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> </div> </div> </div> <!-- /description --> </div> < !-- /apiItem --> </div> <!-- /apiGroup --> <!-- EVENTS --> <div jsdisplay="event s &amp;&amp; events.length &gt; 0" class="apiGroup" jstcache="7"> <a name="event s" jstcache="0"></a> <h3 id="events" jstcache="0">Events</h3> <!-- iterates over all events --> <div jsselect="events" class="apiItem" jstcache="12" jsinstance= "0"> <a jsvalues=".name:'event-' + name" jstcache="19" name="event-onCreated"></ a> <h4 jscontent="name" jstcache="16">onCreated</h4> <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">onCreated</span><span class="subdued" jstcache="0">.addList ener</span>(function(<span jscontent="getSignatureString(parameters)" jstcache=" 32">Tab tab</span>) <span class="subdued" jstcache="0">{...}</span>); </div> <di v class="description" jstcache="0"> <p class="todo" jsdisplay="!description" jst cache="28">Undocumented.</p> <p jsdisplay="description" jsvalues=".innerHTML:des cription" jstcache="29" style="display: none; "> A description from the json sch ema def of the event goes here. </p> <!-- PARAMETERS --> <h4 jstcache="0">Parame ters</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">tab</var> <em jstcache="0"> <!-- TYPE --> <div style ="display:inline" jstcache="0"> ( <span class="optional" jsdisplay="optional" js tcache="46" style="display: none; ">optional</span> <span id="typeTemplate" jstc ache="0"> <span jsdisplay="getTypeRef($this)" jstcache="47" style=""> <a jsvalue s=".href: getTypeRefPage($this) + '#type-' + getTypeRef($this)" jscontent="getTy peRef($this)" jstcache="49" href="tabs.html#type-Tab">Tab</a> </span> <span jsdi splay="!getTypeRef($this)" jstcache="48" style="display: none; "> <span jsdispla y="isArray($this)" jstcache="50" style="display: none; "> array of <span jsselec t="items" jstcache="52"><span transclude="typeTemplate" jstcache="53"></span></s pan> </span> <span jsdisplay="!isArray($this)" jscontent="getTypeName($this)" js tcache="51">integer</span> </span> </span> ) </div> </em> </dt> <dd class="todo" jsdisplay="!$this.description" jstcache="38"> Undocumented. </dd> <dd jsdisplay ="$this.description" jsvalues=".innerHTML:$this.description" jstcache="39" style ="display: none; "> Description of this parameter from the json schema. </dd> <! -- OBJECT PROPERTIES --> <dd jsdisplay="shouldExpandObject($this)" jstcache="40" style="display: none; "> <dl jstcache="0"> <div jsselect="getPropertyListFromOb ject($this)" jstcache="10"> <div transclude="valueTemplate" jstcache="17"> </div > </div> </dl> </dd> </div> </div> </dl> </div> <!-- /decription --> </div><div jsselect="events" class="apiItem" jstcache="12" jsinstance="1"> <a jsvalues=".na me:'event-' + name" jstcache="19" name="event-onUpdated"></a> <h4 jscontent="nam e" jstcache="16">onUpdated</h4> <div class="summary" jstcache="0"> <!-- Note: in tentionally longer 80 columns --> <span jscontent="getModuleName() + '.'" class= "subdued" jstcache="23">chrome.tabs.</span><span jscontent="name" jstcache="16"> onUpdated</span><span class="subdued" jstcache="0">.addListener</span>(function( <span jscontent="getSignatureString(parameters)" jstcache="32">integer tabId, ob ject changeInfo</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">Pa rameters</h4> <dl jstcache="0"> <div jsselect="parameters" jstcache="35" jsinsta nce="0"> <div jstcache="0"> <dt jstcache="0"> <var jsdisplay="$this.name" jscont ent="$this.name" jstcache="45">tabId</var> <em jstcache="0"> <!-- TYPE --> <div style="display:inline" jstcache="0"> ( <span class="optional" jsdisplay="optiona l" 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($thi s)" jscontent="getTypeRef($this)" jstcache="49"> Type</a> </span> <span jsdispla y="!getTypeRef($this)" jstcache="48"> <span jsdisplay="isArray($this)" jstcache= "50" style="display: none; "> array of <span jsselect="items" jstcache="52"><spa n 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.descripti on" jstcache="38"> Undocumented. </dd> <dd jsdisplay="$this.description" jsvalue s=".innerHTML:$this.description" jstcache="39" style="display: none; "> Descript ion of this parameter from the json schema. </dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="shouldExpandObject($this)" jstcache="40" style="display: none; "> <d l 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" jstcache ="45">changeInfo</var> <em jstcache="0"> <!-- TYPE --> <div style="display:inlin e" jstcache="0"> ( <span class="optional" jsdisplay="optional" jstcache="46" sty le="display: none; ">optional</span> <span id="typeTemplate" jstcache="0"> <span jsdisplay="getTypeRef($this)" jstcache="47" style="display: none; "> <a jsvalue s=".href: getTypeRefPage($this) + '#type-' + getTypeRef($this)" jscontent="getTy peRef($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="typeTe mplate" jstcache="53"></span></span> </span> <span jsdisplay="!isArray($this)" j scontent="getTypeName($this)" jstcache="51">object</span> </span> </span> ) </di v> </em> </dt> <dd class="todo" jsdisplay="!$this.description" jstcache="38"> Un documented. </dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.d escription" jstcache="39" style="display: none; "> Description of this parameter from the json schema. </dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="shouldExp andObject($this)" jstcache="40" style=""> <dl jstcache="0"> <div jsselect="getPr opertyListFromObject($this)" jstcache="10" jsinstance="0"> <div jstcache="0"> <d t jstcache="0"> <var jsdisplay="$this.name" jscontent="$this.name" jstcache="45" >status</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">string</span> </span> </span> ) </div> </em> </dt> <dd class="todo" jsdisplay="!$this.description" jstcache="38"> Undocumente d. </dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.descriptio n" jstcache="39" style="display: none; "> Description of this parameter from the json schema. </dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="shouldExpandObject ($this)" jstcache="40" 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="getProper tyListFromObject($this)" jstcache="10" jsinstance="*1"> <div jstcache="0"> <dt j stcache="0"> <var jsdisplay="$this.name" jscontent="$this.name" jstcache="45">ur l</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"> 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="38"> Undocumented. </dd> <dd jsdispla y="$this.description" jsvalues=".innerHTML:$this.description" jstcache="39" styl e="display: none; "> Description of this parameter from the json schema. </dd> < !-- OBJECT PROPERTIES --> <dd jsdisplay="shouldExpandObject($this)" jstcache="40 " 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> </dl> </dd> </div> </div> </dl> </div> <!-- /decription --> </div><div jsselect="events" class="apiItem" jstcache="12" jsins tance="2"> <a jsvalues=".name:'event-' + name" jstcache="19" name="event-onMoved "></a> <h4 jscontent="name" jstcache="16">onMoved</h4> <div class="summary" jstc ache="0"> <!-- Note: intentionally longer 80 columns --> <span jscontent="getMod uleName() + '.'" class="subdued" jstcache="23">chrome.tabs.</span><span jsconten t="name" jstcache="16">onMoved</span><span class="subdued" jstcache="0">.addList ener</span>(function(<span jscontent="getSignatureString(parameters)" jstcache=" 32">integer tabId, object moveInfo</span>) <span class="subdued" jstcache="0">{. ..}</span>); </div> <div class="description" jstcache="0"> <p class="todo" jsdis play="!description" jstcache="28">Undocumented.</p> <p jsdisplay="description" j svalues=".innerHTML:description" jstcache="29" style="display: none; "> A descri ption from the json schema def of the event goes here. </p> <!-- PARAMETERS --> <h4 jstcache="0">Parameters</h4> <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">tabId</var> <em jstcache="0"> <!-- TYPE --> <div style="display:inline" jstcache="0"> ( <span class="optional" jsdisplay="optional" jstcache="46" style="display: none; ">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="38"> Undocumented. </dd> <dd jsdisplay="$this.d escription" jsvalues=".innerHTML:$this.description" jstcache="39" style="display : none; "> Description of this parameter from the json schema. </dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="shouldExpandObject($this)" jstcache="40" 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="parameters" jstcache="35" jsinstance="*1 "> <div jstcache="0"> <dt jstcache="0"> <var jsdisplay="$this.name" jscontent="$ this.name" jstcache="45">moveInfo</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="display: none; "> array of <span jsselect="items" jstcache="52"><span t ransclude="typeTemplate" jstcache="53"></span></span> </span> <span jsdisplay="! isArray($this)" jscontent="getTypeName($this)" jstcache="51">object</span> </spa n> </span> ) </div> </em> </dt> <dd class="todo" jsdisplay="!$this.description" jstcache="38"> Undocumented. </dd> <dd jsdisplay="$this.description" jsvalues=". innerHTML:$this.description" jstcache="39" style="display: none; "> Description of this parameter from the json schema. </dd> <!-- OBJECT PROPERTIES --> <dd jsd isplay="shouldExpandObject($this)" jstcache="40" style=""> <dl jstcache="0"> <di v jsselect="getPropertyListFromObject($this)" jstcache="10" jsinstance="0"> <div 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" 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)" jscont ent="getTypeRef($this)" jstcache="49"> Type</a> </span> <span jsdisplay="!getTyp eRef($this)" jstcache="48"> <span jsdisplay="isArray($this)" jstcache="50" style ="display: none; "> array of <span jsselect="items" jstcache="52"><span transclu de="typeTemplate" jstcache="53"></span></span> </span> <span jsdisplay="!isArray ($this)" jscontent="getTypeName($this)" jstcache="51">integer</span> </span> </s pan> ) </div> </em> </dt> <dd class="todo" jsdisplay="!$this.description" jstcac he="38"> Undocumented. </dd> <dd jsdisplay="$this.description" jsvalues=".innerH TML:$this.description" jstcache="39" style="display: none; "> Description of thi s parameter from the json schema. </dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay ="shouldExpandObject($this)" jstcache="40" 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.nam e" jstcache="45">fromIndex</var> <em jstcache="0"> <!-- TYPE --> <div style="dis play:inline" jstcache="0"> ( <span class="optional" jsdisplay="optional" jstcach e="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)" jscont ent="getTypeRef($this)" jstcache="49"> Type</a> </span> <span jsdisplay="!getTyp eRef($this)" jstcache="48"> <span jsdisplay="isArray($this)" jstcache="50" style ="display: none; "> array of <span jsselect="items" jstcache="52"><span transclu de="typeTemplate" jstcache="53"></span></span> </span> <span jsdisplay="!isArray ($this)" jscontent="getTypeName($this)" jstcache="51">integer</span> </span> </s pan> ) </div> </em> </dt> <dd class="todo" jsdisplay="!$this.description" jstcac he="38"> Undocumented. </dd> <dd jsdisplay="$this.description" jsvalues=".innerH TML:$this.description" jstcache="39" style="display: none; "> Description of thi s parameter from the json schema. </dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay ="shouldExpandObject($this)" jstcache="40" 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="*2"> <div jstcache="0"> <dt jstcache="0"> <var jsdisplay="$this.name" jscontent="$this.na me" jstcache="45">toIndex</var> <em jstcache="0"> <!-- TYPE --> <div style="disp lay: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)" jsconte nt="getTypeRef($this)" jstcache="49"> Type</a> </span> <span jsdisplay="!getType Ref($this)" jstcache="48"> <span jsdisplay="isArray($this)" jstcache="50" style= "display: none; "> array of <span jsselect="items" jstcache="52"><span transclud e="typeTemplate" jstcache="53"></span></span> </span> <span jsdisplay="!isArray( $this)" jscontent="getTypeName($this)" jstcache="51">integer</span> </span> </sp an> ) </div> </em> </dt> <dd class="todo" jsdisplay="!$this.description" jstcach e="38"> Undocumented. </dd> <dd jsdisplay="$this.description" jsvalues=".innerHT ML:$this.description" jstcache="39" style="display: none; "> Description of this parameter from the json schema. </dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay= "shouldExpandObject($this)" jstcache="40" style="display: none; "> <dl jstcache= "0"> <div jsselect="getPropertyListFromObject($this)" jstcache="10"> <div transc lude="valueTemplate" jstcache="17"> </div> </div> </dl> </dd> </div> </div> </dl > </dd> </div> </div> </dl> </div> <!-- /decription --> </div><div jsselect="eve nts" class="apiItem" jstcache="12" jsinstance="3"> <a jsvalues=".name:'event-' + name" jstcache="19" name="event-onSelectionChanged"></a> <h4 jscontent="name" j stcache="16">onSelectionChanged</h4> <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">onSelectionChanged</span><span class="subdued" jstcache="0">.addListener</s pan>(function(<span jscontent="getSignatureString(parameters)" jstcache="32">int eger tabId, object selectInfo</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" jsvalu es=".innerHTML:description" jstcache="29" style="display: none; "> A description from the json schema def of the event goes here. </p> <!-- PARAMETERS --> <h4 j stcache="0">Parameters</h4> <dl jstcache="0"> <div jsselect="parameters" jstcach e="35" jsinstance="0"> <div 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="38"> Undocumented. </dd> <dd jsdisplay="$this.descri ption" jsvalues=".innerHTML:$this.description" jstcache="39" style="display: non e; "> Description of this parameter from the json schema. </dd> <!-- OBJECT PROP ERTIES --> <dd jsdisplay="shouldExpandObject($this)" jstcache="40" style="displa y: none; "> <dl jstcache="0"> <div jsselect="getPropertyListFromObject($this)" j stcache="10"> <div transclude="valueTemplate" jstcache="17"> </div> </div> </dl> </dd> </div> </div><div jsselect="parameters" jstcache="35" jsinstance="*1"> <d iv jstcache="0"> <dt jstcache="0"> <var jsdisplay="$this.name" jscontent="$this. name" jstcache="45">selectInfo</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="display: none; "> <a jsvalues=".href: getTypeRefPage($this) + '#type-' + getTypeRef($this)" js content="getTypeRef($this)" jstcache="49"> Type</a> </span> <span jsdisplay="!ge tTypeRef($this)" jstcache="48"> <span jsdisplay="isArray($this)" jstcache="50" s tyle="display: none; "> array of <span jsselect="items" jstcache="52"><span tran sclude="typeTemplate" jstcache="53"></span></span> </span> <span jsdisplay="!isA rray($this)" jscontent="getTypeName($this)" jstcache="51">object</span> </span> </span> ) </div> </em> </dt> <dd class="todo" jsdisplay="!$this.description" jst cache="38"> Undocumented. </dd> <dd jsdisplay="$this.description" jsvalues=".inn erHTML:$this.description" jstcache="39" style="display: none; "> Description of this parameter from the json schema. </dd> <!-- OBJECT PROPERTIES --> <dd jsdisp lay="shouldExpandObject($this)" jstcache="40" style=""> <dl jstcache="0"> <div j sselect="getPropertyListFromObject($this)" jstcache="10" jsinstance="*0"> <div j stcache="0"> <dt jstcache="0"> <var jsdisplay="$this.name" jscontent="$this.name " jstcache="45">windowId</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">integer</span> </span> </spa n> ) </div> </em> </dt> <dd class="todo" jsdisplay="!$this.description" jstcache ="38"> Undocumented. </dd> <dd jsdisplay="$this.description" jsvalues=".innerHTM L:$this.description" jstcache="39" style="display: none; "> Description of this parameter from the json schema. </dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay=" shouldExpandObject($this)" jstcache="40" style="display: none; "> <dl jstcache=" 0"> <div jsselect="getPropertyListFromObject($this)" jstcache="10"> <div transcl ude="valueTemplate" jstcache="17"> </div> </div> </dl> </dd> </div> </div> </dl> </dd> </div> </div> </dl> </div> <!-- /decription --> </div><div jsselect="even ts" class="apiItem" jstcache="12" jsinstance="4"> <a jsvalues=".name:'event-' + name" jstcache="19" name="event-onAttached"></a> <h4 jscontent="name" jstcache=" 16">onAttached</h4> <div class="summary" jstcache="0"> <!-- Note: intentionally longer 80 columns --> <span jscontent="getModuleName() + '.'" class="subdued" js tcache="23">chrome.tabs.</span><span jscontent="name" jstcache="16">onAttached</ span><span class="subdued" jstcache="0">.addListener</span>(function(<span jscon tent="getSignatureString(parameters)" jstcache="32">integer tabId, object attach Info</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:descriptio n" jstcache="29" style="display: none; "> A description from the json schema def of the event goes here. </p> <!-- PARAMETERS --> <h4 jstcache="0">Parameters</h 4> <dl jstcache="0"> <div jsselect="parameters" jstcache="35" jsinstance="0"> <d iv 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" 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)" jsconte nt="getTypeRef($this)" jstcache="49"> Type</a> </span> <span jsdisplay="!getType Ref($this)" jstcache="48"> <span jsdisplay="isArray($this)" jstcache="50" style= "display: none; "> array of <span jsselect="items" jstcache="52"><span transclud e="typeTemplate" jstcache="53"></span></span> </span> <span jsdisplay="!isArray( $this)" jscontent="getTypeName($this)" jstcache="51">integer</span> </span> </sp an> ) </div> </em> </dt> <dd class="todo" jsdisplay="!$this.description" jstcach e="38"> Undocumented. </dd> <dd jsdisplay="$this.description" jsvalues=".innerHT ML:$this.description" jstcache="39" style="display: none; "> Description of this parameter from the json schema. </dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay= "shouldExpandObject($this)" jstcache="40" style="display: none; "> <dl jstcache= "0"> <div jsselect="getPropertyListFromObject($this)" jstcache="10"> <div transc lude="valueTemplate" jstcache="17"> </div> </div> </dl> </dd> </div> </div><div jsselect="parameters" jstcache="35" jsinstance="*1"> <div jstcache="0"> <dt jstc ache="0"> <var jsdisplay="$this.name" jscontent="$this.name" jstcache="45">attac hInfo</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 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">object</span> </span> </span> ) </div> </em> </ dt> <dd class="todo" jsdisplay="!$this.description" jstcache="38"> Undocumented. </dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.description" jstcache="39" style="display: none; "> Description of this parameter from the j son schema. </dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="shouldExpandObject($ this)" jstcache="40" style=""> <dl jstcache="0"> <div jsselect="getPropertyListF romObject($this)" jstcache="10" jsinstance="0"> <div jstcache="0"> <dt jstcache= "0"> <var jsdisplay="$this.name" jscontent="$this.name" jstcache="45">newWindowI d</var> <em jstcache="0"> <!-- TYPE --> <div style="display:inline" jstcache="0" > ( <span class="optional" jsdisplay="optional" jstcache="46" style="display: no ne; ">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="38"> Undocumented. </ dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.description" js tcache="39" style="display: none; "> Description of this parameter from the json schema. </dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="shouldExpandObject($thi s)" jstcache="40" style="display: none; "> <dl jstcache="0"> <div jsselect="getP ropertyListFromObject($this)" jstcache="10"> <div transclude="valueTemplate" jst cache="17"> </div> </div> </dl> </dd> </div> </div><div jsselect="getPropertyLis tFromObject($this)" jstcache="10" jsinstance="*1"> <div jstcache="0"> <dt jstcac he="0"> <var jsdisplay="$this.name" jscontent="$this.name" jstcache="45">newPosi tion</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 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="38"> Undocumented. </dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.description" jstcache="39" style="display: none; "> Description of this parameter from the j son schema. </dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="shouldExpandObject($ this)" jstcache="40" 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> </dd> </div> </div> </dl> </div> <!-- /decription --> </div><div jsselect="events" class="apiItem" jstcache="12" jsinstance="5"> <a jsvalues=".name:'event-' + name" jstcache="19" name="event-onDetached"></a> <h4 jscontent="name" jstcache="16">onDetached</h4> <div class="summary" jstcache="0"> <!-- Note: intentionally longer 80 columns -- > <span jscontent="getModuleName() + '.'" class="subdued" jstcache="23">chrome.t abs.</span><span jscontent="name" jstcache="16">onDetached</span><span class="su bdued" jstcache="0">.addListener</span>(function(<span jscontent="getSignatureSt ring(parameters)" jstcache="32">integer tabId, object detachInfo</span>) <span c lass="subdued" jstcache="0">{...}</span>); </div> <div class="description" jstca che="0"> <p class="todo" jsdisplay="!description" jstcache="28">Undocumented.</p > <p jsdisplay="description" jsvalues=".innerHTML:description" jstcache="29" sty le="display: none; "> A description from the json schema def of the event goes h ere. </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" 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: 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="38"> Undocumented . </dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.description " jstcache="39" style="display: none; "> Description of this parameter from the json schema. </dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="shouldExpandObject( $this)" jstcache="40" 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 jsdis play="$this.name" jscontent="$this.name" jstcache="45">detachInfo</var> <em jstc ache="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"> 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">object</span> </span> </span> ) </div> </em> </dt> <dd class="todo" jsdisplay="!$this.description" jstcache="38"> Undocumented. </dd> <dd jsdisplay ="$this.description" jsvalues=".innerHTML:$this.description" jstcache="39" style ="display: none; "> Description of this parameter from the json schema. </dd> <! -- OBJECT PROPERTIES --> <dd jsdisplay="shouldExpandObject($this)" jstcache="40" style=""> <dl jstcache="0"> <div jsselect="getPropertyListFromObject($this)" js tcache="10" jsinstance="0"> <div jstcache="0"> <dt jstcache="0"> <var jsdisplay= "$this.name" jscontent="$this.name" jstcache="45">oldWindowId</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="38"> Undocumented. </dd> <dd jsdisplay="$ this.description" jsvalues=".innerHTML:$this.description" jstcache="39" style="d isplay: none; "> Description of this parameter from the json schema. </dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="shouldExpandObject($this)" jstcache="40" 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><div jsselect="getPropertyListFromObject($this)" jstcache="10" jsinstance="*1"> <div jstcache="0"> <dt jstcache="0"> <var jsdispl ay="$this.name" jscontent="$this.name" jstcache="45">oldPosition</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="display: none; "> <a jsvalues=".href: getTypeRefPage($this) + '#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="49"> Typ e</a> </span> <span jsdisplay="!getTypeRef($this)" jstcache="48"> <span jsdispla y="isArray($this)" jstcache="50" style="display: none; "> array of <span jsselec t="items" jstcache="52"><span transclude="typeTemplate" jstcache="53"></span></s pan> </span> <span jsdisplay="!isArray($this)" jscontent="getTypeName($this)" js tcache="51">integer</span> </span> </span> ) </div> </em> </dt> <dd class="todo" jsdisplay="!$this.description" jstcache="38"> Undocumented. </dd> <dd jsdisplay ="$this.description" jsvalues=".innerHTML:$this.description" jstcache="39" style ="display: none; "> Description of this parameter from the json schema. </dd> <! -- OBJECT PROPERTIES --> <dd jsdisplay="shouldExpandObject($this)" jstcache="40" style="display: none; "> <dl jstcache="0"> <div jsselect="getPropertyListFromOb ject($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" jsinst ance="*6"> <a jsvalues=".name:'event-' + name" jstcache="19" name="event-onRemov ed"></a> <h4 jscontent="name" jstcache="16">onRemoved</h4> <div class="summary" jstcache="0"> <!-- Note: intentionally longer 80 columns --> <span jscontent="ge tModuleName() + '.'" class="subdued" jstcache="23">chrome.tabs.</span><span jsco ntent="name" jstcache="16">onRemoved</span><span class="subdued" jstcache="0">.a ddListener</span>(function(<span jscontent="getSignatureString(parameters)" jstc ache="32">integer tabId</span>) <span class="subdued" jstcache="0">{...}</span>) ; </div> <div class="description" jstcache="0"> <p class="todo" jsdisplay="!desc ription" jstcache="28">Undocumented.</p> <p jsdisplay="description" jsvalues=".i nnerHTML:description" jstcache="29" style="display: none; "> A description from the json schema def of the event goes here. </p> <!-- PARAMETERS --> <h4 jstcach e="0">Parameters</h4> <dl jstcache="0"> <div jsselect="parameters" jstcache="35" jsinstance="*0"> <div jstcache="0"> <dt jstcache="0"> <var jsdisplay="$this.nam e" 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="type Template" jstcache="0"> <span jsdisplay="getTypeRef($this)" jstcache="47" style= "display: none; "> <a jsvalues=".href: getTypeRefPage($this) + '#type-' + getTyp eRef($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">integer </span> </span> </span> ) </div> </em> </dt> <dd class="todo" jsdisplay="!$this. description" jstcache="38"> Undocumented. </dd> <dd jsdisplay="$this.description " jsvalues=".innerHTML:$this.description" jstcache="39" style="display: none; "> Description of this parameter from the json schema. </dd> <!-- OBJECT PROPERTIE S --> <dd jsdisplay="shouldExpandObject($this)" jstcache="40" 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> </dl> </div> <!-- /decription --> </div> <!-- /apiItem --> </div > <!-- /apiGroup --> <!-- TYPES --> <div jsdisplay="types &amp;&amp; types.lengt h &gt; 0" class="apiGroup" jstcache="8"> <a name="types" jstcache="0"></a> <h3 i d="types" jstcache="0">Types</h3> <!-- iterates over all types --> <div jsselect ="types" class="apiItem" jstcache="13" jsinstance="*0"> <a jsvalues=".name:'type -' + id" jstcache="20" name="type-Tab"></a> <h4 jscontent="id" jstcache="21">Tab </h4> <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="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">object</span> </span> </span> ) </div> </em> </dt> <dd class="todo" jsdispl ay="!$this.description" jstcache="38"> Undocumented. </dd> <dd jsdisplay="$this. description" jsvalues=".innerHTML:$this.description" jstcache="39" style="displa y: none; "> Description of this parameter from the json schema. </dd> <!-- OBJEC T PROPERTIES --> <dd jsdisplay="shouldExpandObject($this)" jstcache="40" style=" "> <dl jstcache="0"> <div jsselect="getPropertyListFromObject($this)" jstcache=" 10" jsinstance="0"> <div jstcache="0"> <dt jstcache="0"> <var jsdisplay="$this.n ame" 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="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">integer< /span> </span> </span> ) </div> </em> </dt> <dd class="todo" jsdisplay="!$this.d escription" jstcache="38"> Undocumented. </dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.description" jstcache="39" style="display: none; "> Description of this parameter from the json schema. </dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="shouldExpandObject($this)" jstcache="40" style="display: non e; "> <dl jstcache="0"> <div jsselect="getPropertyListFromObject($this)" jstcach e="10"> <div transclude="valueTemplate" jstcache="17"> </div> </div> </dl> </dd> </div> </div><div jsselect="getPropertyListFromObject($this)" jstcache="10" jsi nstance="1"> <div jstcache="0"> <dt jstcache="0"> <var jsdisplay="$this.name" js content="$this.name" jstcache="45">index</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">integer</spa n> </span> </span> ) </div> </em> </dt> <dd class="todo" jsdisplay="!$this.descr iption" jstcache="38"> Undocumented. </dd> <dd jsdisplay="$this.description" jsv alues=".innerHTML:$this.description" jstcache="39" style="display: none; "> Desc ription of this parameter from the json schema. </dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="shouldExpandObject($this)" jstcache="40" style="display: none; " > <dl jstcache="0"> <div jsselect="getPropertyListFromObject($this)" jstcache="1 0"> <div transclude="valueTemplate" jstcache="17"> </div> </div> </dl> </dd> </d iv> </div><div jsselect="getPropertyListFromObject($this)" jstcache="10" jsinsta nce="2"> <div jstcache="0"> <dt jstcache="0"> <var jsdisplay="$this.name" jscont ent="$this.name" jstcache="45">windowId</var> <em jstcache="0"> <!-- TYPE --> <d iv style="display:inline" jstcache="0"> ( <span class="optional" jsdisplay="opti onal" jstcache="46" style="display: none; ">optional</span> <span id="typeTempla te" jstcache="0"> <span jsdisplay="getTypeRef($this)" jstcache="47" style="displ ay: none; "> <a jsvalues=".href: getTypeRefPage($this) + '#type-' + getTypeRef($ this)" jscontent="getTypeRef($this)" jstcache="49"> Type</a> </span> <span jsdis play="!getTypeRef($this)" jstcache="48"> <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="38"> Undocumented. </dd> <dd jsdisplay="$this.description" jsva lues=".innerHTML:$this.description" jstcache="39" style="display: none; "> Descr iption of this parameter from the json schema. </dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="shouldExpandObject($this)" jstcache="40" 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="3"> <div jstcache="0"> <dt jstcache="0"> <var jsdisplay="$this.name" jsconte nt="$this.name" jstcache="45">selected</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">boolean</span> </span> </span> ) </div> </em> </dt> <dd class="todo" jsdisplay="!$this.descrip tion" jstcache="38"> Undocumented. </dd> <dd jsdisplay="$this.description" jsval ues=".innerHTML:$this.description" jstcache="39" style="display: none; "> Descri ption of this parameter from the json schema. </dd> <!-- OBJECT PROPERTIES --> < dd jsdisplay="shouldExpandObject($this)" jstcache="40" 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="4"> <div jstcache="0"> <dt jstcache="0"> <var jsdisplay="$this.name" jsconten t="$this.name" jstcache="45">url</var> <em jstcache="0"> <!-- TYPE --> <div styl e="display:inline" jstcache="0"> ( <span class="optional" jsdisplay="optional" j stcache="46" style="display: none; ">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="38"> Undocumented. </dd> <dd jsdisplay="$this.description" jsvalues=".i nnerHTML:$this.description" jstcache="39" style="display: none; "> Description o f this parameter from the json schema. </dd> <!-- OBJECT PROPERTIES --> <dd jsdi splay="shouldExpandObject($this)" jstcache="40" style="display: none; "> <dl jst cache="0"> <div jsselect="getPropertyListFromObject($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="$thi s.name" jstcache="45">title</var> <em jstcache="0"> <!-- TYPE --> <div style="di splay:inline" jstcache="0"> ( <span class="optional" jsdisplay="optional" jstcac he="46" style="">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">string</span> </span> </span> ) </div> < /em> </dt> <dd class="todo" jsdisplay="!$this.description" jstcache="38"> Undocu mented. </dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.descr iption" jstcache="39" style="display: none; "> Description of this parameter fro m the json schema. </dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="shouldExpandO bject($this)" jstcache="40" 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><div jsselect="getP ropertyListFromObject($this)" jstcache="10" jsinstance="6"> <div jstcache="0"> < dt jstcache="0"> <var jsdisplay="$this.name" jscontent="$this.name" jstcache="45 ">favIconUrl</var> <em jstcache="0"> <!-- TYPE --> <div style="display:inline" j stcache="0"> ( <span class="optional" jsdisplay="optional" jstcache="46" style=" ">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">string</span> </span> </span> ) </div> </em> </dt> <dd class="todo" jsdisplay="!$this.description" jstcache="38"> Undocumented. </dd> < dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.description" jstcach e="39" style="display: none; "> Description of this parameter from the json sche ma. </dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="shouldExpandObject($this)" j stcache="40" 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="*7"> <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"> ( <sp an class="optional" jsdisplay="optional" jstcache="46" style="">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">string</span> </span> </span> ) </div> </em> </dt> <dd class="todo" jsdis play="!$this.description" jstcache="38"> Undocumented. </dd> <dd jsdisplay="$thi s.description" jsvalues=".innerHTML:$this.description" jstcache="39" style="disp lay: none; "> Description of this parameter from the json schema. </dd> <!-- OBJ ECT PROPERTIES --> <dd jsdisplay="shouldExpandObject($this)" jstcache="40" 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> <!-- /apiItem --> </div> <!-- /apiGroup --> </div> <!-- /apiPage --> </div> <!-- /mainColumn --> </div> < !-- /pageContent --> <div id="pageFooter" --="" jstcache="0"> Copyright 2009. Fo r 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/pageActions.html ('k') | chrome/renderer/extensions/extension_api_client_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698