| Index: chrome/common/extensions/docs/tabs.html
|
| diff --git a/chrome/common/extensions/docs/tabs.html b/chrome/common/extensions/docs/tabs.html
|
| index 582054bf76ea6c4c63257060f4a851f611d39d2e..ee0d2bbf04db030ce34c105c1c309900bfadfd2c 100755
|
| --- a/chrome/common/extensions/docs/tabs.html
|
| +++ b/chrome/common/extensions/docs/tabs.html
|
| @@ -1 +1,3848 @@
|
| -<!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 mechanism. 2) The <body> tag *must* retain id="body" 3) All <body>.innerHTML is genereated 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>.innerHTML is also generated by an offline step so that this page may easily be indexed by search engines. TODO(rafaelw): Abstract this into a "pageshell" that becomes the single version of page template shell and the "instance" pages (bookmarks.html, etc...) can be generated with a build step. --><!-- <html> must retain id="template --><html xmlns="http://www.w3.org/1999/xhtml" jstcache="0"><!-- <head> data 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">Tabs</title> <link href="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_generator.js" jstcache="0"></script> <script type="text/javascript" src="js/bootstrap.js" jstcache="0"></script> </head><!-- <body> content is completely generated. Do not edit, as it will be and rewritten. --><body jstcache="0"> <div id="container" jstcache="0"> <a name="top" jstcache="0"> </a> <!-- API HEADER --> <div id="pageHeader" jstcache="0"> <div id="searchbox" jstcache="0"> <form action="http://www.google.com/cse" id="cse-search-box" jstcache="0"> <div jstcache="0"> <input 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.google.com/jsapi" jstcache="0"></script> <script type="text/javascript" jstcache="0">google.load("elements", "1", {packages: "transliteration"});</script> <script type="text/javascript" src="http://www.google.com/coop/cse/t13n?form=cse-search-box&t13n_langs=en" jstcache="0"></script> <script type="text/javascript" src="http://www.google.com/coop/cse/brand?form=cse-search-box&lang=en" jstcache="0"></script> </div> <div id="pageTitle" jstcache="0"> <h1 jscontent="getPageTitle()" jstcache="1">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 jstcache="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" jstcache="0">Toolstrips</a></li> <li jstcache="0"><a href="pageActions.html" jstcache="0">Page Actions</a></li> <li jstcache="0"><a href="background_pages.html" jstcache="0">Background Pages</a></li> <li jstcache="0"><a href="content_scripts.html" jstcache="0">Content Scripts</a></li> <li jstcache="0">Events</li> <li jstcache="0" class="leftNavSelected">Tabs</li> <li jstcache="0"><a href="windows.html" jstcache="0">Windows</a></li> <li jstcache="0"><a href="bookmarks.html" jstcache="0">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="packaging.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.html" 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 href="manifest.html" jstcache="0">Manifest Files</a></li> <li jstcache="0">Match Patterns</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 jstcache="0"><a href="http://dev.chromium.org/developers/design-documents/extensions/samples" jstcache="0">Samples</a></li> </ul> </div> <div id="mainColumn" jstcache="0"> <!-- TABLE OF CONTENTS --> <div id="toc" jsdisplay="showPageTOC()" jstcache="2"> <p jstcache="0">Contents</p> <ol jstcache="0"> <li jsselect="getStaticTOC()" jstcache="9" jsinstance="*0"> <a jscontent="name" jsvalues=".href:'#' + href" jstcache="14" href="#H2-0">Permissions</a> <ol jstcache="0"> <li jsselect="$this.children" jstcache="22" jsinstance="*0" style="display: none; "> <a jscontent="name" 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="4">API reference: chrome.tabs</a> <ol jstcache="0"> <li jsdisplay="$this.properties" jstcache="5" style="display: none; "> <a href="#properties" jstcache="0">Properties</a> <ol jstcache="0"> <li jsselect="getPropertyListFromObject($this)" jstcache="10"> <a jscontent="name" jsvalues=".href:'#property-' + name" href="#property-anchor" jstcache="41">propertyName</a> </li> </ol> </li> <li jsdisplay="functions && functions.length > 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="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 jsselect="functions" jstcache="11" jsinstance="2"> <a jscontent="name" jsvalues=".href:'#method-' + name" href="#method-getSelected" jstcache="42">getSelected</a> </li><li jsselect="functions" jstcache="11" jsinstance="3"> <a jscontent="name" jsvalues=".href:'#method-' + name" href="#method-getAllInWindow" jstcache="42">getAllInWindow</a> </li><li jsselect="functions" jstcache="11" jsinstance="4"> <a jscontent="name" jsvalues=".href:'#method-' + name" href="#method-create" jstcache="42">create</a> </li><li jsselect="functions" jstcache="11" jsinstance="5"> <a jscontent="name" jsvalues=".href:'#method-' + name" href="#method-update" jstcache="42">update</a> </li><li jsselect="functions" jstcache="11" jsinstance="6"> <a jscontent="name" jsvalues=".href:'#method-' + name" href="#method-move" jstcache="42">move</a> </li><li jsselect="functions" jstcache="11" jsinstance="7"> <a jscontent="name" jsvalues=".href:'#method-' + name" href="#method-remove" jstcache="42">remove</a> </li><li jsselect="functions" jstcache="11" jsinstance="8"> <a jscontent="name" jsvalues=".href:'#method-' + name" href="#method-detectLanguage" jstcache="42">detectLanguage</a> </li><li jsselect="functions" jstcache="11" jsinstance="*9"> <a jscontent="name" jsvalues=".href:'#method-' + name" href="#method-captureVisibleTab" jstcache="42">captureVisibleTab</a> </li> </ol> </li> <li jsdisplay="events && events.length > 0" jstcache="7"> <a href="#events" jstcache="0">Events</a> <ol jstcache="0"> <li jsselect="events" jstcache="12" jsinstance="0"> <a jscontent="name" jsvalues=".href:'#event-' + name" href="#event-onCreated" jstcache="43">onCreated</a> </li><li jsselect="events" jstcache="12" jsinstance="1"> <a jscontent="name" jsvalues=".href:'#event-' + name" href="#event-onUpdated" jstcache="43">onUpdated</a> </li><li jsselect="events" jstcache="12" jsinstance="2"> <a jscontent="name" jsvalues=".href:'#event-' + name" href="#event-onMoved" jstcache="43">onMoved</a> </li><li jsselect="events" jstcache="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-onDetached" jstcache="43">onDetached</a> </li><li jsselect="events" jstcache="12" jsinstance="5"> <a jscontent="name" jsvalues=".href:'#event-' + name" href="#event-onAttached" jstcache="43">onAttached</a> </li><li jsselect="events" jstcache="12" jsinstance="*6"> <a jscontent="name" jsvalues=".href:'#event-' + name" href="#event-onRemoved" jstcache="43">onRemoved</a> </li> </ol> </li> <li jsdisplay="types && types.length > 0" jstcache="8"> <a href="#types" jstcache="0">Types</a> <ol jstcache="0"> <li jsselect="types" jstcache="13" jsinstance="*0"> <a jscontent="id" jsvalues=".href:'#type-' + id" href="#type-Tab" jstcache="44">Tab</a> </li> </ol> </li> </ol> </li> </div> </ol> </div> <!-- /TABLE OF CONTENTS --> <!-- STATIC CONTENT PLACEHOLDER --> <div id="static" jstcache="0"><div id="pageData-title" class="pageData" jstcache="0">Tabs</div> <!-- BEGIN AUTHORED CONTENT --> <p id="classSummary" jstcache="0"> Use the <code jstcache="0">chrome.tabs</code> module to interact with the browser's tab system. You can use this module to create, modify, and rearrange tabs in the browser. </p> <a name="H2-0" jstcache="0"></a><h2 id="permissions" jstcache="0">Permissions</h2> <p jstcache="0">You must declare the <var jstcache="0">tabs</var> permission in your extension's manifest to use the tabs API.</p> <p jstcache="0">Example:</p> <pre jstcache="0">{ "name": "My extension that uses tabs", "version": "0.1", <b jstcache="0"> "permissions": [ "tabs" ]</b> }</pre> <!-- END AUTHORED CONTENT --> </div> <!-- API PAGE --> <div class="apiPage" jsselect="apiDefinition" jstcache="3"> <a name="apiReference" jstcache="0"></a> <h2 jscontent="'API reference: ' + getModuleName()" jstcache="4">API reference: chrome.tabs</h2> <!-- PROPERTIES --> <div jsdisplay="$this.properties" class="apiGroup" jstcache="5" style="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 jscontent="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" jstcache="24">lastError</span> </div> <div transclude="valueTemplate" jstcache="17"> </div> </div> </div> <!-- /apiGroup --> <!-- METHODS --> <div jsdisplay="functions && functions.length > 0" class="apiGroup" id="methods" jstcache="6"> <a name="methods" jstcache="0"></a> <h3 jstcache="0">Methods</h3> <!-- iterates 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> <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="getFullyQualifiedFunctionName($this)" jstcache="26">chrome.tabs.get</span>(<span jsselect="parameters" jsvalues="class:optional ? 'optional' : ''" jstcache="27" jsinstance="0" class="null"><span jsdisplay="$index" jstcache="33" style="display: none; ">, </span><span jscontent="getTypeName($this)" jstcache="34">integer</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">function</span> <var jstcache="0"><span jscontent="name" jstcache="16">callback</span></var></span>)</div> <div class="description" jstcache="0"> <p class="todo" jsdisplay="!description" jstcache="28" style="display: none; ">Undocumented.</p> <p jsdisplay="description" jsvalues=".innerHTML:description" jstcache="29">Retrieves details about the specified tab.</p> <!-- PARAMETERS --> <h4 jstcache="0">Parameters</h4> <dl jstcache="0"> <div jsselect="parameters" jstcache="35" jsinstance="0"> <!-- VALUE: This is a subtemplate that is used elsewhere via jsTemplate *transclude* --> <div id="valueTemplate" jstcache="0"> <dt jstcache="0"> <var jsdisplay="$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: getTypeRefPage($this) + '#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="49"> Type</a> </span> <span jsdisplay="!getTypeRef($this)" jstcache="48"> <span jsdisplay="isArray($this)" jstcache="50" style="display: none; "> array of <span jsselect="items" jstcache="52"><span transclude="typeTemplate" jstcache="53"></span></span> </span> <span jsdisplay="!isArray($this)" jscontent="getTypeName($this)" jstcache="51">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> <!-- /VALUE --> </div><div jsselect="parameters" jstcache="35" jsinstance="*1"> <!-- VALUE: This is a subtemplate that is used elsewhere via jsTemplate *transclude* --> <div id="valueTemplate" jstcache="0"> <dt jstcache="0"> <var jsdisplay="$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; ">optional</span> <span id="typeTemplate" jstcache="0"> <span jsdisplay="getTypeRef($this)" jstcache="47" style="display: none; "> <a jsvalues=".href: getTypeRefPage($this) + '#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="49"> Type</a> </span> <span jsdisplay="!getTypeRef($this)" jstcache="48"> <span jsdisplay="isArray($this)" jstcache="50" style="display: none; "> array of <span jsselect="items" jstcache="52"><span transclude="typeTemplate" jstcache="53"></span></span> </span> <span jsdisplay="!isArray($this)" jscontent="getTypeName($this)" jstcache="51">function</span> </span> </span> ) </div> </em> </dt> <dd class="todo" jsdisplay="!$this.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> <!-- /VALUE --> </div> </dl> <!-- RETURNS --> <h4 jsdisplay="returns" jstcache="30" style="display: none; ">Returns</h4> <dl jstcache="0"> <div jsselect="returns" jstcache="36" style="display: none; "> <div transclude="valueTemplate" jstcache="17"> </div> </div> </dl> <!-- CALLBACK --> <div jsdisplay="hasCallback(parameters)" jstcache="31"> <div jsselect="getCallbackParameters(parameters)" jstcache="37"> <h4 jstcache="0">Callback function</h4> <p jstcache="0"> If you specify the <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="getSignatureString(parameters)" jstcache="32">Tab tab</span>) <span class="subdued" jstcache="0">{...}</span>);</pre> <dl jstcache="0"> <div jsselect="parameters" jstcache="35" jsinstance="*0"> <div jstcache="0"> <dt jstcache="0"> <var jsdisplay="$this.name" jscontent="$this.name" jstcache="45">tab</var> <em jstcache="0"> <!-- TYPE --> <div style="display:inline" jstcache="0"> ( <span class="optional" jsdisplay="optional" jstcache="46" style="display: none; ">optional</span> <span id="typeTemplate" jstcache="0"> <span jsdisplay="getTypeRef($this)" jstcache="47" style=""> <a jsvalues=".href: getTypeRefPage($this) + '#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="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" 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 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> </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="getTypeName(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="null"><span jsdisplay="$index" jstcache="33" style="display: none; ">, </span><span jscontent="getTypeName($this)" jstcache="34">integer</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="optional"><span jsdisplay="$index" jstcache="33">, </span><span jscontent="getTypeName($this)" jstcache="34">object</span> <var jstcache="0"><span jscontent="name" jstcache="16">connectInfo</span></var></span>)</div> <div class="description" jstcache="0"> <p class="todo" jsdisplay="!description" jstcache="28" style="display: none; ">Undocumented.</p> <p jsdisplay="description" jsvalues=".innerHTML:description" jstcache="29">Connects to the content script(s) in the specified tab. The <a href="extension.html#event-onConnect" jstcache="0">chrome.extensions.onConnect</a> is fired in each content script running in the specified tab for the current extension. For more details, see <a href="content_scripts.html#messaging" jstcache="0">Content Script Messaging</a>.</p> <!-- PARAMETERS --> <h4 jstcache="0">Parameters</h4> <dl jstcache="0"> <div jsselect="parameters" jstcache="35" jsinstance="0"> <!-- VALUE: This is a subtemplate that is used elsewhere via jsTemplate *transclude* --> <div id="valueTemplate" jstcache="0"> <dt jstcache="0"> <var jsdisplay="$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: getTypeRefPage($this) + '#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="49"> Type</a> </span> <span jsdisplay="!getTypeRef($this)" jstcache="48"> <span jsdisplay="isArray($this)" jstcache="50" style="display: none; "> array of <span jsselect="items" jstcache="52"><span transclude="typeTemplate" jstcache="53"></span></span> </span> <span jsdisplay="!isArray($this)" jscontent="getTypeName($this)" jstcache="51">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> <!-- /VALUE --> </div><div jsselect="parameters" jstcache="35" jsinstance="*1"> <!-- VALUE: This is a subtemplate that is used elsewhere via jsTemplate *transclude* --> <div id="valueTemplate" jstcache="0"> <dt jstcache="0"> <var jsdisplay="$this.name" jscontent="$this.name" jstcache="45">connectInfo</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 jsvalues=".href: getTypeRefPage($this) + '#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="49"> Type</a> </span> <span jsdisplay="!getTypeRef($this)" jstcache="48"> <span jsdisplay="isArray($this)" jstcache="50" style="display: none; "> array of <span jsselect="items" jstcache="52"><span transclude="typeTemplate" jstcache="53"></span></span> </span> <span jsdisplay="!isArray($this)" jscontent="getTypeName($this)" jstcache="51">object</span> </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"> <dl jstcache="0"> <div jsselect="getPropertyListFromObject($this)" jstcache="10" jsinstance="*0"> <div jstcache="0"> <dt jstcache="0"> <var jsdisplay="$this.name" jscontent="$this.name" jstcache="45">name</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"> Type</a> </span> <span jsdisplay="!getTypeRef($this)" jstcache="48"> <span jsdisplay="isArray($this)" jstcache="50" style="display: none; "> array of <span jsselect="items" jstcache="52"><span transclude="typeTemplate" jstcache="53"></span></span> </span> <span jsdisplay="!isArray($this)" jscontent="getTypeName($this)" jstcache="51">string</span> </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" jstcache="39" style="">Will be passed into onConnect for content scripts that are listening for the connection event.</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> </dl> </dd> </div> <!-- /VALUE --> </div> </dl> <!-- RETURNS --> <h4 jsdisplay="returns" jstcache="30">Returns</h4> <dl jstcache="0"> <div jsselect="returns" jstcache="36"> <div jstcache="0"> <dt jstcache="0"> <var jsdisplay="$this.name" jscontent="$this.name" jstcache="45" style="display: none; ">tabId</var> <em jstcache="0"> <!-- TYPE --> <div style="display:inline" jstcache="0"> ( <span class="optional" jsdisplay="optional" jstcache="46" style="display: none; ">optional</span> <span id="typeTemplate" jstcache="0"> <span jsdisplay="getTypeRef($this)" jstcache="47" style=""> <a jsvalues=".href: getTypeRefPage($this) + '#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="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="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" style="display: none; "> Undocumented. </dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.description" jstcache="39" style="">A port that can be used to communicate with the content scripts running in the specified tab.</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> </dl> <!-- CALLBACK --> <div jsdisplay="hasCallback(parameters)" jstcache="31" style="display: none; "> <div jsselect="getCallbackParameters(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="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 transclude="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="method-getSelected"></a> <!-- method-anchor --> <h4 jscontent="name" jstcache="16">getSelected</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="getFullyQualifiedFunctionName($this)" jstcache="26">chrome.tabs.getSelected</span>(<span jsselect="parameters" jsvalues="class:optional ? 'optional' : ''" jstcache="27" jsinstance="0" class="optional"><span jsdisplay="$index" jstcache="33" style="display: none; ">, </span><span jscontent="getTypeName($this)" jstcache="34">integer</span> <var jstcache="0"><span jscontent="name" jstcache="16">windowId</span></var></span><span jsselect="parameters" jsvalues="class:optional ? 'optional' : ''" jstcache="27" jsinstance="*1" class="null"><span jsdisplay="$index" jstcache="33">, </span><span jscontent="getTypeName($this)" jstcache="34">function</span> <var jstcache="0"><span jscontent="name" jstcache="16">callback</span></var></span>)</div> <div class="description" jstcache="0"> <p class="todo" jsdisplay="!description" jstcache="28" style="display: none; ">Undocumented.</p> <p jsdisplay="description" jsvalues=".innerHTML:description" jstcache="29">Gets the tab that is selected in the specified window.</p> <!-- PARAMETERS --> <h4 jstcache="0">Parameters</h4> <dl jstcache="0"> <div jsselect="parameters" jstcache="35" jsinstance="0"> <!-- VALUE: This is a subtemplate that is used elsewhere via jsTemplate *transclude* --> <div id="valueTemplate" jstcache="0"> <dt jstcache="0"> <var jsdisplay="$this.name" jscontent="$this.name" jstcache="45">windowId</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 jsvalues=".href: getTypeRefPage($this) + '#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="49"> Type</a> </span> <span jsdisplay="!getTypeRef($this)" jstcache="48"> <span jsdisplay="isArray($this)" jstcache="50" style="display: none; "> array of <span jsselect="items" jstcache="52"><span transclude="typeTemplate" jstcache="53"></span></span> </span> <span jsdisplay="!isArray($this)" jscontent="getTypeName($this)" jstcache="51">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" jstcache="39">Defaults to the <a href="windows.html#current-window" jstcache="0">current window</a>.</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> <!-- /VALUE --> </div><div jsselect="parameters" jstcache="35" jsinstance="*1"> <!-- VALUE: This is a subtemplate that is used elsewhere via jsTemplate *transclude* --> <div id="valueTemplate" jstcache="0"> <dt jstcache="0"> <var jsdisplay="$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; ">optional</span> <span id="typeTemplate" jstcache="0"> <span jsdisplay="getTypeRef($this)" jstcache="47" style="display: none; "> <a jsvalues=".href: getTypeRefPage($this) + '#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="49"> Type</a> </span> <span jsdisplay="!getTypeRef($this)" jstcache="48"> <span jsdisplay="isArray($this)" jstcache="50" style="display: none; "> array of <span jsselect="items" jstcache="52"><span transclude="typeTemplate" jstcache="53"></span></span> </span> <span jsdisplay="!isArray($this)" jscontent="getTypeName($this)" jstcache="51">function</span> </span> </span> ) </div> </em> </dt> <dd class="todo" jsdisplay="!$this.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> <!-- /VALUE --> </div> </dl> <!-- RETURNS --> <h4 jsdisplay="returns" jstcache="30" style="display: none; ">Returns</h4> <dl jstcache="0"> <div jsselect="returns" jstcache="36" style="display: none; "> <div transclude="valueTemplate" jstcache="17"> </div> </div> </dl> <!-- CALLBACK --> <div jsdisplay="hasCallback(parameters)" jstcache="31"> <div jsselect="getCallbackParameters(parameters)" jstcache="37"> <h4 jstcache="0">Callback function</h4> <p jstcache="0"> If you specify the <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="getSignatureString(parameters)" jstcache="32">Tab tab</span>) <span class="subdued" jstcache="0">{...}</span>);</pre> <dl jstcache="0"> <div jsselect="parameters" jstcache="35" jsinstance="*0"> <div jstcache="0"> <dt jstcache="0"> <var jsdisplay="$this.name" jscontent="$this.name" jstcache="45">tab</var> <em jstcache="0"> <!-- TYPE --> <div style="display:inline" jstcache="0"> ( <span class="optional" jsdisplay="optional" jstcache="46" style="display: none; ">optional</span> <span id="typeTemplate" jstcache="0"> <span jsdisplay="getTypeRef($this)" jstcache="47" style=""> <a jsvalues=".href: getTypeRefPage($this) + '#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="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" 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 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> </dl> </div> </div> </div> <!-- /description --> </div><div class="apiItem" jsselect="functions" jstcache="11" jsinstance="3"> <a jsvalues=".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(returns)" jstcache="25" style="display: none; ">void</span> <!-- Note: intentionally longer 80 columns --> <span jscontent="getFullyQualifiedFunctionName($this)" jstcache="26">chrome.tabs.getAllInWindow</span>(<span jsselect="parameters" jsvalues="class:optional ? 'optional' : ''" jstcache="27" jsinstance="0" class="optional"><span jsdisplay="$index" jstcache="33" style="display: none; ">, </span><span jscontent="getTypeName($this)" jstcache="34">integer</span> <var jstcache="0"><span jscontent="name" jstcache="16">windowId</span></var></span><span jsselect="parameters" jsvalues="class:optional ? 'optional' : ''" jstcache="27" jsinstance="*1" class="null"><span jsdisplay="$index" jstcache="33">, </span><span jscontent="getTypeName($this)" jstcache="34">function</span> <var jstcache="0"><span jscontent="name" jstcache="16">callback</span></var></span>)</div> <div class="description" jstcache="0"> <p class="todo" jsdisplay="!description" jstcache="28" style="display: none; ">Undocumented.</p> <p jsdisplay="description" jsvalues=".innerHTML:description" jstcache="29">Gets details about all tabs in the specified window.</p> <!-- PARAMETERS --> <h4 jstcache="0">Parameters</h4> <dl jstcache="0"> <div jsselect="parameters" jstcache="35" jsinstance="0"> <!-- VALUE: This is a subtemplate that is used elsewhere via jsTemplate *transclude* --> <div id="valueTemplate" jstcache="0"> <dt jstcache="0"> <var jsdisplay="$this.name" jscontent="$this.name" jstcache="45">windowId</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 jsvalues=".href: getTypeRefPage($this) + '#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="49"> Type</a> </span> <span jsdisplay="!getTypeRef($this)" jstcache="48"> <span jsdisplay="isArray($this)" jstcache="50" style="display: none; "> array of <span jsselect="items" jstcache="52"><span transclude="typeTemplate" jstcache="53"></span></span> </span> <span jsdisplay="!isArray($this)" jscontent="getTypeName($this)" jstcache="51">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" jstcache="39">Defaults to the <a href="windows.html#current-window" jstcache="0">current window</a>.</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> <!-- /VALUE --> </div><div jsselect="parameters" jstcache="35" jsinstance="*1"> <!-- VALUE: This is a subtemplate that is used elsewhere via jsTemplate *transclude* --> <div id="valueTemplate" jstcache="0"> <dt jstcache="0"> <var jsdisplay="$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; ">optional</span> <span id="typeTemplate" jstcache="0"> <span jsdisplay="getTypeRef($this)" jstcache="47" style="display: none; "> <a jsvalues=".href: getTypeRefPage($this) + '#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="49"> Type</a> </span> <span jsdisplay="!getTypeRef($this)" jstcache="48"> <span jsdisplay="isArray($this)" jstcache="50" style="display: none; "> array of <span jsselect="items" jstcache="52"><span transclude="typeTemplate" jstcache="53"></span></span> </span> <span jsdisplay="!isArray($this)" jscontent="getTypeName($this)" jstcache="51">function</span> </span> </span> ) </div> </em> </dt> <dd class="todo" jsdisplay="!$this.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> <!-- /VALUE --> </div> </dl> <!-- RETURNS --> <h4 jsdisplay="returns" jstcache="30" style="display: none; ">Returns</h4> <dl jstcache="0"> <div jsselect="returns" jstcache="36" style="display: none; "> <div transclude="valueTemplate" jstcache="17"> </div> </div> </dl> <!-- CALLBACK --> <div jsdisplay="hasCallback(parameters)" jstcache="31"> <div jsselect="getCallbackParameters(parameters)" jstcache="37"> <h4 jstcache="0">Callback function</h4> <p jstcache="0"> If you specify the <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="getSignatureString(parameters)" jstcache="32">array of Tab tabs</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">tabs</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: getTypeRefPage($this) + '#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="49"> Type</a> </span> <span jsdisplay="!getTypeRef($this)" jstcache="48"> <span jsdisplay="isArray($this)" jstcache="50" style=""> array of <span jsselect="items" jstcache="52"><span jstcache="0"> <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" style="display: none; "> <span jsdisplay="isArray($this)" jstcache="50" style="display: none; "> array of <span jsselect="items" jstcache="52"><span transclude="typeTemplate" jstcache="53"></span></span> </span> <span jsdisplay="!isArray($this)" jscontent="getTypeName($this)" jstcache="51">integer</span> </span> </span></span> </span> <span jsdisplay="!isArray($this)" jscontent="getTypeName($this)" jstcache="51" style="display: none; ">integer</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> </dl> </div> </div> </div> <!-- /description --> </div><div class="apiItem" jsselect="functions" jstcache="11" jsinstance="4"> <a jsvalues=".name:'method-' + name" jstcache="18" name="method-create"></a> <!-- method-anchor --> <h4 jscontent="name" jstcache="16">create</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="getFullyQualifiedFunctionName($this)" jstcache="26">chrome.tabs.create</span>(<span jsselect="parameters" jsvalues="class:optional ? 'optional' : ''" jstcache="27" jsinstance="0" class="null"><span jsdisplay="$index" jstcache="33" style="display: none; ">, </span><span jscontent="getTypeName($this)" jstcache="34">object</span> <var jstcache="0"><span jscontent="name" jstcache="16">createProperties</span></var></span><span jsselect="parameters" jsvalues="class:optional ? 'optional' : ''" jstcache="27" jsinstance="*1" class="optional"><span jsdisplay="$index" jstcache="33">, </span><span jscontent="getTypeName($this)" jstcache="34">function</span> <var jstcache="0"><span jscontent="name" jstcache="16">callback</span></var></span>)</div> <div class="description" jstcache="0"> <p class="todo" jsdisplay="!description" jstcache="28" style="display: none; ">Undocumented.</p> <p jsdisplay="description" jsvalues=".innerHTML:description" jstcache="29">Creates a new tab.</p> <!-- PARAMETERS --> <h4 jstcache="0">Parameters</h4> <dl jstcache="0"> <div jsselect="parameters" jstcache="35" jsinstance="0"> <!-- VALUE: This is a subtemplate that is used elsewhere via jsTemplate *transclude* --> <div id="valueTemplate" jstcache="0"> <dt jstcache="0"> <var jsdisplay="$this.name" jscontent="$this.name" jstcache="45">createProperties</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: getTypeRefPage($this) + '#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="49"> Type</a> </span> <span jsdisplay="!getTypeRef($this)" jstcache="48"> <span jsdisplay="isArray($this)" jstcache="50" style="display: none; "> array of <span jsselect="items" jstcache="52"><span transclude="typeTemplate" jstcache="53"></span></span> </span> <span jsdisplay="!isArray($this)" jscontent="getTypeName($this)" jstcache="51">object</span> </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"> <dl jstcache="0"> <div jsselect="getPropertyListFromObject($this)" jstcache="10" jsinstance="0"> <div jstcache="0"> <dt jstcache="0"> <var jsdisplay="$this.name" jscontent="$this.name" jstcache="45">windowId</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"> 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" style="display: none; "> Undocumented. </dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.description" jstcache="39" style="">The window to create the new tab in. Defaults to the <a href="windows.html#current-window" jstcache="0">current window</a>.</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" jsinstance="1"> <div jstcache="0"> <dt jstcache="0"> <var jsdisplay="$this.name" jscontent="$this.name" jstcache="45">index</var> <em jstcache="0"> <!-- TYPE --> <div style="display:inline" jstcache="0"> ( <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"> 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" style="display: none; "> Undocumented. </dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.description" jstcache="39" style="">The position the tab should take in the window. The provided value will be clamped to between zero and the number of tabs in the window.</dd> <!-- OBJECT PROPERTIES --> <dd 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" jsinstance="2"> <div jstcache="0"> <dt jstcache="0"> <var jsdisplay="$this.name" jscontent="$this.name" jstcache="45">url</var> <em jstcache="0"> <!-- TYPE --> <div style="display:inline" jstcache="0"> ( <span class="optional" jsdisplay="optional" jstcache="46" style="">optional</span> <span id="typeTemplate" jstcache="0"> <span jsdisplay="getTypeRef($this)" jstcache="47" style="display: none; "> <a jsvalues=".href: getTypeRefPage($this) + '#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="49"> Type</a> </span> <span jsdisplay="!getTypeRef($this)" jstcache="48"> <span jsdisplay="isArray($this)" jstcache="50" style="display: none; "> array of <span jsselect="items" jstcache="52"><span transclude="typeTemplate" jstcache="53"></span></span> </span> <span jsdisplay="!isArray($this)" jscontent="getTypeName($this)" jstcache="51">string</span> </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" jstcache="39" style="">The URL to navigate the tab to initially. Defaults to the New Tab Page.</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" jsinstance="*3"> <div jstcache="0"> <dt jstcache="0"> <var jsdisplay="$this.name" jscontent="$this.name" jstcache="45">selected</var> <em jstcache="0"> <!-- TYPE --> <div style="display:inline" jstcache="0"> ( <span class="optional" jsdisplay="optional" jstcache="46" style="">optional</span> <span id="typeTemplate" jstcache="0"> <span jsdisplay="getTypeRef($this)" jstcache="47" style="display: none; "> <a jsvalues=".href: getTypeRefPage($this) + '#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="49"> Type</a> </span> <span jsdisplay="!getTypeRef($this)" jstcache="48"> <span jsdisplay="isArray($this)" jstcache="50" style="display: none; "> array of <span jsselect="items" jstcache="52"><span transclude="typeTemplate" jstcache="53"></span></span> </span> <span jsdisplay="!isArray($this)" jscontent="getTypeName($this)" jstcache="51">boolean</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" jstcache="39" style="">Whether the tab should become the selected tab in the window. Defaults to <var jstcache="0">true</var></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> </dl> </dd> </div> <!-- /VALUE --> </div><div jsselect="parameters" jstcache="35" jsinstance="*1"> <!-- VALUE: This is a subtemplate that is used elsewhere via jsTemplate *transclude* --> <div id="valueTemplate" jstcache="0"> <dt jstcache="0"> <var jsdisplay="$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> <span id="typeTemplate" jstcache="0"> <span jsdisplay="getTypeRef($this)" jstcache="47" style="display: none; "> <a jsvalues=".href: getTypeRefPage($this) + '#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="49"> Type</a> </span> <span jsdisplay="!getTypeRef($this)" jstcache="48"> <span jsdisplay="isArray($this)" jstcache="50" style="display: none; "> array of <span jsselect="items" jstcache="52"><span transclude="typeTemplate" jstcache="53"></span></span> </span> <span jsdisplay="!isArray($this)" jscontent="getTypeName($this)" jstcache="51">function</span> </span> </span> ) </div> </em> </dt> <dd class="todo" jsdisplay="!$this.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> <!-- /VALUE --> </div> </dl> <!-- RETURNS --> <h4 jsdisplay="returns" jstcache="30" style="display: none; ">Returns</h4> <dl jstcache="0"> <div jsselect="returns" jstcache="36" style="display: none; "> <div transclude="valueTemplate" jstcache="17"> </div> </div> </dl> <!-- CALLBACK --> <div jsdisplay="hasCallback(parameters)" jstcache="31"> <div jsselect="getCallbackParameters(parameters)" jstcache="37"> <h4 jstcache="0">Callback function</h4> <p jstcache="0"> If you specify the <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="getSignatureString(parameters)" jstcache="32">Tab tab</span>) <span class="subdued" jstcache="0">{...}</span>);</pre> <dl jstcache="0"> <div jsselect="parameters" jstcache="35" jsinstance="*0"> <div jstcache="0"> <dt jstcache="0"> <var jsdisplay="$this.name" jscontent="$this.name" jstcache="45">tab</var> <em jstcache="0"> <!-- TYPE --> <div style="display:inline" jstcache="0"> ( <span class="optional" jsdisplay="optional" jstcache="46" style="display: none; ">optional</span> <span id="typeTemplate" jstcache="0"> <span jsdisplay="getTypeRef($this)" jstcache="47" style=""> <a jsvalues=".href: getTypeRefPage($this) + '#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="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" 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" jstcache="39" style="">Details about the created tab. Will contain the ID of the new tab.</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> </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="getTypeName(returns)" jstcache="25" style="display: none; ">void</span> <!-- Note: intentionally longer 80 columns --> <span jscontent="getFullyQualifiedFunctionName($this)" jstcache="26">chrome.tabs.update</span>(<span jsselect="parameters" jsvalues="class:optional ? 'optional' : ''" jstcache="27" jsinstance="0" class="null"><span jsdisplay="$index" jstcache="33" style="display: none; ">, </span><span jscontent="getTypeName($this)" jstcache="34">integer</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" jstcache="33">, </span><span jscontent="getTypeName($this)" jstcache="34">function</span> <var jstcache="0"><span jscontent="name" jstcache="16">callback</span></var></span>)</div> <div class="description" jstcache="0"> <p class="todo" jsdisplay="!description" jstcache="28" style="display: none; ">Undocumented.</p> <p jsdisplay="description" jsvalues=".innerHTML:description" jstcache="29">Modify the properties of a tab. Properties that are not specified in <var jstcache="0">updateProperties</var> are not modified.</p> <!-- PARAMETERS --> <h4 jstcache="0">Parameters</h4> <dl jstcache="0"> <div jsselect="parameters" jstcache="35" jsinstance="0"> <!-- VALUE: This is a subtemplate that is used elsewhere via jsTemplate *transclude* --> <div id="valueTemplate" jstcache="0"> <dt jstcache="0"> <var jsdisplay="$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: getTypeRefPage($this) + '#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="49"> Type</a> </span> <span jsdisplay="!getTypeRef($this)" jstcache="48"> <span jsdisplay="isArray($this)" jstcache="50" style="display: none; "> array of <span jsselect="items" jstcache="52"><span transclude="typeTemplate" jstcache="53"></span></span> </span> <span jsdisplay="!isArray($this)" jscontent="getTypeName($this)" jstcache="51">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> <!-- /VALUE --> </div><div jsselect="parameters" jstcache="35" jsinstance="1"> <!-- VALUE: This is a subtemplate that is used elsewhere via jsTemplate *transclude* --> <div id="valueTemplate" jstcache="0"> <dt jstcache="0"> <var jsdisplay="$this.name" jscontent="$this.name" jstcache="45">updateProperties</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: getTypeRefPage($this) + '#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="49"> Type</a> </span> <span jsdisplay="!getTypeRef($this)" jstcache="48"> <span jsdisplay="isArray($this)" jstcache="50" style="display: none; "> array of <span jsselect="items" jstcache="52"><span transclude="typeTemplate" jstcache="53"></span></span> </span> <span jsdisplay="!isArray($this)" jscontent="getTypeName($this)" jstcache="51">object</span> </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"> <dl jstcache="0"> <div jsselect="getPropertyListFromObject($this)" jstcache="10" jsinstance="0"> <div jstcache="0"> <dt jstcache="0"> <var jsdisplay="$this.name" jscontent="$this.name" jstcache="45">url</var> <em jstcache="0"> <!-- TYPE --> <div style="display:inline" jstcache="0"> ( <span class="optional" jsdisplay="optional" jstcache="46" style="">optional</span> <span id="typeTemplate" jstcache="0"> <span jsdisplay="getTypeRef($this)" jstcache="47" style="display: none; "> <a jsvalues=".href: getTypeRefPage($this) + '#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="49"> Type</a> </span> <span jsdisplay="!getTypeRef($this)" jstcache="48"> <span jsdisplay="isArray($this)" jstcache="50" style="display: none; "> array of <span jsselect="items" jstcache="52"><span transclude="typeTemplate" jstcache="53"></span></span> </span> <span jsdisplay="!isArray($this)" jscontent="getTypeName($this)" jstcache="51">string</span> </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="getPropertyListFromObject($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"> ( <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"> 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">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" 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> </dl> </dd> </div> <!-- /VALUE --> </div><div jsselect="parameters" jstcache="35" jsinstance="*2"> <!-- 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">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 jsvalues=".href: getTypeRefPage($this) + '#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="49"> Type</a> </span> <span jsdisplay="!getTypeRef($this)" jstcache="48"> <span jsdisplay="isArray($this)" jstcache="50" style="display: none; "> array of <span jsselect="items" jstcache="52"><span transclude="typeTemplate" jstcache="53"></span></span> </span> <span jsdisplay="!isArray($this)" jscontent="getTypeName($this)" jstcache="51">function</span> </span> </span> ) </div> </em> </dt> <dd class="todo" jsdisplay="!$this.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> <!-- /VALUE --> </div> </dl> <!-- RETURNS --> <h4 jsdisplay="returns" jstcache="30" style="display: none; ">Returns</h4> <dl jstcache="0"> <div jsselect="returns" jstcache="36" style="display: none; "> <div transclude="valueTemplate" jstcache="17"> </div> </div> </dl> <!-- CALLBACK --> <div jsdisplay="hasCallback(parameters)" jstcache="31"> <div jsselect="getCallbackParameters(parameters)" jstcache="37"> <h4 jstcache="0">Callback function</h4> <p jstcache="0"> If you specify the <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="getSignatureString(parameters)" jstcache="32"></span>) <span class="subdued" jstcache="0">{...}</span>);</pre> <dl jstcache="0"> <div jsselect="parameters" jstcache="35" jsinstance="*0" style="display: none; "> <div transclude="valueTemplate" 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="summary" jstcache="0"><span jsdisplay="returns" jscontent="getTypeName(returns)" jstcache="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="getTypeName($this)" jstcache="34">integer</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">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" style="display: none; ">Undocumented.</p> <p jsdisplay="description" jsvalues=".innerHTML:description" jstcache="29">Move a tab to a new position within its window, or to a new window.</p> <!-- PARAMETERS --> <h4 jstcache="0">Parameters</h4> <dl jstcache="0"> <div jsselect="parameters" jstcache="35" jsinstance="0"> <!-- VALUE: This is a subtemplate that is used elsewhere via jsTemplate *transclude* --> <div id="valueTemplate" jstcache="0"> <dt jstcache="0"> <var jsdisplay="$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: getTypeRefPage($this) + '#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="49"> Type</a> </span> <span jsdisplay="!getTypeRef($this)" jstcache="48"> <span jsdisplay="isArray($this)" jstcache="50" style="display: none; "> array of <span jsselect="items" jstcache="52"><span transclude="typeTemplate" jstcache="53"></span></span> </span> <span jsdisplay="!isArray($this)" jscontent="getTypeName($this)" jstcache="51">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> <!-- /VALUE --> </div><div jsselect="parameters" jstcache="35" jsinstance="1"> <!-- VALUE: This is a subtemplate that is used elsewhere via jsTemplate *transclude* --> <div id="valueTemplate" jstcache="0"> <dt jstcache="0"> <var jsdisplay="$this.name" 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="47" style="display: none; "> <a jsvalues=".href: getTypeRefPage($this) + '#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="49"> Type</a> </span> <span jsdisplay="!getTypeRef($this)" jstcache="48"> <span jsdisplay="isArray($this)" jstcache="50" style="display: none; "> array of <span jsselect="items" jstcache="52"><span transclude="typeTemplate" jstcache="53"></span></span> </span> <span jsdisplay="!isArray($this)" jscontent="getTypeName($this)" jstcache="51">object</span> </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"> <dl jstcache="0"> <div jsselect="getPropertyListFromObject($this)" jstcache="10" jsinstance="0"> <div jstcache="0"> <dt jstcache="0"> <var jsdisplay="$this.name" jscontent="$this.name" jstcache="45">windowId</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"> 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" style="display: none; "> Undocumented. </dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.description" jstcache="39" style="">Defaults to the window the tab is currently in.</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" jsinstance="*1"> <div jstcache="0"> <dt jstcache="0"> <var jsdisplay="$this.name" jscontent="$this.name" jstcache="45">index</var> <em jstcache="0"> <!-- TYPE --> <div style="display:inline" jstcache="0"> ( <span class="optional" jsdisplay="optional" jstcache="46" style="display: none; ">optional</span> <span id="typeTemplate" jstcache="0"> <span jsdisplay="getTypeRef($this)" jstcache="47" style="display: none; "> <a jsvalues=".href: getTypeRefPage($this) + '#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="49"> Type</a> </span> <span jsdisplay="!getTypeRef($this)" jstcache="48"> <span jsdisplay="isArray($this)" jstcache="50" style="display: none; "> array of <span jsselect="items" jstcache="52"><span transclude="typeTemplate" jstcache="53"></span></span> </span> <span jsdisplay="!isArray($this)" jscontent="getTypeName($this)" jstcache="51">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" jstcache="39" style="">The position to move the window to. The provided value will be clamped to between zero and the number of tabs in the window.</dd> <!-- OBJECT PROPERTIES --> <dd 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> </dl> </dd> </div> <!-- /VALUE --> </div><div jsselect="parameters" jstcache="35" jsinstance="*2"> <!-- 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">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 jsvalues=".href: getTypeRefPage($this) + '#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="49"> Type</a> </span> <span jsdisplay="!getTypeRef($this)" jstcache="48"> <span jsdisplay="isArray($this)" jstcache="50" style="display: none; "> array of <span jsselect="items" jstcache="52"><span transclude="typeTemplate" jstcache="53"></span></span> </span> <span jsdisplay="!isArray($this)" jscontent="getTypeName($this)" jstcache="51">function</span> </span> </span> ) </div> </em> </dt> <dd class="todo" jsdisplay="!$this.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> <!-- /VALUE --> </div> </dl> <!-- RETURNS --> <h4 jsdisplay="returns" jstcache="30" style="display: none; ">Returns</h4> <dl jstcache="0"> <div jsselect="returns" jstcache="36" style="display: none; "> <div transclude="valueTemplate" jstcache="17"> </div> </div> </dl> <!-- CALLBACK --> <div jsdisplay="hasCallback(parameters)" jstcache="31"> <div jsselect="getCallbackParameters(parameters)" jstcache="37"> <h4 jstcache="0">Callback function</h4> <p jstcache="0"> If you specify the <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="getSignatureString(parameters)" jstcache="32"></span>) <span class="subdued" jstcache="0">{...}</span>);</pre> <dl jstcache="0"> <div jsselect="parameters" jstcache="35" jsinstance="*0" style="display: none; "> <div transclude="valueTemplate" jstcache="17"> </div> </div> </dl> </div> </div> </div> <!-- /description --> </div><div class="apiItem" jsselect="functions" jstcache="11" jsinstance="7"> <a jsvalues=".name:'method-' + name" jstcache="18" name="method-remove"></a> <!-- method-anchor --> <h4 jscontent="name" 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="getFullyQualifiedFunctionName($this)" jstcache="26">chrome.tabs.remove</span>(<span jsselect="parameters" jsvalues="class:optional ? 'optional' : ''" jstcache="27" jsinstance="0" class="null"><span jsdisplay="$index" jstcache="33" style="display: none; ">, </span><span jscontent="getTypeName($this)" jstcache="34">integer</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="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" style="display: none; ">Undocumented.</p> <p jsdisplay="description" jsvalues=".innerHTML:description" jstcache="29">Closes a tab.</p> <!-- PARAMETERS --> <h4 jstcache="0">Parameters</h4> <dl jstcache="0"> <div jsselect="parameters" jstcache="35" jsinstance="0"> <!-- VALUE: This is a subtemplate that is used elsewhere via jsTemplate *transclude* --> <div id="valueTemplate" jstcache="0"> <dt jstcache="0"> <var jsdisplay="$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: getTypeRefPage($this) + '#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="49"> Type</a> </span> <span jsdisplay="!getTypeRef($this)" jstcache="48"> <span jsdisplay="isArray($this)" jstcache="50" style="display: none; "> array of <span jsselect="items" jstcache="52"><span transclude="typeTemplate" jstcache="53"></span></span> </span> <span jsdisplay="!isArray($this)" jscontent="getTypeName($this)" jstcache="51">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> <!-- /VALUE --> </div><div jsselect="parameters" jstcache="35" jsinstance="*1"> <!-- VALUE: This is a subtemplate that is used elsewhere via jsTemplate *transclude* --> <div id="valueTemplate" jstcache="0"> <dt jstcache="0"> <var jsdisplay="$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> <span id="typeTemplate" jstcache="0"> <span jsdisplay="getTypeRef($this)" jstcache="47" style="display: none; "> <a jsvalues=".href: getTypeRefPage($this) + '#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="49"> Type</a> </span> <span jsdisplay="!getTypeRef($this)" jstcache="48"> <span jsdisplay="isArray($this)" jstcache="50" style="display: none; "> array of <span jsselect="items" jstcache="52"><span transclude="typeTemplate" jstcache="53"></span></span> </span> <span jsdisplay="!isArray($this)" jscontent="getTypeName($this)" jstcache="51">function</span> </span> </span> ) </div> </em> </dt> <dd class="todo" jsdisplay="!$this.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> <!-- /VALUE --> </div> </dl> <!-- RETURNS --> <h4 jsdisplay="returns" jstcache="30" style="display: none; ">Returns</h4> <dl jstcache="0"> <div jsselect="returns" jstcache="36" style="display: none; "> <div transclude="valueTemplate" jstcache="17"> </div> </div> </dl> <!-- CALLBACK --> <div jsdisplay="hasCallback(parameters)" jstcache="31"> <div jsselect="getCallbackParameters(parameters)" jstcache="37"> <h4 jstcache="0">Callback function</h4> <p jstcache="0"> If you specify the <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="getSignatureString(parameters)" jstcache="32"></span>) <span class="subdued" jstcache="0">{...}</span>);</pre> <dl jstcache="0"> <div jsselect="parameters" jstcache="35" jsinstance="*0" style="display: none; "> <div transclude="valueTemplate" jstcache="17"> </div> </div> </dl> </div> </div> </div> <!-- /description --> </div><div class="apiItem" jsselect="functions" jstcache="11" jsinstance="8"> <a jsvalues=".name:'method-' + name" jstcache="18" name="method-detectLanguage"></a> <!-- method-anchor --> <h4 jscontent="name" jstcache="16">detectLanguage</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="getFullyQualifiedFunctionName($this)" jstcache="26">chrome.tabs.detectLanguage</span>(<span jsselect="parameters" jsvalues="class:optional ? 'optional' : ''" jstcache="27" jsinstance="0" class="optional"><span jsdisplay="$index" jstcache="33" style="display: none; ">, </span><span jscontent="getTypeName($this)" jstcache="34">integer</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">function</span> <var jstcache="0"><span jscontent="name" jstcache="16">callback</span></var></span>)</div> <div class="description" jstcache="0"> <p class="todo" jsdisplay="!description" jstcache="28" style="display: none; ">Undocumented.</p> <p jsdisplay="description" jsvalues=".innerHTML:description" jstcache="29">Detects the primary language of the content in a tab.</p> <!-- PARAMETERS --> <h4 jstcache="0">Parameters</h4> <dl jstcache="0"> <div jsselect="parameters" jstcache="35" jsinstance="0"> <!-- VALUE: This is a subtemplate that is used elsewhere via jsTemplate *transclude* --> <div id="valueTemplate" jstcache="0"> <dt jstcache="0"> <var jsdisplay="$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">optional</span> <span id="typeTemplate" jstcache="0"> <span jsdisplay="getTypeRef($this)" jstcache="47" style="display: none; "> <a jsvalues=".href: getTypeRefPage($this) + '#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="49"> Type</a> </span> <span jsdisplay="!getTypeRef($this)" jstcache="48"> <span jsdisplay="isArray($this)" jstcache="50" style="display: none; "> array of <span jsselect="items" jstcache="52"><span transclude="typeTemplate" jstcache="53"></span></span> </span> <span jsdisplay="!isArray($this)" jscontent="getTypeName($this)" jstcache="51">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" jstcache="39">Defaults to the selected tab of the <a href="windows.html#current-window" jstcache="0">current window</a>.</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> <!-- /VALUE --> </div><div jsselect="parameters" jstcache="35" jsinstance="*1"> <!-- VALUE: This is a subtemplate that is used elsewhere via jsTemplate *transclude* --> <div id="valueTemplate" jstcache="0"> <dt jstcache="0"> <var jsdisplay="$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; ">optional</span> <span id="typeTemplate" jstcache="0"> <span jsdisplay="getTypeRef($this)" jstcache="47" style="display: none; "> <a jsvalues=".href: getTypeRefPage($this) + '#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="49"> Type</a> </span> <span jsdisplay="!getTypeRef($this)" jstcache="48"> <span jsdisplay="isArray($this)" jstcache="50" style="display: none; "> array of <span jsselect="items" jstcache="52"><span transclude="typeTemplate" jstcache="53"></span></span> </span> <span jsdisplay="!isArray($this)" jscontent="getTypeName($this)" jstcache="51">function</span> </span> </span> ) </div> </em> </dt> <dd class="todo" jsdisplay="!$this.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> <!-- /VALUE --> </div> </dl> <!-- RETURNS --> <h4 jsdisplay="returns" jstcache="30" style="display: none; ">Returns</h4> <dl jstcache="0"> <div jsselect="returns" jstcache="36" style="display: none; "> <div transclude="valueTemplate" jstcache="17"> </div> </div> </dl> <!-- CALLBACK --> <div jsdisplay="hasCallback(parameters)" jstcache="31"> <div jsselect="getCallbackParameters(parameters)" jstcache="37"> <h4 jstcache="0">Callback function</h4> <p jstcache="0"> If you specify the <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="getSignatureString(parameters)" jstcache="32">string language</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">language</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: getTypeRefPage($this) + '#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="49"> Type</a> </span> <span jsdisplay="!getTypeRef($this)" jstcache="48"> <span jsdisplay="isArray($this)" jstcache="50" style="display: none; "> array of <span jsselect="items" jstcache="52"><span transclude="typeTemplate" jstcache="53"></span></span> </span> <span jsdisplay="!isArray($this)" jscontent="getTypeName($this)" jstcache="51">string</span> </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" jstcache="39" style="">An ISO language code like <var jstcache="0">en</var> or <var jstcache="0">fr</var>.</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> </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="summary" jstcache="0"><span jsdisplay="returns" jscontent="getTypeName(returns)" jstcache="25" style="display: none; ">void</span> <!-- Note: intentionally longer 80 columns --> <span jscontent="getFullyQualifiedFunctionName($this)" jstcache="26">chrome.tabs.captureVisibleTab</span>(<span jsselect="parameters" jsvalues="class:optional ? 'optional' : ''" jstcache="27" jsinstance="0" class="optional"><span jsdisplay="$index" jstcache="33" style="display: none; ">, </span><span jscontent="getTypeName($this)" jstcache="34">integer</span> <var jstcache="0"><span jscontent="name" jstcache="16">windowId</span></var></span><span jsselect="parameters" jsvalues="class:optional ? 'optional' : ''" jstcache="27" jsinstance="*1" class="null"><span jsdisplay="$index" jstcache="33">, </span><span jscontent="getTypeName($this)" jstcache="34">function</span> <var jstcache="0"><span jscontent="name" jstcache="16">callback</span></var></span>)</div> <div class="description" jstcache="0"> <p class="todo" jsdisplay="!description" jstcache="28" style="display: none; ">Undocumented.</p> <p jsdisplay="description" jsvalues=".innerHTML:description" jstcache="29">Captures the visible area of the visible tab in a window.</p> <!-- PARAMETERS --> <h4 jstcache="0">Parameters</h4> <dl jstcache="0"> <div jsselect="parameters" jstcache="35" jsinstance="0"> <!-- VALUE: This is a subtemplate that is used elsewhere via jsTemplate *transclude* --> <div id="valueTemplate" jstcache="0"> <dt jstcache="0"> <var jsdisplay="$this.name" jscontent="$this.name" jstcache="45">windowId</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 jsvalues=".href: getTypeRefPage($this) + '#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="49"> Type</a> </span> <span jsdisplay="!getTypeRef($this)" jstcache="48"> <span jsdisplay="isArray($this)" jstcache="50" style="display: none; "> array of <span jsselect="items" jstcache="52"><span transclude="typeTemplate" jstcache="53"></span></span> </span> <span jsdisplay="!isArray($this)" jscontent="getTypeName($this)" jstcache="51">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" jstcache="39">The target window. Defaults to the <a href="windows.html#current-window" jstcache="0">current window</a>.</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> <!-- /VALUE --> </div><div jsselect="parameters" jstcache="35" jsinstance="*1"> <!-- VALUE: This is a subtemplate that is used elsewhere via jsTemplate *transclude* --> <div id="valueTemplate" jstcache="0"> <dt jstcache="0"> <var jsdisplay="$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; ">optional</span> <span id="typeTemplate" jstcache="0"> <span jsdisplay="getTypeRef($this)" jstcache="47" style="display: none; "> <a jsvalues=".href: getTypeRefPage($this) + '#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="49"> Type</a> </span> <span jsdisplay="!getTypeRef($this)" jstcache="48"> <span jsdisplay="isArray($this)" jstcache="50" style="display: none; "> array of <span jsselect="items" jstcache="52"><span transclude="typeTemplate" jstcache="53"></span></span> </span> <span jsdisplay="!isArray($this)" jscontent="getTypeName($this)" jstcache="51">function</span> </span> </span> ) </div> </em> </dt> <dd class="todo" jsdisplay="!$this.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> <!-- /VALUE --> </div> </dl> <!-- RETURNS --> <h4 jsdisplay="returns" jstcache="30" style="display: none; ">Returns</h4> <dl jstcache="0"> <div jsselect="returns" jstcache="36" style="display: none; "> <div transclude="valueTemplate" jstcache="17"> </div> </div> </dl> <!-- CALLBACK --> <div jsdisplay="hasCallback(parameters)" jstcache="31"> <div jsselect="getCallbackParameters(parameters)" jstcache="37"> <h4 jstcache="0">Callback function</h4> <p jstcache="0"> If you specify the <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="getSignatureString(parameters)" jstcache="32">string dataUrl</span>) <span class="subdued" jstcache="0">{...}</span>);</pre> <dl jstcache="0"> <div jsselect="parameters" jstcache="35" jsinstance="*0"> <div jstcache="0"> <dt jstcache="0"> <var jsdisplay="$this.name" jscontent="$this.name" jstcache="45">dataUrl</var> <em jstcache="0"> <!-- TYPE --> <div style="display:inline" jstcache="0"> ( <span class="optional" jsdisplay="optional" jstcache="46" style="display: none; ">optional</span> <span id="typeTemplate" jstcache="0"> <span jsdisplay="getTypeRef($this)" jstcache="47" style="display: none; "> <a jsvalues=".href: getTypeRefPage($this) + '#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="49"> Type</a> </span> <span jsdisplay="!getTypeRef($this)" jstcache="48"> <span jsdisplay="isArray($this)" jstcache="50" style="display: none; "> array of <span jsselect="items" jstcache="52"><span transclude="typeTemplate" jstcache="53"></span></span> </span> <span jsdisplay="!isArray($this)" jscontent="getTypeName($this)" jstcache="51">string</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" jstcache="39" style="">a data url encoding of the captured tab.</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> </dl> </div> </div> </div> <!-- /description --> </div> <!-- /apiItem --> </div> <!-- /apiGroup --> <!-- EVENTS --> <div jsdisplay="events && events.length > 0" class="apiGroup" jstcache="7"> <a name="events" 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" jstcache="0"> <!-- Note: intentionally longer 80 columns --> <span jscontent="getModuleName() + '.'" class="subdued" jstcache="23">chrome.tabs.</span><span jscontent="name" jstcache="16">onCreated</span><span class="subdued" jstcache="0">.addListener</span>(function(<span jscontent="getSignatureString(parameters)" jstcache="32">Tab tab</span>) <span class="subdued" jstcache="0">{...}</span>); </div> <div class="description" jstcache="0"> <p class="todo" jsdisplay="!description" jstcache="28" style="display: none; ">Undocumented.</p> <p jsdisplay="description" jsvalues=".innerHTML:description" jstcache="29">Fires when a tab is created.</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">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="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" style="display: none; "> <span jsdisplay="isArray($this)" jstcache="50" style="display: none; "> array of <span jsselect="items" jstcache="52"><span transclude="typeTemplate" jstcache="53"></span></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" jstcache="39" style="">Details of the tab that was created.</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> </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="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, object changeInfo</span>) <span class="subdued" jstcache="0">{...}</span>); </div> <div class="description" jstcache="0"> <p class="todo" jsdisplay="!description" jstcache="28" style="display: none; ">Undocumented.</p> <p jsdisplay="description" jsvalues=".innerHTML:description" jstcache="29">Fires when a tab is updated.</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: getTypeRefPage($this) + '#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="49"> Type</a> </span> <span jsdisplay="!getTypeRef($this)" jstcache="48"> <span jsdisplay="isArray($this)" jstcache="50" style="display: none; "> array of <span jsselect="items" jstcache="52"><span transclude="typeTemplate" jstcache="53"></span></span> </span> <span jsdisplay="!isArray($this)" jscontent="getTypeName($this)" jstcache="51">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 jsdisplay="$this.name" jscontent="$this.name" jstcache="45">changeInfo</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: getTypeRefPage($this) + '#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="49"> Type</a> </span> <span jsdisplay="!getTypeRef($this)" jstcache="48"> <span jsdisplay="isArray($this)" jstcache="50" style="display: none; "> array of <span jsselect="items" jstcache="52"><span transclude="typeTemplate" jstcache="53"></span></span> </span> <span jsdisplay="!isArray($this)" jscontent="getTypeName($this)" jstcache="51">object</span> </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)" jstcache="10" jsinstance="0"> <div jstcache="0"> <dt jstcache="0"> <var jsdisplay="$this.name" jscontent="$this.name" jstcache="45">status</var> <em jstcache="0"> <!-- TYPE --> <div style="display:inline" jstcache="0"> ( <span class="optional" jsdisplay="optional" jstcache="46" style="display: none; ">optional</span> <span id="typeTemplate" jstcache="0"> <span jsdisplay="getTypeRef($this)" jstcache="47" style="display: none; "> <a jsvalues=".href: getTypeRefPage($this) + '#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="49"> Type</a> </span> <span jsdisplay="!getTypeRef($this)" jstcache="48"> <span jsdisplay="isArray($this)" jstcache="50" style="display: none; "> array of <span jsselect="items" jstcache="52"><span transclude="typeTemplate" jstcache="53"></span></span> </span> <span jsdisplay="!isArray($this)" jscontent="getTypeName($this)" jstcache="51">string</span> </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" jstcache="39" style="">The status of the tab. Can be either <em jstcache="0">loading</em> or <em jstcache="0">complete</em>.</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" jsinstance="*1"> <div jstcache="0"> <dt jstcache="0"> <var jsdisplay="$this.name" jscontent="$this.name" jstcache="45">url</var> <em jstcache="0"> <!-- TYPE --> <div style="display:inline" jstcache="0"> ( <span class="optional" jsdisplay="optional" jstcache="46" style="">optional</span> <span id="typeTemplate" jstcache="0"> <span jsdisplay="getTypeRef($this)" jstcache="47" style="display: none; "> <a jsvalues=".href: getTypeRefPage($this) + '#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="49"> Type</a> </span> <span jsdisplay="!getTypeRef($this)" jstcache="48"> <span jsdisplay="isArray($this)" jstcache="50" style="display: none; "> array of <span jsselect="items" jstcache="52"><span transclude="typeTemplate" jstcache="53"></span></span> </span> <span jsdisplay="!isArray($this)" jscontent="getTypeName($this)" jstcache="51">string</span> </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" jstcache="39" style="">Only specified if the tab's URL changed.</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> </dl> </dd> </div> </div> </dl> </div> <!-- /decription --> </div><div jsselect="events" class="apiItem" jstcache="12" jsinstance="2"> <a jsvalues=".name:'event-' + name" jstcache="19" name="event-onMoved"></a> <h4 jscontent="name" jstcache="16">onMoved</h4> <div class="summary" jstcache="0"> <!-- Note: intentionally longer 80 columns --> <span jscontent="getModuleName() + '.'" class="subdued" jstcache="23">chrome.tabs.</span><span jscontent="name" jstcache="16">onMoved</span><span class="subdued" jstcache="0">.addListener</span>(function(<span jscontent="getSignatureString(parameters)" jstcache="32">integer tabId, object moveInfo</span>) <span class="subdued" jstcache="0">{...}</span>); </div> <div class="description" jstcache="0"> <p class="todo" jsdisplay="!description" jstcache="28" style="display: none; ">Undocumented.</p> <p jsdisplay="description" jsvalues=".innerHTML:description" jstcache="29">Fires when a tab is moved within a window. Only one move event is fired, representing the tab the user directly moved. Move events are not fired for the other tabs that must move in response. This event is not fired when a tab is moved between windows. For that, see <a href="#event-onDetached" jstcache="0">onDetached</a>.</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: getTypeRefPage($this) + '#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="49"> Type</a> </span> <span jsdisplay="!getTypeRef($this)" jstcache="48"> <span jsdisplay="isArray($this)" jstcache="50" style="display: none; "> array of <span jsselect="items" jstcache="52"><span transclude="typeTemplate" jstcache="53"></span></span> </span> <span jsdisplay="!isArray($this)" jscontent="getTypeName($this)" jstcache="51">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 jsdisplay="$this.name" jscontent="$this.name" jstcache="45">moveInfo</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: getTypeRefPage($this) + '#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="49"> Type</a> </span> <span jsdisplay="!getTypeRef($this)" jstcache="48"> <span jsdisplay="isArray($this)" jstcache="50" style="display: none; "> array of <span jsselect="items" jstcache="52"><span transclude="typeTemplate" jstcache="53"></span></span> </span> <span jsdisplay="!isArray($this)" jscontent="getTypeName($this)" jstcache="51">object</span> </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)" jstcache="10" jsinstance="0"> <div jstcache="0"> <dt jstcache="0"> <var jsdisplay="$this.name" jscontent="$this.name" jstcache="45">windowId</var> <em jstcache="0"> <!-- TYPE --> <div style="display:inline" jstcache="0"> ( <span class="optional" jsdisplay="optional" jstcache="46" style="display: none; ">optional</span> <span id="typeTemplate" jstcache="0"> <span jsdisplay="getTypeRef($this)" jstcache="47" style="display: none; "> <a jsvalues=".href: getTypeRefPage($this) + '#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="49"> Type</a> </span> <span jsdisplay="!getTypeRef($this)" jstcache="48"> <span jsdisplay="isArray($this)" jstcache="50" style="display: none; "> array of <span jsselect="items" jstcache="52"><span transclude="typeTemplate" jstcache="53"></span></span> </span> <span jsdisplay="!isArray($this)" jscontent="getTypeName($this)" jstcache="51">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="getPropertyListFromObject($this)" jstcache="10" jsinstance="1"> <div jstcache="0"> <dt jstcache="0"> <var jsdisplay="$this.name" jscontent="$this.name" jstcache="45">fromIndex</var> <em jstcache="0"> <!-- TYPE --> <div style="display:inline" jstcache="0"> ( <span class="optional" jsdisplay="optional" jstcache="46" style="display: none; ">optional</span> <span id="typeTemplate" jstcache="0"> <span jsdisplay="getTypeRef($this)" jstcache="47" style="display: none; "> <a jsvalues=".href: getTypeRefPage($this) + '#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="49"> Type</a> </span> <span jsdisplay="!getTypeRef($this)" jstcache="48"> <span jsdisplay="isArray($this)" jstcache="50" style="display: none; "> array of <span jsselect="items" jstcache="52"><span transclude="typeTemplate" jstcache="53"></span></span> </span> <span jsdisplay="!isArray($this)" jscontent="getTypeName($this)" jstcache="51">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="getPropertyListFromObject($this)" jstcache="10" jsinstance="*2"> <div jstcache="0"> <dt jstcache="0"> <var jsdisplay="$this.name" jscontent="$this.name" jstcache="45">toIndex</var> <em jstcache="0"> <!-- TYPE --> <div style="display:inline" jstcache="0"> ( <span class="optional" jsdisplay="optional" jstcache="46" style="display: none; ">optional</span> <span id="typeTemplate" jstcache="0"> <span jsdisplay="getTypeRef($this)" jstcache="47" style="display: none; "> <a jsvalues=".href: getTypeRefPage($this) + '#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="49"> Type</a> </span> <span jsdisplay="!getTypeRef($this)" jstcache="48"> <span jsdisplay="isArray($this)" jstcache="50" style="display: none; "> array of <span jsselect="items" jstcache="52"><span transclude="typeTemplate" jstcache="53"></span></span> </span> <span jsdisplay="!isArray($this)" jscontent="getTypeName($this)" jstcache="51">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> </dl> </dd> </div> </div> </dl> </div> <!-- /decription --> </div><div jsselect="events" class="apiItem" jstcache="12" 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 columns --> <span jscontent="getModuleName() + '.'" class="subdued" jstcache="23">chrome.tabs.</span><span jscontent="name" jstcache="16">onSelectionChanged</span><span class="subdued" jstcache="0">.addListener</span>(function(<span jscontent="getSignatureString(parameters)" jstcache="32">integer tabId, object selectInfo</span>) <span class="subdued" jstcache="0">{...}</span>); </div> <div class="description" jstcache="0"> <p class="todo" jsdisplay="!description" jstcache="28" style="display: none; ">Undocumented.</p> <p jsdisplay="description" jsvalues=".innerHTML:description" jstcache="29">Fires when the selected tab in a window changes.</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: getTypeRefPage($this) + '#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="49"> Type</a> </span> <span jsdisplay="!getTypeRef($this)" jstcache="48"> <span jsdisplay="isArray($this)" jstcache="50" style="display: none; "> array of <span jsselect="items" jstcache="52"><span transclude="typeTemplate" jstcache="53"></span></span> </span> <span jsdisplay="!isArray($this)" jscontent="getTypeName($this)" jstcache="51">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" jstcache="39" style="">The ID of the tab that has become selected.</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 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" jstcache="46" style="display: none; ">optional</span> <span id="typeTemplate" jstcache="0"> <span jsdisplay="getTypeRef($this)" jstcache="47" style="display: none; "> <a jsvalues=".href: getTypeRefPage($this) + '#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="49"> Type</a> </span> <span jsdisplay="!getTypeRef($this)" jstcache="48"> <span jsdisplay="isArray($this)" jstcache="50" style="display: none; "> array of <span jsselect="items" jstcache="52"><span transclude="typeTemplate" jstcache="53"></span></span> </span> <span jsdisplay="!isArray($this)" jscontent="getTypeName($this)" jstcache="51">object</span> </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)" jstcache="10" jsinstance="*0"> <div jstcache="0"> <dt jstcache="0"> <var jsdisplay="$this.name" jscontent="$this.name" jstcache="45">windowId</var> <em jstcache="0"> <!-- TYPE --> <div style="display:inline" jstcache="0"> ( <span class="optional" jsdisplay="optional" jstcache="46" style="display: none; ">optional</span> <span id="typeTemplate" jstcache="0"> <span jsdisplay="getTypeRef($this)" jstcache="47" style="display: none; "> <a jsvalues=".href: getTypeRefPage($this) + '#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="49"> Type</a> </span> <span jsdisplay="!getTypeRef($this)" jstcache="48"> <span jsdisplay="isArray($this)" jstcache="50" style="display: none; "> array of <span jsselect="items" jstcache="52"><span transclude="typeTemplate" jstcache="53"></span></span> </span> <span jsdisplay="!isArray($this)" jscontent="getTypeName($this)" jstcache="51">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" jstcache="39" style="">The ID of the window the selected tab changed inside of.</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> </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-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.tabs.</span><span jscontent="name" jstcache="16">onDetached</span><span class="subdued" jstcache="0">.addListener</span>(function(<span jscontent="getSignatureString(parameters)" jstcache="32">integer tabId, object detachInfo</span>) <span class="subdued" jstcache="0">{...}</span>); </div> <div class="description" jstcache="0"> <p class="todo" jsdisplay="!description" jstcache="28" style="display: none; ">Undocumented.</p> <p jsdisplay="description" jsvalues=".innerHTML:description" jstcache="29">Fired when a tab is detached from a window, for example because it is being moved between windows.</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: getTypeRefPage($this) + '#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="49"> Type</a> </span> <span jsdisplay="!getTypeRef($this)" jstcache="48"> <span jsdisplay="isArray($this)" jstcache="50" style="display: none; "> array of <span jsselect="items" jstcache="52"><span transclude="typeTemplate" jstcache="53"></span></span> </span> <span jsdisplay="!isArray($this)" jscontent="getTypeName($this)" jstcache="51">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 jsdisplay="$this.name" jscontent="$this.name" jstcache="45">detachInfo</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: getTypeRefPage($this) + '#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="49"> Type</a> </span> <span jsdisplay="!getTypeRef($this)" jstcache="48"> <span jsdisplay="isArray($this)" jstcache="50" style="display: none; "> array of <span jsselect="items" jstcache="52"><span transclude="typeTemplate" jstcache="53"></span></span> </span> <span jsdisplay="!isArray($this)" jscontent="getTypeName($this)" jstcache="51">object</span> </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)" jstcache="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="optional" jsdisplay="optional" jstcache="46" style="display: none; ">optional</span> <span id="typeTemplate" jstcache="0"> <span jsdisplay="getTypeRef($this)" jstcache="47" style="display: none; "> <a jsvalues=".href: getTypeRefPage($this) + '#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="49"> Type</a> </span> <span jsdisplay="!getTypeRef($this)" jstcache="48"> <span jsdisplay="isArray($this)" jstcache="50" style="display: none; "> array of <span jsselect="items" jstcache="52"><span transclude="typeTemplate" jstcache="53"></span></span> </span> <span jsdisplay="!isArray($this)" jscontent="getTypeName($this)" jstcache="51">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="getPropertyListFromObject($this)" jstcache="10" jsinstance="*1"> <div jstcache="0"> <dt jstcache="0"> <var jsdisplay="$this.name" jscontent="$this.name" jstcache="45">oldPosition</var> <em jstcache="0"> <!-- TYPE --> <div style="display:inline" jstcache="0"> ( <span class="optional" jsdisplay="optional" jstcache="46" style="display: none; ">optional</span> <span id="typeTemplate" jstcache="0"> <span jsdisplay="getTypeRef($this)" jstcache="47" style="display: none; "> <a jsvalues=".href: getTypeRefPage($this) + '#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="49"> Type</a> </span> <span jsdisplay="!getTypeRef($this)" jstcache="48"> <span jsdisplay="isArray($this)" jstcache="50" style="display: none; "> array of <span jsselect="items" jstcache="52"><span transclude="typeTemplate" jstcache="53"></span></span> </span> <span jsdisplay="!isArray($this)" jscontent="getTypeName($this)" jstcache="51">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> </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-onAttached"></a> <h4 jscontent="name" jstcache="16">onAttached</h4> <div class="summary" jstcache="0"> <!-- Note: intentionally longer 80 columns --> <span jscontent="getModuleName() + '.'" class="subdued" jstcache="23">chrome.tabs.</span><span jscontent="name" jstcache="16">onAttached</span><span class="subdued" jstcache="0">.addListener</span>(function(<span jscontent="getSignatureString(parameters)" jstcache="32">integer tabId, object attachInfo</span>) <span class="subdued" jstcache="0">{...}</span>); </div> <div class="description" jstcache="0"> <p class="todo" jsdisplay="!description" jstcache="28" style="display: none; ">Undocumented.</p> <p jsdisplay="description" jsvalues=".innerHTML:description" jstcache="29">Fired when a tab is attached to a window, for example because it was moved between windows.</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: getTypeRefPage($this) + '#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="49"> Type</a> </span> <span jsdisplay="!getTypeRef($this)" jstcache="48"> <span jsdisplay="isArray($this)" jstcache="50" style="display: none; "> array of <span jsselect="items" jstcache="52"><span transclude="typeTemplate" jstcache="53"></span></span> </span> <span jsdisplay="!isArray($this)" jscontent="getTypeName($this)" jstcache="51">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 jsdisplay="$this.name" jscontent="$this.name" jstcache="45">attachInfo</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: getTypeRefPage($this) + '#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="49"> Type</a> </span> <span jsdisplay="!getTypeRef($this)" jstcache="48"> <span jsdisplay="isArray($this)" jstcache="50" style="display: none; "> array of <span jsselect="items" jstcache="52"><span transclude="typeTemplate" jstcache="53"></span></span> </span> <span jsdisplay="!isArray($this)" jscontent="getTypeName($this)" jstcache="51">object</span> </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)" jstcache="10" jsinstance="0"> <div jstcache="0"> <dt jstcache="0"> <var jsdisplay="$this.name" jscontent="$this.name" jstcache="45">newWindowId</var> <em jstcache="0"> <!-- TYPE --> <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"> 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 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" jsinstance="*1"> <div jstcache="0"> <dt jstcache="0"> <var jsdisplay="$this.name" jscontent="$this.name" jstcache="45">newPosition</var> <em jstcache="0"> <!-- TYPE --> <div style="display:inline" jstcache="0"> ( <span class="optional" jsdisplay="optional" jstcache="46" style="display: none; ">optional</span> <span id="typeTemplate" jstcache="0"> <span jsdisplay="getTypeRef($this)" jstcache="47" style="display: none; "> <a jsvalues=".href: getTypeRefPage($this) + '#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="49"> Type</a> </span> <span jsdisplay="!getTypeRef($this)" jstcache="48"> <span jsdisplay="isArray($this)" jstcache="50" style="display: none; "> array of <span jsselect="items" jstcache="52"><span transclude="typeTemplate" jstcache="53"></span></span> </span> <span jsdisplay="!isArray($this)" jscontent="getTypeName($this)" jstcache="51">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> </dl> </dd> </div> </div> </dl> </div> <!-- /decription --> </div><div jsselect="events" class="apiItem" jstcache="12" jsinstance="*6"> <a jsvalues=".name:'event-' + name" jstcache="19" name="event-onRemoved"></a> <h4 jscontent="name" jstcache="16">onRemoved</h4> <div class="summary" jstcache="0"> <!-- Note: intentionally longer 80 columns --> <span jscontent="getModuleName() + '.'" class="subdued" jstcache="23">chrome.tabs.</span><span jscontent="name" jstcache="16">onRemoved</span><span class="subdued" jstcache="0">.addListener</span>(function(<span jscontent="getSignatureString(parameters)" jstcache="32">integer tabId</span>) <span class="subdued" jstcache="0">{...}</span>); </div> <div class="description" jstcache="0"> <p class="todo" jsdisplay="!description" jstcache="28" style="display: none; ">Undocumented.</p> <p jsdisplay="description" jsvalues=".innerHTML:description" jstcache="29">Fires when a tab is closed.</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: getTypeRefPage($this) + '#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="49"> Type</a> </span> <span jsdisplay="!getTypeRef($this)" jstcache="48"> <span jsdisplay="isArray($this)" jstcache="50" style="display: none; "> array of <span jsselect="items" jstcache="52"><span transclude="typeTemplate" jstcache="53"></span></span> </span> <span jsdisplay="!isArray($this)" jscontent="getTypeName($this)" jstcache="51">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> </dl> </div> <!-- /decription --> </div> <!-- /apiItem --> </div> <!-- /apiGroup --> <!-- TYPES --> <div jsdisplay="types && types.length > 0" class="apiGroup" jstcache="8"> <a name="types" jstcache="0"></a> <h3 id="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="optional" jsdisplay="optional" jstcache="46" style="display: none; ">optional</span> <span id="typeTemplate" jstcache="0"> <span jsdisplay="getTypeRef($this)" jstcache="47" style="display: none; "> <a jsvalues=".href: getTypeRefPage($this) + '#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="49"> Type</a> </span> <span jsdisplay="!getTypeRef($this)" jstcache="48"> <span jsdisplay="isArray($this)" jstcache="50" style="display: none; "> array of <span jsselect="items" jstcache="52"><span transclude="typeTemplate" jstcache="53"></span></span> </span> <span jsdisplay="!isArray($this)" jscontent="getTypeName($this)" jstcache="51">object</span> </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)" jstcache="10" jsinstance="0"> <div jstcache="0"> <dt jstcache="0"> <var jsdisplay="$this.name" jscontent="$this.name" jstcache="45">id</var> <em jstcache="0"> <!-- TYPE --> <div style="display:inline" jstcache="0"> ( <span class="optional" jsdisplay="optional" jstcache="46" style="display: none; ">optional</span> <span id="typeTemplate" jstcache="0"> <span jsdisplay="getTypeRef($this)" jstcache="47" style="display: none; "> <a jsvalues=".href: getTypeRefPage($this) + '#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="49"> Type</a> </span> <span jsdisplay="!getTypeRef($this)" jstcache="48"> <span jsdisplay="isArray($this)" jstcache="50" style="display: none; "> array of <span jsselect="items" jstcache="52"><span transclude="typeTemplate" jstcache="53"></span></span> </span> <span jsdisplay="!isArray($this)" jscontent="getTypeName($this)" jstcache="51">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" jstcache="39" style="">The ID of the tab. Tab IDs are unique within a browser session.</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" jsinstance="1"> <div jstcache="0"> <dt jstcache="0"> <var jsdisplay="$this.name" jscontent="$this.name" jstcache="45">index</var> <em jstcache="0"> <!-- TYPE --> <div style="display:inline" jstcache="0"> ( <span class="optional" jsdisplay="optional" jstcache="46" style="display: none; ">optional</span> <span id="typeTemplate" jstcache="0"> <span jsdisplay="getTypeRef($this)" jstcache="47" style="display: none; "> <a jsvalues=".href: getTypeRefPage($this) + '#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="49"> Type</a> </span> <span jsdisplay="!getTypeRef($this)" jstcache="48"> <span jsdisplay="isArray($this)" jstcache="50" style="display: none; "> array of <span jsselect="items" jstcache="52"><span transclude="typeTemplate" jstcache="53"></span></span> </span> <span jsdisplay="!isArray($this)" jscontent="getTypeName($this)" jstcache="51">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" jstcache="39" style="">The zero-based index of the tab within its window.</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" jsinstance="2"> <div jstcache="0"> <dt jstcache="0"> <var jsdisplay="$this.name" jscontent="$this.name" jstcache="45">windowId</var> <em jstcache="0"> <!-- TYPE --> <div style="display:inline" jstcache="0"> ( <span class="optional" jsdisplay="optional" jstcache="46" style="display: none; ">optional</span> <span id="typeTemplate" jstcache="0"> <span jsdisplay="getTypeRef($this)" jstcache="47" style="display: none; "> <a jsvalues=".href: getTypeRefPage($this) + '#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="49"> Type</a> </span> <span jsdisplay="!getTypeRef($this)" jstcache="48"> <span jsdisplay="isArray($this)" jstcache="50" style="display: none; "> array of <span jsselect="items" jstcache="52"><span transclude="typeTemplate" jstcache="53"></span></span> </span> <span jsdisplay="!isArray($this)" jscontent="getTypeName($this)" jstcache="51">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" jstcache="39" style="">The ID of the window the tab is contained within.</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" jsinstance="3"> <div jstcache="0"> <dt jstcache="0"> <var jsdisplay="$this.name" jscontent="$this.name" jstcache="45">selected</var> <em jstcache="0"> <!-- TYPE --> <div style="display:inline" jstcache="0"> ( <span class="optional" jsdisplay="optional" jstcache="46" style="display: none; ">optional</span> <span id="typeTemplate" jstcache="0"> <span jsdisplay="getTypeRef($this)" jstcache="47" style="display: none; "> <a jsvalues=".href: getTypeRefPage($this) + '#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="49"> Type</a> </span> <span jsdisplay="!getTypeRef($this)" jstcache="48"> <span jsdisplay="isArray($this)" jstcache="50" style="display: none; "> array of <span jsselect="items" jstcache="52"><span transclude="typeTemplate" jstcache="53"></span></span> </span> <span jsdisplay="!isArray($this)" jscontent="getTypeName($this)" jstcache="51">boolean</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" jstcache="39" style="">Whether the tab is selected.</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" jsinstance="4"> <div jstcache="0"> <dt jstcache="0"> <var jsdisplay="$this.name" jscontent="$this.name" jstcache="45">url</var> <em jstcache="0"> <!-- TYPE --> <div style="display:inline" jstcache="0"> ( <span class="optional" jsdisplay="optional" jstcache="46" style="display: none; ">optional</span> <span id="typeTemplate" jstcache="0"> <span jsdisplay="getTypeRef($this)" jstcache="47" style="display: none; "> <a jsvalues=".href: getTypeRefPage($this) + '#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="49"> Type</a> </span> <span jsdisplay="!getTypeRef($this)" jstcache="48"> <span jsdisplay="isArray($this)" jstcache="50" style="display: none; "> array of <span jsselect="items" jstcache="52"><span transclude="typeTemplate" jstcache="53"></span></span> </span> <span jsdisplay="!isArray($this)" jscontent="getTypeName($this)" jstcache="51">string</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" jstcache="39" style="">The URL the tab is displaying.</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" jsinstance="5"> <div jstcache="0"> <dt jstcache="0"> <var jsdisplay="$this.name" jscontent="$this.name" jstcache="45">title</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"> Type</a> </span> <span jsdisplay="!getTypeRef($this)" jstcache="48"> <span jsdisplay="isArray($this)" jstcache="50" style="display: none; "> array of <span jsselect="items" jstcache="52"><span transclude="typeTemplate" jstcache="53"></span></span> </span> <span jsdisplay="!isArray($this)" jscontent="getTypeName($this)" jstcache="51">string</span> </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" jstcache="39" style="">The title of the tab. This may not be available if the tab is loading.</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" 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" 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"> Type</a> </span> <span jsdisplay="!getTypeRef($this)" jstcache="48"> <span jsdisplay="isArray($this)" jstcache="50" style="display: none; "> array of <span jsselect="items" jstcache="52"><span transclude="typeTemplate" jstcache="53"></span></span> </span> <span jsdisplay="!isArray($this)" jscontent="getTypeName($this)" jstcache="51">string</span> </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" jstcache="39" style="">The URL of the tab's favicon. This may not be available if the tab is loading.</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" 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"> ( <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"> Type</a> </span> <span jsdisplay="!getTypeRef($this)" jstcache="48"> <span jsdisplay="isArray($this)" jstcache="50" style="display: none; "> array of <span jsselect="items" jstcache="52"><span transclude="typeTemplate" jstcache="53"></span></span> </span> <span jsdisplay="!isArray($this)" jscontent="getTypeName($this)" jstcache="51">string</span> </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" jstcache="39" style="">Either <em jstcache="0">loading</em> or <em jstcache="0">complete</em>.</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> </dl> </dd> </div> </div> <!-- /apiItem --> </div> <!-- /apiGroup --> </div> <!-- /apiPage --> </div> <!-- /mainColumn --> </div> <!-- /pageContent --> <div id="pageFooter" --="" jstcache="0"> <p jstcache="0"> Except as otherwise <a href="http://code.google.com/policies.html#restrictions" jstcache="0">noted</a>, the content of this page is licensed under the <a rel="license" href="http://creativecommons.org/licenses/by/3.0/" jstcache="0">Creative Commons Attribution 3.0 License</a>, and code samples are licensed under the <a rel="license" href="http://code.google.com/google_bsd_license.html" jstcache="0">BSD License</a>. </p> <p jstcache="0"> ©2009 Google </p> </div> <!-- /pageFooter --> </div> <!-- /container --> </body></html>
|
| +<!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 mechanism.
|
| + 2) The <body> tag *must* retain id="body"
|
| + 3) All <body>.innerHTML is genereated 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>.innerHTML is also generated by an offline step so that this
|
| + page may easily be indexed by search engines.
|
| +
|
| + TODO(rafaelw): Abstract this into a "pageshell" that becomes the single
|
| + version of page template shell and the "instance" pages (bookmarks.html,
|
| + etc...) can be generated with a build step.
|
| +--><!-- <html> must retain id="template --><html xmlns="http://www.w3.org/1999/xhtml" jstcache="0"><!-- <head> data 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">Tabs</title>
|
| + <link href="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_generator.js" jstcache="0"></script>
|
| + <script type="text/javascript" src="js/bootstrap.js" jstcache="0"></script>
|
| + </head><!-- <body> content is completely generated. Do not edit, as it will be
|
| + and rewritten. --><body jstcache="0"> <div id="container" jstcache="0">
|
| + <a name="top" jstcache="0"> </a>
|
| + <!-- API HEADER -->
|
| + <div id="pageHeader" jstcache="0">
|
| + <div id="searchbox" jstcache="0">
|
| + <form action="http://www.google.com/cse" id="cse-search-box" jstcache="0">
|
| + <div jstcache="0">
|
| + <input 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.google.com/jsapi" jstcache="0"></script>
|
| + <script type="text/javascript" jstcache="0">google.load("elements", "1", {packages: "transliteration"});</script>
|
| + <script type="text/javascript" src="http://www.google.com/coop/cse/t13n?form=cse-search-box&t13n_langs=en" jstcache="0"></script>
|
| + <script type="text/javascript" src="http://www.google.com/coop/cse/brand?form=cse-search-box&lang=en" jstcache="0"></script>
|
| + </div>
|
| + <div id="pageTitle" jstcache="0">
|
| + <h1 jscontent="getPageTitle()" jstcache="1">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 jstcache="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" jstcache="0">Toolstrips</a></li>
|
| + <li jstcache="0"><a href="pageActions.html" jstcache="0">Page Actions</a></li>
|
| + <li jstcache="0"><a href="background_pages.html" jstcache="0">Background Pages</a></li>
|
| + <li jstcache="0"><a href="content_scripts.html" jstcache="0">Content Scripts</a></li>
|
| + <li jstcache="0"><a href="events.html" jstcache="0">Events</a></li>
|
| + <li jstcache="0" class="leftNavSelected">Tabs</li>
|
| + <li jstcache="0"><a href="windows.html" jstcache="0">Windows</a></li>
|
| + <li jstcache="0"><a href="bookmarks.html" jstcache="0">Bookmarks</a></li>
|
| + <li jstcache="0"><a href="themes.html" jstcache="0">Themes</a></li>
|
| + <li jstcache="0"><a href="npapi.html" jstcache="0">NPAPI Plugins</a></li>
|
| + <li jstcache="0"><a href="packaging.html" jstcache="0">Packaging</a></li>
|
| + <li jstcache="0">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.html" 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 href="manifest.html" jstcache="0">Manifest Files</a></li>
|
| + <li jstcache="0"><a href="match_patterns.html" jstcache="0">Match Patterns</a></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 jstcache="0"><a href="http://dev.chromium.org/developers/design-documents/extensions/samples" jstcache="0">Samples</a></li>
|
| + </ul>
|
| + </div>
|
| +
|
| + <div id="mainColumn" jstcache="0">
|
| + <!-- TABLE OF CONTENTS -->
|
| + <div id="toc" jsdisplay="showPageTOC()" jstcache="2">
|
| + <p jstcache="0">Contents</p>
|
| + <ol jstcache="0">
|
| + <li jsselect="getStaticTOC()" jstcache="9" jsinstance="*0">
|
| + <a jscontent="name" jsvalues=".href:'#' + href" jstcache="14" href="#permissions">Permissions</a>
|
| + <ol jstcache="0">
|
| + <li jsselect="$this.children" jstcache="22" jsinstance="*0" style="display: none; ">
|
| + <a jscontent="name" 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="4">API reference: chrome.tabs</a>
|
| + <ol jstcache="0">
|
| + <li jsdisplay="$this.properties" jstcache="5" style="display: none; ">
|
| + <a href="#properties" jstcache="0">Properties</a>
|
| + <ol jstcache="0">
|
| + <li jsselect="getPropertyListFromObject($this)" jstcache="10">
|
| + <a jscontent="name" jsvalues=".href:'#property-' + name" href="#property-anchor" jstcache="42">propertyName</a>
|
| + </li>
|
| + </ol>
|
| + </li>
|
| + <li jsdisplay="functions && functions.length > 0" jstcache="6">
|
| + <a href="#methods" jstcache="0">Methods</a>
|
| + <ol jstcache="0">
|
| + <li jsselect="functions.sort(sortByName)" jstcache="11" jsinstance="0">
|
| + <a jscontent="name" jsvalues=".href:'#method-' + name" href="#method-captureVisibleTab" jstcache="43">captureVisibleTab</a>
|
| + </li><li jsselect="functions.sort(sortByName)" jstcache="11" jsinstance="1">
|
| + <a jscontent="name" jsvalues=".href:'#method-' + name" href="#method-connect" jstcache="43">connect</a>
|
| + </li><li jsselect="functions.sort(sortByName)" jstcache="11" jsinstance="2">
|
| + <a jscontent="name" jsvalues=".href:'#method-' + name" href="#method-create" jstcache="43">create</a>
|
| + </li><li jsselect="functions.sort(sortByName)" jstcache="11" jsinstance="3">
|
| + <a jscontent="name" jsvalues=".href:'#method-' + name" href="#method-detectLanguage" jstcache="43">detectLanguage</a>
|
| + </li><li jsselect="functions.sort(sortByName)" jstcache="11" jsinstance="4">
|
| + <a jscontent="name" jsvalues=".href:'#method-' + name" href="#method-get" jstcache="43">get</a>
|
| + </li><li jsselect="functions.sort(sortByName)" jstcache="11" jsinstance="5">
|
| + <a jscontent="name" jsvalues=".href:'#method-' + name" href="#method-getAllInWindow" jstcache="43">getAllInWindow</a>
|
| + </li><li jsselect="functions.sort(sortByName)" jstcache="11" jsinstance="6">
|
| + <a jscontent="name" jsvalues=".href:'#method-' + name" href="#method-getSelected" jstcache="43">getSelected</a>
|
| + </li><li jsselect="functions.sort(sortByName)" jstcache="11" jsinstance="7">
|
| + <a jscontent="name" jsvalues=".href:'#method-' + name" href="#method-move" jstcache="43">move</a>
|
| + </li><li jsselect="functions.sort(sortByName)" jstcache="11" jsinstance="8">
|
| + <a jscontent="name" jsvalues=".href:'#method-' + name" href="#method-remove" jstcache="43">remove</a>
|
| + </li><li jsselect="functions.sort(sortByName)" jstcache="11" jsinstance="*9">
|
| + <a jscontent="name" jsvalues=".href:'#method-' + name" href="#method-update" jstcache="43">update</a>
|
| + </li>
|
| + </ol>
|
| + </li>
|
| + <li jsdisplay="events && events.length > 0" jstcache="7">
|
| + <a href="#events" jstcache="0">Events</a>
|
| + <ol jstcache="0">
|
| + <li jsselect="events.sort(sortByName)" jstcache="12" jsinstance="0">
|
| + <a jscontent="name" jsvalues=".href:'#event-' + name" href="#event-onAttached" jstcache="44">onAttached</a>
|
| + </li><li jsselect="events.sort(sortByName)" jstcache="12" jsinstance="1">
|
| + <a jscontent="name" jsvalues=".href:'#event-' + name" href="#event-onCreated" jstcache="44">onCreated</a>
|
| + </li><li jsselect="events.sort(sortByName)" jstcache="12" jsinstance="2">
|
| + <a jscontent="name" jsvalues=".href:'#event-' + name" href="#event-onDetached" jstcache="44">onDetached</a>
|
| + </li><li jsselect="events.sort(sortByName)" jstcache="12" jsinstance="3">
|
| + <a jscontent="name" jsvalues=".href:'#event-' + name" href="#event-onMoved" jstcache="44">onMoved</a>
|
| + </li><li jsselect="events.sort(sortByName)" jstcache="12" jsinstance="4">
|
| + <a jscontent="name" jsvalues=".href:'#event-' + name" href="#event-onRemoved" jstcache="44">onRemoved</a>
|
| + </li><li jsselect="events.sort(sortByName)" jstcache="12" jsinstance="5">
|
| + <a jscontent="name" jsvalues=".href:'#event-' + name" href="#event-onSelectionChanged" jstcache="44">onSelectionChanged</a>
|
| + </li><li jsselect="events.sort(sortByName)" jstcache="12" jsinstance="*6">
|
| + <a jscontent="name" jsvalues=".href:'#event-' + name" href="#event-onUpdated" jstcache="44">onUpdated</a>
|
| + </li>
|
| + </ol>
|
| + </li>
|
| + <li jsdisplay="types && types.length > 0" jstcache="8">
|
| + <a href="#types" jstcache="0">Types</a>
|
| + <ol jstcache="0">
|
| + <li jsselect="types.sort(sortByName)" jstcache="38" jsinstance="*0">
|
| + <a jscontent="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"><div id="pageData-title" class="pageData" jstcache="0">Tabs</div>
|
| +
|
| +<!-- BEGIN AUTHORED CONTENT -->
|
| +<p id="classSummary" jstcache="0">
|
| +Use the <code jstcache="0">chrome.tabs</code> module
|
| +to interact with the browser's tab system.
|
| +You can use this module to
|
| +create, modify, and rearrange tabs in the browser.
|
| +</p>
|
| +
|
| +<h2 id="permissions" jstcache="0">Permissions</h2>
|
| +<p jstcache="0">You must declare the <var jstcache="0">tabs</var> permission in your extension's manifest to use the tabs API.</p>
|
| +<p jstcache="0">Example:</p>
|
| +<pre jstcache="0">{
|
| + "name": "My extension that uses tabs",
|
| + "version": "0.1",
|
| +<b jstcache="0"> "permissions": [
|
| + "tabs"
|
| + ]</b>
|
| +}</pre>
|
| +
|
| +<!-- END AUTHORED CONTENT -->
|
| +</div>
|
| +
|
| + <!-- API PAGE -->
|
| + <div class="apiPage" jsselect="apiDefinition" jstcache="3">
|
| + <a name="apiReference" jstcache="0"></a>
|
| + <h2 jscontent="'API reference: ' + getModuleName()" jstcache="4">API reference: chrome.tabs</h2>
|
| +
|
| + <!-- PROPERTIES -->
|
| + <div jsdisplay="$this.properties" class="apiGroup" jstcache="5" style="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 jscontent="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" jstcache="24">lastError</span>
|
| + </div>
|
| + <div transclude="valueTemplate" jstcache="17">
|
| + </div>
|
| + </div>
|
| +
|
| + </div> <!-- /apiGroup -->
|
| +
|
| + <!-- METHODS -->
|
| + <div jsdisplay="functions && functions.length > 0" class="apiGroup" id="methods" jstcache="6">
|
| + <a name="methods" jstcache="0"></a>
|
| + <h3 jstcache="0">Methods</h3>
|
| +
|
| + <!-- iterates over all functions -->
|
| + <div class="apiItem" jsselect="functions.sort(sortByName)" jstcache="11" jsinstance="0">
|
| + <a jsvalues=".name:'method-' + name" jstcache="18" name="method-captureVisibleTab"></a> <!-- method-anchor -->
|
| + <h4 jscontent="name" jstcache="16">captureVisibleTab</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="getFullyQualifiedFunctionName($this)" jstcache="26">chrome.tabs.captureVisibleTab</span>(<span jsselect="parameters" jsvalues="class:optional ? 'optional' : ''" jstcache="27" jsinstance="0" class="optional"><span jsdisplay="$index" jstcache="33" style="display: none; ">, </span><span jscontent="getTypeName($this)" jstcache="34">integer</span>
|
| + <var jstcache="0"><span jscontent="name" jstcache="16">windowId</span></var></span><span jsselect="parameters" jsvalues="class:optional ? 'optional' : ''" jstcache="27" jsinstance="*1" class="null"><span jsdisplay="$index" jstcache="33">, </span><span jscontent="getTypeName($this)" jstcache="34">function</span>
|
| + <var jstcache="0"><span jscontent="name" jstcache="16">callback</span></var></span>)</div>
|
| +
|
| + <div class="description" jstcache="0">
|
| + <p class="todo" jsdisplay="!description" jstcache="28" style="display: none; ">Undocumented.</p>
|
| + <p jsdisplay="description" jsvalues=".innerHTML:description" jstcache="29">Captures the visible area of the currently selected tab in the specified window.</p>
|
| +
|
| + <!-- PARAMETERS -->
|
| + <h4 jstcache="0">Parameters</h4>
|
| + <dl jstcache="0">
|
| + <div jsselect="parameters" jstcache="35" jsinstance="0">
|
| +
|
| + <!-- VALUE: This is a subtemplate that is used elsewhere
|
| + via jsTemplate *transclude* -->
|
| + <div id="valueTemplate" jstcache="0">
|
| + <dt jstcache="0">
|
| + <var jsdisplay="$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 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">integer</span>
|
| + </span>
|
| + </span>
|
| + )
|
| + </div>
|
| +
|
| + </em>
|
| + </dt>
|
| + <dd class="todo" jsdisplay="!$this.description" jstcache="39" style="display: none; ">
|
| + Undocumented.
|
| + </dd>
|
| + <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.description" jstcache="40">The target window. Defaults to the <a href="windows.html#current-window" jstcache="0">current window</a>.</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><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.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>
|
| + <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">function</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="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="display: none; ">Returns</h4>
|
| + <dl jstcache="0">
|
| + <div jsselect="returns" jstcache="36" style="display: none; ">
|
| + <div transclude="valueTemplate" jstcache="17">
|
| + </div>
|
| + </div>
|
| + </dl>
|
| +
|
| + <!-- CALLBACK -->
|
| + <div jsdisplay="hasCallback(parameters)" jstcache="31">
|
| + <div jsselect="getCallbackParameters(parameters)" jstcache="37">
|
| + <h4 jstcache="0">Callback function</h4>
|
| + <p jstcache="0">
|
| + If you specify the <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="getSignatureString(parameters)" jstcache="32">string dataUrl</span>) <span class="subdued" jstcache="0">{...}</span>);</pre>
|
| + <dl jstcache="0">
|
| + <div jsselect="parameters" jstcache="35" jsinstance="*0">
|
| + <div jstcache="0">
|
| + <dt jstcache="0">
|
| + <var jsdisplay="$this.name" jscontent="$this.name" jstcache="46">dataUrl</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: 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>
|
| + </span>
|
| + </span>
|
| + )
|
| + </div>
|
| +
|
| + </em>
|
| + </dt>
|
| + <dd class="todo" jsdisplay="!$this.description" jstcache="39" style="display: none; ">
|
| + Undocumented.
|
| + </dd>
|
| + <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.description" jstcache="40">A data URL of a JPEG encoding of the visible area of the captured tab. May be assigned to the 'src' property of an HTML Image element for display.</dd>
|
| +
|
| + <!-- OBJECT PROPERTIES -->
|
| + <dd 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>
|
| + </dl>
|
| + </div>
|
| + </div>
|
| +
|
| + </div> <!-- /description -->
|
| +
|
| + </div><div class="apiItem" jsselect="functions.sort(sortByName)" 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="getTypeName(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="null"><span jsdisplay="$index" jstcache="33" style="display: none; ">, </span><span jscontent="getTypeName($this)" jstcache="34">integer</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="optional"><span jsdisplay="$index" jstcache="33">, </span><span jscontent="getTypeName($this)" jstcache="34">object</span>
|
| + <var jstcache="0"><span jscontent="name" jstcache="16">connectInfo</span></var></span>)</div>
|
| +
|
| + <div class="description" jstcache="0">
|
| + <p class="todo" jsdisplay="!description" jstcache="28" style="display: none; ">Undocumented.</p>
|
| + <p jsdisplay="description" jsvalues=".innerHTML:description" jstcache="29">Connects to the content script(s) in the specified tab. The <a href="extension.html#event-onConnect" jstcache="0">chrome.extensions.onConnect</a> event is fired in each content script running in the specified tab for the current extension. For more details, see <a href="content_scripts.html#messaging" jstcache="0">Content Script Messaging</a>.</p>
|
| +
|
| + <!-- PARAMETERS -->
|
| + <h4 jstcache="0">Parameters</h4>
|
| + <dl jstcache="0">
|
| + <div jsselect="parameters" jstcache="35" jsinstance="0">
|
| +
|
| + <!-- VALUE: This is a subtemplate that is used elsewhere
|
| + via jsTemplate *transclude* -->
|
| + <div id="valueTemplate" jstcache="0">
|
| + <dt jstcache="0">
|
| + <var jsdisplay="$this.name" jscontent="$this.name" jstcache="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 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">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 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><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.name" jscontent="$this.name" jstcache="46">connectInfo</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 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">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">
|
| + <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">name</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 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>
|
| + </span>
|
| + </span>
|
| + )
|
| + </div>
|
| +
|
| + </em>
|
| + </dt>
|
| + <dd class="todo" jsdisplay="!$this.description" jstcache="39" style="display: none; ">
|
| + Undocumented.
|
| + </dd>
|
| + <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.description" jstcache="40">Will be passed into onConnect for content scripts that are listening for the connection event.</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>
|
| + </dl>
|
| + </dd>
|
| + </div> <!-- /VALUE -->
|
| +
|
| + </div>
|
| + </dl>
|
| +
|
| + <!-- RETURNS -->
|
| + <h4 jsdisplay="returns" jstcache="30">Returns</h4>
|
| + <dl jstcache="0">
|
| + <div jsselect="returns" jstcache="36">
|
| + <div jstcache="0">
|
| + <dt jstcache="0">
|
| + <var jsdisplay="$this.name" jscontent="$this.name" jstcache="46" style="display: none; ">windowId</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="">
|
| + <a jsvalues=".href: getTypeRefPage($this) + '#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="50" href="extension.html#type-Port">Port</a>
|
| + </span>
|
| + <span jsdisplay="!getTypeRef($this)" jstcache="49" style="display: none; ">
|
| + <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" style="display: none; ">
|
| + Undocumented.
|
| + </dd>
|
| + <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.description" jstcache="40">A port that can be used to communicate with the content scripts running in the specified tab.</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>
|
| + </dl>
|
| +
|
| + <!-- CALLBACK -->
|
| + <div jsdisplay="hasCallback(parameters)" jstcache="31" style="display: none; ">
|
| + <div jsselect="getCallbackParameters(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="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 transclude="valueTemplate" jstcache="17">
|
| + </div>
|
| + </div>
|
| + </dl>
|
| + </div>
|
| + </div>
|
| +
|
| + </div> <!-- /description -->
|
| +
|
| + </div><div class="apiItem" jsselect="functions.sort(sortByName)" jstcache="11" jsinstance="2">
|
| + <a jsvalues=".name:'method-' + name" jstcache="18" name="method-create"></a> <!-- method-anchor -->
|
| + <h4 jscontent="name" jstcache="16">create</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="getFullyQualifiedFunctionName($this)" jstcache="26">chrome.tabs.create</span>(<span jsselect="parameters" jsvalues="class:optional ? 'optional' : ''" jstcache="27" jsinstance="0" class="null"><span jsdisplay="$index" jstcache="33" style="display: none; ">, </span><span jscontent="getTypeName($this)" jstcache="34">object</span>
|
| + <var jstcache="0"><span jscontent="name" jstcache="16">createProperties</span></var></span><span jsselect="parameters" jsvalues="class:optional ? 'optional' : ''" jstcache="27" jsinstance="*1" class="optional"><span jsdisplay="$index" jstcache="33">, </span><span jscontent="getTypeName($this)" jstcache="34">function</span>
|
| + <var jstcache="0"><span jscontent="name" jstcache="16">callback</span></var></span>)</div>
|
| +
|
| + <div class="description" jstcache="0">
|
| + <p class="todo" jsdisplay="!description" jstcache="28" style="display: none; ">Undocumented.</p>
|
| + <p jsdisplay="description" jsvalues=".innerHTML:description" jstcache="29">Creates a new tab.</p>
|
| +
|
| + <!-- PARAMETERS -->
|
| + <h4 jstcache="0">Parameters</h4>
|
| + <dl jstcache="0">
|
| + <div jsselect="parameters" jstcache="35" jsinstance="0">
|
| +
|
| + <!-- VALUE: This is a subtemplate that is used elsewhere
|
| + via jsTemplate *transclude* -->
|
| + <div id="valueTemplate" jstcache="0">
|
| + <dt jstcache="0">
|
| + <var jsdisplay="$this.name" jscontent="$this.name" jstcache="46">createProperties</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: 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">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">
|
| + <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 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 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">integer</span>
|
| + </span>
|
| + </span>
|
| + )
|
| + </div>
|
| +
|
| + </em>
|
| + </dt>
|
| + <dd class="todo" jsdisplay="!$this.description" jstcache="39" style="display: none; ">
|
| + Undocumented.
|
| + </dd>
|
| + <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.description" jstcache="40">The window to create the new tab in. Defaults to the <a href="windows.html#current-window" jstcache="0">current window</a>.</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" jsinstance="1">
|
| + <div jstcache="0">
|
| + <dt jstcache="0">
|
| + <var jsdisplay="$this.name" jscontent="$this.name" jstcache="46">index</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 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">integer</span>
|
| + </span>
|
| + </span>
|
| + )
|
| + </div>
|
| +
|
| + </em>
|
| + </dt>
|
| + <dd class="todo" jsdisplay="!$this.description" jstcache="39" style="display: none; ">
|
| + Undocumented.
|
| + </dd>
|
| + <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.description" jstcache="40">The position the tab should take in the window. The provided value will be clamped to between zero and the number of tabs in the window.</dd>
|
| +
|
| + <!-- OBJECT PROPERTIES -->
|
| + <dd 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" jsinstance="2">
|
| + <div jstcache="0">
|
| + <dt jstcache="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">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>
|
| + </span>
|
| + </span>
|
| + )
|
| + </div>
|
| +
|
| + </em>
|
| + </dt>
|
| + <dd class="todo" jsdisplay="!$this.description" jstcache="39" style="display: none; ">
|
| + Undocumented.
|
| + </dd>
|
| + <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.description" jstcache="40">The URL to navigate the tab to initially. Fully-qualified URLs must include a scheme (i.e. 'http://www.google.com', not 'www.google.com'). Relative URLs will be relative to the current page within the extension. Defaults to the New Tab Page.</dd>
|
| +
|
| + <!-- OBJECT PROPERTIES -->
|
| + <dd 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" 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="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($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">boolean</span>
|
| + </span>
|
| + </span>
|
| + )
|
| + </div>
|
| +
|
| + </em>
|
| + </dt>
|
| + <dd class="todo" jsdisplay="!$this.description" jstcache="39" style="display: none; ">
|
| + Undocumented.
|
| + </dd>
|
| + <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.description" jstcache="40">Whether the tab should become the selected tab in the window. Defaults to <var jstcache="0">true</var></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>
|
| + </dl>
|
| + </dd>
|
| + </div> <!-- /VALUE -->
|
| +
|
| + </div><div jsselect="parameters" jstcache="35" jsinstance="*1">
|
| +
|
| + <!-- VALUE: This is a subtemplate that is used elsewhere
|
| + via jsTemplate *transclude* -->
|
| + <div id="valueTemplate" jstcache="0">
|
| + <dt jstcache="0">
|
| + <var jsdisplay="$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">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">function</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="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="display: none; ">Returns</h4>
|
| + <dl jstcache="0">
|
| + <div jsselect="returns" jstcache="36" style="display: none; ">
|
| + <div transclude="valueTemplate" jstcache="17">
|
| + </div>
|
| + </div>
|
| + </dl>
|
| +
|
| + <!-- CALLBACK -->
|
| + <div jsdisplay="hasCallback(parameters)" jstcache="31">
|
| + <div jsselect="getCallbackParameters(parameters)" jstcache="37">
|
| + <h4 jstcache="0">Callback function</h4>
|
| + <p jstcache="0">
|
| + If you specify the <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="getSignatureString(parameters)" jstcache="32">Tab tab</span>) <span class="subdued" jstcache="0">{...}</span>);</pre>
|
| + <dl jstcache="0">
|
| + <div jsselect="parameters" jstcache="35" jsinstance="*0">
|
| + <div jstcache="0">
|
| + <dt jstcache="0">
|
| + <var jsdisplay="$this.name" jscontent="$this.name" jstcache="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="getTypeRef($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)" jstcache="49" style="display: none; ">
|
| + <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" style="display: none; ">
|
| + Undocumented.
|
| + </dd>
|
| + <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.description" jstcache="40">Details about the created tab. Will contain the ID of the new tab.</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>
|
| + </dl>
|
| + </div>
|
| + </div>
|
| +
|
| + </div> <!-- /description -->
|
| +
|
| + </div><div class="apiItem" jsselect="functions.sort(sortByName)" jstcache="11" jsinstance="3">
|
| + <a jsvalues=".name:'method-' + name" jstcache="18" name="method-detectLanguage"></a> <!-- method-anchor -->
|
| + <h4 jscontent="name" jstcache="16">detectLanguage</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="getFullyQualifiedFunctionName($this)" jstcache="26">chrome.tabs.detectLanguage</span>(<span jsselect="parameters" jsvalues="class:optional ? 'optional' : ''" jstcache="27" jsinstance="0" class="optional"><span jsdisplay="$index" jstcache="33" style="display: none; ">, </span><span jscontent="getTypeName($this)" jstcache="34">integer</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">function</span>
|
| + <var jstcache="0"><span jscontent="name" jstcache="16">callback</span></var></span>)</div>
|
| +
|
| + <div class="description" jstcache="0">
|
| + <p class="todo" jsdisplay="!description" jstcache="28" style="display: none; ">Undocumented.</p>
|
| + <p jsdisplay="description" jsvalues=".innerHTML:description" jstcache="29">Detects the primary language of the content in a tab.</p>
|
| +
|
| + <!-- PARAMETERS -->
|
| + <h4 jstcache="0">Parameters</h4>
|
| + <dl jstcache="0">
|
| + <div jsselect="parameters" jstcache="35" jsinstance="0">
|
| +
|
| + <!-- VALUE: This is a subtemplate that is used elsewhere
|
| + via jsTemplate *transclude* -->
|
| + <div id="valueTemplate" jstcache="0">
|
| + <dt jstcache="0">
|
| + <var jsdisplay="$this.name" jscontent="$this.name" jstcache="46">tabId</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 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">integer</span>
|
| + </span>
|
| + </span>
|
| + )
|
| + </div>
|
| +
|
| + </em>
|
| + </dt>
|
| + <dd class="todo" jsdisplay="!$this.description" jstcache="39" style="display: none; ">
|
| + Undocumented.
|
| + </dd>
|
| + <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.description" jstcache="40">Defaults to the selected tab of the <a href="windows.html#current-window" jstcache="0">current window</a>.</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><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.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>
|
| + <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">function</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="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="display: none; ">Returns</h4>
|
| + <dl jstcache="0">
|
| + <div jsselect="returns" jstcache="36" style="display: none; ">
|
| + <div transclude="valueTemplate" jstcache="17">
|
| + </div>
|
| + </div>
|
| + </dl>
|
| +
|
| + <!-- CALLBACK -->
|
| + <div jsdisplay="hasCallback(parameters)" jstcache="31">
|
| + <div jsselect="getCallbackParameters(parameters)" jstcache="37">
|
| + <h4 jstcache="0">Callback function</h4>
|
| + <p jstcache="0">
|
| + If you specify the <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="getSignatureString(parameters)" jstcache="32">string language</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="46">language</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: 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>
|
| + </span>
|
| + </span>
|
| + )
|
| + </div>
|
| +
|
| + </em>
|
| + </dt>
|
| + <dd class="todo" jsdisplay="!$this.description" jstcache="39" style="display: none; ">
|
| + Undocumented.
|
| + </dd>
|
| + <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.description" jstcache="40">An ISO language code like <var jstcache="0">en</var> or <var jstcache="0">fr</var>.</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>
|
| + </dl>
|
| + </div>
|
| + </div>
|
| +
|
| + </div> <!-- /description -->
|
| +
|
| + </div><div class="apiItem" jsselect="functions.sort(sortByName)" jstcache="11" jsinstance="4">
|
| + <a jsvalues=".name:'method-' + name" jstcache="18" name="method-get"></a> <!-- method-anchor -->
|
| + <h4 jscontent="name" jstcache="16">get</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="getFullyQualifiedFunctionName($this)" jstcache="26">chrome.tabs.get</span>(<span jsselect="parameters" jsvalues="class:optional ? 'optional' : ''" jstcache="27" jsinstance="0" class="null"><span jsdisplay="$index" jstcache="33" style="display: none; ">, </span><span jscontent="getTypeName($this)" jstcache="34">integer</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">function</span>
|
| + <var jstcache="0"><span jscontent="name" jstcache="16">callback</span></var></span>)</div>
|
| +
|
| + <div class="description" jstcache="0">
|
| + <p class="todo" jsdisplay="!description" jstcache="28" style="display: none; ">Undocumented.</p>
|
| + <p jsdisplay="description" jsvalues=".innerHTML:description" jstcache="29">Retrieves details about the specified tab.</p>
|
| +
|
| + <!-- PARAMETERS -->
|
| + <h4 jstcache="0">Parameters</h4>
|
| + <dl jstcache="0">
|
| + <div jsselect="parameters" jstcache="35" jsinstance="0">
|
| +
|
| + <!-- VALUE: This is a subtemplate that is used elsewhere
|
| + via jsTemplate *transclude* -->
|
| + <div id="valueTemplate" jstcache="0">
|
| + <dt jstcache="0">
|
| + <var jsdisplay="$this.name" jscontent="$this.name" jstcache="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 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">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 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><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.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>
|
| + <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">function</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="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="display: none; ">Returns</h4>
|
| + <dl jstcache="0">
|
| + <div jsselect="returns" jstcache="36" style="display: none; ">
|
| + <div transclude="valueTemplate" jstcache="17">
|
| + </div>
|
| + </div>
|
| + </dl>
|
| +
|
| + <!-- CALLBACK -->
|
| + <div jsdisplay="hasCallback(parameters)" jstcache="31">
|
| + <div jsselect="getCallbackParameters(parameters)" jstcache="37">
|
| + <h4 jstcache="0">Callback function</h4>
|
| + <p jstcache="0">
|
| + If you specify the <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="getSignatureString(parameters)" jstcache="32">Tab tab</span>) <span class="subdued" jstcache="0">{...}</span>);</pre>
|
| + <dl jstcache="0">
|
| + <div jsselect="parameters" jstcache="35" jsinstance="*0">
|
| + <div jstcache="0">
|
| + <dt jstcache="0">
|
| + <var jsdisplay="$this.name" jscontent="$this.name" jstcache="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="getTypeRef($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)" jstcache="49" style="display: none; ">
|
| + <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" style="">
|
| + Undocumented.
|
| + </dd>
|
| + <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.description" jstcache="40" style="display: none; ">The target window. Defaults to the <a href="windows.html#current-window" jstcache="0">current window</a>.</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>
|
| + </dl>
|
| + </div>
|
| + </div>
|
| +
|
| + </div> <!-- /description -->
|
| +
|
| + </div><div class="apiItem" jsselect="functions.sort(sortByName)" jstcache="11" jsinstance="5">
|
| + <a jsvalues=".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(returns)" jstcache="25" style="display: none; ">void</span>
|
| + <!-- Note: intentionally longer 80 columns -->
|
| + <span jscontent="getFullyQualifiedFunctionName($this)" jstcache="26">chrome.tabs.getAllInWindow</span>(<span jsselect="parameters" jsvalues="class:optional ? 'optional' : ''" jstcache="27" jsinstance="0" class="optional"><span jsdisplay="$index" jstcache="33" style="display: none; ">, </span><span jscontent="getTypeName($this)" jstcache="34">integer</span>
|
| + <var jstcache="0"><span jscontent="name" jstcache="16">windowId</span></var></span><span jsselect="parameters" jsvalues="class:optional ? 'optional' : ''" jstcache="27" jsinstance="*1" class="null"><span jsdisplay="$index" jstcache="33">, </span><span jscontent="getTypeName($this)" jstcache="34">function</span>
|
| + <var jstcache="0"><span jscontent="name" jstcache="16">callback</span></var></span>)</div>
|
| +
|
| + <div class="description" jstcache="0">
|
| + <p class="todo" jsdisplay="!description" jstcache="28" style="display: none; ">Undocumented.</p>
|
| + <p jsdisplay="description" jsvalues=".innerHTML:description" jstcache="29">Gets details about all tabs in the specified window.</p>
|
| +
|
| + <!-- PARAMETERS -->
|
| + <h4 jstcache="0">Parameters</h4>
|
| + <dl jstcache="0">
|
| + <div jsselect="parameters" jstcache="35" jsinstance="0">
|
| +
|
| + <!-- VALUE: This is a subtemplate that is used elsewhere
|
| + via jsTemplate *transclude* -->
|
| + <div id="valueTemplate" jstcache="0">
|
| + <dt jstcache="0">
|
| + <var jsdisplay="$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 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">integer</span>
|
| + </span>
|
| + </span>
|
| + )
|
| + </div>
|
| +
|
| + </em>
|
| + </dt>
|
| + <dd class="todo" jsdisplay="!$this.description" jstcache="39" style="display: none; ">
|
| + Undocumented.
|
| + </dd>
|
| + <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.description" jstcache="40">Defaults to the <a href="windows.html#current-window" jstcache="0">current window</a>.</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><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.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>
|
| + <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">function</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="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="display: none; ">Returns</h4>
|
| + <dl jstcache="0">
|
| + <div jsselect="returns" jstcache="36" style="display: none; ">
|
| + <div transclude="valueTemplate" jstcache="17">
|
| + </div>
|
| + </div>
|
| + </dl>
|
| +
|
| + <!-- CALLBACK -->
|
| + <div jsdisplay="hasCallback(parameters)" jstcache="31">
|
| + <div jsselect="getCallbackParameters(parameters)" jstcache="37">
|
| + <h4 jstcache="0">Callback function</h4>
|
| + <p jstcache="0">
|
| + If you specify the <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="getSignatureString(parameters)" jstcache="32">array of Tab tabs</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="46">tabs</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: 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="">
|
| + array of <span jsselect="items" jstcache="53"><span jstcache="0">
|
| + <span jsdisplay="getTypeRef($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)" jstcache="49" style="display: none; ">
|
| + <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></span>
|
| + </span>
|
| + <span jsdisplay="!isArray($this)" jscontent="getTypeName($this)" jstcache="52" style="display: none; ">integer</span>
|
| + </span>
|
| + </span>
|
| + )
|
| + </div>
|
| +
|
| + </em>
|
| + </dt>
|
| + <dd class="todo" jsdisplay="!$this.description" jstcache="39" style="">
|
| + Undocumented.
|
| + </dd>
|
| + <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.description" jstcache="40" style="display: none; ">The target window. Defaults to the <a href="windows.html#current-window" jstcache="0">current window</a>.</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>
|
| + </dl>
|
| + </div>
|
| + </div>
|
| +
|
| + </div> <!-- /description -->
|
| +
|
| + </div><div class="apiItem" jsselect="functions.sort(sortByName)" jstcache="11" jsinstance="6">
|
| + <a jsvalues=".name:'method-' + name" jstcache="18" name="method-getSelected"></a> <!-- method-anchor -->
|
| + <h4 jscontent="name" jstcache="16">getSelected</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="getFullyQualifiedFunctionName($this)" jstcache="26">chrome.tabs.getSelected</span>(<span jsselect="parameters" jsvalues="class:optional ? 'optional' : ''" jstcache="27" jsinstance="0" class="optional"><span jsdisplay="$index" jstcache="33" style="display: none; ">, </span><span jscontent="getTypeName($this)" jstcache="34">integer</span>
|
| + <var jstcache="0"><span jscontent="name" jstcache="16">windowId</span></var></span><span jsselect="parameters" jsvalues="class:optional ? 'optional' : ''" jstcache="27" jsinstance="*1" class="null"><span jsdisplay="$index" jstcache="33">, </span><span jscontent="getTypeName($this)" jstcache="34">function</span>
|
| + <var jstcache="0"><span jscontent="name" jstcache="16">callback</span></var></span>)</div>
|
| +
|
| + <div class="description" jstcache="0">
|
| + <p class="todo" jsdisplay="!description" jstcache="28" style="display: none; ">Undocumented.</p>
|
| + <p jsdisplay="description" jsvalues=".innerHTML:description" jstcache="29">Gets the tab that is selected in the specified window.</p>
|
| +
|
| + <!-- PARAMETERS -->
|
| + <h4 jstcache="0">Parameters</h4>
|
| + <dl jstcache="0">
|
| + <div jsselect="parameters" jstcache="35" jsinstance="0">
|
| +
|
| + <!-- VALUE: This is a subtemplate that is used elsewhere
|
| + via jsTemplate *transclude* -->
|
| + <div id="valueTemplate" jstcache="0">
|
| + <dt jstcache="0">
|
| + <var jsdisplay="$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 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">integer</span>
|
| + </span>
|
| + </span>
|
| + )
|
| + </div>
|
| +
|
| + </em>
|
| + </dt>
|
| + <dd class="todo" jsdisplay="!$this.description" jstcache="39" style="display: none; ">
|
| + Undocumented.
|
| + </dd>
|
| + <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.description" jstcache="40">Defaults to the <a href="windows.html#current-window" jstcache="0">current window</a>.</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><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.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>
|
| + <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">function</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="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="display: none; ">Returns</h4>
|
| + <dl jstcache="0">
|
| + <div jsselect="returns" jstcache="36" style="display: none; ">
|
| + <div transclude="valueTemplate" jstcache="17">
|
| + </div>
|
| + </div>
|
| + </dl>
|
| +
|
| + <!-- CALLBACK -->
|
| + <div jsdisplay="hasCallback(parameters)" jstcache="31">
|
| + <div jsselect="getCallbackParameters(parameters)" jstcache="37">
|
| + <h4 jstcache="0">Callback function</h4>
|
| + <p jstcache="0">
|
| + If you specify the <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="getSignatureString(parameters)" jstcache="32">Tab tab</span>) <span class="subdued" jstcache="0">{...}</span>);</pre>
|
| + <dl jstcache="0">
|
| + <div jsselect="parameters" jstcache="35" jsinstance="*0">
|
| + <div jstcache="0">
|
| + <dt jstcache="0">
|
| + <var jsdisplay="$this.name" jscontent="$this.name" jstcache="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="getTypeRef($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)" jstcache="49" style="display: none; ">
|
| + <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" style="">
|
| + Undocumented.
|
| + </dd>
|
| + <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.description" jstcache="40" style="display: none; ">The target window. Defaults to the <a href="windows.html#current-window" jstcache="0">current window</a>.</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>
|
| + </dl>
|
| + </div>
|
| + </div>
|
| +
|
| + </div> <!-- /description -->
|
| +
|
| + </div><div class="apiItem" jsselect="functions.sort(sortByName)" jstcache="11" jsinstance="7">
|
| + <a jsvalues=".name:'method-' + name" jstcache="18" name="method-move"></a> <!-- method-anchor -->
|
| + <h4 jscontent="name" jstcache="16">move</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="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="getTypeName($this)" jstcache="34">integer</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">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" style="display: none; ">Undocumented.</p>
|
| + <p jsdisplay="description" jsvalues=".innerHTML:description" jstcache="29">Move a tab to a new position within its window, or to a new window.</p>
|
| +
|
| + <!-- PARAMETERS -->
|
| + <h4 jstcache="0">Parameters</h4>
|
| + <dl jstcache="0">
|
| + <div jsselect="parameters" jstcache="35" jsinstance="0">
|
| +
|
| + <!-- VALUE: This is a subtemplate that is used elsewhere
|
| + via jsTemplate *transclude* -->
|
| + <div id="valueTemplate" jstcache="0">
|
| + <dt jstcache="0">
|
| + <var jsdisplay="$this.name" jscontent="$this.name" jstcache="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 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">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 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><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.name" jscontent="$this.name" jstcache="46">moveProperties</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: 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">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">
|
| + <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 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 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">integer</span>
|
| + </span>
|
| + </span>
|
| + )
|
| + </div>
|
| +
|
| + </em>
|
| + </dt>
|
| + <dd class="todo" jsdisplay="!$this.description" jstcache="39" style="display: none; ">
|
| + Undocumented.
|
| + </dd>
|
| + <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.description" jstcache="40">Defaults to the window the tab is currently in.</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" jsinstance="*1">
|
| + <div jstcache="0">
|
| + <dt jstcache="0">
|
| + <var jsdisplay="$this.name" jscontent="$this.name" jstcache="46">index</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: 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">integer</span>
|
| + </span>
|
| + </span>
|
| + )
|
| + </div>
|
| +
|
| + </em>
|
| + </dt>
|
| + <dd class="todo" jsdisplay="!$this.description" jstcache="39" style="display: none; ">
|
| + Undocumented.
|
| + </dd>
|
| + <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.description" jstcache="40">The position to move the window to. The provided value will be clamped to between zero and the number of tabs in the window.</dd>
|
| +
|
| + <!-- OBJECT PROPERTIES -->
|
| + <dd 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>
|
| + </dl>
|
| + </dd>
|
| + </div> <!-- /VALUE -->
|
| +
|
| + </div><div jsselect="parameters" jstcache="35" jsinstance="*2">
|
| +
|
| + <!-- 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" 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 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">function</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="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="display: none; ">Returns</h4>
|
| + <dl jstcache="0">
|
| + <div jsselect="returns" jstcache="36" style="display: none; ">
|
| + <div transclude="valueTemplate" jstcache="17">
|
| + </div>
|
| + </div>
|
| + </dl>
|
| +
|
| + <!-- CALLBACK -->
|
| + <div jsdisplay="hasCallback(parameters)" jstcache="31">
|
| + <div jsselect="getCallbackParameters(parameters)" jstcache="37">
|
| + <h4 jstcache="0">Callback function</h4>
|
| + <p jstcache="0">
|
| + If you specify the <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="getSignatureString(parameters)" jstcache="32"></span>) <span class="subdued" jstcache="0">{...}</span>);</pre>
|
| + <dl jstcache="0">
|
| + <div jsselect="parameters" jstcache="35" jsinstance="*0" style="display: none; ">
|
| + <div transclude="valueTemplate" jstcache="17">
|
| + </div>
|
| + </div>
|
| + </dl>
|
| + </div>
|
| + </div>
|
| +
|
| + </div> <!-- /description -->
|
| +
|
| + </div><div class="apiItem" jsselect="functions.sort(sortByName)" jstcache="11" jsinstance="8">
|
| + <a jsvalues=".name:'method-' + name" jstcache="18" name="method-remove"></a> <!-- method-anchor -->
|
| + <h4 jscontent="name" 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="getFullyQualifiedFunctionName($this)" jstcache="26">chrome.tabs.remove</span>(<span jsselect="parameters" jsvalues="class:optional ? 'optional' : ''" jstcache="27" jsinstance="0" class="null"><span jsdisplay="$index" jstcache="33" style="display: none; ">, </span><span jscontent="getTypeName($this)" jstcache="34">integer</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="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" style="display: none; ">Undocumented.</p>
|
| + <p jsdisplay="description" jsvalues=".innerHTML:description" jstcache="29">Closes a tab.</p>
|
| +
|
| + <!-- PARAMETERS -->
|
| + <h4 jstcache="0">Parameters</h4>
|
| + <dl jstcache="0">
|
| + <div jsselect="parameters" jstcache="35" jsinstance="0">
|
| +
|
| + <!-- VALUE: This is a subtemplate that is used elsewhere
|
| + via jsTemplate *transclude* -->
|
| + <div id="valueTemplate" jstcache="0">
|
| + <dt jstcache="0">
|
| + <var jsdisplay="$this.name" jscontent="$this.name" jstcache="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 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">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 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><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.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">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">function</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="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="display: none; ">Returns</h4>
|
| + <dl jstcache="0">
|
| + <div jsselect="returns" jstcache="36" style="display: none; ">
|
| + <div transclude="valueTemplate" jstcache="17">
|
| + </div>
|
| + </div>
|
| + </dl>
|
| +
|
| + <!-- CALLBACK -->
|
| + <div jsdisplay="hasCallback(parameters)" jstcache="31">
|
| + <div jsselect="getCallbackParameters(parameters)" jstcache="37">
|
| + <h4 jstcache="0">Callback function</h4>
|
| + <p jstcache="0">
|
| + If you specify the <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="getSignatureString(parameters)" jstcache="32"></span>) <span class="subdued" jstcache="0">{...}</span>);</pre>
|
| + <dl jstcache="0">
|
| + <div jsselect="parameters" jstcache="35" jsinstance="*0" style="display: none; ">
|
| + <div transclude="valueTemplate" jstcache="17">
|
| + </div>
|
| + </div>
|
| + </dl>
|
| + </div>
|
| + </div>
|
| +
|
| + </div> <!-- /description -->
|
| +
|
| + </div><div class="apiItem" jsselect="functions.sort(sortByName)" jstcache="11" jsinstance="*9">
|
| + <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="getTypeName(returns)" jstcache="25" style="display: none; ">void</span>
|
| + <!-- Note: intentionally longer 80 columns -->
|
| + <span jscontent="getFullyQualifiedFunctionName($this)" jstcache="26">chrome.tabs.update</span>(<span jsselect="parameters" jsvalues="class:optional ? 'optional' : ''" jstcache="27" jsinstance="0" class="null"><span jsdisplay="$index" jstcache="33" style="display: none; ">, </span><span jscontent="getTypeName($this)" jstcache="34">integer</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" jstcache="33">, </span><span jscontent="getTypeName($this)" jstcache="34">function</span>
|
| + <var jstcache="0"><span jscontent="name" jstcache="16">callback</span></var></span>)</div>
|
| +
|
| + <div class="description" jstcache="0">
|
| + <p class="todo" jsdisplay="!description" jstcache="28" style="display: none; ">Undocumented.</p>
|
| + <p jsdisplay="description" jsvalues=".innerHTML:description" jstcache="29">Modify the properties of a tab. Properties that are not specified in <var jstcache="0">updateProperties</var> are not modified.</p>
|
| +
|
| + <!-- PARAMETERS -->
|
| + <h4 jstcache="0">Parameters</h4>
|
| + <dl jstcache="0">
|
| + <div jsselect="parameters" jstcache="35" jsinstance="0">
|
| +
|
| + <!-- VALUE: This is a subtemplate that is used elsewhere
|
| + via jsTemplate *transclude* -->
|
| + <div id="valueTemplate" jstcache="0">
|
| + <dt jstcache="0">
|
| + <var jsdisplay="$this.name" jscontent="$this.name" jstcache="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 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">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 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><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.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="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">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">
|
| + <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">url</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 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>
|
| + </span>
|
| + </span>
|
| + )
|
| + </div>
|
| +
|
| + </em>
|
| + </dt>
|
| + <dd class="todo" jsdisplay="!$this.description" jstcache="39" style="">
|
| + Undocumented.
|
| + </dd>
|
| + <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.description" jstcache="40" style="display: none; ">The target window. Defaults to the <a href="windows.html#current-window" jstcache="0">current window</a>.</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" jsinstance="*1">
|
| + <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="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($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">boolean</span>
|
| + </span>
|
| + </span>
|
| + )
|
| + </div>
|
| +
|
| + </em>
|
| + </dt>
|
| + <dd class="todo" jsdisplay="!$this.description" jstcache="39" style="">
|
| + Undocumented.
|
| + </dd>
|
| + <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.description" jstcache="40" style="display: none; ">The target window. Defaults to the <a href="windows.html#current-window" jstcache="0">current window</a>.</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>
|
| + </dl>
|
| + </dd>
|
| + </div> <!-- /VALUE -->
|
| +
|
| + </div><div jsselect="parameters" jstcache="35" jsinstance="*2">
|
| +
|
| + <!-- 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" 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 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">function</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="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="display: none; ">Returns</h4>
|
| + <dl jstcache="0">
|
| + <div jsselect="returns" jstcache="36" style="display: none; ">
|
| + <div transclude="valueTemplate" jstcache="17">
|
| + </div>
|
| + </div>
|
| + </dl>
|
| +
|
| + <!-- CALLBACK -->
|
| + <div jsdisplay="hasCallback(parameters)" jstcache="31">
|
| + <div jsselect="getCallbackParameters(parameters)" jstcache="37">
|
| + <h4 jstcache="0">Callback function</h4>
|
| + <p jstcache="0">
|
| + If you specify the <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="getSignatureString(parameters)" jstcache="32"></span>) <span class="subdued" jstcache="0">{...}</span>);</pre>
|
| + <dl jstcache="0">
|
| + <div jsselect="parameters" jstcache="35" jsinstance="*0" style="display: none; ">
|
| + <div transclude="valueTemplate" jstcache="17">
|
| + </div>
|
| + </div>
|
| + </dl>
|
| + </div>
|
| + </div>
|
| +
|
| + </div> <!-- /description -->
|
| +
|
| + </div> <!-- /apiItem -->
|
| +
|
| + </div> <!-- /apiGroup -->
|
| +
|
| + <!-- EVENTS -->
|
| + <div jsdisplay="events && events.length > 0" class="apiGroup" jstcache="7">
|
| + <a name="events" jstcache="0"></a>
|
| + <h3 id="events" jstcache="0">Events</h3>
|
| +
|
| + <!-- iterates over all events -->
|
| + <div jsselect="events.sort(sortByName)" class="apiItem" jstcache="12" jsinstance="0">
|
| + <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" jstcache="23">chrome.tabs.</span><span jscontent="name" jstcache="16">onAttached</span><span class="subdued" jstcache="0">.addListener</span>(function(<span jscontent="getSignatureString(parameters)" jstcache="32">integer tabId, object attachInfo</span>) <span class="subdued" jstcache="0">{...}</span>);
|
| + </div>
|
| +
|
| + <div class="description" jstcache="0">
|
| + <p class="todo" jsdisplay="!description" jstcache="28" style="display: none; ">Undocumented.</p>
|
| + <p jsdisplay="description" jsvalues=".innerHTML:description" jstcache="29">Fired when a tab is attached to a window, for example because it was moved between windows.</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="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 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">integer</span>
|
| + </span>
|
| + </span>
|
| + )
|
| + </div>
|
| +
|
| + </em>
|
| + </dt>
|
| + <dd class="todo" jsdisplay="!$this.description" jstcache="39" style="">
|
| + Undocumented.
|
| + </dd>
|
| + <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.description" jstcache="40" style="display: none; ">The target window. Defaults to the <a href="windows.html#current-window" jstcache="0">current window</a>.</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="parameters" jstcache="35" 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" 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">object</span>
|
| + </span>
|
| + </span>
|
| + )
|
| + </div>
|
| +
|
| + </em>
|
| + </dt>
|
| + <dd class="todo" jsdisplay="!$this.description" jstcache="39" style="">
|
| + Undocumented.
|
| + </dd>
|
| + <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.description" jstcache="40" style="display: none; ">The target window. Defaults to the <a href="windows.html#current-window" jstcache="0">current window</a>.</dd>
|
| +
|
| + <!-- OBJECT PROPERTIES -->
|
| + <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">
|
| +
|
| + <!-- 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: 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">integer</span>
|
| + </span>
|
| + </span>
|
| + )
|
| + </div>
|
| +
|
| + </em>
|
| + </dt>
|
| + <dd class="todo" jsdisplay="!$this.description" jstcache="39" style="">
|
| + Undocumented.
|
| + </dd>
|
| + <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.description" jstcache="40" style="display: none; ">The target window. Defaults to the <a href="windows.html#current-window" jstcache="0">current window</a>.</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" jsinstance="*1">
|
| + <div jstcache="0">
|
| + <dt jstcache="0">
|
| + <var jsdisplay="$this.name" jscontent="$this.name" jstcache="46">newPosition</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: 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">integer</span>
|
| + </span>
|
| + </span>
|
| + )
|
| + </div>
|
| +
|
| + </em>
|
| + </dt>
|
| + <dd class="todo" jsdisplay="!$this.description" jstcache="39" style="">
|
| + Undocumented.
|
| + </dd>
|
| + <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.description" jstcache="40" style="display: none; ">The target window. Defaults to the <a href="windows.html#current-window" jstcache="0">current window</a>.</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>
|
| + </dl>
|
| + </dd>
|
| + </div>
|
| + </div>
|
| + </dl>
|
| +
|
| + </div> <!-- /decription -->
|
| +
|
| + </div><div jsselect="events.sort(sortByName)" class="apiItem" jstcache="12" jsinstance="1">
|
| + <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" jstcache="23">chrome.tabs.</span><span jscontent="name" jstcache="16">onCreated</span><span class="subdued" jstcache="0">.addListener</span>(function(<span jscontent="getSignatureString(parameters)" jstcache="32">Tab tab</span>) <span class="subdued" jstcache="0">{...}</span>);
|
| + </div>
|
| +
|
| + <div class="description" jstcache="0">
|
| + <p class="todo" jsdisplay="!description" jstcache="28" style="display: none; ">Undocumented.</p>
|
| + <p jsdisplay="description" jsvalues=".innerHTML:description" jstcache="29">Fires when a tab is created.</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="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="getTypeRef($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)" jstcache="49" style="display: none; ">
|
| + <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" style="display: none; ">
|
| + Undocumented.
|
| + </dd>
|
| + <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.description" jstcache="40">Details of the tab that was created.</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>
|
| + </dl>
|
| +
|
| + </div> <!-- /decription -->
|
| +
|
| + </div><div jsselect="events.sort(sortByName)" class="apiItem" jstcache="12" jsinstance="2">
|
| + <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.tabs.</span><span jscontent="name" jstcache="16">onDetached</span><span class="subdued" jstcache="0">.addListener</span>(function(<span jscontent="getSignatureString(parameters)" jstcache="32">integer tabId, object detachInfo</span>) <span class="subdued" jstcache="0">{...}</span>);
|
| + </div>
|
| +
|
| + <div class="description" jstcache="0">
|
| + <p class="todo" jsdisplay="!description" jstcache="28" style="display: none; ">Undocumented.</p>
|
| + <p jsdisplay="description" jsvalues=".innerHTML:description" jstcache="29">Fired when a tab is detached from a window, for example because it is being moved between windows.</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="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 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">integer</span>
|
| + </span>
|
| + </span>
|
| + )
|
| + </div>
|
| +
|
| + </em>
|
| + </dt>
|
| + <dd class="todo" jsdisplay="!$this.description" jstcache="39" style="">
|
| + Undocumented.
|
| + </dd>
|
| + <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.description" jstcache="40" style="display: none; ">The target window. Defaults to the <a href="windows.html#current-window" jstcache="0">current window</a>.</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="parameters" jstcache="35" jsinstance="*1">
|
| + <div jstcache="0">
|
| + <dt jstcache="0">
|
| + <var jsdisplay="$this.name" jscontent="$this.name" jstcache="46">detachInfo</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: 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">object</span>
|
| + </span>
|
| + </span>
|
| + )
|
| + </div>
|
| +
|
| + </em>
|
| + </dt>
|
| + <dd class="todo" jsdisplay="!$this.description" jstcache="39" style="">
|
| + Undocumented.
|
| + </dd>
|
| + <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.description" jstcache="40" style="display: none; ">The target window. Defaults to the <a href="windows.html#current-window" jstcache="0">current window</a>.</dd>
|
| +
|
| + <!-- OBJECT PROPERTIES -->
|
| + <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">oldWindowId</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: 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">integer</span>
|
| + </span>
|
| + </span>
|
| + )
|
| + </div>
|
| +
|
| + </em>
|
| + </dt>
|
| + <dd class="todo" jsdisplay="!$this.description" jstcache="39" style="">
|
| + Undocumented.
|
| + </dd>
|
| + <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.description" jstcache="40" style="display: none; ">The target window. Defaults to the <a href="windows.html#current-window" jstcache="0">current window</a>.</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" jsinstance="*1">
|
| + <div jstcache="0">
|
| + <dt jstcache="0">
|
| + <var jsdisplay="$this.name" jscontent="$this.name" jstcache="46">oldPosition</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: 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">integer</span>
|
| + </span>
|
| + </span>
|
| + )
|
| + </div>
|
| +
|
| + </em>
|
| + </dt>
|
| + <dd class="todo" jsdisplay="!$this.description" jstcache="39" style="">
|
| + Undocumented.
|
| + </dd>
|
| + <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.description" jstcache="40" style="display: none; ">The target window. Defaults to the <a href="windows.html#current-window" jstcache="0">current window</a>.</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>
|
| + </dl>
|
| + </dd>
|
| + </div>
|
| + </div>
|
| + </dl>
|
| +
|
| + </div> <!-- /decription -->
|
| +
|
| + </div><div jsselect="events.sort(sortByName)" class="apiItem" jstcache="12" jsinstance="3">
|
| + <a jsvalues=".name:'event-' + name" jstcache="19" name="event-onMoved"></a>
|
| + <h4 jscontent="name" jstcache="16">onMoved</h4>
|
| +
|
| + <div class="summary" jstcache="0">
|
| + <!-- Note: intentionally longer 80 columns -->
|
| + <span jscontent="getModuleName() + '.'" class="subdued" jstcache="23">chrome.tabs.</span><span jscontent="name" jstcache="16">onMoved</span><span class="subdued" jstcache="0">.addListener</span>(function(<span jscontent="getSignatureString(parameters)" jstcache="32">integer tabId, object moveInfo</span>) <span class="subdued" jstcache="0">{...}</span>);
|
| + </div>
|
| +
|
| + <div class="description" jstcache="0">
|
| + <p class="todo" jsdisplay="!description" jstcache="28" style="display: none; ">Undocumented.</p>
|
| + <p jsdisplay="description" jsvalues=".innerHTML:description" jstcache="29">Fires when a tab is moved within a window. Only one move event is fired, representing the tab the user directly moved. Move events are not fired for the other tabs that must move in response. This event is not fired when a tab is moved between windows. For that, see <a href="#event-onDetached" jstcache="0">onDetached</a>.</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="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 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">integer</span>
|
| + </span>
|
| + </span>
|
| + )
|
| + </div>
|
| +
|
| + </em>
|
| + </dt>
|
| + <dd class="todo" jsdisplay="!$this.description" jstcache="39" style="">
|
| + Undocumented.
|
| + </dd>
|
| + <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.description" jstcache="40" style="display: none; ">The target window. Defaults to the <a href="windows.html#current-window" jstcache="0">current window</a>.</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="parameters" jstcache="35" jsinstance="*1">
|
| + <div jstcache="0">
|
| + <dt jstcache="0">
|
| + <var jsdisplay="$this.name" jscontent="$this.name" jstcache="46">moveInfo</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: 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">object</span>
|
| + </span>
|
| + </span>
|
| + )
|
| + </div>
|
| +
|
| + </em>
|
| + </dt>
|
| + <dd class="todo" jsdisplay="!$this.description" jstcache="39" style="">
|
| + Undocumented.
|
| + </dd>
|
| + <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.description" jstcache="40" style="display: none; ">The target window. Defaults to the <a href="windows.html#current-window" jstcache="0">current window</a>.</dd>
|
| +
|
| + <!-- OBJECT PROPERTIES -->
|
| + <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">windowId</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: 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">integer</span>
|
| + </span>
|
| + </span>
|
| + )
|
| + </div>
|
| +
|
| + </em>
|
| + </dt>
|
| + <dd class="todo" jsdisplay="!$this.description" jstcache="39" style="">
|
| + Undocumented.
|
| + </dd>
|
| + <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.description" jstcache="40" style="display: none; ">The target window. Defaults to the <a href="windows.html#current-window" jstcache="0">current window</a>.</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" 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">
|
| + (
|
| + <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">integer</span>
|
| + </span>
|
| + </span>
|
| + )
|
| + </div>
|
| +
|
| + </em>
|
| + </dt>
|
| + <dd class="todo" jsdisplay="!$this.description" jstcache="39" style="">
|
| + Undocumented.
|
| + </dd>
|
| + <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.description" jstcache="40" style="display: none; ">The target window. Defaults to the <a href="windows.html#current-window" jstcache="0">current window</a>.</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" 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">
|
| + (
|
| + <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">integer</span>
|
| + </span>
|
| + </span>
|
| + )
|
| + </div>
|
| +
|
| + </em>
|
| + </dt>
|
| + <dd class="todo" jsdisplay="!$this.description" jstcache="39" style="">
|
| + Undocumented.
|
| + </dd>
|
| + <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.description" jstcache="40" style="display: none; ">The target window. Defaults to the <a href="windows.html#current-window" jstcache="0">current window</a>.</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>
|
| + </dl>
|
| + </dd>
|
| + </div>
|
| + </div>
|
| + </dl>
|
| +
|
| + </div> <!-- /decription -->
|
| +
|
| + </div><div jsselect="events.sort(sortByName)" class="apiItem" jstcache="12" jsinstance="4">
|
| + <a jsvalues=".name:'event-' + name" jstcache="19" name="event-onRemoved"></a>
|
| + <h4 jscontent="name" jstcache="16">onRemoved</h4>
|
| +
|
| + <div class="summary" jstcache="0">
|
| + <!-- Note: intentionally longer 80 columns -->
|
| + <span jscontent="getModuleName() + '.'" class="subdued" jstcache="23">chrome.tabs.</span><span jscontent="name" jstcache="16">onRemoved</span><span class="subdued" jstcache="0">.addListener</span>(function(<span jscontent="getSignatureString(parameters)" jstcache="32">integer tabId</span>) <span class="subdued" jstcache="0">{...}</span>);
|
| + </div>
|
| +
|
| + <div class="description" jstcache="0">
|
| + <p class="todo" jsdisplay="!description" jstcache="28" style="display: none; ">Undocumented.</p>
|
| + <p jsdisplay="description" jsvalues=".innerHTML:description" jstcache="29">Fires when a tab is closed.</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="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 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">integer</span>
|
| + </span>
|
| + </span>
|
| + )
|
| + </div>
|
| +
|
| + </em>
|
| + </dt>
|
| + <dd class="todo" jsdisplay="!$this.description" jstcache="39" style="">
|
| + Undocumented.
|
| + </dd>
|
| + <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.description" jstcache="40" style="display: none; ">The target window. Defaults to the <a href="windows.html#current-window" jstcache="0">current window</a>.</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>
|
| + </dl>
|
| +
|
| + </div> <!-- /decription -->
|
| +
|
| + </div><div jsselect="events.sort(sortByName)" class="apiItem" jstcache="12" jsinstance="5">
|
| + <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 columns -->
|
| + <span jscontent="getModuleName() + '.'" class="subdued" jstcache="23">chrome.tabs.</span><span jscontent="name" jstcache="16">onSelectionChanged</span><span class="subdued" jstcache="0">.addListener</span>(function(<span jscontent="getSignatureString(parameters)" jstcache="32">integer tabId, object selectInfo</span>) <span class="subdued" jstcache="0">{...}</span>);
|
| + </div>
|
| +
|
| + <div class="description" jstcache="0">
|
| + <p class="todo" jsdisplay="!description" jstcache="28" style="display: none; ">Undocumented.</p>
|
| + <p jsdisplay="description" jsvalues=".innerHTML:description" jstcache="29">Fires when the selected tab in a window changes.</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="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 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">integer</span>
|
| + </span>
|
| + </span>
|
| + )
|
| + </div>
|
| +
|
| + </em>
|
| + </dt>
|
| + <dd class="todo" jsdisplay="!$this.description" jstcache="39" style="display: none; ">
|
| + Undocumented.
|
| + </dd>
|
| + <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.description" jstcache="40">The ID of the tab that has become selected.</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="parameters" jstcache="35" 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="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">object</span>
|
| + </span>
|
| + </span>
|
| + )
|
| + </div>
|
| +
|
| + </em>
|
| + </dt>
|
| + <dd class="todo" jsdisplay="!$this.description" jstcache="39" style="">
|
| + Undocumented.
|
| + </dd>
|
| + <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.description" jstcache="40" style="display: none; ">The target window. Defaults to the <a href="windows.html#current-window" jstcache="0">current window</a>.</dd>
|
| +
|
| + <!-- OBJECT PROPERTIES -->
|
| + <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">windowId</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: 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">integer</span>
|
| + </span>
|
| + </span>
|
| + )
|
| + </div>
|
| +
|
| + </em>
|
| + </dt>
|
| + <dd class="todo" jsdisplay="!$this.description" jstcache="39" style="display: none; ">
|
| + Undocumented.
|
| + </dd>
|
| + <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.description" jstcache="40">The ID of the window the selected tab changed inside of.</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>
|
| + </dl>
|
| + </dd>
|
| + </div>
|
| + </div>
|
| + </dl>
|
| +
|
| + </div> <!-- /decription -->
|
| +
|
| + </div><div jsselect="events.sort(sortByName)" class="apiItem" jstcache="12" jsinstance="*6">
|
| + <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="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, object changeInfo</span>) <span class="subdued" jstcache="0">{...}</span>);
|
| + </div>
|
| +
|
| + <div class="description" jstcache="0">
|
| + <p class="todo" jsdisplay="!description" jstcache="28" style="display: none; ">Undocumented.</p>
|
| + <p jsdisplay="description" jsvalues=".innerHTML:description" jstcache="29">Fires when a tab is updated.</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="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 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">integer</span>
|
| + </span>
|
| + </span>
|
| + )
|
| + </div>
|
| +
|
| + </em>
|
| + </dt>
|
| + <dd class="todo" jsdisplay="!$this.description" jstcache="39" style="">
|
| + Undocumented.
|
| + </dd>
|
| + <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.description" jstcache="40" style="display: none; ">The target window. Defaults to the <a href="windows.html#current-window" jstcache="0">current window</a>.</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="parameters" jstcache="35" jsinstance="*1">
|
| + <div jstcache="0">
|
| + <dt jstcache="0">
|
| + <var jsdisplay="$this.name" jscontent="$this.name" jstcache="46">changeInfo</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: 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">object</span>
|
| + </span>
|
| + </span>
|
| + )
|
| + </div>
|
| +
|
| + </em>
|
| + </dt>
|
| + <dd class="todo" jsdisplay="!$this.description" jstcache="39" style="">
|
| + Undocumented.
|
| + </dd>
|
| + <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.description" jstcache="40" style="display: none; ">The target window. Defaults to the <a href="windows.html#current-window" jstcache="0">current window</a>.</dd>
|
| +
|
| + <!-- OBJECT PROPERTIES -->
|
| + <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">status</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: 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>
|
| + </span>
|
| + </span>
|
| + )
|
| + </div>
|
| +
|
| + </em>
|
| + </dt>
|
| + <dd class="todo" jsdisplay="!$this.description" jstcache="39" style="display: none; ">
|
| + Undocumented.
|
| + </dd>
|
| + <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.description" jstcache="40">The status of the tab. Can be either <em jstcache="0">loading</em> or <em jstcache="0">complete</em>.</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" jsinstance="*1">
|
| + <div jstcache="0">
|
| + <dt jstcache="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">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>
|
| + </span>
|
| + </span>
|
| + )
|
| + </div>
|
| +
|
| + </em>
|
| + </dt>
|
| + <dd class="todo" jsdisplay="!$this.description" jstcache="39" style="display: none; ">
|
| + Undocumented.
|
| + </dd>
|
| + <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.description" jstcache="40">Only specified if the tab's URL changed.</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>
|
| + </dl>
|
| + </dd>
|
| + </div>
|
| + </div>
|
| + </dl>
|
| +
|
| + </div> <!-- /decription -->
|
| +
|
| + </div> <!-- /apiItem -->
|
| +
|
| + </div> <!-- /apiGroup -->
|
| +
|
| + <!-- TYPES -->
|
| + <div jsdisplay="types && types.length > 0" class="apiGroup" jstcache="8">
|
| + <a name="types.sort(sortByName)" jstcache="0"></a>
|
| + <h3 id="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="46" style="display: none; ">windowId</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: 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">object</span>
|
| + </span>
|
| + </span>
|
| + )
|
| + </div>
|
| +
|
| + </em>
|
| + </dt>
|
| + <dd class="todo" jsdisplay="!$this.description" jstcache="39" style="">
|
| + Undocumented.
|
| + </dd>
|
| + <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.description" jstcache="40" style="display: none; ">The target window. Defaults to the <a href="windows.html#current-window" jstcache="0">current window</a>.</dd>
|
| +
|
| + <!-- OBJECT PROPERTIES -->
|
| + <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">id</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: 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">integer</span>
|
| + </span>
|
| + </span>
|
| + )
|
| + </div>
|
| +
|
| + </em>
|
| + </dt>
|
| + <dd class="todo" jsdisplay="!$this.description" jstcache="39" style="display: none; ">
|
| + Undocumented.
|
| + </dd>
|
| + <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.description" jstcache="40">The ID of the tab. Tab IDs are unique within a browser session.</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" jsinstance="1">
|
| + <div jstcache="0">
|
| + <dt jstcache="0">
|
| + <var jsdisplay="$this.name" jscontent="$this.name" jstcache="46">index</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: 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">integer</span>
|
| + </span>
|
| + </span>
|
| + )
|
| + </div>
|
| +
|
| + </em>
|
| + </dt>
|
| + <dd class="todo" jsdisplay="!$this.description" jstcache="39" style="display: none; ">
|
| + Undocumented.
|
| + </dd>
|
| + <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.description" jstcache="40">The zero-based index of the tab within its window.</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" jsinstance="2">
|
| + <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; ">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">integer</span>
|
| + </span>
|
| + </span>
|
| + )
|
| + </div>
|
| +
|
| + </em>
|
| + </dt>
|
| + <dd class="todo" jsdisplay="!$this.description" jstcache="39" style="display: none; ">
|
| + Undocumented.
|
| + </dd>
|
| + <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.description" jstcache="40">The ID of the window the tab is contained within.</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" 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="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">boolean</span>
|
| + </span>
|
| + </span>
|
| + )
|
| + </div>
|
| +
|
| + </em>
|
| + </dt>
|
| + <dd class="todo" jsdisplay="!$this.description" jstcache="39" style="display: none; ">
|
| + Undocumented.
|
| + </dd>
|
| + <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.description" jstcache="40">Whether the tab is selected.</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" jsinstance="4">
|
| + <div jstcache="0">
|
| + <dt jstcache="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: 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>
|
| + </span>
|
| + </span>
|
| + )
|
| + </div>
|
| +
|
| + </em>
|
| + </dt>
|
| + <dd class="todo" jsdisplay="!$this.description" jstcache="39" style="display: none; ">
|
| + Undocumented.
|
| + </dd>
|
| + <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.description" jstcache="40">The URL the tab is displaying.</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" 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">
|
| + (
|
| + <span 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($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.description" jstcache="39" style="display: none; ">
|
| + Undocumented.
|
| + </dd>
|
| + <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.description" jstcache="40">The title of the tab. This may not be available if the tab is loading.</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" 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="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($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.description" jstcache="39" style="display: none; ">
|
| + Undocumented.
|
| + </dd>
|
| + <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.description" jstcache="40">The URL of the tab's favicon. This may not be available if the tab is loading.</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" jsinstance="*7">
|
| + <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">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>
|
| + </span>
|
| + </span>
|
| + )
|
| + </div>
|
| +
|
| + </em>
|
| + </dt>
|
| + <dd class="todo" jsdisplay="!$this.description" jstcache="39" style="display: none; ">
|
| + Undocumented.
|
| + </dd>
|
| + <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.description" jstcache="40">Either <em jstcache="0">loading</em> or <em jstcache="0">complete</em>.</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>
|
| + </dl>
|
| + </dd>
|
| + </div>
|
| +
|
| + </div> <!-- /apiItem -->
|
| +
|
| + </div> <!-- /apiGroup -->
|
| +
|
| + </div> <!-- /apiPage -->
|
| + </div> <!-- /mainColumn -->
|
| + </div> <!-- /pageContent -->
|
| + <div id="pageFooter" --="" jstcache="0">
|
| + <p jstcache="0">
|
| + Except as otherwise <a href="http://code.google.com/policies.html#restrictions" jstcache="0">noted</a>,
|
| + the content of this page is licensed under the <a rel="license" href="http://creativecommons.org/licenses/by/3.0/" jstcache="0">Creative Commons
|
| + Attribution 3.0 License</a>, and code samples are licensed under the
|
| + <a rel="license" href="http://code.google.com/google_bsd_license.html" jstcache="0">BSD License</a>.
|
| + </p>
|
| + <p jstcache="0">
|
| + ©2009 Google
|
| + </p>
|
| + </div> <!-- /pageFooter -->
|
| + </div> <!-- /container -->
|
| +</body></html>
|
| +#EOF
|
|
|