| OLD | NEW |
| 1 <!DOCTYPE html><!-- This page is a placeholder for generated extensions api doc.
Note: 1) The <head> information in this page is significant, should be uniform
across api docs and should be edited only with knowledge of the templating mecha
nism. 2) The <body> tag *must* retain id="body" 3) All <body>.innerHTML is gener
eated as an rendering step. If viewed in a browser, it will be re-generated from
the template, json schema and authored overview content. 4) The <body>.innerHTM
L is also generated by an offline step so that this page may easily be indexed b
y search engines. TODO(rafaelw): Abstract this into a "pageshell" that becomes t
he single version of page template shell and the "instance" pages (bookmarks.htm
l, etc...) can be generated with a build step. --><!-- <html> must retain id="te
mplate --><html xmlns="http://www.w3.org/1999/xhtml" jstcache="0"><!-- <head> da
ta is significant and loads the needed libraries and styles --><head jstcache="0
"> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" jstcache="
0"> <title jscontent="getPageTitle()" jstcache="1">Tabs</title> <link href="css/
ApiRefStyles.css" rel="stylesheet" type="text/css" jstcache="0"> <script type="t
ext/javascript" src="../../../third_party/jstemplate/jstemplate_compiled.js" jst
cache="0"> </script> <script type="text/javascript" src="js/api_page_generator.j
s" jstcache="0"></script> <script type="text/javascript" src="js/bootstrap.js" j
stcache="0"></script> </head><!-- <body> content is completely generated. Do not
edit, as it will be and rewritten. --><body jstcache="0"> <div id="container" j
stcache="0"> <a name="top" jstcache="0"> </a> <!-- API HEADER --> <div id="pageH
eader" 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"> <inp
ut 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" jstcach
e="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="te
xt/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"></s
cript> </div> <div id="pageTitle" jstcache="0"> <h1 jscontent="getPageTitle()" j
stcache="1">Tabs</h1> </div> </div> <!-- /pageHeader --> <div id="pageContent" j
stcache="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">Tools
trips</a></li> <li jstcache="0"><a href="pageActions.html" jstcache="0">Page Act
ions</a></li> <li jstcache="0"><a href="background_pages.html" jstcache="0">Back
ground 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">Bookmar
ks</a></li> <li jstcache="0">Themes</li> <li jstcache="0"><a href="npapi.html" j
stcache="0">NPAPI Plugins</a></li> <li jstcache="0"><a href="packaging.html" jst
cache="0">Packaging</a></li> <li jstcache="0">Autoupdate</li> </ul> </li> <li js
tcache="0"><a href="tutorials.html" jstcache="0"><div jstcache="0">Tutorials</di
v></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.h
tml" 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 hr
ef="http://dev.chromium.org/developers/design-documents/extensions/samples" jstc
ache="0">Samples</a></li> </ul> </div> <div id="mainColumn" jstcache="0"> <!-- T
ABLE OF CONTENTS --> <div id="toc" jsdisplay="showPageTOC()" jstcache="2"> <p js
tcache="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" jsva
lues=".href:'#' + href" jstcache="14">h3Name</a> </li> </ol> </li> <div jsselect
="apiDefinition" jstcache="3"> <li jstcache="0"> <a href="#apiReference" jsconte
nt="'API reference: ' + getModuleName()" jstcache="4">API reference: chrome.tabs
</a> <ol jstcache="0"> <li jsdisplay="$this.properties" jstcache="5" style="disp
lay: none; "> <a href="#properties" jstcache="0">Properties</a> <ol jstcache="0"
> <li jsselect="getPropertyListFromObject($this)" jstcache="10"> <a jscontent="n
ame" 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 js
tcache="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="nam
e" jsvalues=".href:'#method-' + name" href="#method-connect" jstcache="42">conne
ct</a> </li><li jsselect="functions" jstcache="11" jsinstance="2"> <a jscontent=
"name" jsvalues=".href:'#method-' + name" href="#method-getSelected" jstcache="4
2">getSelected</a> </li><li jsselect="functions" jstcache="11" jsinstance="3"> <
a jscontent="name" jsvalues=".href:'#method-' + name" href="#method-getAllInWind
ow" jstcache="42">getAllInWindow</a> </li><li jsselect="functions" jstcache="11"
jsinstance="4"> <a jscontent="name" jsvalues=".href:'#method-' + name" href="#m
ethod-create" jstcache="42">create</a> </li><li jsselect="functions" jstcache="1
1" 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="1
1" 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="fu
nctions" jstcache="11" jsinstance="*9"> <a jscontent="name" jsvalues=".href:'#me
thod-' + name" href="#method-captureVisibleTab" jstcache="42">captureVisibleTab<
/a> </li> </ol> </li> <li jsdisplay="events && events.length > 0" jst
cache="7"> <a href="#events" jstcache="0">Events</a> <ol jstcache="0"> <li jssel
ect="events" jstcache="12" jsinstance="0"> <a jscontent="name" jsvalues=".href:'
#event-' + name" href="#event-onCreated" jstcache="43">onCreated</a> </li><li js
select="events" jstcache="12" jsinstance="1"> <a jscontent="name" jsvalues=".hre
f:'#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=".h
ref:'#event-' + name" href="#event-onSelectionChanged" jstcache="43">onSelection
Changed</a> </li><li jsselect="events" jstcache="12" jsinstance="4"> <a jsconten
t="name" jsvalues=".href:'#event-' + name" href="#event-onDetached" jstcache="43
">onDetached</a> </li><li jsselect="events" jstcache="12" jsinstance="5"> <a jsc
ontent="name" jsvalues=".href:'#event-' + name" href="#event-onAttached" jstcach
e="43">onAttached</a> </li><li jsselect="events" jstcache="12" jsinstance="*6">
<a jscontent="name" jsvalues=".href:'#event-' + name" href="#event-onRemoved" js
tcache="43">onRemoved</a> </li> </ol> </li> <li jsdisplay="types && type
s.length > 0" jstcache="8"> <a href="#types" jstcache="0">Types</a> <ol jstca
che="0"> <li jsselect="types" jstcache="13" jsinstance="*0"> <a jscontent="id" j
svalues=".href:'#type-' + id" href="#type-Tab" jstcache="44">Tab</a> </li> </ol>
</li> </ol> </li> </div> </ol> </div> <!-- /TABLE OF CONTENTS --> <!-- STATIC C
ONTENT PLACEHOLDER --> <div id="static" jstcache="0"><div id="pageData-title" cl
ass="pageData" jstcache="0">Tabs</div> <!-- BEGIN AUTHORED CONTENT --> <p id="cl
assSummary" jstcache="0"> Use the <code jstcache="0">chrome.tabs</code> module t
o interact with the browser's tab system. You can use this module to create, mod
ify, 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" js
tcache="0"></a> <h2 jscontent="'API reference: ' + getModuleName()" jstcache="4"
>API reference: chrome.tabs</h2> <!-- PROPERTIES --> <div jsdisplay="$this.prope
rties" class="apiGroup" jstcache="5" style="display: none; "> <a name="propertie
s" jstcache="0"></a> <h3 id="properties" jstcache="0">Properties</h3> <div jssel
ect="getPropertyListFromObject($this)" jstcache="10"> <a jsvalues=".name:'proper
ty-' + name" jstcache="15"></a> <h4 jscontent="name" jstcache="16">getLastError<
/h4> <div class="summary" jstcache="0"> <!-- Note: intentionally longer 80 colum
ns --> <span jscontent="getModuleName() + '.'" jstcache="23">chrome.extension</s
pan><span jscontent="$this.name" jstcache="24">lastError</span> </div> <div tran
sclude="valueTemplate" jstcache="17"> </div> </div> </div> <!-- /apiGroup --> <!
-- METHODS --> <div jsdisplay="functions && functions.length > 0" cla
ss="apiGroup" id="methods" jstcache="6"> <a name="methods" jstcache="0"></a> <h3
jstcache="0">Methods</h3> <!-- iterates over all functions --> <div class="apiI
tem" jsselect="functions" jstcache="11" jsinstance="0"> <a jsvalues=".name:'meth
od-' + name" jstcache="18" name="method-get"></a> <!-- method-anchor --> <h4 jsc
ontent="name" jstcache="16">get</h4> <div class="summary" jstcache="0"><span jsd
isplay="returns" jscontent="getTypeName(returns)" jstcache="25" style="display:
none; ">void</span> <!-- Note: intentionally longer 80 columns --> <span jsconte
nt="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="d
isplay: none; ">, </span><span jscontent="getTypeName($this)" jstcache="34">inte
ger</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></s
pan>)</div> <div class="description" jstcache="0"> <p class="todo" jsdisplay="!d
escription" 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</h
4> <dl jstcache="0"> <div jsselect="parameters" jstcache="35" jsinstance="0"> <!
-- VALUE: This is a subtemplate that is used elsewhere via jsTemplate *transclud
e* --> <div id="valueTemplate" jstcache="0"> <dt jstcache="0"> <var jsdisplay="$
this.name" jscontent="$this.name" jstcache="45">tabId</var> <em jstcache="0"> <!
-- TYPE --> <div style="display:inline" jstcache="0"> ( <span class="optional" j
sdisplay="optional" jstcache="46" style="display: none; ">optional</span> <span
id="typeTemplate" jstcache="0"> <span jsdisplay="getTypeRef($this)" jstcache="47
" style="display: none; "> <a jsvalues=".href: getTypeRefPage($this) + '#type-'
+ getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="49"> Type</a> </spa
n> <span jsdisplay="!getTypeRef($this)" jstcache="48"> <span jsdisplay="isArray(
$this)" jstcache="50" style="display: none; "> array of <span jsselect="items" j
stcache="52"><span transclude="typeTemplate" jstcache="53"></span></span> </span
> <span jsdisplay="!isArray($this)" jscontent="getTypeName($this)" jstcache="51"
>integer</span> </span> </span> ) </div> </em> </dt> <dd class="todo" jsdisplay=
"!$this.description" jstcache="38"> Undocumented. </dd> <dd jsdisplay="$this.des
cription" jsvalues=".innerHTML:$this.description" jstcache="39" style="display:
none; "> Description of this parameter from the json schema. </dd> <!-- OBJECT P
ROPERTIES --> <dd jsdisplay="shouldExpandObject($this)" jstcache="40" style="dis
play: none; "> <dl jstcache="0"> <div jsselect="getPropertyListFromObject($this)
" jstcache="10"> <div transclude="valueTemplate" jstcache="17"> </div> </div> </
dl> </dd> </div> <!-- /VALUE --> </div><div jsselect="parameters" jstcache="35"
jsinstance="*1"> <!-- VALUE: This is a subtemplate that is used elsewhere via js
Template *transclude* --> <div id="valueTemplate" jstcache="0"> <dt jstcache="0"
> <var jsdisplay="$this.name" jscontent="$this.name" jstcache="45">callback</var
> <em jstcache="0"> <!-- TYPE --> <div style="display:inline" jstcache="0"> ( <s
pan class="optional" jsdisplay="optional" jstcache="46" style="display: none; ">
optional</span> <span id="typeTemplate" jstcache="0"> <span jsdisplay="getTypeRe
f($this)" jstcache="47" style="display: none; "> <a jsvalues=".href: getTypeRefP
age($this) + '#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcach
e="49"> Type</a> </span> <span jsdisplay="!getTypeRef($this)" jstcache="48"> <sp
an jsdisplay="isArray($this)" jstcache="50" style="display: none; "> array of <s
pan jsselect="items" jstcache="52"><span transclude="typeTemplate" jstcache="53"
></span></span> </span> <span jsdisplay="!isArray($this)" jscontent="getTypeName
($this)" jstcache="51">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" jstcach
e="39" style="display: none; "> Description of this parameter from the json sche
ma. </dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="shouldExpandObject($this)" j
stcache="40" style="display: none; "> <dl jstcache="0"> <div jsselect="getProper
tyListFromObject($this)" jstcache="10"> <div transclude="valueTemplate" jstcache
="17"> </div> </div> </dl> </dd> </div> <!-- /VALUE --> </div> </dl> <!-- RETURN
S --> <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> <!-- CALLBA
CK --> <div jsdisplay="hasCallback(parameters)" jstcache="31"> <div jsselect="
getCallbackParameters(parameters)" jstcache="37"> <h4 jstcache="0">Callback func
tion</h4> <p jstcache="0"> If you specify the <em jstcache="0">callback</em> par
ameter, it should specify a function that looks like this: </p> <!-- Note: inten
tionally longer 80 columns --> <pre jstcache="0">function(<span jscontent="getSi
gnatureString(parameters)" jstcache="32">Tab tab</span>) <span class="subdued" j
stcache="0">{...}</span>);</pre> <dl jstcache="0"> <div jsselect="parameters" js
tcache="35" jsinstance="*0"> <div jstcache="0"> <dt jstcache="0"> <var jsdisplay
="$this.name" jscontent="$this.name" jstcache="45">tab</var> <em jstcache="0"> <
!-- TYPE --> <div style="display:inline" jstcache="0"> ( <span class="optional"
jsdisplay="optional" jstcache="46" style="display: none; ">optional</span> <span
id="typeTemplate" jstcache="0"> <span jsdisplay="getTypeRef($this)" jstcache="4
7" style=""> <a jsvalues=".href: getTypeRefPage($this) + '#type-' + getTypeRef($
this)" jscontent="getTypeRef($this)" jstcache="49" href="tabs.html#type-Tab">Tab
</a> </span> <span jsdisplay="!getTypeRef($this)" jstcache="48" style="display:
none; "> <span jsdisplay="isArray($this)" jstcache="50" style="display: none; ">
array of <span jsselect="items" jstcache="52"><span transclude="typeTemplate" j
stcache="53"></span></span> </span> <span jsdisplay="!isArray($this)" jscontent=
"getTypeName($this)" jstcache="51">integer</span> </span> </span> ) </div> </em>
</dt> <dd class="todo" jsdisplay="!$this.description" jstcache="38"> Undocument
ed. </dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.descripti
on" jstcache="39" style="display: none; "> Description of this parameter from th
e json schema. </dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="shouldExpandObjec
t($this)" jstcache="40" style="display: none; "> <dl jstcache="0"> <div jsselect
="getPropertyListFromObject($this)" jstcache="10"> <div transclude="valueTemplat
e" jstcache="17"> </div> </div> </dl> </dd> </div> </div> </dl> </div> </div> </
div> <!-- /description --> </div><div class="apiItem" jsselect="functions" jstca
che="11" jsinstance="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" jscont
ent="getTypeName(returns)" jstcache="25">Port</span> <!-- Note: intentionally lo
nger 80 columns --> <span jscontent="getFullyQualifiedFunctionName($this)" jstca
che="26">chrome.tabs.connect</span>(<span jsselect="parameters" jsvalues="class:
optional ? 'optional' : ''" jstcache="27" jsinstance="0" class="null"><span jsdi
splay="$index" jstcache="33" style="display: none; ">, </span><span jscontent="g
etTypeName($this)" jstcache="34">integer</span> <var jstcache="0"><span jsconten
t="name" jstcache="16">tabId</span></var></span><span jsselect="parameters" jsva
lues="class:optional ? 'optional' : ''" jstcache="27" jsinstance="*1" class="opt
ional"><span jsdisplay="$index" jstcache="33">, </span><span jscontent="getTypeN
ame($this)" jstcache="34">object</span> <var jstcache="0"><span jscontent="name"
jstcache="16">connectInfo</span></var></span>)</div> <div class="description" j
stcache="0"> <p class="todo" jsdisplay="!description" jstcache="28" style="displ
ay: none; ">Undocumented.</p> <p jsdisplay="description" jsvalues=".innerHTML:de
scription" jstcache="29">Connects to the content script(s) in the specified tab.
The <a href="extension.html#event-onConnect" jstcache="0">chrome.extensions.onC
onnect</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 jstcach
e="0">Parameters</h4> <dl jstcache="0"> <div jsselect="parameters" jstcache="35"
jsinstance="0"> <!-- VALUE: This is a subtemplate that is used elsewhere via js
Template *transclude* --> <div id="valueTemplate" jstcache="0"> <dt jstcache="0"
> <var jsdisplay="$this.name" jscontent="$this.name" jstcache="45">tabId</var> <
em jstcache="0"> <!-- TYPE --> <div style="display:inline" jstcache="0"> ( <span
class="optional" jsdisplay="optional" jstcache="46" style="display: none; ">opt
ional</span> <span id="typeTemplate" jstcache="0"> <span jsdisplay="getTypeRef($
this)" jstcache="47" style="display: none; "> <a jsvalues=".href: getTypeRefPage
($this) + '#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="
49"> Type</a> </span> <span jsdisplay="!getTypeRef($this)" jstcache="48"> <span
jsdisplay="isArray($this)" jstcache="50" style="display: none; "> array of <span
jsselect="items" jstcache="52"><span transclude="typeTemplate" jstcache="53"></
span></span> </span> <span jsdisplay="!isArray($this)" jscontent="getTypeName($t
his)" jstcache="51">integer</span> </span> </span> ) </div> </em> </dt> <dd clas
s="todo" jsdisplay="!$this.description" jstcache="38"> Undocumented. </dd> <dd j
sdisplay="$this.description" jsvalues=".innerHTML:$this.description" jstcache="3
9" style="display: none; "> Description of this parameter from the json schema.
</dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="shouldExpandObject($this)" jstca
che="40" style="display: none; "> <dl jstcache="0"> <div jsselect="getPropertyLi
stFromObject($this)" jstcache="10"> <div transclude="valueTemplate" jstcache="17
"> </div> </div> </dl> </dd> </div> <!-- /VALUE --> </div><div jsselect="paramet
ers" jstcache="35" jsinstance="*1"> <!-- VALUE: This is a subtemplate that is us
ed 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:inli
ne" jstcache="0"> ( <span class="optional" jsdisplay="optional" jstcache="46">op
tional</span> <span id="typeTemplate" jstcache="0"> <span jsdisplay="getTypeRef(
$this)" jstcache="47" style="display: none; "> <a jsvalues=".href: getTypeRefPag
e($this) + '#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache=
"49"> Type</a> </span> <span jsdisplay="!getTypeRef($this)" jstcache="48"> <span
jsdisplay="isArray($this)" jstcache="50" style="display: none; "> array of <spa
n jsselect="items" jstcache="52"><span transclude="typeTemplate" jstcache="53"><
/span></span> </span> <span jsdisplay="!isArray($this)" jscontent="getTypeName($
this)" jstcache="51">object</span> </span> </span> ) </div> </em> </dt> <dd clas
s="todo" jsdisplay="!$this.description" jstcache="38"> Undocumented. </dd> <dd j
sdisplay="$this.description" jsvalues=".innerHTML:$this.description" jstcache="3
9" style="display: none; "> Description of this parameter from the json schema.
</dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="shouldExpandObject($this)" jstca
che="40"> <dl jstcache="0"> <div jsselect="getPropertyListFromObject($this)" jst
cache="10" jsinstance="*0"> <div jstcache="0"> <dt jstcache="0"> <var jsdisplay=
"$this.name" jscontent="$this.name" jstcache="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="typeTempla
te" jstcache="0"> <span jsdisplay="getTypeRef($this)" jstcache="47" style="displ
ay: none; "> <a jsvalues=".href: getTypeRefPage($this) + '#type-' + getTypeRef($
this)" jscontent="getTypeRef($this)" jstcache="49"> Type</a> </span> <span jsdis
play="!getTypeRef($this)" jstcache="48"> <span jsdisplay="isArray($this)" jstcac
he="50" style="display: none; "> array of <span jsselect="items" jstcache="52"><
span transclude="typeTemplate" jstcache="53"></span></span> </span> <span jsdisp
lay="!isArray($this)" jscontent="getTypeName($this)" jstcache="51">string</span>
</span> </span> ) </div> </em> </dt> <dd class="todo" jsdisplay="!$this.descrip
tion" 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 c
onnection event.</dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="shouldExpandObje
ct($this)" jstcache="40" style="display: none; "> <dl jstcache="0"> <div jsselec
t="getPropertyListFromObject($this)" jstcache="10"> <div transclude="valueTempla
te" jstcache="17"> </div> </div> </dl> </dd> </div> </div> </dl> </dd> </div> <!
-- /VALUE --> </div> </dl> <!-- RETURNS --> <h4 jsdisplay="returns" jstcache="30
">Returns</h4> <dl jstcache="0"> <div jsselect="returns" jstcache="36"> <div jst
cache="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="typeTe
mplate" jstcache="0"> <span jsdisplay="getTypeRef($this)" jstcache="47" style=""
> <a jsvalues=".href: getTypeRefPage($this) + '#type-' + getTypeRef($this)" jsco
ntent="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; "> arr
ay of <span jsselect="items" jstcache="52"><span transclude="typeTemplate" jstca
che="53"></span></span> </span> <span jsdisplay="!isArray($this)" jscontent="get
TypeName($this)" jstcache="51">integer</span> </span> </span> ) </div> </em> </d
t> <dd class="todo" jsdisplay="!$this.description" jstcache="38" style="display:
none; "> Undocumented. </dd> <dd jsdisplay="$this.description" jsvalues=".inner
HTML:$this.description" jstcache="39" style="">A port that can be used to commun
icate with the content scripts running in the specified tab.</dd> <!-- OBJECT PR
OPERTIES --> <dd jsdisplay="shouldExpandObject($this)" jstcache="40" style="disp
lay: none; "> <dl jstcache="0"> <div jsselect="getPropertyListFromObject($this)"
jstcache="10"> <div transclude="valueTemplate" jstcache="17"> </div> </div> </d
l> </dd> </div> </div> </dl> <!-- CALLBACK --> <div jsdisplay="hasCallback(par
ameters)" jstcache="31" style="display: none; "> <div jsselect="getCallbackParam
eters(parameters)" jstcache="37"> <h4 jstcache="0">Callback function</h4> <p jst
cache="0"> If you specify the <em jstcache="0">callback</em> parameter, it shoul
d specify a function that looks like this: </p> <!-- Note: intentionally longer
80 columns --> <pre jstcache="0">function(<span jscontent="getSignatureString(pa
rameters)" jstcache="32">Type param1, Type param2</span>) <span class="subdued"
jstcache="0">{...}</span>);</pre> <dl jstcache="0"> <div jsselect="parameters" j
stcache="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" j
stcache="18" name="method-getSelected"></a> <!-- method-anchor --> <h4 jscontent
="name" jstcache="16">getSelected</h4> <div class="summary" jstcache="0"><span j
sdisplay="returns" jscontent="getTypeName(returns)" jstcache="25" style="display
: none; ">void</span> <!-- Note: intentionally longer 80 columns --> <span jscon
tent="getFullyQualifiedFunctionName($this)" jstcache="26">chrome.tabs.getSelecte
d</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)" jstc
ache="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">callbac
k</span></var></span>)</div> <div class="description" jstcache="0"> <p class="to
do" 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" jst
cache="35" jsinstance="0"> <!-- VALUE: This is a subtemplate that is used elsewh
ere via jsTemplate *transclude* --> <div id="valueTemplate" jstcache="0"> <dt js
tcache="0"> <var jsdisplay="$this.name" jscontent="$this.name" jstcache="45">win
dowId</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)" jstc
ache="47" style="display: none; "> <a jsvalues=".href: getTypeRefPage($this) + '
#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="49"> Type</
a> </span> <span jsdisplay="!getTypeRef($this)" jstcache="48"> <span jsdisplay="
isArray($this)" jstcache="50" style="display: none; "> array of <span jsselect="
items" jstcache="52"><span transclude="typeTemplate" jstcache="53"></span></span
> </span> <span jsdisplay="!isArray($this)" jscontent="getTypeName($this)" jstca
che="51">integer</span> </span> </span> ) </div> </em> </dt> <dd class="todo" js
display="!$this.description" jstcache="38" 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="shouldExpa
ndObject($this)" jstcache="40" style="display: none; "> <dl jstcache="0"> <div j
sselect="getPropertyListFromObject($this)" jstcache="10"> <div transclude="value
Template" jstcache="17"> </div> </div> </dl> </dd> </div> <!-- /VALUE --> </div>
<div jsselect="parameters" jstcache="35" jsinstance="*1"> <!-- VALUE: This is a
subtemplate that is used elsewhere via jsTemplate *transclude* --> <div id="valu
eTemplate" jstcache="0"> <dt jstcache="0"> <var jsdisplay="$this.name" jscontent
="$this.name" jstcache="45">callback</var> <em jstcache="0"> <!-- TYPE --> <div
style="display:inline" jstcache="0"> ( <span class="optional" jsdisplay="optiona
l" jstcache="46" style="display: none; ">optional</span> <span id="typeTemplate"
jstcache="0"> <span jsdisplay="getTypeRef($this)" jstcache="47" style="display:
none; "> <a jsvalues=".href: getTypeRefPage($this) + '#type-' + getTypeRef($thi
s)" jscontent="getTypeRef($this)" jstcache="49"> Type</a> </span> <span jsdispla
y="!getTypeRef($this)" jstcache="48"> <span jsdisplay="isArray($this)" jstcache=
"50" style="display: none; "> array of <span jsselect="items" jstcache="52"><spa
n transclude="typeTemplate" jstcache="53"></span></span> </span> <span jsdisplay
="!isArray($this)" jscontent="getTypeName($this)" jstcache="51">function</span>
</span> </span> ) </div> </em> </dt> <dd class="todo" jsdisplay="!$this.descript
ion" jstcache="38"> Undocumented. </dd> <dd jsdisplay="$this.description" jsvalu
es=".innerHTML:$this.description" jstcache="39" style="display: none; "> Descrip
tion of this parameter from the json schema. </dd> <!-- OBJECT PROPERTIES --> <d
d 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="retur
ns" jstcache="36" style="display: none; "> <div transclude="valueTemplate" jstca
che="17"> </div> </div> </dl> <!-- CALLBACK --> <div jsdisplay="hasCallback(par
ameters)" jstcache="31"> <div jsselect="getCallbackParameters(parameters)" jstca
che="37"> <h4 jstcache="0">Callback function</h4> <p jstcache="0"> If you specif
y the <em jstcache="0">callback</em> parameter, it should specify a function tha
t looks like this: </p> <!-- Note: intentionally longer 80 columns --> <pre jstc
ache="0">function(<span jscontent="getSignatureString(parameters)" jstcache="32"
>Tab tab</span>) <span class="subdued" jstcache="0">{...}</span>);</pre> <dl jst
cache="0"> <div jsselect="parameters" jstcache="35" jsinstance="*0"> <div jstcac
he="0"> <dt jstcache="0"> <var jsdisplay="$this.name" jscontent="$this.name" jst
cache="45">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 j
sdisplay="getTypeRef($this)" jstcache="47" style=""> <a jsvalues=".href: getType
RefPage($this) + '#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jst
cache="49" href="tabs.html#type-Tab">Tab</a> </span> <span jsdisplay="!getTypeRe
f($this)" jstcache="48" style="display: none; "> <span jsdisplay="isArray($this)
" jstcache="50" style="display: none; "> array of <span jsselect="items" jstcach
e="52"><span transclude="typeTemplate" jstcache="53"></span></span> </span> <spa
n jsdisplay="!isArray($this)" jscontent="getTypeName($this)" jstcache="51">integ
er</span> </span> </span> ) </div> </em> </dt> <dd class="todo" jsdisplay="!$thi
s.description" jstcache="38"> Undocumented. </dd> <dd jsdisplay="$this.descripti
on" jsvalues=".innerHTML:$this.description" jstcache="39" style="display: none;
"> Description of this parameter from the json schema. </dd> <!-- OBJECT PROPERT
IES --> <dd jsdisplay="shouldExpandObject($this)" jstcache="40" style="display:
none; "> <dl jstcache="0"> <div jsselect="getPropertyListFromObject($this)" jstc
ache="10"> <div transclude="valueTemplate" jstcache="17"> </div> </div> </dl> </
dd> </div> </div> </dl> </div> </div> </div> <!-- /description --> </div><div cl
ass="apiItem" jsselect="functions" jstcache="11" jsinstance="3"> <a jsvalues=".n
ame:'method-' + name" jstcache="18" name="method-getAllInWindow"></a> <!-- metho
d-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 long
er 80 columns --> <span jscontent="getFullyQualifiedFunctionName($this)" jstcach
e="26">chrome.tabs.getAllInWindow</span>(<span jsselect="parameters" jsvalues="c
lass:optional ? 'optional' : ''" jstcache="27" jsinstance="0" class="optional"><
span jsdisplay="$index" jstcache="33" style="display: none; ">, </span><span jsc
ontent="getTypeName($this)" jstcache="34">integer</span> <var jstcache="0"><span
jscontent="name" jstcache="16">windowId</span></var></span><span jsselect="para
meters" 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 jscont
ent="name" jstcache="16">callback</span></var></span>)</div> <div class="descrip
tion" jstcache="0"> <p class="todo" jsdisplay="!description" jstcache="28" style
="display: none; ">Undocumented.</p> <p jsdisplay="description" jsvalues=".inner
HTML:description" jstcache="29">Gets details about all tabs in the specified win
dow.</p> <!-- PARAMETERS --> <h4 jstcache="0">Parameters</h4> <dl jstcache="0">
<div jsselect="parameters" jstcache="35" jsinstance="0"> <!-- VALUE: This is a s
ubtemplate that is used elsewhere via jsTemplate *transclude* --> <div id="value
Template" jstcache="0"> <dt jstcache="0"> <var jsdisplay="$this.name" jscontent=
"$this.name" jstcache="45">windowId</var> <em jstcache="0"> <!-- TYPE --> <div s
tyle="display:inline" jstcache="0"> ( <span class="optional" jsdisplay="optional
" jstcache="46">optional</span> <span id="typeTemplate" jstcache="0"> <span jsdi
splay="getTypeRef($this)" jstcache="47" style="display: none; "> <a jsvalues=".h
ref: getTypeRefPage($this) + '#type-' + getTypeRef($this)" jscontent="getTypeRef
($this)" jstcache="49"> Type</a> </span> <span jsdisplay="!getTypeRef($this)" js
tcache="48"> <span jsdisplay="isArray($this)" jstcache="50" style="display: none
; "> array of <span jsselect="items" jstcache="52"><span transclude="typeTemplat
e" jstcache="53"></span></span> </span> <span jsdisplay="!isArray($this)" jscont
ent="getTypeName($this)" jstcache="51">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.h
tml#current-window" jstcache="0">current window</a>.</dd> <!-- OBJECT PROPERTIES
--> <dd jsdisplay="shouldExpandObject($this)" jstcache="40" style="display: non
e; "> <dl jstcache="0"> <div jsselect="getPropertyListFromObject($this)" jstcach
e="10"> <div transclude="valueTemplate" jstcache="17"> </div> </div> </dl> </dd>
</div> <!-- /VALUE --> </div><div jsselect="parameters" jstcache="35" jsinstanc
e="*1"> <!-- VALUE: This is a subtemplate that is used elsewhere via jsTemplate
*transclude* --> <div id="valueTemplate" jstcache="0"> <dt jstcache="0"> <var js
display="$this.name" jscontent="$this.name" jstcache="45">callback</var> <em jst
cache="0"> <!-- TYPE --> <div style="display:inline" jstcache="0"> ( <span class
="optional" jsdisplay="optional" jstcache="46" style="display: none; ">optional<
/span> <span id="typeTemplate" jstcache="0"> <span jsdisplay="getTypeRef($this)"
jstcache="47" style="display: none; "> <a jsvalues=".href: getTypeRefPage($this
) + '#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="49"> T
ype</a> </span> <span jsdisplay="!getTypeRef($this)" jstcache="48"> <span jsdisp
lay="isArray($this)" jstcache="50" style="display: none; "> array of <span jssel
ect="items" jstcache="52"><span transclude="typeTemplate" jstcache="53"></span><
/span> </span> <span jsdisplay="!isArray($this)" jscontent="getTypeName($this)"
jstcache="51">function</span> </span> </span> ) </div> </em> </dt> <dd class="to
do" jsdisplay="!$this.description" jstcache="38"> Undocumented. </dd> <dd jsdisp
lay="$this.description" jsvalues=".innerHTML:$this.description" jstcache="39" st
yle="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="getPropertyListFro
mObject($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 jstc
ache="0"> <div jsselect="returns" jstcache="36" style="display: none; "> <div tr
ansclude="valueTemplate" jstcache="17"> </div> </div> </dl> <!-- CALLBACK -->
<div jsdisplay="hasCallback(parameters)" jstcache="31"> <div jsselect="getCallb
ackParameters(parameters)" jstcache="37"> <h4 jstcache="0">Callback function</h4
> <p jstcache="0"> If you specify the <em jstcache="0">callback</em> parameter,
it should specify a function that looks like this: </p> <!-- Note: intentionally
longer 80 columns --> <pre jstcache="0">function(<span jscontent="getSignatureS
tring(parameters)" jstcache="32">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 jsdispl
ay="$this.name" jscontent="$this.name" jstcache="45">tabs</var> <em jstcache="0"
> <!-- TYPE --> <div style="display:inline" jstcache="0"> ( <span class="optiona
l" jsdisplay="optional" jstcache="46" style="display: none; ">optional</span> <s
pan id="typeTemplate" jstcache="0"> <span jsdisplay="getTypeRef($this)" jstcache
="47" style="display: none; "> <a jsvalues=".href: getTypeRefPage($this) + '#typ
e-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="49"> Type</a> <
/span> <span jsdisplay="!getTypeRef($this)" jstcache="48"> <span jsdisplay="isAr
ray($this)" jstcache="50" style=""> 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)" jsco
ntent="getTypeRef($this)" jstcache="49" href="tabs.html#type-Tab">Tab</a> </span
> <span jsdisplay="!getTypeRef($this)" jstcache="48" style="display: none; "> <s
pan jsdisplay="isArray($this)" jstcache="50" style="display: none; "> array of <
span jsselect="items" jstcache="52"><span transclude="typeTemplate" jstcache="53
"></span></span> </span> <span jsdisplay="!isArray($this)" jscontent="getTypeNam
e($this)" jstcache="51">integer</span> </span> </span></span> </span> <span jsdi
splay="!isArray($this)" jscontent="getTypeName($this)" jstcache="51" style="disp
lay: none; ">integer</span> </span> </span> ) </div> </em> </dt> <dd class="todo
" jsdisplay="!$this.description" jstcache="38"> Undocumented. </dd> <dd jsdispla
y="$this.description" jsvalues=".innerHTML:$this.description" jstcache="39" styl
e="display: none; "> Description of this parameter from the json schema. </dd> <
!-- OBJECT PROPERTIES --> <dd jsdisplay="shouldExpandObject($this)" jstcache="40
" style="display: none; "> <dl jstcache="0"> <div jsselect="getPropertyListFromO
bject($this)" jstcache="10"> <div transclude="valueTemplate" jstcache="17"> </di
v> </div> </dl> </dd> </div> </div> </dl> </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 lo
nger 80 columns --> <span jscontent="getFullyQualifiedFunctionName($this)" jstca
che="26">chrome.tabs.create</span>(<span jsselect="parameters" jsvalues="class:o
ptional ? 'optional' : ''" jstcache="27" jsinstance="0" class="null"><span jsdis
play="$index" jstcache="33" style="display: none; ">, </span><span jscontent="ge
tTypeName($this)" jstcache="34">object</span> <var jstcache="0"><span jscontent=
"name" jstcache="16">createProperties</span></var></span><span jsselect="paramet
ers" jsvalues="class:optional ? 'optional' : ''" jstcache="27" jsinstance="*1" c
lass="optional"><span jsdisplay="$index" jstcache="33">, </span><span jscontent=
"getTypeName($this)" jstcache="34">function</span> <var jstcache="0"><span jscon
tent="name" jstcache="16">callback</span></var></span>)</div> <div class="descri
ption" jstcache="0"> <p class="todo" jsdisplay="!description" jstcache="28" styl
e="display: none; ">Undocumented.</p> <p jsdisplay="description" jsvalues=".inne
rHTML:description" jstcache="29">Creates a new tab.</p> <!-- PARAMETERS --> <h4
jstcache="0">Parameters</h4> <dl jstcache="0"> <div jsselect="parameters" jstcac
he="35" jsinstance="0"> <!-- VALUE: This is a subtemplate that is used elsewhere
via jsTemplate *transclude* --> <div id="valueTemplate" jstcache="0"> <dt jstca
che="0"> <var jsdisplay="$this.name" jscontent="$this.name" jstcache="45">create
Properties</var> <em jstcache="0"> <!-- TYPE --> <div style="display:inline" jst
cache="0"> ( <span class="optional" jsdisplay="optional" jstcache="46" style="di
splay: none; ">optional</span> <span id="typeTemplate" jstcache="0"> <span jsdis
play="getTypeRef($this)" jstcache="47" style="display: none; "> <a jsvalues=".hr
ef: getTypeRefPage($this) + '#type-' + getTypeRef($this)" jscontent="getTypeRef(
$this)" jstcache="49"> Type</a> </span> <span jsdisplay="!getTypeRef($this)" jst
cache="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)" jsconte
nt="getTypeName($this)" jstcache="51">object</span> </span> </span> ) </div> </e
m> </dt> <dd class="todo" jsdisplay="!$this.description" jstcache="38"> Undocume
nted. </dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.descrip
tion" jstcache="39" style="display: none; "> Description of this parameter from
the json schema. </dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="shouldExpandObj
ect($this)" jstcache="40"> <dl jstcache="0"> <div jsselect="getPropertyListFromO
bject($this)" jstcache="10" jsinstance="0"> <div jstcache="0"> <dt jstcache="0">
<var jsdisplay="$this.name" jscontent="$this.name" jstcache="45">windowId</var>
<em jstcache="0"> <!-- TYPE --> <div style="display:inline" jstcache="0"> ( <sp
an class="optional" jsdisplay="optional" jstcache="46" style="">optional</span>
<span id="typeTemplate" jstcache="0"> <span jsdisplay="getTypeRef($this)" jstcac
he="47" style="display: none; "> <a jsvalues=".href: getTypeRefPage($this) + '#t
ype-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="49"> Type</a>
</span> <span jsdisplay="!getTypeRef($this)" jstcache="48"> <span jsdisplay="is
Array($this)" jstcache="50" style="display: none; "> array of <span jsselect="it
ems" jstcache="52"><span transclude="typeTemplate" jstcache="53"></span></span>
</span> <span jsdisplay="!isArray($this)" jscontent="getTypeName($this)" jstcach
e="51">integer</span> </span> </span> ) </div> </em> </dt> <dd class="todo" jsdi
splay="!$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 h
ref="windows.html#current-window" jstcache="0">current window</a>.</dd> <!-- OBJ
ECT PROPERTIES --> <dd jsdisplay="shouldExpandObject($this)" jstcache="40" style
="display: none; "> <dl jstcache="0"> <div jsselect="getPropertyListFromObject($
this)" jstcache="10"> <div transclude="valueTemplate" jstcache="17"> </div> </di
v> </dl> </dd> </div> </div><div jsselect="getPropertyListFromObject($this)" jst
cache="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="typeTempla
te" jstcache="0"> <span jsdisplay="getTypeRef($this)" jstcache="47" style="displ
ay: none; "> <a jsvalues=".href: getTypeRefPage($this) + '#type-' + getTypeRef($
this)" jscontent="getTypeRef($this)" jstcache="49"> Type</a> </span> <span jsdis
play="!getTypeRef($this)" jstcache="48"> <span jsdisplay="isArray($this)" jstcac
he="50" style="display: none; "> array of <span jsselect="items" jstcache="52"><
span transclude="typeTemplate" jstcache="53"></span></span> </span> <span jsdisp
lay="!isArray($this)" jscontent="getTypeName($this)" jstcache="51">integer</span
> </span> </span> ) </div> </em> </dt> <dd class="todo" jsdisplay="!$this.descri
ption" jstcache="38" 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 cl
amped to between zero and the number of tabs in the window.</dd> <!-- OBJECT PRO
PERTIES --> <dd jsdisplay="shouldExpandObject($this)" jstcache="40" style="displ
ay: 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.n
ame" 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" jstca
che="0"> <span jsdisplay="getTypeRef($this)" jstcache="47" style="display: none;
"> <a jsvalues=".href: getTypeRefPage($this) + '#type-' + getTypeRef($this)" js
content="getTypeRef($this)" jstcache="49"> Type</a> </span> <span jsdisplay="!ge
tTypeRef($this)" jstcache="48"> <span jsdisplay="isArray($this)" jstcache="50" s
tyle="display: none; "> array of <span jsselect="items" jstcache="52"><span tran
sclude="typeTemplate" jstcache="53"></span></span> </span> <span jsdisplay="!isA
rray($this)" jscontent="getTypeName($this)" jstcache="51">string</span> </span>
</span> ) </div> </em> </dt> <dd class="todo" jsdisplay="!$this.description" jst
cache="38" style="display: none; "> Undocumented. </dd> <dd jsdisplay="$this.des
cription" jsvalues=".innerHTML:$this.description" jstcache="39" style="">The URL
to navigate the tab to initially. Defaults to the New Tab Page.</dd> <!-- OBJEC
T PROPERTIES --> <dd jsdisplay="shouldExpandObject($this)" jstcache="40" style="
display: none; "> <dl jstcache="0"> <div jsselect="getPropertyListFromObject($th
is)" jstcache="10"> <div transclude="valueTemplate" jstcache="17"> </div> </div>
</dl> </dd> </div> </div><div jsselect="getPropertyListFromObject($this)" jstca
che="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="typeTemp
late" jstcache="0"> <span jsdisplay="getTypeRef($this)" jstcache="47" style="dis
play: none; "> <a jsvalues=".href: getTypeRefPage($this) + '#type-' + getTypeRef
($this)" jscontent="getTypeRef($this)" jstcache="49"> Type</a> </span> <span jsd
isplay="!getTypeRef($this)" jstcache="48"> <span jsdisplay="isArray($this)" jstc
ache="50" style="display: none; "> array of <span jsselect="items" jstcache="52"
><span transclude="typeTemplate" jstcache="53"></span></span> </span> <span jsdi
splay="!isArray($this)" jscontent="getTypeName($this)" jstcache="51">boolean</sp
an> </span> </span> ) </div> </em> </dt> <dd class="todo" jsdisplay="!$this.desc
ription" jstcache="38" style="display: none; "> Undocumented. </dd> <dd jsdispla
y="$this.description" jsvalues=".innerHTML:$this.description" jstcache="39" styl
e="">Whether the tab should become the selected tab in the window. Defaults to <
var jstcache="0">true</var></dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="shoul
dExpandObject($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" jsinstan
ce="*1"> <!-- VALUE: This is a subtemplate that is used elsewhere via jsTemplate
*transclude* --> <div id="valueTemplate" jstcache="0"> <dt jstcache="0"> <var j
sdisplay="$this.name" jscontent="$this.name" jstcache="45">callback</var> <em js
tcache="0"> <!-- TYPE --> <div style="display:inline" jstcache="0"> ( <span clas
s="optional" jsdisplay="optional" jstcache="46">optional</span> <span id="typeTe
mplate" jstcache="0"> <span jsdisplay="getTypeRef($this)" jstcache="47" style="d
isplay: none; "> <a jsvalues=".href: getTypeRefPage($this) + '#type-' + getTypeR
ef($this)" jscontent="getTypeRef($this)" jstcache="49"> Type</a> </span> <span j
sdisplay="!getTypeRef($this)" jstcache="48"> <span jsdisplay="isArray($this)" js
tcache="50" style="display: none; "> array of <span jsselect="items" jstcache="5
2"><span transclude="typeTemplate" jstcache="53"></span></span> </span> <span js
display="!isArray($this)" jscontent="getTypeName($this)" jstcache="51">function<
/span> </span> </span> ) </div> </em> </dt> <dd class="todo" jsdisplay="!$this.d
escription" jstcache="38"> Undocumented. </dd> <dd jsdisplay="$this.description"
jsvalues=".innerHTML:$this.description" jstcache="39" style="display: none; ">
Description of this parameter from the json schema. </dd> <!-- OBJECT PROPERTIES
--> <dd jsdisplay="shouldExpandObject($this)" jstcache="40" style="display: non
e; "> <dl jstcache="0"> <div jsselect="getPropertyListFromObject($this)" jstcach
e="10"> <div transclude="valueTemplate" jstcache="17"> </div> </div> </dl> </dd>
</div> <!-- /VALUE --> </div> </dl> <!-- RETURNS --> <h4 jsdisplay="returns" js
tcache="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="hasCall
back(parameters)" jstcache="31"> <div jsselect="getCallbackParameters(parameters
)" jstcache="37"> <h4 jstcache="0">Callback function</h4> <p jstcache="0"> If yo
u specify the <em jstcache="0">callback</em> parameter, it should specify a func
tion that looks like this: </p> <!-- Note: intentionally longer 80 columns --> <
pre jstcache="0">function(<span jscontent="getSignatureString(parameters)" jstca
che="32">Tab tab</span>) <span class="subdued" jstcache="0">{...}</span>);</pre>
<dl jstcache="0"> <div jsselect="parameters" jstcache="35" jsinstance="*0"> <di
v jstcache="0"> <dt jstcache="0"> <var jsdisplay="$this.name" jscontent="$this.n
ame" jstcache="45">tab</var> <em jstcache="0"> <!-- TYPE --> <div style="display
:inline" jstcache="0"> ( <span class="optional" jsdisplay="optional" jstcache="4
6" style="display: none; ">optional</span> <span id="typeTemplate" jstcache="0">
<span jsdisplay="getTypeRef($this)" jstcache="47" style=""> <a jsvalues=".href:
getTypeRefPage($this) + '#type-' + getTypeRef($this)" jscontent="getTypeRef($th
is)" jstcache="49" href="tabs.html#type-Tab">Tab</a> </span> <span jsdisplay="!g
etTypeRef($this)" jstcache="48" style="display: none; "> <span jsdisplay="isArra
y($this)" jstcache="50" style="display: none; "> array of <span jsselect="items"
jstcache="52"><span transclude="typeTemplate" jstcache="53"></span></span> </sp
an> <span jsdisplay="!isArray($this)" jscontent="getTypeName($this)" jstcache="5
1">integer</span> </span> </span> ) </div> </em> </dt> <dd class="todo" jsdispla
y="!$this.description" jstcache="38" style="display: none; "> Undocumented. </dd
> <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.description" jstc
ache="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="getPrope
rtyListFromObject($this)" jstcache="10"> <div transclude="valueTemplate" jstcach
e="17"> </div> </div> </dl> </dd> </div> </div> </dl> </div> </div> </div> <!--
/description --> </div><div class="apiItem" jsselect="functions" jstcache="11" j
sinstance="5"> <a jsvalues=".name:'method-' + name" jstcache="18" name="method-u
pdate"></a> <!-- method-anchor --> <h4 jscontent="name" jstcache="16">update</h4
> <div class="summary" jstcache="0"><span jsdisplay="returns" jscontent="getType
Name(returns)" jstcache="25" style="display: none; ">void</span> <!-- Note: inte
ntionally longer 80 columns --> <span jscontent="getFullyQualifiedFunctionName($
this)" jstcache="26">chrome.tabs.update</span>(<span jsselect="parameters" jsval
ues="class:optional ? 'optional' : ''" jstcache="27" jsinstance="0" class="null"
><span jsdisplay="$index" jstcache="33" style="display: none; ">, </span><span j
scontent="getTypeName($this)" jstcache="34">integer</span> <var jstcache="0"><sp
an jscontent="name" jstcache="16">tabId</span></var></span><span jsselect="param
eters" jsvalues="class:optional ? 'optional' : ''" jstcache="27" jsinstance="1"
class="null"><span jsdisplay="$index" jstcache="33">, </span><span jscontent="ge
tTypeName($this)" jstcache="34">object</span> <var jstcache="0"><span jscontent=
"name" jstcache="16">updateProperties</span></var></span><span jsselect="paramet
ers" jsvalues="class:optional ? 'optional' : ''" jstcache="27" jsinstance="*2" c
lass="optional"><span jsdisplay="$index" jstcache="33">, </span><span jscontent=
"getTypeName($this)" jstcache="34">function</span> <var jstcache="0"><span jscon
tent="name" jstcache="16">callback</span></var></span>)</div> <div class="descri
ption" jstcache="0"> <p class="todo" jsdisplay="!description" jstcache="28" styl
e="display: none; ">Undocumented.</p> <p jsdisplay="description" jsvalues=".inne
rHTML: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 subte
mplate that is used elsewhere via jsTemplate *transclude* --> <div id="valueTemp
late" jstcache="0"> <dt jstcache="0"> <var jsdisplay="$this.name" jscontent="$th
is.name" jstcache="45">tabId</var> <em jstcache="0"> <!-- TYPE --> <div style="d
isplay:inline" jstcache="0"> ( <span class="optional" jsdisplay="optional" jstca
che="46" style="display: none; ">optional</span> <span id="typeTemplate" jstcach
e="0"> <span jsdisplay="getTypeRef($this)" jstcache="47" style="display: none; "
> <a jsvalues=".href: getTypeRefPage($this) + '#type-' + getTypeRef($this)" jsco
ntent="getTypeRef($this)" jstcache="49"> Type</a> </span> <span jsdisplay="!getT
ypeRef($this)" jstcache="48"> <span jsdisplay="isArray($this)" jstcache="50" sty
le="display: none; "> array of <span jsselect="items" jstcache="52"><span transc
lude="typeTemplate" jstcache="53"></span></span> </span> <span jsdisplay="!isArr
ay($this)" jscontent="getTypeName($this)" jstcache="51">integer</span> </span> <
/span> ) </div> </em> </dt> <dd class="todo" jsdisplay="!$this.description" jstc
ache="38"> Undocumented. </dd> <dd jsdisplay="$this.description" jsvalues=".inne
rHTML:$this.description" jstcache="39" style="display: none; "> Description of t
his parameter from the json schema. </dd> <!-- OBJECT PROPERTIES --> <dd jsdispl
ay="shouldExpandObject($this)" jstcache="40" style="display: none; "> <dl jstcac
he="0"> <div jsselect="getPropertyListFromObject($this)" jstcache="10"> <div tra
nsclude="valueTemplate" jstcache="17"> </div> </div> </dl> </dd> </div> <!-- /VA
LUE --> </div><div jsselect="parameters" jstcache="35" jsinstance="1"> <!-- VALU
E: This is a subtemplate that is used elsewhere via jsTemplate *transclude* -->
<div id="valueTemplate" jstcache="0"> <dt jstcache="0"> <var jsdisplay="$this.na
me" jscontent="$this.name" jstcache="45">updateProperties</var> <em jstcache="0"
> <!-- TYPE --> <div style="display:inline" jstcache="0"> ( <span class="optiona
l" jsdisplay="optional" jstcache="46" style="display: none; ">optional</span> <s
pan id="typeTemplate" jstcache="0"> <span jsdisplay="getTypeRef($this)" jstcache
="47" style="display: none; "> <a jsvalues=".href: getTypeRefPage($this) + '#typ
e-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="49"> Type</a> <
/span> <span jsdisplay="!getTypeRef($this)" jstcache="48"> <span jsdisplay="isAr
ray($this)" jstcache="50" style="display: none; "> array of <span jsselect="item
s" jstcache="52"><span transclude="typeTemplate" jstcache="53"></span></span> </
span> <span jsdisplay="!isArray($this)" jscontent="getTypeName($this)" jstcache=
"51">object</span> </span> </span> ) </div> </em> </dt> <dd class="todo" jsdispl
ay="!$this.description" jstcache="38"> Undocumented. </dd> <dd jsdisplay="$this.
description" jsvalues=".innerHTML:$this.description" jstcache="39" style="displa
y: none; "> Description of this parameter from the json schema. </dd> <!-- OBJEC
T PROPERTIES --> <dd jsdisplay="shouldExpandObject($this)" jstcache="40"> <dl js
tcache="0"> <div jsselect="getPropertyListFromObject($this)" jstcache="10" jsins
tance="0"> <div jstcache="0"> <dt jstcache="0"> <var jsdisplay="$this.name" jsco
ntent="$this.name" jstcache="45">url</var> <em jstcache="0"> <!-- TYPE --> <div
style="display:inline" jstcache="0"> ( <span class="optional" jsdisplay="optiona
l" jstcache="46" style="">optional</span> <span id="typeTemplate" jstcache="0">
<span jsdisplay="getTypeRef($this)" jstcache="47" style="display: none; "> <a js
values=".href: getTypeRefPage($this) + '#type-' + getTypeRef($this)" jscontent="
getTypeRef($this)" jstcache="49"> Type</a> </span> <span jsdisplay="!getTypeRef(
$this)" jstcache="48"> <span jsdisplay="isArray($this)" jstcache="50" style="dis
play: none; "> array of <span jsselect="items" jstcache="52"><span transclude="t
ypeTemplate" jstcache="53"></span></span> </span> <span jsdisplay="!isArray($thi
s)" jscontent="getTypeName($this)" jstcache="51">string</span> </span> </span> )
</div> </em> </dt> <dd class="todo" jsdisplay="!$this.description" jstcache="38
"> Undocumented. </dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML:$t
his.description" jstcache="39" style="display: none; "> Description of this para
meter from the json schema. </dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="shou
ldExpandObject($this)" jstcache="40" style="display: none; "> <dl jstcache="0">
<div jsselect="getPropertyListFromObject($this)" jstcache="10"> <div transclude=
"valueTemplate" jstcache="17"> </div> </div> </dl> </dd> </div> </div><div jssel
ect="getPropertyListFromObject($this)" jstcache="10" jsinstance="*1"> <div jstca
che="0"> <dt jstcache="0"> <var jsdisplay="$this.name" jscontent="$this.name" js
tcache="45">selected</var> <em jstcache="0"> <!-- TYPE --> <div style="display:i
nline" 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: g
etTypeRefPage($this) + '#type-' + getTypeRef($this)" jscontent="getTypeRef($this
)" jstcache="49"> Type</a> </span> <span jsdisplay="!getTypeRef($this)" jstcache
="48"> <span jsdisplay="isArray($this)" jstcache="50" style="display: none; "> a
rray of <span jsselect="items" jstcache="52"><span transclude="typeTemplate" jst
cache="53"></span></span> </span> <span jsdisplay="!isArray($this)" jscontent="g
etTypeName($this)" jstcache="51">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="$thi
s.name" jscontent="$this.name" jstcache="45">callback</var> <em jstcache="0"> <!
-- TYPE --> <div style="display:inline" jstcache="0"> ( <span class="optional" j
sdisplay="optional" jstcache="46">optional</span> <span id="typeTemplate" jstcac
he="0"> <span jsdisplay="getTypeRef($this)" jstcache="47" style="display: none;
"> <a jsvalues=".href: getTypeRefPage($this) + '#type-' + getTypeRef($this)" jsc
ontent="getTypeRef($this)" jstcache="49"> Type</a> </span> <span jsdisplay="!get
TypeRef($this)" jstcache="48"> <span jsdisplay="isArray($this)" jstcache="50" st
yle="display: none; "> array of <span jsselect="items" jstcache="52"><span trans
clude="typeTemplate" jstcache="53"></span></span> </span> <span jsdisplay="!isAr
ray($this)" jscontent="getTypeName($this)" jstcache="51">function</span> </span>
</span> ) </div> </em> </dt> <dd class="todo" jsdisplay="!$this.description" js
tcache="38"> Undocumented. </dd> <dd jsdisplay="$this.description" jsvalues=".in
nerHTML:$this.description" jstcache="39" style="display: none; "> Description of
this parameter from the json schema. </dd> <!-- OBJECT PROPERTIES --> <dd jsdis
play="shouldExpandObject($this)" jstcache="40" style="display: none; "> <dl jstc
ache="0"> <div jsselect="getPropertyListFromObject($this)" jstcache="10"> <div t
ransclude="valueTemplate" jstcache="17"> </div> </div> </dl> </dd> </div> <!-- /
VALUE --> </div> </dl> <!-- RETURNS --> <h4 jsdisplay="returns" jstcache="30" st
yle="display: none; ">Returns</h4> <dl jstcache="0"> <div jsselect="returns" jst
cache="36" style="display: none; "> <div transclude="valueTemplate" jstcache="17
"> </div> </div> </dl> <!-- CALLBACK --> <div jsdisplay="hasCallback(par
ameters)" jstcache="31"> <div jsselect="getCallbackParameters(parameters)" jstca
che="37"> <h4 jstcache="0">Callback function</h4> <p jstcache="0"> If you specif
y the <em jstcache="0">callback</em> parameter, it should specify a function tha
t looks like this: </p> <!-- Note: intentionally longer 80 columns --> <pre jstc
ache="0">function(<span jscontent="getSignatureString(parameters)" jstcache="32"
></span>) <span class="subdued" jstcache="0">{...}</span>);</pre> <dl jstcache="
0"> <div jsselect="parameters" jstcache="35" jsinstance="*0" style="display: non
e; "> <div transclude="valueTemplate" jstcache="17"> </div> </div> </dl> </div>
</div> </div> <!-- /description --> </div><div class="apiItem" jsselect="functio
ns" jstcache="11" jsinstance="6"> <a jsvalues=".name:'method-' + name" jstcache=
"18" name="method-move"></a> <!-- method-anchor --> <h4 jscontent="name" jstcach
e="16">move</h4> <div class="summary" jstcache="0"><span jsdisplay="returns" jsc
ontent="getTypeName(returns)" jstcache="25" style="display: none; ">void</span>
<!-- Note: intentionally longer 80 columns --> <span jscontent="getFullyQualifie
dFunctionName($this)" jstcache="26">chrome.tabs.move</span>(<span jsselect="para
meters" jsvalues="class:optional ? 'optional' : ''" jstcache="27" jsinstance="0"
class="null"><span jsdisplay="$index" jstcache="33" style="display: none; ">, <
/span><span jscontent="getTypeName($this)" jstcache="34">integer</span> <var jst
cache="0"><span jscontent="name" jstcache="16">tabId</span></var></span><span js
select="parameters" jsvalues="class:optional ? 'optional' : ''" jstcache="27" js
instance="1" class="null"><span jsdisplay="$index" jstcache="33">, </span><span
jscontent="getTypeName($this)" jstcache="34">object</span> <var jstcache="0"><sp
an jscontent="name" jstcache="16">moveProperties</span></var></span><span jssele
ct="parameters" jsvalues="class:optional ? 'optional' : ''" jstcache="27" jsinst
ance="*2" class="optional"><span jsdisplay="$index" jstcache="33">, </span><span
jscontent="getTypeName($this)" jstcache="34">function</span> <var jstcache="0">
<span jscontent="name" jstcache="16">callback</span></var></span>)</div> <div cl
ass="description" jstcache="0"> <p class="todo" jsdisplay="!description" jstcach
e="28" style="display: none; ">Undocumented.</p> <p jsdisplay="description" jsva
lues=".innerHTML:description" jstcache="29">Move a tab to a new position within
its window, or to a new window.</p> <!-- PARAMETERS --> <h4 jstcache="0">Paramet
ers</h4> <dl jstcache="0"> <div jsselect="parameters" jstcache="35" jsinstance="
0"> <!-- VALUE: This is a subtemplate that is used elsewhere via jsTemplate *tra
nsclude* --> <div id="valueTemplate" jstcache="0"> <dt jstcache="0"> <var jsdisp
lay="$this.name" jscontent="$this.name" jstcache="45">tabId</var> <em jstcache="
0"> <!-- TYPE --> <div style="display:inline" jstcache="0"> ( <span class="optio
nal" jsdisplay="optional" jstcache="46" style="display: none; ">optional</span>
<span id="typeTemplate" jstcache="0"> <span jsdisplay="getTypeRef($this)" jstcac
he="47" style="display: none; "> <a jsvalues=".href: getTypeRefPage($this) + '#t
ype-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="49"> Type</a>
</span> <span jsdisplay="!getTypeRef($this)" jstcache="48"> <span jsdisplay="is
Array($this)" jstcache="50" style="display: none; "> array of <span jsselect="it
ems" jstcache="52"><span transclude="typeTemplate" jstcache="53"></span></span>
</span> <span jsdisplay="!isArray($this)" jscontent="getTypeName($this)" jstcach
e="51">integer</span> </span> </span> ) </div> </em> </dt> <dd class="todo" jsdi
splay="!$this.description" jstcache="38"> Undocumented. </dd> <dd jsdisplay="$th
is.description" jsvalues=".innerHTML:$this.description" jstcache="39" style="dis
play: none; "> Description of this parameter from the json schema. </dd> <!-- OB
JECT PROPERTIES --> <dd jsdisplay="shouldExpandObject($this)" jstcache="40" styl
e="display: none; "> <dl jstcache="0"> <div jsselect="getPropertyListFromObject(
$this)" jstcache="10"> <div transclude="valueTemplate" jstcache="17"> </div> </d
iv> </dl> </dd> </div> <!-- /VALUE --> </div><div jsselect="parameters" jstcache
="35" jsinstance="1"> <!-- VALUE: This is a subtemplate that is used elsewhere v
ia jsTemplate *transclude* --> <div id="valueTemplate" jstcache="0"> <dt jstcach
e="0"> <var jsdisplay="$this.name" jscontent="$this.name" jstcache="45">moveProp
erties</var> <em jstcache="0"> <!-- TYPE --> <div style="display:inline" jstcach
e="0"> ( <span class="optional" jsdisplay="optional" jstcache="46" style="displa
y: none; ">optional</span> <span id="typeTemplate" jstcache="0"> <span jsdisplay
="getTypeRef($this)" jstcache="47" style="display: none; "> <a jsvalues=".href:
getTypeRefPage($this) + '#type-' + getTypeRef($this)" jscontent="getTypeRef($thi
s)" jstcache="49"> Type</a> </span> <span jsdisplay="!getTypeRef($this)" jstcach
e="48"> <span jsdisplay="isArray($this)" jstcache="50" style="display: none; ">
array of <span jsselect="items" jstcache="52"><span transclude="typeTemplate" js
tcache="53"></span></span> </span> <span jsdisplay="!isArray($this)" jscontent="
getTypeName($this)" jstcache="51">object</span> </span> </span> ) </div> </em> <
/dt> <dd class="todo" jsdisplay="!$this.description" jstcache="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="getPropertyListFromObjec
t($this)" jstcache="10" jsinstance="0"> <div jstcache="0"> <dt jstcache="0"> <va
r jsdisplay="$this.name" jscontent="$this.name" jstcache="45">windowId</var> <em
jstcache="0"> <!-- TYPE --> <div style="display:inline" jstcache="0"> ( <span c
lass="optional" jsdisplay="optional" jstcache="46" style="">optional</span> <spa
n id="typeTemplate" jstcache="0"> <span jsdisplay="getTypeRef($this)" jstcache="
47" style="display: none; "> <a jsvalues=".href: getTypeRefPage($this) + '#type-
' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="49"> Type</a> </s
pan> <span jsdisplay="!getTypeRef($this)" jstcache="48"> <span jsdisplay="isArra
y($this)" jstcache="50" style="display: none; "> array of <span jsselect="items"
jstcache="52"><span transclude="typeTemplate" jstcache="53"></span></span> </sp
an> <span jsdisplay="!isArray($this)" jscontent="getTypeName($this)" jstcache="5
1">integer</span> </span> </span> ) </div> </em> </dt> <dd class="todo" jsdispla
y="!$this.description" jstcache="38" style="display: none; "> Undocumented. </dd
> <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.description" jstc
ache="39" style="">Defaults to the window the tab is currently in.</dd> <!-- OBJ
ECT PROPERTIES --> <dd jsdisplay="shouldExpandObject($this)" jstcache="40" style
="display: none; "> <dl jstcache="0"> <div jsselect="getPropertyListFromObject($
this)" jstcache="10"> <div transclude="valueTemplate" jstcache="17"> </div> </di
v> </dl> </dd> </div> </div><div jsselect="getPropertyListFromObject($this)" jst
cache="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> <spa
n id="typeTemplate" jstcache="0"> <span jsdisplay="getTypeRef($this)" jstcache="
47" style="display: none; "> <a jsvalues=".href: getTypeRefPage($this) + '#type-
' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="49"> Type</a> </s
pan> <span jsdisplay="!getTypeRef($this)" jstcache="48"> <span jsdisplay="isArra
y($this)" jstcache="50" style="display: none; "> array of <span jsselect="items"
jstcache="52"><span transclude="typeTemplate" jstcache="53"></span></span> </sp
an> <span jsdisplay="!isArray($this)" jscontent="getTypeName($this)" jstcache="5
1">integer</span> </span> </span> ) </div> </em> </dt> <dd class="todo" jsdispla
y="!$this.description" jstcache="38" style="display: none; "> Undocumented. </dd
> <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.description" jstc
ache="39" style="">The position to move the window to. The provided value will b
e clamped to between zero and the number of tabs in the window.</dd> <!-- OBJECT
PROPERTIES --> <dd jsdisplay="shouldExpandObject($this)" jstcache="40" style="d
isplay: none; "> <dl jstcache="0"> <div jsselect="getPropertyListFromObject($thi
s)" jstcache="10"> <div transclude="valueTemplate" jstcache="17"> </div> </div>
</dl> </dd> </div> </div> </dl> </dd> </div> <!-- /VALUE --> </div><div jsselect
="parameters" jstcache="35" jsinstance="*2"> <!-- VALUE: This is a subtemplate t
hat is used elsewhere via jsTemplate *transclude* --> <div id="valueTemplate" js
tcache="0"> <dt jstcache="0"> <var jsdisplay="$this.name" jscontent="$this.name"
jstcache="45">callback</var> <em jstcache="0"> <!-- TYPE --> <div style="displa
y:inline" jstcache="0"> ( <span class="optional" jsdisplay="optional" jstcache="
46">optional</span> <span id="typeTemplate" jstcache="0"> <span jsdisplay="getTy
peRef($this)" jstcache="47" style="display: none; "> <a jsvalues=".href: getType
RefPage($this) + '#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jst
cache="49"> Type</a> </span> <span jsdisplay="!getTypeRef($this)" jstcache="48">
<span jsdisplay="isArray($this)" jstcache="50" style="display: none; "> array o
f <span jsselect="items" jstcache="52"><span transclude="typeTemplate" jstcache=
"53"></span></span> </span> <span jsdisplay="!isArray($this)" jscontent="getType
Name($this)" jstcache="51">function</span> </span> </span> ) </div> </em> </dt>
<dd class="todo" jsdisplay="!$this.description" jstcache="38"> Undocumented. </d
d> <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.description" jst
cache="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="getPr
opertyListFromObject($this)" jstcache="10"> <div transclude="valueTemplate" jstc
ache="17"> </div> </div> </dl> </dd> </div> <!-- /VALUE --> </div> </dl> <!-- RE
TURNS --> <h4 jsdisplay="returns" jstcache="30" style="display: none; ">Returns<
/h4> <dl jstcache="0"> <div jsselect="returns" jstcache="36" style="display: non
e; "> <div transclude="valueTemplate" jstcache="17"> </div> </div> </dl> <!-- CA
LLBACK --> <div jsdisplay="hasCallback(parameters)" jstcache="31"> <div js
select="getCallbackParameters(parameters)" jstcache="37"> <h4 jstcache="0">Callb
ack function</h4> <p jstcache="0"> If you specify the <em jstcache="0">callback<
/em> parameter, it should specify a function that looks like this: </p> <!-- Not
e: intentionally longer 80 columns --> <pre jstcache="0">function(<span jsconten
t="getSignatureString(parameters)" jstcache="32"></span>) <span class="subdued"
jstcache="0">{...}</span>);</pre> <dl jstcache="0"> <div jsselect="parameters" j
stcache="35" jsinstance="*0" style="display: none; "> <div transclude="valueTemp
late" jstcache="17"> </div> </div> </dl> </div> </div> </div> <!-- /description
--> </div><div class="apiItem" jsselect="functions" jstcache="11" jsinstance="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 lon
ger 80 columns --> <span jscontent="getFullyQualifiedFunctionName($this)" jstcac
he="26">chrome.tabs.remove</span>(<span jsselect="parameters" jsvalues="class:op
tional ? 'optional' : ''" jstcache="27" jsinstance="0" class="null"><span jsdisp
lay="$index" jstcache="33" style="display: none; ">, </span><span jscontent="get
TypeName($this)" jstcache="34">integer</span> <var jstcache="0"><span jscontent=
"name" jstcache="16">tabId</span></var></span><span jsselect="parameters" jsvalu
es="class:optional ? 'optional' : ''" jstcache="27" jsinstance="*1" class="optio
nal"><span jsdisplay="$index" jstcache="33">, </span><span jscontent="getTypeNam
e($this)" jstcache="34">function</span> <var jstcache="0"><span jscontent="name"
jstcache="16">callback</span></var></span>)</div> <div class="description" jstc
ache="0"> <p class="todo" jsdisplay="!description" jstcache="28" style="display:
none; ">Undocumented.</p> <p jsdisplay="description" jsvalues=".innerHTML:descr
iption" jstcache="29">Closes a tab.</p> <!-- PARAMETERS --> <h4 jstcache="0">Par
ameters</h4> <dl jstcache="0"> <div jsselect="parameters" jstcache="35" jsinstan
ce="0"> <!-- VALUE: This is a subtemplate that is used elsewhere via jsTemplate
*transclude* --> <div id="valueTemplate" jstcache="0"> <dt jstcache="0"> <var js
display="$this.name" jscontent="$this.name" jstcache="45">tabId</var> <em jstcac
he="0"> <!-- TYPE --> <div style="display:inline" jstcache="0"> ( <span class="o
ptional" jsdisplay="optional" jstcache="46" style="display: none; ">optional</sp
an> <span id="typeTemplate" jstcache="0"> <span jsdisplay="getTypeRef($this)" js
tcache="47" style="display: none; "> <a jsvalues=".href: getTypeRefPage($this) +
'#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="49"> Type
</a> </span> <span jsdisplay="!getTypeRef($this)" jstcache="48"> <span jsdisplay
="isArray($this)" jstcache="50" style="display: none; "> array of <span jsselect
="items" jstcache="52"><span transclude="typeTemplate" jstcache="53"></span></sp
an> </span> <span jsdisplay="!isArray($this)" jscontent="getTypeName($this)" jst
cache="51">integer</span> </span> </span> ) </div> </em> </dt> <dd class="todo"
jsdisplay="!$this.description" jstcache="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="getPropertyListFromObj
ect($this)" jstcache="10"> <div transclude="valueTemplate" jstcache="17"> </div>
</div> </dl> </dd> </div> <!-- /VALUE --> </div><div jsselect="parameters" jstc
ache="35" jsinstance="*1"> <!-- VALUE: This is a subtemplate that is used elsewh
ere via jsTemplate *transclude* --> <div id="valueTemplate" jstcache="0"> <dt js
tcache="0"> <var jsdisplay="$this.name" jscontent="$this.name" jstcache="45">cal
lback</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)" jstc
ache="47" style="display: none; "> <a jsvalues=".href: getTypeRefPage($this) + '
#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="49"> Type</
a> </span> <span jsdisplay="!getTypeRef($this)" jstcache="48"> <span jsdisplay="
isArray($this)" jstcache="50" style="display: none; "> array of <span jsselect="
items" jstcache="52"><span transclude="typeTemplate" jstcache="53"></span></span
> </span> <span jsdisplay="!isArray($this)" jscontent="getTypeName($this)" jstca
che="51">function</span> </span> </span> ) </div> </em> </dt> <dd class="todo" j
sdisplay="!$this.description" jstcache="38"> Undocumented. </dd> <dd jsdisplay="
$this.description" jsvalues=".innerHTML:$this.description" jstcache="39" style="
display: none; "> Description of this parameter from the json schema. </dd> <!--
OBJECT PROPERTIES --> <dd jsdisplay="shouldExpandObject($this)" jstcache="40" s
tyle="display: none; "> <dl jstcache="0"> <div jsselect="getPropertyListFromObje
ct($this)" jstcache="10"> <div transclude="valueTemplate" jstcache="17"> </div>
</div> </dl> </dd> </div> <!-- /VALUE --> </div> </dl> <!-- RETURNS --> <h4 jsdi
splay="returns" jstcache="30" style="display: none; ">Returns</h4> <dl jstcache=
"0"> <div jsselect="returns" jstcache="36" style="display: none; "> <div transcl
ude="valueTemplate" jstcache="17"> </div> </div> </dl> <!-- CALLBACK -->
<div jsdisplay="hasCallback(parameters)" jstcache="31"> <div jsselect="getCallb
ackParameters(parameters)" jstcache="37"> <h4 jstcache="0">Callback function</h4
> <p jstcache="0"> If you specify the <em jstcache="0">callback</em> parameter,
it should specify a function that looks like this: </p> <!-- Note: intentionally
longer 80 columns --> <pre jstcache="0">function(<span jscontent="getSignatureS
tring(parameters)" jstcache="32"></span>) <span class="subdued" jstcache="0">{..
.}</span>);</pre> <dl jstcache="0"> <div jsselect="parameters" jstcache="35" jsi
nstance="*0" style="display: none; "> <div transclude="valueTemplate" jstcache="
17"> </div> </div> </dl> </div> </div> </div> <!-- /description --> </div><div c
lass="apiItem" jsselect="functions" jstcache="11" jsinstance="8"> <a jsvalues=".
name:'method-' + name" jstcache="18" name="method-detectLanguage"></a> <!-- meth
od-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 lon
ger 80 columns --> <span jscontent="getFullyQualifiedFunctionName($this)" jstcac
he="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 js
content="getTypeName($this)" jstcache="34">integer</span> <var jstcache="0"><spa
n jscontent="name" jstcache="16">tabId</span></var></span><span jsselect="parame
ters" jsvalues="class:optional ? 'optional' : ''" jstcache="27" jsinstance="*1"
class="null"><span jsdisplay="$index" jstcache="33">, </span><span jscontent="ge
tTypeName($this)" jstcache="34">function</span> <var jstcache="0"><span jsconten
t="name" jstcache="16">callback</span></var></span>)</div> <div class="descripti
on" jstcache="0"> <p class="todo" jsdisplay="!description" jstcache="28" style="
display: none; ">Undocumented.</p> <p jsdisplay="description" jsvalues=".innerHT
ML:description" jstcache="29">Detects the primary language of the content in a t
ab.</p> <!-- PARAMETERS --> <h4 jstcache="0">Parameters</h4> <dl jstcache="0"> <
div jsselect="parameters" jstcache="35" jsinstance="0"> <!-- VALUE: This is a su
btemplate that is used elsewhere via jsTemplate *transclude* --> <div id="valueT
emplate" jstcache="0"> <dt jstcache="0"> <var jsdisplay="$this.name" jscontent="
$this.name" jstcache="45">tabId</var> <em jstcache="0"> <!-- TYPE --> <div style
="display:inline" jstcache="0"> ( <span class="optional" jsdisplay="optional" js
tcache="46">optional</span> <span id="typeTemplate" jstcache="0"> <span jsdispla
y="getTypeRef($this)" jstcache="47" style="display: none; "> <a jsvalues=".href:
getTypeRefPage($this) + '#type-' + getTypeRef($this)" jscontent="getTypeRef($th
is)" jstcache="49"> Type</a> </span> <span jsdisplay="!getTypeRef($this)" jstcac
he="48"> <span jsdisplay="isArray($this)" jstcache="50" style="display: none; ">
array of <span jsselect="items" jstcache="52"><span transclude="typeTemplate" j
stcache="53"></span></span> </span> <span jsdisplay="!isArray($this)" jscontent=
"getTypeName($this)" jstcache="51">integer</span> </span> </span> ) </div> </em>
</dt> <dd class="todo" jsdisplay="!$this.description" jstcache="38" style="disp
lay: none; "> Undocumented. </dd> <dd jsdisplay="$this.description" jsvalues=".i
nnerHTML:$this.description" jstcache="39">Defaults to the selected tab of the <a
href="windows.html#current-window" jstcache="0">current window</a>.</dd> <!-- O
BJECT PROPERTIES --> <dd jsdisplay="shouldExpandObject($this)" jstcache="40" sty
le="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" jstcach
e="35" jsinstance="*1"> <!-- VALUE: This is a subtemplate that is used elsewhere
via jsTemplate *transclude* --> <div id="valueTemplate" jstcache="0"> <dt jstca
che="0"> <var jsdisplay="$this.name" jscontent="$this.name" jstcache="45">callba
ck</var> <em jstcache="0"> <!-- TYPE --> <div style="display:inline" jstcache="0
"> ( <span class="optional" jsdisplay="optional" jstcache="46" style="display: n
one; ">optional</span> <span id="typeTemplate" jstcache="0"> <span jsdisplay="ge
tTypeRef($this)" jstcache="47" style="display: none; "> <a jsvalues=".href: getT
ypeRefPage($this) + '#type-' + getTypeRef($this)" jscontent="getTypeRef($this)"
jstcache="49"> Type</a> </span> <span jsdisplay="!getTypeRef($this)" jstcache="4
8"> <span jsdisplay="isArray($this)" jstcache="50" style="display: none; "> arra
y of <span jsselect="items" jstcache="52"><span transclude="typeTemplate" jstcac
he="53"></span></span> </span> <span jsdisplay="!isArray($this)" jscontent="getT
ypeName($this)" jstcache="51">function</span> </span> </span> ) </div> </em> </d
t> <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 js
on schema. </dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="shouldExpandObject($t
his)" jstcache="40" style="display: none; "> <dl jstcache="0"> <div jsselect="ge
tPropertyListFromObject($this)" jstcache="10"> <div transclude="valueTemplate" j
stcache="17"> </div> </div> </dl> </dd> </div> <!-- /VALUE --> </div> </dl> <!--
RETURNS --> <h4 jsdisplay="returns" jstcache="30" style="display: none; ">Retur
ns</h4> <dl jstcache="0"> <div jsselect="returns" jstcache="36" style="display:
none; "> <div transclude="valueTemplate" jstcache="17"> </div> </div> </dl> <!--
CALLBACK --> <div jsdisplay="hasCallback(parameters)" jstcache="31"> <div js
select="getCallbackParameters(parameters)" jstcache="37"> <h4 jstcache="0">Callb
ack function</h4> <p jstcache="0"> If you specify the <em jstcache="0">callback<
/em> parameter, it should specify a function that looks like this: </p> <!-- Not
e: intentionally longer 80 columns --> <pre jstcache="0">function(<span jsconten
t="getSignatureString(parameters)" jstcache="32">string language</span>) <span c
lass="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"> ( <s
pan class="optional" jsdisplay="optional" jstcache="46" style="display: none; ">
optional</span> <span id="typeTemplate" jstcache="0"> <span jsdisplay="getTypeRe
f($this)" jstcache="47" style="display: none; "> <a jsvalues=".href: getTypeRefP
age($this) + '#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcach
e="49"> Type</a> </span> <span jsdisplay="!getTypeRef($this)" jstcache="48"> <sp
an jsdisplay="isArray($this)" jstcache="50" style="display: none; "> array of <s
pan jsselect="items" jstcache="52"><span transclude="typeTemplate" jstcache="53"
></span></span> </span> <span jsdisplay="!isArray($this)" jscontent="getTypeName
($this)" jstcache="51">string</span> </span> </span> ) </div> </em> </dt> <dd cl
ass="todo" jsdisplay="!$this.description" jstcache="38" style="display: none; ">
Undocumented. </dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML:$thi
s.description" jstcache="39" style="">An ISO language code like <var jstcache="0
">en</var> or <var jstcache="0">fr</var>.</dd> <!-- OBJECT PROPERTIES --> <dd js
display="shouldExpandObject($this)" jstcache="40" style="display: none; "> <dl j
stcache="0"> <div jsselect="getPropertyListFromObject($this)" jstcache="10"> <di
v transclude="valueTemplate" jstcache="17"> </div> </div> </dl> </dd> </div> </d
iv> </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)" jstcac
he="25" style="display: none; ">void</span> <!-- Note: intentionally longer 80 c
olumns --> <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 jsconte
nt="getTypeName($this)" jstcache="34">integer</span> <var jstcache="0"><span jsc
ontent="name" jstcache="16">windowId</span></var></span><span jsselect="paramete
rs" jsvalues="class:optional ? 'optional' : ''" jstcache="27" jsinstance="*1" cl
ass="null"><span jsdisplay="$index" jstcache="33">, </span><span jscontent="getT
ypeName($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="di
splay: none; ">Undocumented.</p> <p jsdisplay="description" jsvalues=".innerHTML
:description" jstcache="29">Captures the visible area of the visible tab in a wi
ndow.</p> <!-- PARAMETERS --> <h4 jstcache="0">Parameters</h4> <dl jstcache="0">
<div jsselect="parameters" jstcache="35" jsinstance="0"> <!-- VALUE: This is a
subtemplate that is used elsewhere via jsTemplate *transclude* --> <div id="valu
eTemplate" jstcache="0"> <dt jstcache="0"> <var jsdisplay="$this.name" jscontent
="$this.name" jstcache="45">windowId</var> <em jstcache="0"> <!-- TYPE --> <div
style="display:inline" jstcache="0"> ( <span class="optional" jsdisplay="optiona
l" jstcache="46">optional</span> <span id="typeTemplate" jstcache="0"> <span jsd
isplay="getTypeRef($this)" jstcache="47" style="display: none; "> <a jsvalues=".
href: getTypeRefPage($this) + '#type-' + getTypeRef($this)" jscontent="getTypeRe
f($this)" jstcache="49"> Type</a> </span> <span jsdisplay="!getTypeRef($this)" j
stcache="48"> <span jsdisplay="isArray($this)" jstcache="50" style="display: non
e; "> array of <span jsselect="items" jstcache="52"><span transclude="typeTempla
te" jstcache="53"></span></span> </span> <span jsdisplay="!isArray($this)" jscon
tent="getTypeName($this)" jstcache="51">integer</span> </span> </span> ) </div>
</em> </dt> <dd class="todo" jsdisplay="!$this.description" jstcache="38" style=
"display: none; "> Undocumented. </dd> <dd jsdisplay="$this.description" jsvalue
s=".innerHTML:$this.description" jstcache="39">The target window. Defaults to th
e <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="getPropertyListFromOb
ject($this)" jstcache="10"> <div transclude="valueTemplate" jstcache="17"> </div
> </div> </dl> </dd> </div> <!-- /VALUE --> </div><div jsselect="parameters" jst
cache="35" jsinstance="*1"> <!-- VALUE: This is a subtemplate that is used elsew
here via jsTemplate *transclude* --> <div id="valueTemplate" jstcache="0"> <dt j
stcache="0"> <var jsdisplay="$this.name" jscontent="$this.name" jstcache="45">ca
llback</var> <em jstcache="0"> <!-- TYPE --> <div style="display:inline" jstcach
e="0"> ( <span class="optional" jsdisplay="optional" jstcache="46" style="displa
y: none; ">optional</span> <span id="typeTemplate" jstcache="0"> <span jsdisplay
="getTypeRef($this)" jstcache="47" style="display: none; "> <a jsvalues=".href:
getTypeRefPage($this) + '#type-' + getTypeRef($this)" jscontent="getTypeRef($thi
s)" jstcache="49"> Type</a> </span> <span jsdisplay="!getTypeRef($this)" jstcach
e="48"> <span jsdisplay="isArray($this)" jstcache="50" style="display: none; ">
array of <span jsselect="items" jstcache="52"><span transclude="typeTemplate" js
tcache="53"></span></span> </span> <span jsdisplay="!isArray($this)" jscontent="
getTypeName($this)" jstcache="51">function</span> </span> </span> ) </div> </em>
</dt> <dd class="todo" jsdisplay="!$this.description" jstcache="38"> Undocument
ed. </dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.descripti
on" jstcache="39" style="display: none; "> Description of this parameter from th
e json schema. </dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="shouldExpandObjec
t($this)" jstcache="40" style="display: none; "> <dl jstcache="0"> <div jsselect
="getPropertyListFromObject($this)" jstcache="10"> <div transclude="valueTemplat
e" jstcache="17"> </div> </div> </dl> </dd> </div> <!-- /VALUE --> </div> </dl>
<!-- RETURNS --> <h4 jsdisplay="returns" jstcache="30" style="display: none; ">R
eturns</h4> <dl jstcache="0"> <div jsselect="returns" jstcache="36" style="displ
ay: none; "> <div transclude="valueTemplate" jstcache="17"> </div> </div> </dl>
<!-- CALLBACK --> <div jsdisplay="hasCallback(parameters)" jstcache="31">
<div jsselect="getCallbackParameters(parameters)" jstcache="37"> <h4 jstcache="
0">Callback function</h4> <p jstcache="0"> If you specify the <em jstcache="0">c
allback</em> parameter, it should specify a function that looks like this: </p>
<!-- Note: intentionally longer 80 columns --> <pre jstcache="0">function(<span
jscontent="getSignatureString(parameters)" jstcache="32">string dataUrl</span>)
<span class="subdued" jstcache="0">{...}</span>);</pre> <dl jstcache="0"> <div j
sselect="parameters" jstcache="35" jsinstance="*0"> <div jstcache="0"> <dt jstca
che="0"> <var jsdisplay="$this.name" jscontent="$this.name" jstcache="45">dataUr
l</var> <em jstcache="0"> <!-- TYPE --> <div style="display:inline" jstcache="0"
> ( <span class="optional" jsdisplay="optional" jstcache="46" style="display: no
ne; ">optional</span> <span id="typeTemplate" jstcache="0"> <span jsdisplay="get
TypeRef($this)" jstcache="47" style="display: none; "> <a jsvalues=".href: getTy
peRefPage($this) + '#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" j
stcache="49"> Type</a> </span> <span jsdisplay="!getTypeRef($this)" jstcache="48
"> <span jsdisplay="isArray($this)" jstcache="50" style="display: none; "> array
of <span jsselect="items" jstcache="52"><span transclude="typeTemplate" jstcach
e="53"></span></span> </span> <span jsdisplay="!isArray($this)" jscontent="getTy
peName($this)" jstcache="51">string</span> </span> </span> ) </div> </em> </dt>
<dd class="todo" jsdisplay="!$this.description" jstcache="38" style="display: no
ne; "> Undocumented. </dd> <dd jsdisplay="$this.description" jsvalues=".innerHTM
L:$this.description" jstcache="39" style="">a data url encoding of the captured
tab.</dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="shouldExpandObject($this)" j
stcache="40" style="display: none; "> <dl jstcache="0"> <div jsselect="getProper
tyListFromObject($this)" jstcache="10"> <div transclude="valueTemplate" jstcache
="17"> </div> </div> </dl> </dd> </div> </div> </dl> </div> </div> </div> <!-- /
description --> </div> <!-- /apiItem --> </div> <!-- /apiGroup --> <!-- EVENTS -
-> <div jsdisplay="events && events.length > 0" class="apiGroup" jstc
ache="7"> <a name="events" jstcache="0"></a> <h3 id="events" jstcache="0">Events
</h3> <!-- iterates over all events --> <div jsselect="events" class="apiItem" j
stcache="12" jsinstance="0"> <a jsvalues=".name:'event-' + name" jstcache="19" n
ame="event-onCreated"></a> <h4 jscontent="name" jstcache="16">onCreated</h4> <di
v 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="subdue
d" 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" jsdi
splay="!description" jstcache="28" style="display: none; ">Undocumented.</p> <p
jsdisplay="description" jsvalues=".innerHTML:description" jstcache="29">Fires wh
en a tab is created.</p> <!-- PARAMETERS --> <h4 jstcache="0">Parameters</h4> <d
l jstcache="0"> <div jsselect="parameters" jstcache="35" jsinstance="*0"> <div j
stcache="0"> <dt jstcache="0"> <var jsdisplay="$this.name" jscontent="$this.name
" jstcache="45">tab</var> <em jstcache="0"> <!-- TYPE --> <div style="display:in
line" jstcache="0"> ( <span class="optional" jsdisplay="optional" jstcache="46"
style="display: none; ">optional</span> <span id="typeTemplate" jstcache="0"> <s
pan jsdisplay="getTypeRef($this)" jstcache="47" style=""> <a jsvalues=".href: ge
tTypeRefPage($this) + '#type-' + getTypeRef($this)" jscontent="getTypeRef($this)
" jstcache="49" href="tabs.html#type-Tab">Tab</a> </span> <span jsdisplay="!getT
ypeRef($this)" jstcache="48" style="display: none; "> <span jsdisplay="isArray($
this)" jstcache="50" style="display: none; "> array of <span jsselect="items" js
tcache="52"><span transclude="typeTemplate" jstcache="53"></span></span> </span>
<span jsdisplay="!isArray($this)" jscontent="getTypeName($this)" jstcache="51">
integer</span> </span> </span> ) </div> </em> </dt> <dd class="todo" jsdisplay="
!$this.description" jstcache="38" style="display: none; "> Undocumented. </dd> <
dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.description" jstcach
e="39" style="">Details of the tab that was created.</dd> <!-- OBJECT PROPERTIES
--> <dd jsdisplay="shouldExpandObject($this)" jstcache="40" style="display: non
e; "> <dl jstcache="0"> <div jsselect="getPropertyListFromObject($this)" jstcach
e="10"> <div transclude="valueTemplate" jstcache="17"> </div> </div> </dl> </dd>
</div> </div> </dl> </div> <!-- /decription --> </div><div jsselect="events" cl
ass="apiItem" jstcache="12" jsinstance="1"> <a jsvalues=".name:'event-' + name"
jstcache="19" name="event-onUpdated"></a> <h4 jscontent="name" jstcache="16">onU
pdated</h4> <div class="summary" jstcache="0"> <!-- Note: intentionally longer 8
0 columns --> <span jscontent="getModuleName() + '.'" class="subdued" jstcache="
23">chrome.tabs.</span><span jscontent="name" jstcache="16">onUpdated</span><spa
n class="subdued" jstcache="0">.addListener</span>(function(<span jscontent="get
SignatureString(parameters)" jstcache="32">integer tabId, object changeInfo</spa
n>) <span class="subdued" jstcache="0">{...}</span>); </div> <div class="descrip
tion" jstcache="0"> <p class="todo" jsdisplay="!description" jstcache="28" style
="display: none; ">Undocumented.</p> <p jsdisplay="description" jsvalues=".inner
HTML:description" jstcache="29">Fires when a tab is updated.</p> <!-- PARAMETERS
--> <h4 jstcache="0">Parameters</h4> <dl jstcache="0"> <div jsselect="parameter
s" jstcache="35" jsinstance="0"> <div jstcache="0"> <dt jstcache="0"> <var jsdis
play="$this.name" jscontent="$this.name" jstcache="45">tabId</var> <em jstcache=
"0"> <!-- TYPE --> <div style="display:inline" jstcache="0"> ( <span class="opti
onal" jsdisplay="optional" jstcache="46" style="display: none; ">optional</span>
<span id="typeTemplate" jstcache="0"> <span jsdisplay="getTypeRef($this)" jstca
che="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="i
sArray($this)" jstcache="50" style="display: none; "> array of <span jsselect="i
tems" jstcache="52"><span transclude="typeTemplate" jstcache="53"></span></span>
</span> <span jsdisplay="!isArray($this)" jscontent="getTypeName($this)" jstcac
he="51">integer</span> </span> </span> ) </div> </em> </dt> <dd class="todo" jsd
isplay="!$this.description" jstcache="38"> Undocumented. </dd> <dd jsdisplay="$t
his.description" jsvalues=".innerHTML:$this.description" jstcache="39" style="di
splay: none; "> Description of this parameter from the json schema. </dd> <!-- O
BJECT PROPERTIES --> <dd jsdisplay="shouldExpandObject($this)" jstcache="40" sty
le="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" jsinstanc
e="*1"> <div jstcache="0"> <dt jstcache="0"> <var jsdisplay="$this.name" jsconte
nt="$this.name" jstcache="45">changeInfo</var> <em jstcache="0"> <!-- TYPE --> <
div style="display:inline" jstcache="0"> ( <span class="optional" jsdisplay="opt
ional" jstcache="46" style="display: none; ">optional</span> <span id="typeTempl
ate" jstcache="0"> <span jsdisplay="getTypeRef($this)" jstcache="47" style="disp
lay: none; "> <a jsvalues=".href: getTypeRefPage($this) + '#type-' + getTypeRef(
$this)" jscontent="getTypeRef($this)" jstcache="49"> Type</a> </span> <span jsdi
splay="!getTypeRef($this)" jstcache="48"> <span jsdisplay="isArray($this)" jstca
che="50" style="display: none; "> array of <span jsselect="items" jstcache="52">
<span transclude="typeTemplate" jstcache="53"></span></span> </span> <span jsdis
play="!isArray($this)" jscontent="getTypeName($this)" jstcache="51">object</span
> </span> </span> ) </div> </em> </dt> <dd class="todo" jsdisplay="!$this.descri
ption" jstcache="38"> Undocumented. </dd> <dd jsdisplay="$this.description" jsva
lues=".innerHTML:$this.description" jstcache="39" style="display: none; "> Descr
iption of this parameter from the json schema. </dd> <!-- OBJECT PROPERTIES -->
<dd jsdisplay="shouldExpandObject($this)" jstcache="40" style=""> <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" js
tcache="46" style="display: none; ">optional</span> <span id="typeTemplate" jstc
ache="0"> <span jsdisplay="getTypeRef($this)" jstcache="47" style="display: none
; "> <a jsvalues=".href: getTypeRefPage($this) + '#type-' + getTypeRef($this)" j
scontent="getTypeRef($this)" jstcache="49"> Type</a> </span> <span jsdisplay="!g
etTypeRef($this)" jstcache="48"> <span jsdisplay="isArray($this)" jstcache="50"
style="display: none; "> array of <span jsselect="items" jstcache="52"><span tra
nsclude="typeTemplate" jstcache="53"></span></span> </span> <span jsdisplay="!is
Array($this)" jscontent="getTypeName($this)" jstcache="51">string</span> </span>
</span> ) </div> </em> </dt> <dd class="todo" jsdisplay="!$this.description" js
tcache="38" style="display: none; "> Undocumented. </dd> <dd jsdisplay="$this.de
scription" jsvalues=".innerHTML:$this.description" jstcache="39" style="">The st
atus of the tab. Can be either <em jstcache="0">loading</em> or <em jstcache="0"
>complete</em>.</dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="shouldExpandObjec
t($this)" jstcache="40" style="display: none; "> <dl jstcache="0"> <div jsselect
="getPropertyListFromObject($this)" jstcache="10"> <div transclude="valueTemplat
e" jstcache="17"> </div> </div> </dl> </dd> </div> </div><div jsselect="getPrope
rtyListFromObject($this)" jstcache="10" jsinstance="*1"> <div jstcache="0"> <dt
jstcache="0"> <var jsdisplay="$this.name" jscontent="$this.name" jstcache="45">u
rl</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($thi
s) + '#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="49">
Type</a> </span> <span jsdisplay="!getTypeRef($this)" jstcache="48"> <span jsdis
play="isArray($this)" jstcache="50" style="display: none; "> array of <span jsse
lect="items" jstcache="52"><span transclude="typeTemplate" jstcache="53"></span>
</span> </span> <span jsdisplay="!isArray($this)" jscontent="getTypeName($this)"
jstcache="51">string</span> </span> </span> ) </div> </em> </dt> <dd class="tod
o" jsdisplay="!$this.description" jstcache="38" style="display: none; "> Undocum
ented. </dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.descri
ption" jstcache="39" style="">Only specified if the tab's URL changed.</dd> <!--
OBJECT PROPERTIES --> <dd jsdisplay="shouldExpandObject($this)" jstcache="40" s
tyle="display: none; "> <dl jstcache="0"> <div jsselect="getPropertyListFromObje
ct($this)" jstcache="10"> <div transclude="valueTemplate" jstcache="17"> </div>
</div> </dl> </dd> </div> </div> </dl> </dd> </div> </div> </dl> </div> <!-- /de
cription --> </div><div jsselect="events" class="apiItem" jstcache="12" jsinstan
ce="2"> <a jsvalues=".name:'event-' + name" jstcache="19" name="event-onMoved"><
/a> <h4 jscontent="name" jstcache="16">onMoved</h4> <div class="summary" jstcach
e="0"> <!-- Note: intentionally longer 80 columns --> <span jscontent="getModule
Name() + '.'" class="subdued" jstcache="23">chrome.tabs.</span><span jscontent="
name" jstcache="16">onMoved</span><span class="subdued" jstcache="0">.addListene
r</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" jsdispla
y="!description" jstcache="28" style="display: none; ">Undocumented.</p> <p jsdi
splay="description" jsvalues=".innerHTML:description" jstcache="29">Fires when a
tab is moved within a window. Only one move event is fired, representing the ta
b the user directly moved. Move events are not fired for the other tabs that mus
t 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> <e
m jstcache="0"> <!-- TYPE --> <div style="display:inline" jstcache="0"> ( <span
class="optional" jsdisplay="optional" jstcache="46" style="display: none; ">opti
onal</span> <span id="typeTemplate" jstcache="0"> <span jsdisplay="getTypeRef($t
his)" jstcache="47" style="display: none; "> <a jsvalues=".href: getTypeRefPage(
$this) + '#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="4
9"> Type</a> </span> <span jsdisplay="!getTypeRef($this)" jstcache="48"> <span j
sdisplay="isArray($this)" jstcache="50" style="display: none; "> array of <span
jsselect="items" jstcache="52"><span transclude="typeTemplate" jstcache="53"></s
pan></span> </span> <span jsdisplay="!isArray($this)" jscontent="getTypeName($th
is)" jstcache="51">integer</span> </span> </span> ) </div> </em> </dt> <dd class
="todo" jsdisplay="!$this.description" jstcache="38"> Undocumented. </dd> <dd js
display="$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)" jstcac
he="40" style="display: none; "> <dl jstcache="0"> <div jsselect="getPropertyLis
tFromObject($this)" jstcache="10"> <div transclude="valueTemplate" jstcache="17"
> </div> </div> </dl> </dd> </div> </div><div jsselect="parameters" jstcache="35
" jsinstance="*1"> <div jstcache="0"> <dt jstcache="0"> <var jsdisplay="$this.na
me" jscontent="$this.name" jstcache="45">moveInfo</var> <em jstcache="0"> <!-- T
YPE --> <div style="display:inline" jstcache="0"> ( <span class="optional" jsdis
play="optional" jstcache="46" style="display: none; ">optional</span> <span id="
typeTemplate" jstcache="0"> <span jsdisplay="getTypeRef($this)" jstcache="47" st
yle="display: none; "> <a jsvalues=".href: getTypeRefPage($this) + '#type-' + ge
tTypeRef($this)" jscontent="getTypeRef($this)" jstcache="49"> Type</a> </span> <
span jsdisplay="!getTypeRef($this)" jstcache="48"> <span jsdisplay="isArray($thi
s)" jstcache="50" style="display: none; "> array of <span jsselect="items" jstca
che="52"><span transclude="typeTemplate" jstcache="53"></span></span> </span> <s
pan jsdisplay="!isArray($this)" jscontent="getTypeName($this)" jstcache="51">obj
ect</span> </span> </span> ) </div> </em> </dt> <dd class="todo" jsdisplay="!$th
is.description" jstcache="38"> Undocumented. </dd> <dd jsdisplay="$this.descript
ion" jsvalues=".innerHTML:$this.description" jstcache="39" style="display: none;
"> Description of this parameter from the json schema. </dd> <!-- OBJECT PROPER
TIES --> <dd jsdisplay="shouldExpandObject($this)" jstcache="40" style=""> <dl j
stcache="0"> <div jsselect="getPropertyListFromObject($this)" jstcache="10" jsin
stance="0"> <div jstcache="0"> <dt jstcache="0"> <var jsdisplay="$this.name" jsc
ontent="$this.name" jstcache="45">windowId</var> <em jstcache="0"> <!-- TYPE -->
<div style="display:inline" jstcache="0"> ( <span class="optional" jsdisplay="o
ptional" jstcache="46" style="display: none; ">optional</span> <span id="typeTem
plate" jstcache="0"> <span jsdisplay="getTypeRef($this)" jstcache="47" style="di
splay: none; "> <a jsvalues=".href: getTypeRefPage($this) + '#type-' + getTypeRe
f($this)" jscontent="getTypeRef($this)" jstcache="49"> Type</a> </span> <span js
display="!getTypeRef($this)" jstcache="48"> <span jsdisplay="isArray($this)" jst
cache="50" style="display: none; "> array of <span jsselect="items" jstcache="52
"><span transclude="typeTemplate" jstcache="53"></span></span> </span> <span jsd
isplay="!isArray($this)" jscontent="getTypeName($this)" jstcache="51">integer</s
pan> </span> </span> ) </div> </em> </dt> <dd class="todo" jsdisplay="!$this.des
cription" jstcache="38"> Undocumented. </dd> <dd jsdisplay="$this.description" j
svalues=".innerHTML:$this.description" jstcache="39" style="display: none; "> De
scription 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" jsins
tance="1"> <div jstcache="0"> <dt jstcache="0"> <var jsdisplay="$this.name" jsco
ntent="$this.name" jstcache="45">fromIndex</var> <em jstcache="0"> <!-- TYPE -->
<div style="display:inline" jstcache="0"> ( <span class="optional" jsdisplay="o
ptional" jstcache="46" style="display: none; ">optional</span> <span id="typeTem
plate" jstcache="0"> <span jsdisplay="getTypeRef($this)" jstcache="47" style="di
splay: none; "> <a jsvalues=".href: getTypeRefPage($this) + '#type-' + getTypeRe
f($this)" jscontent="getTypeRef($this)" jstcache="49"> Type</a> </span> <span js
display="!getTypeRef($this)" jstcache="48"> <span jsdisplay="isArray($this)" jst
cache="50" style="display: none; "> array of <span jsselect="items" jstcache="52
"><span transclude="typeTemplate" jstcache="53"></span></span> </span> <span jsd
isplay="!isArray($this)" jscontent="getTypeName($this)" jstcache="51">integer</s
pan> </span> </span> ) </div> </em> </dt> <dd class="todo" jsdisplay="!$this.des
cription" jstcache="38"> Undocumented. </dd> <dd jsdisplay="$this.description" j
svalues=".innerHTML:$this.description" jstcache="39" style="display: none; "> De
scription 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" jsins
tance="*2"> <div jstcache="0"> <dt jstcache="0"> <var jsdisplay="$this.name" jsc
ontent="$this.name" jstcache="45">toIndex</var> <em jstcache="0"> <!-- TYPE -->
<div style="display:inline" jstcache="0"> ( <span class="optional" jsdisplay="op
tional" jstcache="46" style="display: none; ">optional</span> <span id="typeTemp
late" jstcache="0"> <span jsdisplay="getTypeRef($this)" jstcache="47" style="dis
play: none; "> <a jsvalues=".href: getTypeRefPage($this) + '#type-' + getTypeRef
($this)" jscontent="getTypeRef($this)" jstcache="49"> Type</a> </span> <span jsd
isplay="!getTypeRef($this)" jstcache="48"> <span jsdisplay="isArray($this)" jstc
ache="50" style="display: none; "> array of <span jsselect="items" jstcache="52"
><span transclude="typeTemplate" jstcache="53"></span></span> </span> <span jsdi
splay="!isArray($this)" jscontent="getTypeName($this)" jstcache="51">integer</sp
an> </span> </span> ) </div> </em> </dt> <dd class="todo" jsdisplay="!$this.desc
ription" jstcache="38"> Undocumented. </dd> <dd jsdisplay="$this.description" js
values=".innerHTML:$this.description" jstcache="39" style="display: none; "> Des
cription 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><d
iv jsselect="events" class="apiItem" jstcache="12" jsinstance="3"> <a jsvalues="
.name:'event-' + name" jstcache="19" name="event-onSelectionChanged"></a> <h4 js
content="name" jstcache="16">onSelectionChanged</h4> <div class="summary" jstcac
he="0"> <!-- Note: intentionally longer 80 columns --> <span jscontent="getModul
eName() + '.'" class="subdued" jstcache="23">chrome.tabs.</span><span jscontent=
"name" jstcache="16">onSelectionChanged</span><span class="subdued" jstcache="0"
>.addListener</span>(function(<span jscontent="getSignatureString(parameters)" j
stcache="32">integer tabId, object selectInfo</span>) <span class="subdued" jstc
ache="0">{...}</span>); </div> <div class="description" jstcache="0"> <p class="
todo" jsdisplay="!description" jstcache="28" style="display: none; ">Undocumente
d.</p> <p jsdisplay="description" jsvalues=".innerHTML:description" jstcache="29
">Fires when the selected tab in a window changes.</p> <!-- PARAMETERS --> <h4 j
stcache="0">Parameters</h4> <dl jstcache="0"> <div jsselect="parameters" jstcach
e="35" jsinstance="0"> <div jstcache="0"> <dt jstcache="0"> <var jsdisplay="$thi
s.name" jscontent="$this.name" jstcache="45">tabId</var> <em jstcache="0"> <!--
TYPE --> <div style="display:inline" jstcache="0"> ( <span class="optional" jsdi
splay="optional" jstcache="46" style="display: none; ">optional</span> <span id=
"typeTemplate" jstcache="0"> <span jsdisplay="getTypeRef($this)" jstcache="47" s
tyle="display: none; "> <a jsvalues=".href: getTypeRefPage($this) + '#type-' + g
etTypeRef($this)" jscontent="getTypeRef($this)" jstcache="49"> Type</a> </span>
<span jsdisplay="!getTypeRef($this)" jstcache="48"> <span jsdisplay="isArray($th
is)" jstcache="50" style="display: none; "> array of <span jsselect="items" jstc
ache="52"><span transclude="typeTemplate" jstcache="53"></span></span> </span> <
span jsdisplay="!isArray($this)" jscontent="getTypeName($this)" jstcache="51">in
teger</span> </span> </span> ) </div> </em> </dt> <dd class="todo" jsdisplay="!$
this.description" jstcache="38" 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 PROPE
RTIES --> <dd jsdisplay="shouldExpandObject($this)" jstcache="40" style="display
: none; "> <dl jstcache="0"> <div jsselect="getPropertyListFromObject($this)" js
tcache="10"> <div transclude="valueTemplate" jstcache="17"> </div> </div> </dl>
</dd> </div> </div><div jsselect="parameters" jstcache="35" jsinstance="*1"> <di
v jstcache="0"> <dt jstcache="0"> <var jsdisplay="$this.name" jscontent="$this.n
ame" jstcache="45">selectInfo</var> <em jstcache="0"> <!-- TYPE --> <div style="
display:inline" jstcache="0"> ( <span class="optional" jsdisplay="optional" jstc
ache="46" style="display: none; ">optional</span> <span id="typeTemplate" jstcac
he="0"> <span jsdisplay="getTypeRef($this)" jstcache="47" style="display: none;
"> <a jsvalues=".href: getTypeRefPage($this) + '#type-' + getTypeRef($this)" jsc
ontent="getTypeRef($this)" jstcache="49"> Type</a> </span> <span jsdisplay="!get
TypeRef($this)" jstcache="48"> <span jsdisplay="isArray($this)" jstcache="50" st
yle="display: none; "> array of <span jsselect="items" jstcache="52"><span trans
clude="typeTemplate" jstcache="53"></span></span> </span> <span jsdisplay="!isAr
ray($this)" jscontent="getTypeName($this)" jstcache="51">object</span> </span> <
/span> ) </div> </em> </dt> <dd class="todo" jsdisplay="!$this.description" jstc
ache="38"> Undocumented. </dd> <dd jsdisplay="$this.description" jsvalues=".inne
rHTML:$this.description" jstcache="39" style="display: none; "> Description of t
his parameter from the json schema. </dd> <!-- OBJECT PROPERTIES --> <dd jsdispl
ay="shouldExpandObject($this)" jstcache="40" style=""> <dl jstcache="0"> <div js
select="getPropertyListFromObject($this)" jstcache="10" jsinstance="*0"> <div js
tcache="0"> <dt jstcache="0"> <var jsdisplay="$this.name" jscontent="$this.name"
jstcache="45">windowId</var> <em jstcache="0"> <!-- TYPE --> <div style="displa
y:inline" jstcache="0"> ( <span class="optional" jsdisplay="optional" jstcache="
46" style="display: none; ">optional</span> <span id="typeTemplate" jstcache="0"
> <span jsdisplay="getTypeRef($this)" jstcache="47" style="display: none; "> <a
jsvalues=".href: getTypeRefPage($this) + '#type-' + getTypeRef($this)" jscontent
="getTypeRef($this)" jstcache="49"> Type</a> </span> <span jsdisplay="!getTypeRe
f($this)" jstcache="48"> <span jsdisplay="isArray($this)" jstcache="50" style="d
isplay: none; "> array of <span jsselect="items" jstcache="52"><span transclude=
"typeTemplate" jstcache="53"></span></span> </span> <span jsdisplay="!isArray($t
his)" jscontent="getTypeName($this)" jstcache="51">integer</span> </span> </span
> ) </div> </em> </dt> <dd class="todo" jsdisplay="!$this.description" jstcache=
"38" style="display: none; "> Undocumented. </dd> <dd jsdisplay="$this.descripti
on" 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 jss
elect="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: int
entionally longer 80 columns --> <span jscontent="getModuleName() + '.'" class="
subdued" jstcache="23">chrome.tabs.</span><span jscontent="name" jstcache="16">o
nDetached</span><span class="subdued" jstcache="0">.addListener</span>(function(
<span jscontent="getSignatureString(parameters)" jstcache="32">integer tabId, ob
ject 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="descripti
on" 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 c
lass="optional" jsdisplay="optional" jstcache="46" style="display: none; ">optio
nal</span> <span id="typeTemplate" jstcache="0"> <span jsdisplay="getTypeRef($th
is)" jstcache="47" style="display: none; "> <a jsvalues=".href: getTypeRefPage($
this) + '#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="49
"> Type</a> </span> <span jsdisplay="!getTypeRef($this)" jstcache="48"> <span js
display="isArray($this)" jstcache="50" style="display: none; "> array of <span j
sselect="items" jstcache="52"><span transclude="typeTemplate" jstcache="53"></sp
an></span> </span> <span jsdisplay="!isArray($this)" jscontent="getTypeName($thi
s)" jstcache="51">integer</span> </span> </span> ) </div> </em> </dt> <dd class=
"todo" jsdisplay="!$this.description" jstcache="38"> Undocumented. </dd> <dd jsd
isplay="$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)" jstcach
e="40" style="display: none; "> <dl jstcache="0"> <div jsselect="getPropertyList
FromObject($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.nam
e" jscontent="$this.name" jstcache="45">detachInfo</var> <em jstcache="0"> <!--
TYPE --> <div style="display:inline" jstcache="0"> ( <span class="optional" jsdi
splay="optional" jstcache="46" style="display: none; ">optional</span> <span id=
"typeTemplate" jstcache="0"> <span jsdisplay="getTypeRef($this)" jstcache="47" s
tyle="display: none; "> <a jsvalues=".href: getTypeRefPage($this) + '#type-' + g
etTypeRef($this)" jscontent="getTypeRef($this)" jstcache="49"> Type</a> </span>
<span jsdisplay="!getTypeRef($this)" jstcache="48"> <span jsdisplay="isArray($th
is)" jstcache="50" style="display: none; "> array of <span jsselect="items" jstc
ache="52"><span transclude="typeTemplate" jstcache="53"></span></span> </span> <
span jsdisplay="!isArray($this)" jscontent="getTypeName($this)" jstcache="51">ob
ject</span> </span> </span> ) </div> </em> </dt> <dd class="todo" jsdisplay="!$t
his.description" jstcache="38"> Undocumented. </dd> <dd jsdisplay="$this.descrip
tion" jsvalues=".innerHTML:$this.description" jstcache="39" style="display: none
; "> Description of this parameter from the json schema. </dd> <!-- OBJECT PROPE
RTIES --> <dd jsdisplay="shouldExpandObject($this)" jstcache="40" style=""> <dl
jstcache="0"> <div jsselect="getPropertyListFromObject($this)" jstcache="10" jsi
nstance="0"> <div jstcache="0"> <dt jstcache="0"> <var jsdisplay="$this.name" js
content="$this.name" jstcache="45">oldWindowId</var> <em jstcache="0"> <!-- TYPE
--> <div style="display:inline" jstcache="0"> ( <span class="optional" jsdispla
y="optional" jstcache="46" style="display: none; ">optional</span> <span id="typ
eTemplate" jstcache="0"> <span jsdisplay="getTypeRef($this)" jstcache="47" style
="display: none; "> <a jsvalues=".href: getTypeRefPage($this) + '#type-' + getTy
peRef($this)" jscontent="getTypeRef($this)" jstcache="49"> Type</a> </span> <spa
n jsdisplay="!getTypeRef($this)" jstcache="48"> <span jsdisplay="isArray($this)"
jstcache="50" style="display: none; "> array of <span jsselect="items" jstcache
="52"><span transclude="typeTemplate" jstcache="53"></span></span> </span> <span
jsdisplay="!isArray($this)" jscontent="getTypeName($this)" jstcache="51">intege
r</span> </span> </span> ) </div> </em> </dt> <dd class="todo" jsdisplay="!$this
.description" jstcache="38"> Undocumented. </dd> <dd jsdisplay="$this.descriptio
n" jsvalues=".innerHTML:$this.description" jstcache="39" style="display: none; "
> Description of this parameter from the json schema. </dd> <!-- OBJECT PROPERTI
ES --> <dd jsdisplay="shouldExpandObject($this)" jstcache="40" style="display: n
one; "> <dl jstcache="0"> <div jsselect="getPropertyListFromObject($this)" jstca
che="10"> <div transclude="valueTemplate" jstcache="17"> </div> </div> </dl> </d
d> </div> </div><div jsselect="getPropertyListFromObject($this)" jstcache="10" j
sinstance="*1"> <div jstcache="0"> <dt jstcache="0"> <var jsdisplay="$this.name"
jscontent="$this.name" jstcache="45">oldPosition</var> <em jstcache="0"> <!-- T
YPE --> <div style="display:inline" jstcache="0"> ( <span class="optional" jsdis
play="optional" jstcache="46" style="display: none; ">optional</span> <span id="
typeTemplate" jstcache="0"> <span jsdisplay="getTypeRef($this)" jstcache="47" st
yle="display: none; "> <a jsvalues=".href: getTypeRefPage($this) + '#type-' + ge
tTypeRef($this)" jscontent="getTypeRef($this)" jstcache="49"> Type</a> </span> <
span jsdisplay="!getTypeRef($this)" jstcache="48"> <span jsdisplay="isArray($thi
s)" jstcache="50" style="display: none; "> array of <span jsselect="items" jstca
che="52"><span transclude="typeTemplate" jstcache="53"></span></span> </span> <s
pan jsdisplay="!isArray($this)" jscontent="getTypeName($this)" jstcache="51">int
eger</span> </span> </span> ) </div> </em> </dt> <dd class="todo" jsdisplay="!$t
his.description" jstcache="38"> Undocumented. </dd> <dd jsdisplay="$this.descrip
tion" jsvalues=".innerHTML:$this.description" jstcache="39" style="display: none
; "> Description of this parameter from the json schema. </dd> <!-- OBJECT PROPE
RTIES --> <dd jsdisplay="shouldExpandObject($this)" jstcache="40" style="display
: none; "> <dl jstcache="0"> <div jsselect="getPropertyListFromObject($this)" js
tcache="10"> <div transclude="valueTemplate" jstcache="17"> </div> </div> </dl>
</dd> </div> </div> </dl> </dd> </div> </div> </dl> </div> <!-- /decription -->
</div><div jsselect="events" class="apiItem" jstcache="12" jsinstance="5"> <a js
values=".name:'event-' + name" jstcache="19" name="event-onAttached"></a> <h4 js
content="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" j
stcache="16">onAttached</span><span class="subdued" jstcache="0">.addListener</s
pan>(function(<span jscontent="getSignatureString(parameters)" jstcache="32">int
eger 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 jsdisp
lay="description" jsvalues=".innerHTML:description" jstcache="29">Fired when a t
ab is attached to a window, for example because it was moved between windows.</p
> <!-- PARAMETERS --> <h4 jstcache="0">Parameters</h4> <dl jstcache="0"> <div js
select="parameters" jstcache="35" jsinstance="0"> <div jstcache="0"> <dt jstcach
e="0"> <var jsdisplay="$this.name" jscontent="$this.name" jstcache="45">tabId</v
ar> <em jstcache="0"> <!-- TYPE --> <div style="display:inline" jstcache="0"> (
<span class="optional" jsdisplay="optional" jstcache="46" style="display: none;
">optional</span> <span id="typeTemplate" jstcache="0"> <span jsdisplay="getType
Ref($this)" jstcache="47" style="display: none; "> <a jsvalues=".href: getTypeRe
fPage($this) + '#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstca
che="49"> Type</a> </span> <span jsdisplay="!getTypeRef($this)" jstcache="48"> <
span jsdisplay="isArray($this)" jstcache="50" style="display: none; "> array of
<span jsselect="items" jstcache="52"><span transclude="typeTemplate" jstcache="5
3"></span></span> </span> <span jsdisplay="!isArray($this)" jscontent="getTypeNa
me($this)" jstcache="51">integer</span> </span> </span> ) </div> </em> </dt> <dd
class="todo" jsdisplay="!$this.description" jstcache="38"> Undocumented. </dd>
<dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.description" jstcac
he="39" style="display: none; "> Description of this parameter from the json sch
ema. </dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="shouldExpandObject($this)"
jstcache="40" style="display: none; "> <dl jstcache="0"> <div jsselect="getPrope
rtyListFromObject($this)" jstcache="10"> <div transclude="valueTemplate" jstcach
e="17"> </div> </div> </dl> </dd> </div> </div><div jsselect="parameters" jstcac
he="35" jsinstance="*1"> <div jstcache="0"> <dt jstcache="0"> <var jsdisplay="$t
his.name" jscontent="$this.name" jstcache="45">attachInfo</var> <em jstcache="0"
> <!-- TYPE --> <div style="display:inline" jstcache="0"> ( <span class="optiona
l" jsdisplay="optional" jstcache="46" style="display: none; ">optional</span> <s
pan id="typeTemplate" jstcache="0"> <span jsdisplay="getTypeRef($this)" jstcache
="47" style="display: none; "> <a jsvalues=".href: getTypeRefPage($this) + '#typ
e-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="49"> Type</a> <
/span> <span jsdisplay="!getTypeRef($this)" jstcache="48"> <span jsdisplay="isAr
ray($this)" jstcache="50" style="display: none; "> array of <span jsselect="item
s" jstcache="52"><span transclude="typeTemplate" jstcache="53"></span></span> </
span> <span jsdisplay="!isArray($this)" jscontent="getTypeName($this)" jstcache=
"51">object</span> </span> </span> ) </div> </em> </dt> <dd class="todo" jsdispl
ay="!$this.description" jstcache="38"> Undocumented. </dd> <dd jsdisplay="$this.
description" jsvalues=".innerHTML:$this.description" jstcache="39" style="displa
y: none; "> Description of this parameter from the json schema. </dd> <!-- OBJEC
T PROPERTIES --> <dd jsdisplay="shouldExpandObject($this)" jstcache="40" style="
"> <dl jstcache="0"> <div jsselect="getPropertyListFromObject($this)" jstcache="
10" jsinstance="0"> <div jstcache="0"> <dt jstcache="0"> <var jsdisplay="$this.n
ame" jscontent="$this.name" jstcache="45">newWindowId</var> <em jstcache="0"> <!
-- TYPE --> <div style="display:inline" jstcache="0"> ( <span class="optional" j
sdisplay="optional" jstcache="46" style="display: none; ">optional</span> <span
id="typeTemplate" jstcache="0"> <span jsdisplay="getTypeRef($this)" jstcache="47
" style="display: none; "> <a jsvalues=".href: getTypeRefPage($this) + '#type-'
+ getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="49"> Type</a> </spa
n> <span jsdisplay="!getTypeRef($this)" jstcache="48"> <span jsdisplay="isArray(
$this)" jstcache="50" style="display: none; "> array of <span jsselect="items" j
stcache="52"><span transclude="typeTemplate" jstcache="53"></span></span> </span
> <span jsdisplay="!isArray($this)" jscontent="getTypeName($this)" jstcache="51"
>integer</span> </span> </span> ) </div> </em> </dt> <dd class="todo" jsdisplay=
"!$this.description" jstcache="38"> Undocumented. </dd> <dd jsdisplay="$this.des
cription" jsvalues=".innerHTML:$this.description" jstcache="39" style="display:
none; "> Description of this parameter from the json schema. </dd> <!-- OBJECT P
ROPERTIES --> <dd jsdisplay="shouldExpandObject($this)" jstcache="40" style="dis
play: none; "> <dl jstcache="0"> <div jsselect="getPropertyListFromObject($this)
" jstcache="10"> <div transclude="valueTemplate" jstcache="17"> </div> </div> </
dl> </dd> </div> </div><div jsselect="getPropertyListFromObject($this)" jstcache
="10" jsinstance="*1"> <div jstcache="0"> <dt jstcache="0"> <var jsdisplay="$thi
s.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> <sp
an 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="isArr
ay($this)" jstcache="50" style="display: none; "> array of <span jsselect="items
" jstcache="52"><span transclude="typeTemplate" jstcache="53"></span></span> </s
pan> <span jsdisplay="!isArray($this)" jscontent="getTypeName($this)" jstcache="
51">integer</span> </span> </span> ) </div> </em> </dt> <dd class="todo" jsdispl
ay="!$this.description" jstcache="38"> Undocumented. </dd> <dd jsdisplay="$this.
description" jsvalues=".innerHTML:$this.description" jstcache="39" style="displa
y: none; "> Description of this parameter from the json schema. </dd> <!-- OBJEC
T PROPERTIES --> <dd jsdisplay="shouldExpandObject($this)" jstcache="40" style="
display: none; "> <dl jstcache="0"> <div jsselect="getPropertyListFromObject($th
is)" jstcache="10"> <div transclude="valueTemplate" jstcache="17"> </div> </div>
</dl> </dd> </div> </div> </dl> </dd> </div> </div> </dl> </div> <!-- /decripti
on --> </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="getModuleN
ame() + '.'" class="subdued" jstcache="23">chrome.tabs.</span><span jscontent="n
ame" jstcache="16">onRemoved</span><span class="subdued" jstcache="0">.addListen
er</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="descripti
on" 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 jstc
ache="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: non
e; ">optional</span> <span id="typeTemplate" jstcache="0"> <span jsdisplay="getT
ypeRef($this)" jstcache="47" style="display: none; "> <a jsvalues=".href: getTyp
eRefPage($this) + '#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" js
tcache="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="getTyp
eName($this)" jstcache="51">integer</span> </span> </span> ) </div> </em> </dt>
<dd class="todo" jsdisplay="!$this.description" jstcache="38"> Undocumented. </d
d> <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.description" jst
cache="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="getPr
opertyListFromObject($this)" jstcache="10"> <div transclude="valueTemplate" jstc
ache="17"> </div> </div> </dl> </dd> </div> </div> </dl> </div> <!-- /decription
--> </div> <!-- /apiItem --> </div> <!-- /apiGroup --> <!-- TYPES --> <div jsdi
splay="types && types.length > 0" class="apiGroup" jstcache="8"> <a n
ame="types" jstcache="0"></a> <h3 id="types" jstcache="0">Types</h3> <!-- iterat
es over all types --> <div jsselect="types" class="apiItem" jstcache="13" jsinst
ance="*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"> <v
ar jsdisplay="$this.name" jscontent="$this.name" jstcache="45" style="display: n
one; ">tabId</var> <em jstcache="0"> <!-- TYPE --> <div style="display:inline" j
stcache="0"> ( <span class="optional" jsdisplay="optional" jstcache="46" style="
display: none; ">optional</span> <span id="typeTemplate" jstcache="0"> <span jsd
isplay="getTypeRef($this)" jstcache="47" style="display: none; "> <a jsvalues=".
href: getTypeRefPage($this) + '#type-' + getTypeRef($this)" jscontent="getTypeRe
f($this)" jstcache="49"> Type</a> </span> <span jsdisplay="!getTypeRef($this)" j
stcache="48"> <span jsdisplay="isArray($this)" jstcache="50" style="display: non
e; "> array of <span jsselect="items" jstcache="52"><span transclude="typeTempla
te" jstcache="53"></span></span> </span> <span jsdisplay="!isArray($this)" jscon
tent="getTypeName($this)" jstcache="51">object</span> </span> </span> ) </div> <
/em> </dt> <dd class="todo" jsdisplay="!$this.description" jstcache="38"> Undocu
mented. </dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.descr
iption" jstcache="39" style="display: none; "> Description of this parameter fro
m the json schema. </dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="shouldExpandO
bject($this)" jstcache="40" style=""> <dl jstcache="0"> <div jsselect="getProper
tyListFromObject($this)" jstcache="10" jsinstance="0"> <div jstcache="0"> <dt js
tcache="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="getTy
peRef($this)" jstcache="47" style="display: none; "> <a jsvalues=".href: getType
RefPage($this) + '#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jst
cache="49"> Type</a> </span> <span jsdisplay="!getTypeRef($this)" jstcache="48">
<span jsdisplay="isArray($this)" jstcache="50" style="display: none; "> array o
f <span jsselect="items" jstcache="52"><span transclude="typeTemplate" jstcache=
"53"></span></span> </span> <span jsdisplay="!isArray($this)" jscontent="getType
Name($this)" jstcache="51">integer</span> </span> </span> ) </div> </em> </dt> <
dd class="todo" jsdisplay="!$this.description" jstcache="38" style="display: non
e; "> 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="should
ExpandObject($this)" jstcache="40" style="display: none; "> <dl jstcache="0"> <d
iv jsselect="getPropertyListFromObject($this)" jstcache="10"> <div transclude="v
alueTemplate" jstcache="17"> </div> </div> </dl> </dd> </div> </div><div jsselec
t="getPropertyListFromObject($this)" jstcache="10" jsinstance="1"> <div jstcache
="0"> <dt jstcache="0"> <var jsdisplay="$this.name" jscontent="$this.name" jstca
che="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 j
sdisplay="getTypeRef($this)" jstcache="47" style="display: none; "> <a jsvalues=
".href: getTypeRefPage($this) + '#type-' + getTypeRef($this)" jscontent="getType
Ref($this)" jstcache="49"> Type</a> </span> <span jsdisplay="!getTypeRef($this)"
jstcache="48"> <span jsdisplay="isArray($this)" jstcache="50" style="display: n
one; "> array of <span jsselect="items" jstcache="52"><span transclude="typeTemp
late" jstcache="53"></span></span> </span> <span jsdisplay="!isArray($this)" jsc
ontent="getTypeName($this)" jstcache="51">integer</span> </span> </span> ) </div
> </em> </dt> <dd class="todo" jsdisplay="!$this.description" jstcache="38" styl
e="display: none; "> Undocumented. </dd> <dd jsdisplay="$this.description" jsval
ues=".innerHTML:$this.description" jstcache="39" style="">The zero-based index o
f the tab within its window.</dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="shou
ldExpandObject($this)" jstcache="40" style="display: none; "> <dl jstcache="0">
<div jsselect="getPropertyListFromObject($this)" jstcache="10"> <div transclude=
"valueTemplate" jstcache="17"> </div> </div> </dl> </dd> </div> </div><div jssel
ect="getPropertyListFromObject($this)" jstcache="10" jsinstance="2"> <div jstcac
he="0"> <dt jstcache="0"> <var jsdisplay="$this.name" jscontent="$this.name" jst
cache="45">windowId</var> <em jstcache="0"> <!-- TYPE --> <div style="display:in
line" jstcache="0"> ( <span class="optional" jsdisplay="optional" jstcache="46"
style="display: none; ">optional</span> <span id="typeTemplate" jstcache="0"> <s
pan jsdisplay="getTypeRef($this)" jstcache="47" style="display: none; "> <a jsva
lues=".href: getTypeRefPage($this) + '#type-' + getTypeRef($this)" jscontent="ge
tTypeRef($this)" jstcache="49"> Type</a> </span> <span jsdisplay="!getTypeRef($t
his)" jstcache="48"> <span jsdisplay="isArray($this)" jstcache="50" style="displ
ay: none; "> array of <span jsselect="items" jstcache="52"><span transclude="typ
eTemplate" jstcache="53"></span></span> </span> <span jsdisplay="!isArray($this)
" jscontent="getTypeName($this)" jstcache="51">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 win
dow 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 transcl
ude="valueTemplate" jstcache="17"> </div> </div> </dl> </dd> </div> </div><div j
sselect="getPropertyListFromObject($this)" jstcache="10" jsinstance="3"> <div js
tcache="0"> <dt jstcache="0"> <var jsdisplay="$this.name" jscontent="$this.name"
jstcache="45">selected</var> <em jstcache="0"> <!-- TYPE --> <div style="displa
y:inline" jstcache="0"> ( <span class="optional" jsdisplay="optional" jstcache="
46" style="display: none; ">optional</span> <span id="typeTemplate" jstcache="0"
> <span jsdisplay="getTypeRef($this)" jstcache="47" style="display: none; "> <a
jsvalues=".href: getTypeRefPage($this) + '#type-' + getTypeRef($this)" jscontent
="getTypeRef($this)" jstcache="49"> Type</a> </span> <span jsdisplay="!getTypeRe
f($this)" jstcache="48"> <span jsdisplay="isArray($this)" jstcache="50" style="d
isplay: none; "> array of <span jsselect="items" jstcache="52"><span transclude=
"typeTemplate" jstcache="53"></span></span> </span> <span jsdisplay="!isArray($t
his)" jscontent="getTypeName($this)" jstcache="51">boolean</span> </span> </span
> ) </div> </em> </dt> <dd class="todo" jsdisplay="!$this.description" jstcache=
"38" style="display: none; "> Undocumented. </dd> <dd jsdisplay="$this.descripti
on" jsvalues=".innerHTML:$this.description" jstcache="39" style="">Whether the t
ab is selected.</dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="shouldExpandObjec
t($this)" jstcache="40" style="display: none; "> <dl jstcache="0"> <div jsselect
="getPropertyListFromObject($this)" jstcache="10"> <div transclude="valueTemplat
e" jstcache="17"> </div> </div> </dl> </dd> </div> </div><div jsselect="getPrope
rtyListFromObject($this)" jstcache="10" jsinstance="4"> <div jstcache="0"> <dt j
stcache="0"> <var jsdisplay="$this.name" jscontent="$this.name" jstcache="45">ur
l</var> <em jstcache="0"> <!-- TYPE --> <div style="display:inline" jstcache="0"
> ( <span class="optional" jsdisplay="optional" jstcache="46" style="display: no
ne; ">optional</span> <span id="typeTemplate" jstcache="0"> <span jsdisplay="get
TypeRef($this)" jstcache="47" style="display: none; "> <a jsvalues=".href: getTy
peRefPage($this) + '#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" j
stcache="49"> Type</a> </span> <span jsdisplay="!getTypeRef($this)" jstcache="48
"> <span jsdisplay="isArray($this)" jstcache="50" style="display: none; "> array
of <span jsselect="items" jstcache="52"><span transclude="typeTemplate" jstcach
e="53"></span></span> </span> <span jsdisplay="!isArray($this)" jscontent="getTy
peName($this)" jstcache="51">string</span> </span> </span> ) </div> </em> </dt>
<dd class="todo" jsdisplay="!$this.description" jstcache="38" style="display: no
ne; "> Undocumented. </dd> <dd jsdisplay="$this.description" jsvalues=".innerHTM
L:$this.description" jstcache="39" style="">The URL the tab is displaying.</dd>
<!-- OBJECT PROPERTIES --> <dd jsdisplay="shouldExpandObject($this)" jstcache="4
0" style="display: none; "> <dl jstcache="0"> <div jsselect="getPropertyListFrom
Object($this)" jstcache="10"> <div transclude="valueTemplate" jstcache="17"> </d
iv> </div> </dl> </dd> </div> </div><div jsselect="getPropertyListFromObject($th
is)" jstcache="10" jsinstance="5"> <div jstcache="0"> <dt jstcache="0"> <var jsd
isplay="$this.name" jscontent="$this.name" jstcache="45">title</var> <em jstcach
e="0"> <!-- TYPE --> <div style="display:inline" jstcache="0"> ( <span class="op
tional" jsdisplay="optional" jstcache="46" style="">optional</span> <span id="ty
peTemplate" jstcache="0"> <span jsdisplay="getTypeRef($this)" jstcache="47" styl
e="display: none; "> <a jsvalues=".href: getTypeRefPage($this) + '#type-' + getT
ypeRef($this)" jscontent="getTypeRef($this)" jstcache="49"> Type</a> </span> <sp
an jsdisplay="!getTypeRef($this)" jstcache="48"> <span jsdisplay="isArray($this)
" jstcache="50" style="display: none; "> array of <span jsselect="items" jstcach
e="52"><span transclude="typeTemplate" jstcache="53"></span></span> </span> <spa
n jsdisplay="!isArray($this)" jscontent="getTypeName($this)" jstcache="51">strin
g</span> </span> </span> ) </div> </em> </dt> <dd class="todo" jsdisplay="!$this
.description" jstcache="38" style="display: none; "> Undocumented. </dd> <dd jsd
isplay="$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)" jstca
che="40" style="display: none; "> <dl jstcache="0"> <div jsselect="getPropertyLi
stFromObject($this)" jstcache="10"> <div transclude="valueTemplate" jstcache="17
"> </div> </div> </dl> </dd> </div> </div><div jsselect="getPropertyListFromObje
ct($this)" jstcache="10" jsinstance="6"> <div jstcache="0"> <dt jstcache="0"> <v
ar jsdisplay="$this.name" jscontent="$this.name" jstcache="45">favIconUrl</var>
<em jstcache="0"> <!-- TYPE --> <div style="display:inline" jstcache="0"> ( <spa
n class="optional" jsdisplay="optional" jstcache="46" style="">optional</span> <
span id="typeTemplate" jstcache="0"> <span jsdisplay="getTypeRef($this)" jstcach
e="47" style="display: none; "> <a jsvalues=".href: getTypeRefPage($this) + '#ty
pe-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="49"> Type</a>
</span> <span jsdisplay="!getTypeRef($this)" jstcache="48"> <span jsdisplay="isA
rray($this)" jstcache="50" style="display: none; "> array of <span jsselect="ite
ms" jstcache="52"><span transclude="typeTemplate" jstcache="53"></span></span> <
/span> <span jsdisplay="!isArray($this)" jscontent="getTypeName($this)" jstcache
="51">string</span> </span> </span> ) </div> </em> </dt> <dd class="todo" jsdisp
lay="!$this.description" jstcache="38" style="display: none; "> Undocumented. </
dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.description" js
tcache="39" style="">The URL of the tab's favicon. This may not be available if
the tab is loading.</dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="shouldExpandO
bject($this)" jstcache="40" style="display: none; "> <dl jstcache="0"> <div jsse
lect="getPropertyListFromObject($this)" jstcache="10"> <div transclude="valueTem
plate" jstcache="17"> </div> </div> </dl> </dd> </div> </div><div jsselect="getP
ropertyListFromObject($this)" jstcache="10" jsinstance="*7"> <div jstcache="0">
<dt jstcache="0"> <var jsdisplay="$this.name" jscontent="$this.name" jstcache="4
5">status</var> <em jstcache="0"> <!-- TYPE --> <div style="display:inline" jstc
ache="0"> ( <span class="optional" jsdisplay="optional" jstcache="46" style="">o
ptional</span> <span id="typeTemplate" jstcache="0"> <span jsdisplay="getTypeRef
($this)" jstcache="47" style="display: none; "> <a jsvalues=".href: getTypeRefPa
ge($this) + '#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache
="49"> Type</a> </span> <span jsdisplay="!getTypeRef($this)" jstcache="48"> <spa
n jsdisplay="isArray($this)" jstcache="50" style="display: none; "> array of <sp
an jsselect="items" jstcache="52"><span transclude="typeTemplate" jstcache="53">
</span></span> </span> <span jsdisplay="!isArray($this)" jscontent="getTypeName(
$this)" jstcache="51">string</span> </span> </span> ) </div> </em> </dt> <dd cla
ss="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="shou
ldExpandObject($this)" jstcache="40" style="display: none; "> <dl jstcache="0">
<div jsselect="getPropertyListFromObject($this)" jstcache="10"> <div transclude=
"valueTemplate" jstcache="17"> </div> </div> </dl> </dd> </div> </div> </dl> </d
d> </div> </div> <!-- /apiItem --> </div> <!-- /apiGroup --> </div> <!-- /apiPag
e --> </div> <!-- /mainColumn --> </div> <!-- /pageContent --> <div id="pageFoot
er" --="" jstcache="0"> <p jstcache="0"> Except as otherwise <a href="http://cod
e.google.com/policies.html#restrictions" jstcache="0">noted</a>, the content of
this page is licensed under the <a rel="license" href="http://creativecommons.or
g/licenses/by/3.0/" jstcache="0">Creative Commons Attribution 3.0 License</a>, a
nd 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 --> </bod
y></html> | 1 <!DOCTYPE html><!-- This page is a placeholder for generated extensions api doc.
Note: |
| 2 1) The <head> information in this page is significant, should be uniform |
| 3 across api docs and should be edited only with knowledge of the |
| 4 templating mechanism. |
| 5 2) The <body> tag *must* retain id="body" |
| 6 3) All <body>.innerHTML is genereated as an rendering step. If viewed in a |
| 7 browser, it will be re-generated from the template, json schema and |
| 8 authored overview content. |
| 9 4) The <body>.innerHTML is also generated by an offline step so that this |
| 10 page may easily be indexed by search engines. |
| 11 |
| 12 TODO(rafaelw): Abstract this into a "pageshell" that becomes the single |
| 13 version of page template shell and the "instance" pages (bookmarks.html, |
| 14 etc...) can be generated with a build step. |
| 15 --><!-- <html> must retain id="template --><html xmlns="http://www.w3.org/1999/x
html" jstcache="0"><!-- <head> data is significant and loads the needed librarie
s and styles --><head jstcache="0"> |
| 16 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" jstcache=
"0"> |
| 17 <title jscontent="getPageTitle()" jstcache="1">Tabs</title> |
| 18 <link href="css/ApiRefStyles.css" rel="stylesheet" type="text/css" jstcache=
"0"> |
| 19 <script type="text/javascript" src="../../../third_party/jstemplate/jstempla
te_compiled.js" jstcache="0"> |
| 20 </script> |
| 21 <script type="text/javascript" src="js/api_page_generator.js" jstcache="0"><
/script> |
| 22 <script type="text/javascript" src="js/bootstrap.js" jstcache="0"></script> |
| 23 </head><!-- <body> content is completely generated. Do not edit, as it will be |
| 24 and rewritten. --><body jstcache="0"> <div id="container" jstcache="0"> |
| 25 <a name="top" jstcache="0"> </a> |
| 26 <!-- API HEADER --> |
| 27 <div id="pageHeader" jstcache="0"> |
| 28 <div id="searchbox" jstcache="0"> |
| 29 <form action="http://www.google.com/cse" id="cse-search-box" jstcache="0
"> |
| 30 <div jstcache="0"> |
| 31 <input type="hidden" name="cx" value="002967670403910741006:61_cvzfq
tno" jstcache="0"> |
| 32 <input type="hidden" name="ie" value="UTF-8" jstcache="0"> |
| 33 <input type="text" name="q" size="31" jstcache="0"> |
| 34 <input type="submit" name="sa" value="Search" jstcache="0"> |
| 35 </div> |
| 36 </form> |
| 37 |
| 38 <script type="text/javascript" src="http://www.google.com/jsapi" jstcach
e="0"></script> |
| 39 <script type="text/javascript" jstcache="0">google.load("elements", "1",
{packages: "transliteration"});</script> |
| 40 <script type="text/javascript" src="http://www.google.com/coop/cse/t13n?
form=cse-search-box&t13n_langs=en" jstcache="0"></script> |
| 41 <script type="text/javascript" src="http://www.google.com/coop/cse/brand
?form=cse-search-box&lang=en" jstcache="0"></script> |
| 42 </div> |
| 43 <div id="pageTitle" jstcache="0"> |
| 44 <h1 jscontent="getPageTitle()" jstcache="1">Tabs</h1> |
| 45 </div> |
| 46 </div> <!-- /pageHeader --> |
| 47 |
| 48 <div id="pageContent" jstcache="0"> |
| 49 <!-- SIDENAV --> |
| 50 <div id="leftNav" jstcache="0"> |
| 51 <ul jstcache="0"> |
| 52 <li jstcache="0"> <a href="index.html" jstcache="0">Home</a></li> |
| 53 <li jstcache="0"> <a href="getstarted.html" jstcache="0">Getting Start
ed</a></li> |
| 54 <li jstcache="0"> <a href="overview.html" jstcache="0">Overview</a></l
i> |
| 55 <li jstcache="0"> <a href="devguide.html" jstcache="0"><div jstcache="
0">Developer's Guide</div></a> |
| 56 <ul jstcache="0"> |
| 57 <li jstcache="0"><a href="toolstrip.html" jstcache="0">Toolstrips<
/a></li> |
| 58 <li jstcache="0"><a href="pageActions.html" jstcache="0">Page Acti
ons</a></li> |
| 59 <li jstcache="0"><a href="background_pages.html" jstcache="0">Back
ground Pages</a></li> |
| 60 <li jstcache="0"><a href="content_scripts.html" jstcache="0">Conte
nt Scripts</a></li> |
| 61 <li jstcache="0"><a href="events.html" jstcache="0">Events</a></li
> |
| 62 <li jstcache="0" class="leftNavSelected">Tabs</li> |
| 63 <li jstcache="0"><a href="windows.html" jstcache="0">Windows</a></
li> |
| 64 <li jstcache="0"><a href="bookmarks.html" jstcache="0">Bookmarks</
a></li> |
| 65 <li jstcache="0"><a href="themes.html" jstcache="0">Themes</a></li
> |
| 66 <li jstcache="0"><a href="npapi.html" jstcache="0">NPAPI Plugins</
a></li> |
| 67 <li jstcache="0"><a href="packaging.html" jstcache="0">Packaging</
a></li> |
| 68 <li jstcache="0">Autoupdate</li> |
| 69 </ul> |
| 70 </li> |
| 71 <li jstcache="0"><a href="tutorials.html" jstcache="0"><div jstcache="
0">Tutorials</div></a> |
| 72 <ul jstcache="0"> |
| 73 <li jstcache="0"><a href="tut_debugging.html" jstcache="0">Debuggi
ng</a></li> |
| 74 </ul> |
| 75 </li> |
| 76 <li jstcache="0">Reference |
| 77 <ul jstcache="0"> |
| 78 <li jstcache="0"> Formats |
| 79 <ul jstcache="0"> |
| 80 <li jstcache="0"><a href="manifest.html" jstcache="0">Manifest
Files</a></li> |
| 81 <li jstcache="0"><a href="match_patterns.html" jstcache="0">Ma
tch Patterns</a></li> |
| 82 <li jstcache="0">Packages (.crx)</li> |
| 83 </ul> |
| 84 </li> |
| 85 <li jstcache="0"> <a href="api_index.html" jstcache="0">chrome.* A
PIs</a> </li> |
| 86 <li jstcache="0"> <a href="api_other.html" jstcache="0">Other APIs
</a> </li> |
| 87 </ul> |
| 88 </li> |
| 89 <li jstcache="0"><a href="http://dev.chromium.org/developers/design-doc
uments/extensions/samples" jstcache="0">Samples</a></li> |
| 90 </ul> |
| 91 </div> |
| 92 |
| 93 <div id="mainColumn" jstcache="0"> |
| 94 <!-- TABLE OF CONTENTS --> |
| 95 <div id="toc" jsdisplay="showPageTOC()" jstcache="2"> |
| 96 <p jstcache="0">Contents</p> |
| 97 <ol jstcache="0"> |
| 98 <li jsselect="getStaticTOC()" jstcache="9" jsinstance="*0"> |
| 99 <a jscontent="name" jsvalues=".href:'#' + href" jstcache="14" href
="#permissions">Permissions</a> |
| 100 <ol jstcache="0"> |
| 101 <li jsselect="$this.children" jstcache="22" jsinstance="*0" styl
e="display: none; "> |
| 102 <a jscontent="name" jsvalues=".href:'#' + href" jstcache="14">
h3Name</a> |
| 103 </li> |
| 104 </ol> |
| 105 </li> |
| 106 <div jsselect="apiDefinition" jstcache="3"> |
| 107 <li jstcache="0"> |
| 108 <a href="#apiReference" jscontent="'API reference: ' + getModule
Name()" jstcache="4">API reference: chrome.tabs</a> |
| 109 <ol jstcache="0"> |
| 110 <li jsdisplay="$this.properties" jstcache="5" style="display:
none; "> |
| 111 <a href="#properties" jstcache="0">Properties</a> |
| 112 <ol jstcache="0"> |
| 113 <li jsselect="getPropertyListFromObject($this)" jstcache="
10"> |
| 114 <a jscontent="name" jsvalues=".href:'#property-' + name"
href="#property-anchor" jstcache="42">propertyName</a> |
| 115 </li> |
| 116 </ol> |
| 117 </li> |
| 118 <li jsdisplay="functions && functions.length > 0" j
stcache="6"> |
| 119 <a href="#methods" jstcache="0">Methods</a> |
| 120 <ol jstcache="0"> |
| 121 <li jsselect="functions.sort(sortByName)" jstcache="11" js
instance="0"> |
| 122 <a jscontent="name" jsvalues=".href:'#method-' + name" h
ref="#method-captureVisibleTab" jstcache="43">captureVisibleTab</a> |
| 123 </li><li jsselect="functions.sort(sortByName)" jstcache="1
1" jsinstance="1"> |
| 124 <a jscontent="name" jsvalues=".href:'#method-' + name" h
ref="#method-connect" jstcache="43">connect</a> |
| 125 </li><li jsselect="functions.sort(sortByName)" jstcache="1
1" jsinstance="2"> |
| 126 <a jscontent="name" jsvalues=".href:'#method-' + name" h
ref="#method-create" jstcache="43">create</a> |
| 127 </li><li jsselect="functions.sort(sortByName)" jstcache="1
1" jsinstance="3"> |
| 128 <a jscontent="name" jsvalues=".href:'#method-' + name" h
ref="#method-detectLanguage" jstcache="43">detectLanguage</a> |
| 129 </li><li jsselect="functions.sort(sortByName)" jstcache="1
1" jsinstance="4"> |
| 130 <a jscontent="name" jsvalues=".href:'#method-' + name" h
ref="#method-get" jstcache="43">get</a> |
| 131 </li><li jsselect="functions.sort(sortByName)" jstcache="1
1" jsinstance="5"> |
| 132 <a jscontent="name" jsvalues=".href:'#method-' + name" h
ref="#method-getAllInWindow" jstcache="43">getAllInWindow</a> |
| 133 </li><li jsselect="functions.sort(sortByName)" jstcache="1
1" jsinstance="6"> |
| 134 <a jscontent="name" jsvalues=".href:'#method-' + name" h
ref="#method-getSelected" jstcache="43">getSelected</a> |
| 135 </li><li jsselect="functions.sort(sortByName)" jstcache="1
1" jsinstance="7"> |
| 136 <a jscontent="name" jsvalues=".href:'#method-' + name" h
ref="#method-move" jstcache="43">move</a> |
| 137 </li><li jsselect="functions.sort(sortByName)" jstcache="1
1" jsinstance="8"> |
| 138 <a jscontent="name" jsvalues=".href:'#method-' + name" h
ref="#method-remove" jstcache="43">remove</a> |
| 139 </li><li jsselect="functions.sort(sortByName)" jstcache="1
1" jsinstance="*9"> |
| 140 <a jscontent="name" jsvalues=".href:'#method-' + name" h
ref="#method-update" jstcache="43">update</a> |
| 141 </li> |
| 142 </ol> |
| 143 </li> |
| 144 <li jsdisplay="events && events.length > 0" jstcach
e="7"> |
| 145 <a href="#events" jstcache="0">Events</a> |
| 146 <ol jstcache="0"> |
| 147 <li jsselect="events.sort(sortByName)" jstcache="12" jsins
tance="0"> |
| 148 <a jscontent="name" jsvalues=".href:'#event-' + name" hr
ef="#event-onAttached" jstcache="44">onAttached</a> |
| 149 </li><li jsselect="events.sort(sortByName)" jstcache="12"
jsinstance="1"> |
| 150 <a jscontent="name" jsvalues=".href:'#event-' + name" hr
ef="#event-onCreated" jstcache="44">onCreated</a> |
| 151 </li><li jsselect="events.sort(sortByName)" jstcache="12"
jsinstance="2"> |
| 152 <a jscontent="name" jsvalues=".href:'#event-' + name" hr
ef="#event-onDetached" jstcache="44">onDetached</a> |
| 153 </li><li jsselect="events.sort(sortByName)" jstcache="12"
jsinstance="3"> |
| 154 <a jscontent="name" jsvalues=".href:'#event-' + name" hr
ef="#event-onMoved" jstcache="44">onMoved</a> |
| 155 </li><li jsselect="events.sort(sortByName)" jstcache="12"
jsinstance="4"> |
| 156 <a jscontent="name" jsvalues=".href:'#event-' + name" hr
ef="#event-onRemoved" jstcache="44">onRemoved</a> |
| 157 </li><li jsselect="events.sort(sortByName)" jstcache="12"
jsinstance="5"> |
| 158 <a jscontent="name" jsvalues=".href:'#event-' + name" hr
ef="#event-onSelectionChanged" jstcache="44">onSelectionChanged</a> |
| 159 </li><li jsselect="events.sort(sortByName)" jstcache="12"
jsinstance="*6"> |
| 160 <a jscontent="name" jsvalues=".href:'#event-' + name" hr
ef="#event-onUpdated" jstcache="44">onUpdated</a> |
| 161 </li> |
| 162 </ol> |
| 163 </li> |
| 164 <li jsdisplay="types && types.length > 0" jstcache=
"8"> |
| 165 <a href="#types" jstcache="0">Types</a> |
| 166 <ol jstcache="0"> |
| 167 <li jsselect="types.sort(sortByName)" jstcache="38" jsinst
ance="*0"> |
| 168 <a jscontent="id" jsvalues=".href:'#type-' + id" href="#
type-Tab" jstcache="45">Tab</a> |
| 169 </li> |
| 170 </ol> |
| 171 </li> |
| 172 </ol> |
| 173 </li> |
| 174 </div> |
| 175 </ol> |
| 176 </div> |
| 177 <!-- /TABLE OF CONTENTS --> |
| 178 |
| 179 <!-- STATIC CONTENT PLACEHOLDER --> |
| 180 <div id="static" jstcache="0"><div id="pageData-title" class="pageData"
jstcache="0">Tabs</div> |
| 181 |
| 182 <!-- BEGIN AUTHORED CONTENT --> |
| 183 <p id="classSummary" jstcache="0"> |
| 184 Use the <code jstcache="0">chrome.tabs</code> module |
| 185 to interact with the browser's tab system. |
| 186 You can use this module to |
| 187 create, modify, and rearrange tabs in the browser. |
| 188 </p> |
| 189 |
| 190 <h2 id="permissions" jstcache="0">Permissions</h2> |
| 191 <p jstcache="0">You must declare the <var jstcache="0">tabs</var> permission in
your extension's manifest to use the tabs API.</p> |
| 192 <p jstcache="0">Example:</p> |
| 193 <pre jstcache="0">{ |
| 194 "name": "My extension that uses tabs", |
| 195 "version": "0.1", |
| 196 <b jstcache="0"> "permissions": [ |
| 197 "tabs" |
| 198 ]</b> |
| 199 }</pre> |
| 200 |
| 201 <!-- END AUTHORED CONTENT --> |
| 202 </div> |
| 203 |
| 204 <!-- API PAGE --> |
| 205 <div class="apiPage" jsselect="apiDefinition" jstcache="3"> |
| 206 <a name="apiReference" jstcache="0"></a> |
| 207 <h2 jscontent="'API reference: ' + getModuleName()" jstcache="4">API ref
erence: chrome.tabs</h2> |
| 208 |
| 209 <!-- PROPERTIES --> |
| 210 <div jsdisplay="$this.properties" class="apiGroup" jstcache="5" style=
"display: none; "> |
| 211 <a name="properties" jstcache="0"></a> |
| 212 <h3 id="properties" jstcache="0">Properties</h3> |
| 213 |
| 214 <div jsselect="getPropertyListFromObject($this)" jstcache="10"> |
| 215 <a jsvalues=".name:'property-' + name" jstcache="15"></a> |
| 216 <h4 jscontent="name" jstcache="16">getLastError</h4> |
| 217 <div class="summary" jstcache="0"> |
| 218 <!-- Note: intentionally longer 80 columns --> |
| 219 <span jscontent="getModuleName() + '.'" jstcache="23">chrome.ext
ension</span><span jscontent="$this.name" jstcache="24">lastError</span> |
| 220 </div> |
| 221 <div transclude="valueTemplate" jstcache="17"> |
| 222 </div> |
| 223 </div> |
| 224 |
| 225 </div> <!-- /apiGroup --> |
| 226 |
| 227 <!-- METHODS --> |
| 228 <div jsdisplay="functions && functions.length > 0" class="a
piGroup" id="methods" jstcache="6"> |
| 229 <a name="methods" jstcache="0"></a> |
| 230 <h3 jstcache="0">Methods</h3> |
| 231 |
| 232 <!-- iterates over all functions --> |
| 233 <div class="apiItem" jsselect="functions.sort(sortByName)" jstcache=
"11" jsinstance="0"> |
| 234 <a jsvalues=".name:'method-' + name" jstcache="18" name="method-ca
ptureVisibleTab"></a> <!-- method-anchor --> |
| 235 <h4 jscontent="name" jstcache="16">captureVisibleTab</h4> |
| 236 |
| 237 <div class="summary" jstcache="0"><span jsdisplay="returns" jscont
ent="getTypeName(returns)" jstcache="25" style="display: none; ">void</span> |
| 238 <!-- Note: intentionally longer 80 columns --> |
| 239 <span jscontent="getFullyQualifiedFunctionName($this)" jstcach
e="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> |
| 240 <var jstcache="0"><span jscontent="name" jstcache="16">win
dowId</span></var></span><span jsselect="parameters" jsvalues="class:optional ?
'optional' : ''" jstcache="27" jsinstance="*1" class="null"><span jsdisplay="$in
dex" jstcache="33">, </span><span jscontent="getTypeName($this)" jstcache="34">f
unction</span> |
| 241 <var jstcache="0"><span jscontent="name" jstcache="16">cal
lback</span></var></span>)</div> |
| 242 |
| 243 <div class="description" jstcache="0"> |
| 244 <p class="todo" jsdisplay="!description" jstcache="28" style="di
splay: none; ">Undocumented.</p> |
| 245 <p jsdisplay="description" jsvalues=".innerHTML:description" jst
cache="29">Captures the visible area of the currently selected tab in the specif
ied window.</p> |
| 246 |
| 247 <!-- PARAMETERS --> |
| 248 <h4 jstcache="0">Parameters</h4> |
| 249 <dl jstcache="0"> |
| 250 <div jsselect="parameters" jstcache="35" jsinstance="0"> |
| 251 |
| 252 <!-- VALUE: This is a subtemplate that is used elsewhere |
| 253 via jsTemplate *transclude* --> |
| 254 <div id="valueTemplate" jstcache="0"> |
| 255 <dt jstcache="0"> |
| 256 <var jsdisplay="$this.name" jscontent="$this.name" jstca
che="46">windowId</var> |
| 257 <em jstcache="0"> |
| 258 |
| 259 <!-- TYPE --> |
| 260 <div style="display:inline" jstcache="0"> |
| 261 ( |
| 262 <span class="optional" jsdisplay="optional" jstc
ache="47">optional</span> |
| 263 <span id="typeTemplate" jstcache="0"> |
| 264 <span jsdisplay="getTypeRef($this)" jstcache="
48" style="display: none; "> |
| 265 <a jsvalues=".href: getTypeRefPage($this) +
'#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="50"> Type<
/a> |
| 266 </span> |
| 267 <span jsdisplay="!getTypeRef($this)" jstcache=
"49"> |
| 268 <span jsdisplay="isArray($this)" jstcache="5
1" style="display: none; "> |
| 269 array of <span jsselect="items" jstcache="
53"><span transclude="typeTemplate" jstcache="54"></span></span> |
| 270 </span> |
| 271 <span jsdisplay="!isArray($this)" jscontent=
"getTypeName($this)" jstcache="52">integer</span> |
| 272 </span> |
| 273 </span> |
| 274 ) |
| 275 </div> |
| 276 |
| 277 </em> |
| 278 </dt> |
| 279 <dd class="todo" jsdisplay="!$this.description" jstcache="
39" style="display: none; "> |
| 280 Undocumented. |
| 281 </dd> |
| 282 <dd jsdisplay="$this.description" jsvalues=".innerHTML:$th
is.description" jstcache="40">The target window. Defaults to the <a href="window
s.html#current-window" jstcache="0">current window</a>.</dd> |
| 283 |
| 284 <!-- OBJECT PROPERTIES --> |
| 285 <dd jsdisplay="shouldExpandObject($this)" jstcache="41" st
yle="display: none; "> |
| 286 <dl jstcache="0"> |
| 287 <div jsselect="getPropertyListFromObject($this)" jstca
che="10"> |
| 288 <div transclude="valueTemplate" jstcache="17"> |
| 289 </div> |
| 290 </div> |
| 291 </dl> |
| 292 </dd> |
| 293 </div> <!-- /VALUE --> |
| 294 |
| 295 </div><div jsselect="parameters" jstcache="35" jsinstance="*1"
> |
| 296 |
| 297 <!-- VALUE: This is a subtemplate that is used elsewhere |
| 298 via jsTemplate *transclude* --> |
| 299 <div id="valueTemplate" jstcache="0"> |
| 300 <dt jstcache="0"> |
| 301 <var jsdisplay="$this.name" jscontent="$this.name" jstca
che="46">callback</var> |
| 302 <em jstcache="0"> |
| 303 |
| 304 <!-- TYPE --> |
| 305 <div style="display:inline" jstcache="0"> |
| 306 ( |
| 307 <span class="optional" jsdisplay="optional" jstc
ache="47" style="display: none; ">optional</span> |
| 308 <span id="typeTemplate" jstcache="0"> |
| 309 <span jsdisplay="getTypeRef($this)" jstcache="
48" style="display: none; "> |
| 310 <a jsvalues=".href: getTypeRefPage($this) +
'#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="50"> Type<
/a> |
| 311 </span> |
| 312 <span jsdisplay="!getTypeRef($this)" jstcache=
"49"> |
| 313 <span jsdisplay="isArray($this)" jstcache="5
1" style="display: none; "> |
| 314 array of <span jsselect="items" jstcache="
53"><span transclude="typeTemplate" jstcache="54"></span></span> |
| 315 </span> |
| 316 <span jsdisplay="!isArray($this)" jscontent=
"getTypeName($this)" jstcache="52">function</span> |
| 317 </span> |
| 318 </span> |
| 319 ) |
| 320 </div> |
| 321 |
| 322 </em> |
| 323 </dt> |
| 324 <dd class="todo" jsdisplay="!$this.description" jstcache="
39"> |
| 325 Undocumented. |
| 326 </dd> |
| 327 <dd jsdisplay="$this.description" jsvalues=".innerHTML:$th
is.description" jstcache="40" style="display: none; "> |
| 328 Description of this parameter from the json schema. |
| 329 </dd> |
| 330 |
| 331 <!-- OBJECT PROPERTIES --> |
| 332 <dd jsdisplay="shouldExpandObject($this)" jstcache="41" st
yle="display: none; "> |
| 333 <dl jstcache="0"> |
| 334 <div jsselect="getPropertyListFromObject($this)" jstca
che="10"> |
| 335 <div transclude="valueTemplate" jstcache="17"> |
| 336 </div> |
| 337 </div> |
| 338 </dl> |
| 339 </dd> |
| 340 </div> <!-- /VALUE --> |
| 341 |
| 342 </div> |
| 343 </dl> |
| 344 |
| 345 <!-- RETURNS --> |
| 346 <h4 jsdisplay="returns" jstcache="30" style="display: none; ">Re
turns</h4> |
| 347 <dl jstcache="0"> |
| 348 <div jsselect="returns" jstcache="36" style="display: none; "> |
| 349 <div transclude="valueTemplate" jstcache="17"> |
| 350 </div> |
| 351 </div> |
| 352 </dl> |
| 353 |
| 354 <!-- CALLBACK --> |
| 355 <div jsdisplay="hasCallback(parameters)" jstcache="31"> |
| 356 <div jsselect="getCallbackParameters(parameters)" jstcache="37
"> |
| 357 <h4 jstcache="0">Callback function</h4> |
| 358 <p jstcache="0"> |
| 359 If you specify the <em jstcache="0">callback</em> parameter, |
| 360 it should specify a function that looks like this: |
| 361 </p> |
| 362 |
| 363 <!-- Note: intentionally longer 80 columns --> |
| 364 <pre jstcache="0">function(<span jscontent="getSignatureString
(parameters)" jstcache="32">string dataUrl</span>) <span class="subdued" jstcach
e="0">{...}</span>);</pre> |
| 365 <dl jstcache="0"> |
| 366 <div jsselect="parameters" jstcache="35" jsinstance="*0"> |
| 367 <div jstcache="0"> |
| 368 <dt jstcache="0"> |
| 369 <var jsdisplay="$this.name" jscontent="$this.name" jstca
che="46">dataUrl</var> |
| 370 <em jstcache="0"> |
| 371 |
| 372 <!-- TYPE --> |
| 373 <div style="display:inline" jstcache="0"> |
| 374 ( |
| 375 <span class="optional" jsdisplay="optional" jstc
ache="47" style="display: none; ">optional</span> |
| 376 <span id="typeTemplate" jstcache="0"> |
| 377 <span jsdisplay="getTypeRef($this)" jstcache="
48" style="display: none; "> |
| 378 <a jsvalues=".href: getTypeRefPage($this) +
'#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="50"> Type<
/a> |
| 379 </span> |
| 380 <span jsdisplay="!getTypeRef($this)" jstcache=
"49"> |
| 381 <span jsdisplay="isArray($this)" jstcache="5
1" style="display: none; "> |
| 382 array of <span jsselect="items" jstcache="
53"><span transclude="typeTemplate" jstcache="54"></span></span> |
| 383 </span> |
| 384 <span jsdisplay="!isArray($this)" jscontent=
"getTypeName($this)" jstcache="52">string</span> |
| 385 </span> |
| 386 </span> |
| 387 ) |
| 388 </div> |
| 389 |
| 390 </em> |
| 391 </dt> |
| 392 <dd class="todo" jsdisplay="!$this.description" jstcache="
39" style="display: none; "> |
| 393 Undocumented. |
| 394 </dd> |
| 395 <dd jsdisplay="$this.description" jsvalues=".innerHTML:$th
is.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 elem
ent for display.</dd> |
| 396 |
| 397 <!-- OBJECT PROPERTIES --> |
| 398 <dd jsdisplay="shouldExpandObject($this)" jstcache="41" st
yle="display: none; "> |
| 399 <dl jstcache="0"> |
| 400 <div jsselect="getPropertyListFromObject($this)" jstca
che="10"> |
| 401 <div transclude="valueTemplate" jstcache="17"> |
| 402 </div> |
| 403 </div> |
| 404 </dl> |
| 405 </dd> |
| 406 </div> |
| 407 </div> |
| 408 </dl> |
| 409 </div> |
| 410 </div> |
| 411 |
| 412 </div> <!-- /description --> |
| 413 |
| 414 </div><div class="apiItem" jsselect="functions.sort(sortByName)" jst
cache="11" jsinstance="1"> |
| 415 <a jsvalues=".name:'method-' + name" jstcache="18" name="method-co
nnect"></a> <!-- method-anchor --> |
| 416 <h4 jscontent="name" jstcache="16">connect</h4> |
| 417 |
| 418 <div class="summary" jstcache="0"><span jsdisplay="returns" jscont
ent="getTypeName(returns)" jstcache="25">Port</span> |
| 419 <!-- Note: intentionally longer 80 columns --> |
| 420 <span jscontent="getFullyQualifiedFunctionName($this)" jstcach
e="26">chrome.tabs.connect</span>(<span jsselect="parameters" jsvalues="class:op
tional ? 'optional' : ''" jstcache="27" jsinstance="0" class="null"><span jsdisp
lay="$index" jstcache="33" style="display: none; ">, </span><span jscontent="get
TypeName($this)" jstcache="34">integer</span> |
| 421 <var jstcache="0"><span jscontent="name" jstcache="16">tab
Id</span></var></span><span jsselect="parameters" jsvalues="class:optional ? 'op
tional' : ''" jstcache="27" jsinstance="*1" class="optional"><span jsdisplay="$i
ndex" jstcache="33">, </span><span jscontent="getTypeName($this)" jstcache="34">
object</span> |
| 422 <var jstcache="0"><span jscontent="name" jstcache="16">con
nectInfo</span></var></span>)</div> |
| 423 |
| 424 <div class="description" jstcache="0"> |
| 425 <p class="todo" jsdisplay="!description" jstcache="28" style="di
splay: none; ">Undocumented.</p> |
| 426 <p jsdisplay="description" jsvalues=".innerHTML:description" jst
cache="29">Connects to the content script(s) in the specified tab. The <a href="
extension.html#event-onConnect" jstcache="0">chrome.extensions.onConnect</a> eve
nt 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" jstcac
he="0">Content Script Messaging</a>.</p> |
| 427 |
| 428 <!-- PARAMETERS --> |
| 429 <h4 jstcache="0">Parameters</h4> |
| 430 <dl jstcache="0"> |
| 431 <div jsselect="parameters" jstcache="35" jsinstance="0"> |
| 432 |
| 433 <!-- VALUE: This is a subtemplate that is used elsewhere |
| 434 via jsTemplate *transclude* --> |
| 435 <div id="valueTemplate" jstcache="0"> |
| 436 <dt jstcache="0"> |
| 437 <var jsdisplay="$this.name" jscontent="$this.name" jstca
che="46">tabId</var> |
| 438 <em jstcache="0"> |
| 439 |
| 440 <!-- TYPE --> |
| 441 <div style="display:inline" jstcache="0"> |
| 442 ( |
| 443 <span class="optional" jsdisplay="optional" jstc
ache="47" style="display: none; ">optional</span> |
| 444 <span id="typeTemplate" jstcache="0"> |
| 445 <span jsdisplay="getTypeRef($this)" jstcache="
48" style="display: none; "> |
| 446 <a jsvalues=".href: getTypeRefPage($this) +
'#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="50"> Type<
/a> |
| 447 </span> |
| 448 <span jsdisplay="!getTypeRef($this)" jstcache=
"49"> |
| 449 <span jsdisplay="isArray($this)" jstcache="5
1" style="display: none; "> |
| 450 array of <span jsselect="items" jstcache="
53"><span transclude="typeTemplate" jstcache="54"></span></span> |
| 451 </span> |
| 452 <span jsdisplay="!isArray($this)" jscontent=
"getTypeName($this)" jstcache="52">integer</span> |
| 453 </span> |
| 454 </span> |
| 455 ) |
| 456 </div> |
| 457 |
| 458 </em> |
| 459 </dt> |
| 460 <dd class="todo" jsdisplay="!$this.description" jstcache="
39"> |
| 461 Undocumented. |
| 462 </dd> |
| 463 <dd jsdisplay="$this.description" jsvalues=".innerHTML:$th
is.description" jstcache="40" style="display: none; "> |
| 464 Description of this parameter from the json schema. |
| 465 </dd> |
| 466 |
| 467 <!-- OBJECT PROPERTIES --> |
| 468 <dd jsdisplay="shouldExpandObject($this)" jstcache="41" st
yle="display: none; "> |
| 469 <dl jstcache="0"> |
| 470 <div jsselect="getPropertyListFromObject($this)" jstca
che="10"> |
| 471 <div transclude="valueTemplate" jstcache="17"> |
| 472 </div> |
| 473 </div> |
| 474 </dl> |
| 475 </dd> |
| 476 </div> <!-- /VALUE --> |
| 477 |
| 478 </div><div jsselect="parameters" jstcache="35" jsinstance="*1"
> |
| 479 |
| 480 <!-- VALUE: This is a subtemplate that is used elsewhere |
| 481 via jsTemplate *transclude* --> |
| 482 <div id="valueTemplate" jstcache="0"> |
| 483 <dt jstcache="0"> |
| 484 <var jsdisplay="$this.name" jscontent="$this.name" jstca
che="46">connectInfo</var> |
| 485 <em jstcache="0"> |
| 486 |
| 487 <!-- TYPE --> |
| 488 <div style="display:inline" jstcache="0"> |
| 489 ( |
| 490 <span class="optional" jsdisplay="optional" jstc
ache="47">optional</span> |
| 491 <span id="typeTemplate" jstcache="0"> |
| 492 <span jsdisplay="getTypeRef($this)" jstcache="
48" style="display: none; "> |
| 493 <a jsvalues=".href: getTypeRefPage($this) +
'#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="50"> Type<
/a> |
| 494 </span> |
| 495 <span jsdisplay="!getTypeRef($this)" jstcache=
"49"> |
| 496 <span jsdisplay="isArray($this)" jstcache="5
1" style="display: none; "> |
| 497 array of <span jsselect="items" jstcache="
53"><span transclude="typeTemplate" jstcache="54"></span></span> |
| 498 </span> |
| 499 <span jsdisplay="!isArray($this)" jscontent=
"getTypeName($this)" jstcache="52">object</span> |
| 500 </span> |
| 501 </span> |
| 502 ) |
| 503 </div> |
| 504 |
| 505 </em> |
| 506 </dt> |
| 507 <dd class="todo" jsdisplay="!$this.description" jstcache="
39"> |
| 508 Undocumented. |
| 509 </dd> |
| 510 <dd jsdisplay="$this.description" jsvalues=".innerHTML:$th
is.description" jstcache="40" style="display: none; "> |
| 511 Description of this parameter from the json schema. |
| 512 </dd> |
| 513 |
| 514 <!-- OBJECT PROPERTIES --> |
| 515 <dd jsdisplay="shouldExpandObject($this)" jstcache="41"> |
| 516 <dl jstcache="0"> |
| 517 <div jsselect="getPropertyListFromObject($this)" jstca
che="10" jsinstance="*0"> |
| 518 <div jstcache="0"> |
| 519 <dt jstcache="0"> |
| 520 <var jsdisplay="$this.name" jscontent="$this.name" jstca
che="46">name</var> |
| 521 <em jstcache="0"> |
| 522 |
| 523 <!-- TYPE --> |
| 524 <div style="display:inline" jstcache="0"> |
| 525 ( |
| 526 <span class="optional" jsdisplay="optional" jstc
ache="47">optional</span> |
| 527 <span id="typeTemplate" jstcache="0"> |
| 528 <span jsdisplay="getTypeRef($this)" jstcache="
48" style="display: none; "> |
| 529 <a jsvalues=".href: getTypeRefPage($this) +
'#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="50"> Type<
/a> |
| 530 </span> |
| 531 <span jsdisplay="!getTypeRef($this)" jstcache=
"49"> |
| 532 <span jsdisplay="isArray($this)" jstcache="5
1" style="display: none; "> |
| 533 array of <span jsselect="items" jstcache="
53"><span transclude="typeTemplate" jstcache="54"></span></span> |
| 534 </span> |
| 535 <span jsdisplay="!isArray($this)" jscontent=
"getTypeName($this)" jstcache="52">string</span> |
| 536 </span> |
| 537 </span> |
| 538 ) |
| 539 </div> |
| 540 |
| 541 </em> |
| 542 </dt> |
| 543 <dd class="todo" jsdisplay="!$this.description" jstcache="
39" style="display: none; "> |
| 544 Undocumented. |
| 545 </dd> |
| 546 <dd jsdisplay="$this.description" jsvalues=".innerHTML:$th
is.description" jstcache="40">Will be passed into onConnect for content scripts
that are listening for the connection event.</dd> |
| 547 |
| 548 <!-- OBJECT PROPERTIES --> |
| 549 <dd jsdisplay="shouldExpandObject($this)" jstcache="41" st
yle="display: none; "> |
| 550 <dl jstcache="0"> |
| 551 <div jsselect="getPropertyListFromObject($this)" jstca
che="10"> |
| 552 <div transclude="valueTemplate" jstcache="17"> |
| 553 </div> |
| 554 </div> |
| 555 </dl> |
| 556 </dd> |
| 557 </div> |
| 558 </div> |
| 559 </dl> |
| 560 </dd> |
| 561 </div> <!-- /VALUE --> |
| 562 |
| 563 </div> |
| 564 </dl> |
| 565 |
| 566 <!-- RETURNS --> |
| 567 <h4 jsdisplay="returns" jstcache="30">Returns</h4> |
| 568 <dl jstcache="0"> |
| 569 <div jsselect="returns" jstcache="36"> |
| 570 <div jstcache="0"> |
| 571 <dt jstcache="0"> |
| 572 <var jsdisplay="$this.name" jscontent="$this.name" jstca
che="46" style="display: none; ">windowId</var> |
| 573 <em jstcache="0"> |
| 574 |
| 575 <!-- TYPE --> |
| 576 <div style="display:inline" jstcache="0"> |
| 577 ( |
| 578 <span class="optional" jsdisplay="optional" jstc
ache="47" style="display: none; ">optional</span> |
| 579 <span id="typeTemplate" jstcache="0"> |
| 580 <span jsdisplay="getTypeRef($this)" jstcache="
48" style=""> |
| 581 <a jsvalues=".href: getTypeRefPage($this) +
'#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="50" href="
extension.html#type-Port">Port</a> |
| 582 </span> |
| 583 <span jsdisplay="!getTypeRef($this)" jstcache=
"49" style="display: none; "> |
| 584 <span jsdisplay="isArray($this)" jstcache="5
1" style="display: none; "> |
| 585 array of <span jsselect="items" jstcache="
53"><span transclude="typeTemplate" jstcache="54"></span></span> |
| 586 </span> |
| 587 <span jsdisplay="!isArray($this)" jscontent=
"getTypeName($this)" jstcache="52">integer</span> |
| 588 </span> |
| 589 </span> |
| 590 ) |
| 591 </div> |
| 592 |
| 593 </em> |
| 594 </dt> |
| 595 <dd class="todo" jsdisplay="!$this.description" jstcache="
39" style="display: none; "> |
| 596 Undocumented. |
| 597 </dd> |
| 598 <dd jsdisplay="$this.description" jsvalues=".innerHTML:$th
is.description" jstcache="40">A port that can be used to communicate with the co
ntent scripts running in the specified tab.</dd> |
| 599 |
| 600 <!-- OBJECT PROPERTIES --> |
| 601 <dd jsdisplay="shouldExpandObject($this)" jstcache="41" st
yle="display: none; "> |
| 602 <dl jstcache="0"> |
| 603 <div jsselect="getPropertyListFromObject($this)" jstca
che="10"> |
| 604 <div transclude="valueTemplate" jstcache="17"> |
| 605 </div> |
| 606 </div> |
| 607 </dl> |
| 608 </dd> |
| 609 </div> |
| 610 </div> |
| 611 </dl> |
| 612 |
| 613 <!-- CALLBACK --> |
| 614 <div jsdisplay="hasCallback(parameters)" jstcache="31" style="di
splay: none; "> |
| 615 <div jsselect="getCallbackParameters(parameters)" jstcache="37
"> |
| 616 <h4 jstcache="0">Callback function</h4> |
| 617 <p jstcache="0"> |
| 618 If you specify the <em jstcache="0">callback</em> parameter, |
| 619 it should specify a function that looks like this: |
| 620 </p> |
| 621 |
| 622 <!-- Note: intentionally longer 80 columns --> |
| 623 <pre jstcache="0">function(<span jscontent="getSignatureString
(parameters)" jstcache="32">Type param1, Type param2</span>) <span class="subdue
d" jstcache="0">{...}</span>);</pre> |
| 624 <dl jstcache="0"> |
| 625 <div jsselect="parameters" jstcache="35"> |
| 626 <div transclude="valueTemplate" jstcache="17"> |
| 627 </div> |
| 628 </div> |
| 629 </dl> |
| 630 </div> |
| 631 </div> |
| 632 |
| 633 </div> <!-- /description --> |
| 634 |
| 635 </div><div class="apiItem" jsselect="functions.sort(sortByName)" jst
cache="11" jsinstance="2"> |
| 636 <a jsvalues=".name:'method-' + name" jstcache="18" name="method-cr
eate"></a> <!-- method-anchor --> |
| 637 <h4 jscontent="name" jstcache="16">create</h4> |
| 638 |
| 639 <div class="summary" jstcache="0"><span jsdisplay="returns" jscont
ent="getTypeName(returns)" jstcache="25" style="display: none; ">void</span> |
| 640 <!-- Note: intentionally longer 80 columns --> |
| 641 <span jscontent="getFullyQualifiedFunctionName($this)" jstcach
e="26">chrome.tabs.create</span>(<span jsselect="parameters" jsvalues="class:opt
ional ? 'optional' : ''" jstcache="27" jsinstance="0" class="null"><span jsdispl
ay="$index" jstcache="33" style="display: none; ">, </span><span jscontent="getT
ypeName($this)" jstcache="34">object</span> |
| 642 <var jstcache="0"><span jscontent="name" jstcache="16">cre
ateProperties</span></var></span><span jsselect="parameters" jsvalues="class:opt
ional ? 'optional' : ''" jstcache="27" jsinstance="*1" class="optional"><span js
display="$index" jstcache="33">, </span><span jscontent="getTypeName($this)" jst
cache="34">function</span> |
| 643 <var jstcache="0"><span jscontent="name" jstcache="16">cal
lback</span></var></span>)</div> |
| 644 |
| 645 <div class="description" jstcache="0"> |
| 646 <p class="todo" jsdisplay="!description" jstcache="28" style="di
splay: none; ">Undocumented.</p> |
| 647 <p jsdisplay="description" jsvalues=".innerHTML:description" jst
cache="29">Creates a new tab.</p> |
| 648 |
| 649 <!-- PARAMETERS --> |
| 650 <h4 jstcache="0">Parameters</h4> |
| 651 <dl jstcache="0"> |
| 652 <div jsselect="parameters" jstcache="35" jsinstance="0"> |
| 653 |
| 654 <!-- VALUE: This is a subtemplate that is used elsewhere |
| 655 via jsTemplate *transclude* --> |
| 656 <div id="valueTemplate" jstcache="0"> |
| 657 <dt jstcache="0"> |
| 658 <var jsdisplay="$this.name" jscontent="$this.name" jstca
che="46">createProperties</var> |
| 659 <em jstcache="0"> |
| 660 |
| 661 <!-- TYPE --> |
| 662 <div style="display:inline" jstcache="0"> |
| 663 ( |
| 664 <span class="optional" jsdisplay="optional" jstc
ache="47" style="display: none; ">optional</span> |
| 665 <span id="typeTemplate" jstcache="0"> |
| 666 <span jsdisplay="getTypeRef($this)" jstcache="
48" style="display: none; "> |
| 667 <a jsvalues=".href: getTypeRefPage($this) +
'#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="50"> Type<
/a> |
| 668 </span> |
| 669 <span jsdisplay="!getTypeRef($this)" jstcache=
"49"> |
| 670 <span jsdisplay="isArray($this)" jstcache="5
1" style="display: none; "> |
| 671 array of <span jsselect="items" jstcache="
53"><span transclude="typeTemplate" jstcache="54"></span></span> |
| 672 </span> |
| 673 <span jsdisplay="!isArray($this)" jscontent=
"getTypeName($this)" jstcache="52">object</span> |
| 674 </span> |
| 675 </span> |
| 676 ) |
| 677 </div> |
| 678 |
| 679 </em> |
| 680 </dt> |
| 681 <dd class="todo" jsdisplay="!$this.description" jstcache="
39"> |
| 682 Undocumented. |
| 683 </dd> |
| 684 <dd jsdisplay="$this.description" jsvalues=".innerHTML:$th
is.description" jstcache="40" style="display: none; "> |
| 685 Description of this parameter from the json schema. |
| 686 </dd> |
| 687 |
| 688 <!-- OBJECT PROPERTIES --> |
| 689 <dd jsdisplay="shouldExpandObject($this)" jstcache="41"> |
| 690 <dl jstcache="0"> |
| 691 <div jsselect="getPropertyListFromObject($this)" jstca
che="10" jsinstance="0"> |
| 692 <div jstcache="0"> |
| 693 <dt jstcache="0"> |
| 694 <var jsdisplay="$this.name" jscontent="$this.name" jstca
che="46">windowId</var> |
| 695 <em jstcache="0"> |
| 696 |
| 697 <!-- TYPE --> |
| 698 <div style="display:inline" jstcache="0"> |
| 699 ( |
| 700 <span class="optional" jsdisplay="optional" jstc
ache="47">optional</span> |
| 701 <span id="typeTemplate" jstcache="0"> |
| 702 <span jsdisplay="getTypeRef($this)" jstcache="
48" style="display: none; "> |
| 703 <a jsvalues=".href: getTypeRefPage($this) +
'#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="50"> Type<
/a> |
| 704 </span> |
| 705 <span jsdisplay="!getTypeRef($this)" jstcache=
"49"> |
| 706 <span jsdisplay="isArray($this)" jstcache="5
1" style="display: none; "> |
| 707 array of <span jsselect="items" jstcache="
53"><span transclude="typeTemplate" jstcache="54"></span></span> |
| 708 </span> |
| 709 <span jsdisplay="!isArray($this)" jscontent=
"getTypeName($this)" jstcache="52">integer</span> |
| 710 </span> |
| 711 </span> |
| 712 ) |
| 713 </div> |
| 714 |
| 715 </em> |
| 716 </dt> |
| 717 <dd class="todo" jsdisplay="!$this.description" jstcache="
39" style="display: none; "> |
| 718 Undocumented. |
| 719 </dd> |
| 720 <dd jsdisplay="$this.description" jsvalues=".innerHTML:$th
is.description" jstcache="40">The window to create the new tab in. Defaults to t
he <a href="windows.html#current-window" jstcache="0">current window</a>.</dd> |
| 721 |
| 722 <!-- OBJECT PROPERTIES --> |
| 723 <dd jsdisplay="shouldExpandObject($this)" jstcache="41" st
yle="display: none; "> |
| 724 <dl jstcache="0"> |
| 725 <div jsselect="getPropertyListFromObject($this)" jstca
che="10"> |
| 726 <div transclude="valueTemplate" jstcache="17"> |
| 727 </div> |
| 728 </div> |
| 729 </dl> |
| 730 </dd> |
| 731 </div> |
| 732 </div><div jsselect="getPropertyListFromObject($this)"
jstcache="10" jsinstance="1"> |
| 733 <div jstcache="0"> |
| 734 <dt jstcache="0"> |
| 735 <var jsdisplay="$this.name" jscontent="$this.name" jstca
che="46">index</var> |
| 736 <em jstcache="0"> |
| 737 |
| 738 <!-- TYPE --> |
| 739 <div style="display:inline" jstcache="0"> |
| 740 ( |
| 741 <span class="optional" jsdisplay="optional" jstc
ache="47">optional</span> |
| 742 <span id="typeTemplate" jstcache="0"> |
| 743 <span jsdisplay="getTypeRef($this)" jstcache="
48" style="display: none; "> |
| 744 <a jsvalues=".href: getTypeRefPage($this) +
'#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="50"> Type<
/a> |
| 745 </span> |
| 746 <span jsdisplay="!getTypeRef($this)" jstcache=
"49"> |
| 747 <span jsdisplay="isArray($this)" jstcache="5
1" style="display: none; "> |
| 748 array of <span jsselect="items" jstcache="
53"><span transclude="typeTemplate" jstcache="54"></span></span> |
| 749 </span> |
| 750 <span jsdisplay="!isArray($this)" jscontent=
"getTypeName($this)" jstcache="52">integer</span> |
| 751 </span> |
| 752 </span> |
| 753 ) |
| 754 </div> |
| 755 |
| 756 </em> |
| 757 </dt> |
| 758 <dd class="todo" jsdisplay="!$this.description" jstcache="
39" style="display: none; "> |
| 759 Undocumented. |
| 760 </dd> |
| 761 <dd jsdisplay="$this.description" jsvalues=".innerHTML:$th
is.description" jstcache="40">The position the tab should take in the window. Th
e provided value will be clamped to between zero and the number of tabs in the w
indow.</dd> |
| 762 |
| 763 <!-- OBJECT PROPERTIES --> |
| 764 <dd jsdisplay="shouldExpandObject($this)" jstcache="41" st
yle="display: none; "> |
| 765 <dl jstcache="0"> |
| 766 <div jsselect="getPropertyListFromObject($this)" jstca
che="10"> |
| 767 <div transclude="valueTemplate" jstcache="17"> |
| 768 </div> |
| 769 </div> |
| 770 </dl> |
| 771 </dd> |
| 772 </div> |
| 773 </div><div jsselect="getPropertyListFromObject($this)"
jstcache="10" jsinstance="2"> |
| 774 <div jstcache="0"> |
| 775 <dt jstcache="0"> |
| 776 <var jsdisplay="$this.name" jscontent="$this.name" jstca
che="46">url</var> |
| 777 <em jstcache="0"> |
| 778 |
| 779 <!-- TYPE --> |
| 780 <div style="display:inline" jstcache="0"> |
| 781 ( |
| 782 <span class="optional" jsdisplay="optional" jstc
ache="47">optional</span> |
| 783 <span id="typeTemplate" jstcache="0"> |
| 784 <span jsdisplay="getTypeRef($this)" jstcache="
48" style="display: none; "> |
| 785 <a jsvalues=".href: getTypeRefPage($this) +
'#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="50"> Type<
/a> |
| 786 </span> |
| 787 <span jsdisplay="!getTypeRef($this)" jstcache=
"49"> |
| 788 <span jsdisplay="isArray($this)" jstcache="5
1" style="display: none; "> |
| 789 array of <span jsselect="items" jstcache="
53"><span transclude="typeTemplate" jstcache="54"></span></span> |
| 790 </span> |
| 791 <span jsdisplay="!isArray($this)" jscontent=
"getTypeName($this)" jstcache="52">string</span> |
| 792 </span> |
| 793 </span> |
| 794 ) |
| 795 </div> |
| 796 |
| 797 </em> |
| 798 </dt> |
| 799 <dd class="todo" jsdisplay="!$this.description" jstcache="
39" style="display: none; "> |
| 800 Undocumented. |
| 801 </dd> |
| 802 <dd jsdisplay="$this.description" jsvalues=".innerHTML:$th
is.description" jstcache="40">The URL to navigate the tab to initially. Fully-qu
alified URLs must include a scheme (i.e. 'http://www.google.com', not 'www.googl
e.com'). Relative URLs will be relative to the current page within the extension
. Defaults to the New Tab Page.</dd> |
| 803 |
| 804 <!-- OBJECT PROPERTIES --> |
| 805 <dd jsdisplay="shouldExpandObject($this)" jstcache="41" st
yle="display: none; "> |
| 806 <dl jstcache="0"> |
| 807 <div jsselect="getPropertyListFromObject($this)" jstca
che="10"> |
| 808 <div transclude="valueTemplate" jstcache="17"> |
| 809 </div> |
| 810 </div> |
| 811 </dl> |
| 812 </dd> |
| 813 </div> |
| 814 </div><div jsselect="getPropertyListFromObject($this)"
jstcache="10" jsinstance="*3"> |
| 815 <div jstcache="0"> |
| 816 <dt jstcache="0"> |
| 817 <var jsdisplay="$this.name" jscontent="$this.name" jstca
che="46">selected</var> |
| 818 <em jstcache="0"> |
| 819 |
| 820 <!-- TYPE --> |
| 821 <div style="display:inline" jstcache="0"> |
| 822 ( |
| 823 <span class="optional" jsdisplay="optional" jstc
ache="47">optional</span> |
| 824 <span id="typeTemplate" jstcache="0"> |
| 825 <span jsdisplay="getTypeRef($this)" jstcache="
48" style="display: none; "> |
| 826 <a jsvalues=".href: getTypeRefPage($this) +
'#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="50"> Type<
/a> |
| 827 </span> |
| 828 <span jsdisplay="!getTypeRef($this)" jstcache=
"49"> |
| 829 <span jsdisplay="isArray($this)" jstcache="5
1" style="display: none; "> |
| 830 array of <span jsselect="items" jstcache="
53"><span transclude="typeTemplate" jstcache="54"></span></span> |
| 831 </span> |
| 832 <span jsdisplay="!isArray($this)" jscontent=
"getTypeName($this)" jstcache="52">boolean</span> |
| 833 </span> |
| 834 </span> |
| 835 ) |
| 836 </div> |
| 837 |
| 838 </em> |
| 839 </dt> |
| 840 <dd class="todo" jsdisplay="!$this.description" jstcache="
39" style="display: none; "> |
| 841 Undocumented. |
| 842 </dd> |
| 843 <dd jsdisplay="$this.description" jsvalues=".innerHTML:$th
is.description" jstcache="40">Whether the tab should become the selected tab in
the window. Defaults to <var jstcache="0">true</var></dd> |
| 844 |
| 845 <!-- OBJECT PROPERTIES --> |
| 846 <dd jsdisplay="shouldExpandObject($this)" jstcache="41" st
yle="display: none; "> |
| 847 <dl jstcache="0"> |
| 848 <div jsselect="getPropertyListFromObject($this)" jstca
che="10"> |
| 849 <div transclude="valueTemplate" jstcache="17"> |
| 850 </div> |
| 851 </div> |
| 852 </dl> |
| 853 </dd> |
| 854 </div> |
| 855 </div> |
| 856 </dl> |
| 857 </dd> |
| 858 </div> <!-- /VALUE --> |
| 859 |
| 860 </div><div jsselect="parameters" jstcache="35" jsinstance="*1"
> |
| 861 |
| 862 <!-- VALUE: This is a subtemplate that is used elsewhere |
| 863 via jsTemplate *transclude* --> |
| 864 <div id="valueTemplate" jstcache="0"> |
| 865 <dt jstcache="0"> |
| 866 <var jsdisplay="$this.name" jscontent="$this.name" jstca
che="46">callback</var> |
| 867 <em jstcache="0"> |
| 868 |
| 869 <!-- TYPE --> |
| 870 <div style="display:inline" jstcache="0"> |
| 871 ( |
| 872 <span class="optional" jsdisplay="optional" jstc
ache="47">optional</span> |
| 873 <span id="typeTemplate" jstcache="0"> |
| 874 <span jsdisplay="getTypeRef($this)" jstcache="
48" style="display: none; "> |
| 875 <a jsvalues=".href: getTypeRefPage($this) +
'#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="50"> Type<
/a> |
| 876 </span> |
| 877 <span jsdisplay="!getTypeRef($this)" jstcache=
"49"> |
| 878 <span jsdisplay="isArray($this)" jstcache="5
1" style="display: none; "> |
| 879 array of <span jsselect="items" jstcache="
53"><span transclude="typeTemplate" jstcache="54"></span></span> |
| 880 </span> |
| 881 <span jsdisplay="!isArray($this)" jscontent=
"getTypeName($this)" jstcache="52">function</span> |
| 882 </span> |
| 883 </span> |
| 884 ) |
| 885 </div> |
| 886 |
| 887 </em> |
| 888 </dt> |
| 889 <dd class="todo" jsdisplay="!$this.description" jstcache="
39"> |
| 890 Undocumented. |
| 891 </dd> |
| 892 <dd jsdisplay="$this.description" jsvalues=".innerHTML:$th
is.description" jstcache="40" style="display: none; "> |
| 893 Description of this parameter from the json schema. |
| 894 </dd> |
| 895 |
| 896 <!-- OBJECT PROPERTIES --> |
| 897 <dd jsdisplay="shouldExpandObject($this)" jstcache="41" st
yle="display: none; "> |
| 898 <dl jstcache="0"> |
| 899 <div jsselect="getPropertyListFromObject($this)" jstca
che="10"> |
| 900 <div transclude="valueTemplate" jstcache="17"> |
| 901 </div> |
| 902 </div> |
| 903 </dl> |
| 904 </dd> |
| 905 </div> <!-- /VALUE --> |
| 906 |
| 907 </div> |
| 908 </dl> |
| 909 |
| 910 <!-- RETURNS --> |
| 911 <h4 jsdisplay="returns" jstcache="30" style="display: none; ">Re
turns</h4> |
| 912 <dl jstcache="0"> |
| 913 <div jsselect="returns" jstcache="36" style="display: none; "> |
| 914 <div transclude="valueTemplate" jstcache="17"> |
| 915 </div> |
| 916 </div> |
| 917 </dl> |
| 918 |
| 919 <!-- CALLBACK --> |
| 920 <div jsdisplay="hasCallback(parameters)" jstcache="31"> |
| 921 <div jsselect="getCallbackParameters(parameters)" jstcache="37
"> |
| 922 <h4 jstcache="0">Callback function</h4> |
| 923 <p jstcache="0"> |
| 924 If you specify the <em jstcache="0">callback</em> parameter, |
| 925 it should specify a function that looks like this: |
| 926 </p> |
| 927 |
| 928 <!-- Note: intentionally longer 80 columns --> |
| 929 <pre jstcache="0">function(<span jscontent="getSignatureString
(parameters)" jstcache="32">Tab tab</span>) <span class="subdued" jstcache="0">{
...}</span>);</pre> |
| 930 <dl jstcache="0"> |
| 931 <div jsselect="parameters" jstcache="35" jsinstance="*0"> |
| 932 <div jstcache="0"> |
| 933 <dt jstcache="0"> |
| 934 <var jsdisplay="$this.name" jscontent="$this.name" jstca
che="46">tab</var> |
| 935 <em jstcache="0"> |
| 936 |
| 937 <!-- TYPE --> |
| 938 <div style="display:inline" jstcache="0"> |
| 939 ( |
| 940 <span class="optional" jsdisplay="optional" jstc
ache="47" style="display: none; ">optional</span> |
| 941 <span id="typeTemplate" jstcache="0"> |
| 942 <span jsdisplay="getTypeRef($this)" jstcache="
48" style=""> |
| 943 <a jsvalues=".href: getTypeRefPage($this) +
'#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="50" href="
tabs.html#type-Tab">Tab</a> |
| 944 </span> |
| 945 <span jsdisplay="!getTypeRef($this)" jstcache=
"49" style="display: none; "> |
| 946 <span jsdisplay="isArray($this)" jstcache="5
1" style="display: none; "> |
| 947 array of <span jsselect="items" jstcache="
53"><span transclude="typeTemplate" jstcache="54"></span></span> |
| 948 </span> |
| 949 <span jsdisplay="!isArray($this)" jscontent=
"getTypeName($this)" jstcache="52">integer</span> |
| 950 </span> |
| 951 </span> |
| 952 ) |
| 953 </div> |
| 954 |
| 955 </em> |
| 956 </dt> |
| 957 <dd class="todo" jsdisplay="!$this.description" jstcache="
39" style="display: none; "> |
| 958 Undocumented. |
| 959 </dd> |
| 960 <dd jsdisplay="$this.description" jsvalues=".innerHTML:$th
is.description" jstcache="40">Details about the created tab. Will contain the ID
of the new tab.</dd> |
| 961 |
| 962 <!-- OBJECT PROPERTIES --> |
| 963 <dd jsdisplay="shouldExpandObject($this)" jstcache="41" st
yle="display: none; "> |
| 964 <dl jstcache="0"> |
| 965 <div jsselect="getPropertyListFromObject($this)" jstca
che="10"> |
| 966 <div transclude="valueTemplate" jstcache="17"> |
| 967 </div> |
| 968 </div> |
| 969 </dl> |
| 970 </dd> |
| 971 </div> |
| 972 </div> |
| 973 </dl> |
| 974 </div> |
| 975 </div> |
| 976 |
| 977 </div> <!-- /description --> |
| 978 |
| 979 </div><div class="apiItem" jsselect="functions.sort(sortByName)" jst
cache="11" jsinstance="3"> |
| 980 <a jsvalues=".name:'method-' + name" jstcache="18" name="method-de
tectLanguage"></a> <!-- method-anchor --> |
| 981 <h4 jscontent="name" jstcache="16">detectLanguage</h4> |
| 982 |
| 983 <div class="summary" jstcache="0"><span jsdisplay="returns" jscont
ent="getTypeName(returns)" jstcache="25" style="display: none; ">void</span> |
| 984 <!-- Note: intentionally longer 80 columns --> |
| 985 <span jscontent="getFullyQualifiedFunctionName($this)" jstcach
e="26">chrome.tabs.detectLanguage</span>(<span jsselect="parameters" jsvalues="c
lass:optional ? 'optional' : ''" jstcache="27" jsinstance="0" class="optional"><
span jsdisplay="$index" jstcache="33" style="display: none; ">, </span><span jsc
ontent="getTypeName($this)" jstcache="34">integer</span> |
| 986 <var jstcache="0"><span jscontent="name" jstcache="16">tab
Id</span></var></span><span jsselect="parameters" jsvalues="class:optional ? 'op
tional' : ''" jstcache="27" jsinstance="*1" class="null"><span jsdisplay="$index
" jstcache="33">, </span><span jscontent="getTypeName($this)" jstcache="34">func
tion</span> |
| 987 <var jstcache="0"><span jscontent="name" jstcache="16">cal
lback</span></var></span>)</div> |
| 988 |
| 989 <div class="description" jstcache="0"> |
| 990 <p class="todo" jsdisplay="!description" jstcache="28" style="di
splay: none; ">Undocumented.</p> |
| 991 <p jsdisplay="description" jsvalues=".innerHTML:description" jst
cache="29">Detects the primary language of the content in a tab.</p> |
| 992 |
| 993 <!-- PARAMETERS --> |
| 994 <h4 jstcache="0">Parameters</h4> |
| 995 <dl jstcache="0"> |
| 996 <div jsselect="parameters" jstcache="35" jsinstance="0"> |
| 997 |
| 998 <!-- VALUE: This is a subtemplate that is used elsewhere |
| 999 via jsTemplate *transclude* --> |
| 1000 <div id="valueTemplate" jstcache="0"> |
| 1001 <dt jstcache="0"> |
| 1002 <var jsdisplay="$this.name" jscontent="$this.name" jstca
che="46">tabId</var> |
| 1003 <em jstcache="0"> |
| 1004 |
| 1005 <!-- TYPE --> |
| 1006 <div style="display:inline" jstcache="0"> |
| 1007 ( |
| 1008 <span class="optional" jsdisplay="optional" jstc
ache="47">optional</span> |
| 1009 <span id="typeTemplate" jstcache="0"> |
| 1010 <span jsdisplay="getTypeRef($this)" jstcache="
48" style="display: none; "> |
| 1011 <a jsvalues=".href: getTypeRefPage($this) +
'#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="50"> Type<
/a> |
| 1012 </span> |
| 1013 <span jsdisplay="!getTypeRef($this)" jstcache=
"49"> |
| 1014 <span jsdisplay="isArray($this)" jstcache="5
1" style="display: none; "> |
| 1015 array of <span jsselect="items" jstcache="
53"><span transclude="typeTemplate" jstcache="54"></span></span> |
| 1016 </span> |
| 1017 <span jsdisplay="!isArray($this)" jscontent=
"getTypeName($this)" jstcache="52">integer</span> |
| 1018 </span> |
| 1019 </span> |
| 1020 ) |
| 1021 </div> |
| 1022 |
| 1023 </em> |
| 1024 </dt> |
| 1025 <dd class="todo" jsdisplay="!$this.description" jstcache="
39" style="display: none; "> |
| 1026 Undocumented. |
| 1027 </dd> |
| 1028 <dd jsdisplay="$this.description" jsvalues=".innerHTML:$th
is.description" jstcache="40">Defaults to the selected tab of the <a href="windo
ws.html#current-window" jstcache="0">current window</a>.</dd> |
| 1029 |
| 1030 <!-- OBJECT PROPERTIES --> |
| 1031 <dd jsdisplay="shouldExpandObject($this)" jstcache="41" st
yle="display: none; "> |
| 1032 <dl jstcache="0"> |
| 1033 <div jsselect="getPropertyListFromObject($this)" jstca
che="10"> |
| 1034 <div transclude="valueTemplate" jstcache="17"> |
| 1035 </div> |
| 1036 </div> |
| 1037 </dl> |
| 1038 </dd> |
| 1039 </div> <!-- /VALUE --> |
| 1040 |
| 1041 </div><div jsselect="parameters" jstcache="35" jsinstance="*1"
> |
| 1042 |
| 1043 <!-- VALUE: This is a subtemplate that is used elsewhere |
| 1044 via jsTemplate *transclude* --> |
| 1045 <div id="valueTemplate" jstcache="0"> |
| 1046 <dt jstcache="0"> |
| 1047 <var jsdisplay="$this.name" jscontent="$this.name" jstca
che="46">callback</var> |
| 1048 <em jstcache="0"> |
| 1049 |
| 1050 <!-- TYPE --> |
| 1051 <div style="display:inline" jstcache="0"> |
| 1052 ( |
| 1053 <span class="optional" jsdisplay="optional" jstc
ache="47" style="display: none; ">optional</span> |
| 1054 <span id="typeTemplate" jstcache="0"> |
| 1055 <span jsdisplay="getTypeRef($this)" jstcache="
48" style="display: none; "> |
| 1056 <a jsvalues=".href: getTypeRefPage($this) +
'#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="50"> Type<
/a> |
| 1057 </span> |
| 1058 <span jsdisplay="!getTypeRef($this)" jstcache=
"49"> |
| 1059 <span jsdisplay="isArray($this)" jstcache="5
1" style="display: none; "> |
| 1060 array of <span jsselect="items" jstcache="
53"><span transclude="typeTemplate" jstcache="54"></span></span> |
| 1061 </span> |
| 1062 <span jsdisplay="!isArray($this)" jscontent=
"getTypeName($this)" jstcache="52">function</span> |
| 1063 </span> |
| 1064 </span> |
| 1065 ) |
| 1066 </div> |
| 1067 |
| 1068 </em> |
| 1069 </dt> |
| 1070 <dd class="todo" jsdisplay="!$this.description" jstcache="
39"> |
| 1071 Undocumented. |
| 1072 </dd> |
| 1073 <dd jsdisplay="$this.description" jsvalues=".innerHTML:$th
is.description" jstcache="40" style="display: none; "> |
| 1074 Description of this parameter from the json schema. |
| 1075 </dd> |
| 1076 |
| 1077 <!-- OBJECT PROPERTIES --> |
| 1078 <dd jsdisplay="shouldExpandObject($this)" jstcache="41" st
yle="display: none; "> |
| 1079 <dl jstcache="0"> |
| 1080 <div jsselect="getPropertyListFromObject($this)" jstca
che="10"> |
| 1081 <div transclude="valueTemplate" jstcache="17"> |
| 1082 </div> |
| 1083 </div> |
| 1084 </dl> |
| 1085 </dd> |
| 1086 </div> <!-- /VALUE --> |
| 1087 |
| 1088 </div> |
| 1089 </dl> |
| 1090 |
| 1091 <!-- RETURNS --> |
| 1092 <h4 jsdisplay="returns" jstcache="30" style="display: none; ">Re
turns</h4> |
| 1093 <dl jstcache="0"> |
| 1094 <div jsselect="returns" jstcache="36" style="display: none; "> |
| 1095 <div transclude="valueTemplate" jstcache="17"> |
| 1096 </div> |
| 1097 </div> |
| 1098 </dl> |
| 1099 |
| 1100 <!-- CALLBACK --> |
| 1101 <div jsdisplay="hasCallback(parameters)" jstcache="31"> |
| 1102 <div jsselect="getCallbackParameters(parameters)" jstcache="37
"> |
| 1103 <h4 jstcache="0">Callback function</h4> |
| 1104 <p jstcache="0"> |
| 1105 If you specify the <em jstcache="0">callback</em> parameter, |
| 1106 it should specify a function that looks like this: |
| 1107 </p> |
| 1108 |
| 1109 <!-- Note: intentionally longer 80 columns --> |
| 1110 <pre jstcache="0">function(<span jscontent="getSignatureString
(parameters)" jstcache="32">string language</span>) <span class="subdued" jstcac
he="0">{...}</span>);</pre> |
| 1111 <dl jstcache="0"> |
| 1112 <div jsselect="parameters" jstcache="35" jsinstance="*0"> |
| 1113 <div jstcache="0"> |
| 1114 <dt jstcache="0"> |
| 1115 <var jsdisplay="$this.name" jscontent="$this.name" jstca
che="46">language</var> |
| 1116 <em jstcache="0"> |
| 1117 |
| 1118 <!-- TYPE --> |
| 1119 <div style="display:inline" jstcache="0"> |
| 1120 ( |
| 1121 <span class="optional" jsdisplay="optional" jstc
ache="47" style="display: none; ">optional</span> |
| 1122 <span id="typeTemplate" jstcache="0"> |
| 1123 <span jsdisplay="getTypeRef($this)" jstcache="
48" style="display: none; "> |
| 1124 <a jsvalues=".href: getTypeRefPage($this) +
'#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="50"> Type<
/a> |
| 1125 </span> |
| 1126 <span jsdisplay="!getTypeRef($this)" jstcache=
"49"> |
| 1127 <span jsdisplay="isArray($this)" jstcache="5
1" style="display: none; "> |
| 1128 array of <span jsselect="items" jstcache="
53"><span transclude="typeTemplate" jstcache="54"></span></span> |
| 1129 </span> |
| 1130 <span jsdisplay="!isArray($this)" jscontent=
"getTypeName($this)" jstcache="52">string</span> |
| 1131 </span> |
| 1132 </span> |
| 1133 ) |
| 1134 </div> |
| 1135 |
| 1136 </em> |
| 1137 </dt> |
| 1138 <dd class="todo" jsdisplay="!$this.description" jstcache="
39" style="display: none; "> |
| 1139 Undocumented. |
| 1140 </dd> |
| 1141 <dd jsdisplay="$this.description" jsvalues=".innerHTML:$th
is.description" jstcache="40">An ISO language code like <var jstcache="0">en</va
r> or <var jstcache="0">fr</var>.</dd> |
| 1142 |
| 1143 <!-- OBJECT PROPERTIES --> |
| 1144 <dd jsdisplay="shouldExpandObject($this)" jstcache="41" st
yle="display: none; "> |
| 1145 <dl jstcache="0"> |
| 1146 <div jsselect="getPropertyListFromObject($this)" jstca
che="10"> |
| 1147 <div transclude="valueTemplate" jstcache="17"> |
| 1148 </div> |
| 1149 </div> |
| 1150 </dl> |
| 1151 </dd> |
| 1152 </div> |
| 1153 </div> |
| 1154 </dl> |
| 1155 </div> |
| 1156 </div> |
| 1157 |
| 1158 </div> <!-- /description --> |
| 1159 |
| 1160 </div><div class="apiItem" jsselect="functions.sort(sortByName)" jst
cache="11" jsinstance="4"> |
| 1161 <a jsvalues=".name:'method-' + name" jstcache="18" name="method-ge
t"></a> <!-- method-anchor --> |
| 1162 <h4 jscontent="name" jstcache="16">get</h4> |
| 1163 |
| 1164 <div class="summary" jstcache="0"><span jsdisplay="returns" jscont
ent="getTypeName(returns)" jstcache="25" style="display: none; ">void</span> |
| 1165 <!-- Note: intentionally longer 80 columns --> |
| 1166 <span jscontent="getFullyQualifiedFunctionName($this)" jstcach
e="26">chrome.tabs.get</span>(<span jsselect="parameters" jsvalues="class:option
al ? 'optional' : ''" jstcache="27" jsinstance="0" class="null"><span jsdisplay=
"$index" jstcache="33" style="display: none; ">, </span><span jscontent="getType
Name($this)" jstcache="34">integer</span> |
| 1167 <var jstcache="0"><span jscontent="name" jstcache="16">tab
Id</span></var></span><span jsselect="parameters" jsvalues="class:optional ? 'op
tional' : ''" jstcache="27" jsinstance="*1" class="null"><span jsdisplay="$index
" jstcache="33">, </span><span jscontent="getTypeName($this)" jstcache="34">func
tion</span> |
| 1168 <var jstcache="0"><span jscontent="name" jstcache="16">cal
lback</span></var></span>)</div> |
| 1169 |
| 1170 <div class="description" jstcache="0"> |
| 1171 <p class="todo" jsdisplay="!description" jstcache="28" style="di
splay: none; ">Undocumented.</p> |
| 1172 <p jsdisplay="description" jsvalues=".innerHTML:description" jst
cache="29">Retrieves details about the specified tab.</p> |
| 1173 |
| 1174 <!-- PARAMETERS --> |
| 1175 <h4 jstcache="0">Parameters</h4> |
| 1176 <dl jstcache="0"> |
| 1177 <div jsselect="parameters" jstcache="35" jsinstance="0"> |
| 1178 |
| 1179 <!-- VALUE: This is a subtemplate that is used elsewhere |
| 1180 via jsTemplate *transclude* --> |
| 1181 <div id="valueTemplate" jstcache="0"> |
| 1182 <dt jstcache="0"> |
| 1183 <var jsdisplay="$this.name" jscontent="$this.name" jstca
che="46">tabId</var> |
| 1184 <em jstcache="0"> |
| 1185 |
| 1186 <!-- TYPE --> |
| 1187 <div style="display:inline" jstcache="0"> |
| 1188 ( |
| 1189 <span class="optional" jsdisplay="optional" jstc
ache="47" style="display: none; ">optional</span> |
| 1190 <span id="typeTemplate" jstcache="0"> |
| 1191 <span jsdisplay="getTypeRef($this)" jstcache="
48" style="display: none; "> |
| 1192 <a jsvalues=".href: getTypeRefPage($this) +
'#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="50"> Type<
/a> |
| 1193 </span> |
| 1194 <span jsdisplay="!getTypeRef($this)" jstcache=
"49"> |
| 1195 <span jsdisplay="isArray($this)" jstcache="5
1" style="display: none; "> |
| 1196 array of <span jsselect="items" jstcache="
53"><span transclude="typeTemplate" jstcache="54"></span></span> |
| 1197 </span> |
| 1198 <span jsdisplay="!isArray($this)" jscontent=
"getTypeName($this)" jstcache="52">integer</span> |
| 1199 </span> |
| 1200 </span> |
| 1201 ) |
| 1202 </div> |
| 1203 |
| 1204 </em> |
| 1205 </dt> |
| 1206 <dd class="todo" jsdisplay="!$this.description" jstcache="
39"> |
| 1207 Undocumented. |
| 1208 </dd> |
| 1209 <dd jsdisplay="$this.description" jsvalues=".innerHTML:$th
is.description" jstcache="40" style="display: none; "> |
| 1210 Description of this parameter from the json schema. |
| 1211 </dd> |
| 1212 |
| 1213 <!-- OBJECT PROPERTIES --> |
| 1214 <dd jsdisplay="shouldExpandObject($this)" jstcache="41" st
yle="display: none; "> |
| 1215 <dl jstcache="0"> |
| 1216 <div jsselect="getPropertyListFromObject($this)" jstca
che="10"> |
| 1217 <div transclude="valueTemplate" jstcache="17"> |
| 1218 </div> |
| 1219 </div> |
| 1220 </dl> |
| 1221 </dd> |
| 1222 </div> <!-- /VALUE --> |
| 1223 |
| 1224 </div><div jsselect="parameters" jstcache="35" jsinstance="*1"
> |
| 1225 |
| 1226 <!-- VALUE: This is a subtemplate that is used elsewhere |
| 1227 via jsTemplate *transclude* --> |
| 1228 <div id="valueTemplate" jstcache="0"> |
| 1229 <dt jstcache="0"> |
| 1230 <var jsdisplay="$this.name" jscontent="$this.name" jstca
che="46">callback</var> |
| 1231 <em jstcache="0"> |
| 1232 |
| 1233 <!-- TYPE --> |
| 1234 <div style="display:inline" jstcache="0"> |
| 1235 ( |
| 1236 <span class="optional" jsdisplay="optional" jstc
ache="47" style="display: none; ">optional</span> |
| 1237 <span id="typeTemplate" jstcache="0"> |
| 1238 <span jsdisplay="getTypeRef($this)" jstcache="
48" style="display: none; "> |
| 1239 <a jsvalues=".href: getTypeRefPage($this) +
'#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="50"> Type<
/a> |
| 1240 </span> |
| 1241 <span jsdisplay="!getTypeRef($this)" jstcache=
"49"> |
| 1242 <span jsdisplay="isArray($this)" jstcache="5
1" style="display: none; "> |
| 1243 array of <span jsselect="items" jstcache="
53"><span transclude="typeTemplate" jstcache="54"></span></span> |
| 1244 </span> |
| 1245 <span jsdisplay="!isArray($this)" jscontent=
"getTypeName($this)" jstcache="52">function</span> |
| 1246 </span> |
| 1247 </span> |
| 1248 ) |
| 1249 </div> |
| 1250 |
| 1251 </em> |
| 1252 </dt> |
| 1253 <dd class="todo" jsdisplay="!$this.description" jstcache="
39"> |
| 1254 Undocumented. |
| 1255 </dd> |
| 1256 <dd jsdisplay="$this.description" jsvalues=".innerHTML:$th
is.description" jstcache="40" style="display: none; "> |
| 1257 Description of this parameter from the json schema. |
| 1258 </dd> |
| 1259 |
| 1260 <!-- OBJECT PROPERTIES --> |
| 1261 <dd jsdisplay="shouldExpandObject($this)" jstcache="41" st
yle="display: none; "> |
| 1262 <dl jstcache="0"> |
| 1263 <div jsselect="getPropertyListFromObject($this)" jstca
che="10"> |
| 1264 <div transclude="valueTemplate" jstcache="17"> |
| 1265 </div> |
| 1266 </div> |
| 1267 </dl> |
| 1268 </dd> |
| 1269 </div> <!-- /VALUE --> |
| 1270 |
| 1271 </div> |
| 1272 </dl> |
| 1273 |
| 1274 <!-- RETURNS --> |
| 1275 <h4 jsdisplay="returns" jstcache="30" style="display: none; ">Re
turns</h4> |
| 1276 <dl jstcache="0"> |
| 1277 <div jsselect="returns" jstcache="36" style="display: none; "> |
| 1278 <div transclude="valueTemplate" jstcache="17"> |
| 1279 </div> |
| 1280 </div> |
| 1281 </dl> |
| 1282 |
| 1283 <!-- CALLBACK --> |
| 1284 <div jsdisplay="hasCallback(parameters)" jstcache="31"> |
| 1285 <div jsselect="getCallbackParameters(parameters)" jstcache="37
"> |
| 1286 <h4 jstcache="0">Callback function</h4> |
| 1287 <p jstcache="0"> |
| 1288 If you specify the <em jstcache="0">callback</em> parameter, |
| 1289 it should specify a function that looks like this: |
| 1290 </p> |
| 1291 |
| 1292 <!-- Note: intentionally longer 80 columns --> |
| 1293 <pre jstcache="0">function(<span jscontent="getSignatureString
(parameters)" jstcache="32">Tab tab</span>) <span class="subdued" jstcache="0">{
...}</span>);</pre> |
| 1294 <dl jstcache="0"> |
| 1295 <div jsselect="parameters" jstcache="35" jsinstance="*0"> |
| 1296 <div jstcache="0"> |
| 1297 <dt jstcache="0"> |
| 1298 <var jsdisplay="$this.name" jscontent="$this.name" jstca
che="46">tab</var> |
| 1299 <em jstcache="0"> |
| 1300 |
| 1301 <!-- TYPE --> |
| 1302 <div style="display:inline" jstcache="0"> |
| 1303 ( |
| 1304 <span class="optional" jsdisplay="optional" jstc
ache="47" style="display: none; ">optional</span> |
| 1305 <span id="typeTemplate" jstcache="0"> |
| 1306 <span jsdisplay="getTypeRef($this)" jstcache="
48" style=""> |
| 1307 <a jsvalues=".href: getTypeRefPage($this) +
'#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="50" href="
tabs.html#type-Tab">Tab</a> |
| 1308 </span> |
| 1309 <span jsdisplay="!getTypeRef($this)" jstcache=
"49" style="display: none; "> |
| 1310 <span jsdisplay="isArray($this)" jstcache="5
1" style="display: none; "> |
| 1311 array of <span jsselect="items" jstcache="
53"><span transclude="typeTemplate" jstcache="54"></span></span> |
| 1312 </span> |
| 1313 <span jsdisplay="!isArray($this)" jscontent=
"getTypeName($this)" jstcache="52">integer</span> |
| 1314 </span> |
| 1315 </span> |
| 1316 ) |
| 1317 </div> |
| 1318 |
| 1319 </em> |
| 1320 </dt> |
| 1321 <dd class="todo" jsdisplay="!$this.description" jstcache="
39" style=""> |
| 1322 Undocumented. |
| 1323 </dd> |
| 1324 <dd jsdisplay="$this.description" jsvalues=".innerHTML:$th
is.description" jstcache="40" style="display: none; ">The target window. Default
s to the <a href="windows.html#current-window" jstcache="0">current window</a>.<
/dd> |
| 1325 |
| 1326 <!-- OBJECT PROPERTIES --> |
| 1327 <dd jsdisplay="shouldExpandObject($this)" jstcache="41" st
yle="display: none; "> |
| 1328 <dl jstcache="0"> |
| 1329 <div jsselect="getPropertyListFromObject($this)" jstca
che="10"> |
| 1330 <div transclude="valueTemplate" jstcache="17"> |
| 1331 </div> |
| 1332 </div> |
| 1333 </dl> |
| 1334 </dd> |
| 1335 </div> |
| 1336 </div> |
| 1337 </dl> |
| 1338 </div> |
| 1339 </div> |
| 1340 |
| 1341 </div> <!-- /description --> |
| 1342 |
| 1343 </div><div class="apiItem" jsselect="functions.sort(sortByName)" jst
cache="11" jsinstance="5"> |
| 1344 <a jsvalues=".name:'method-' + name" jstcache="18" name="method-ge
tAllInWindow"></a> <!-- method-anchor --> |
| 1345 <h4 jscontent="name" jstcache="16">getAllInWindow</h4> |
| 1346 |
| 1347 <div class="summary" jstcache="0"><span jsdisplay="returns" jscont
ent="getTypeName(returns)" jstcache="25" style="display: none; ">void</span> |
| 1348 <!-- Note: intentionally longer 80 columns --> |
| 1349 <span jscontent="getFullyQualifiedFunctionName($this)" jstcach
e="26">chrome.tabs.getAllInWindow</span>(<span jsselect="parameters" jsvalues="c
lass:optional ? 'optional' : ''" jstcache="27" jsinstance="0" class="optional"><
span jsdisplay="$index" jstcache="33" style="display: none; ">, </span><span jsc
ontent="getTypeName($this)" jstcache="34">integer</span> |
| 1350 <var jstcache="0"><span jscontent="name" jstcache="16">win
dowId</span></var></span><span jsselect="parameters" jsvalues="class:optional ?
'optional' : ''" jstcache="27" jsinstance="*1" class="null"><span jsdisplay="$in
dex" jstcache="33">, </span><span jscontent="getTypeName($this)" jstcache="34">f
unction</span> |
| 1351 <var jstcache="0"><span jscontent="name" jstcache="16">cal
lback</span></var></span>)</div> |
| 1352 |
| 1353 <div class="description" jstcache="0"> |
| 1354 <p class="todo" jsdisplay="!description" jstcache="28" style="di
splay: none; ">Undocumented.</p> |
| 1355 <p jsdisplay="description" jsvalues=".innerHTML:description" jst
cache="29">Gets details about all tabs in the specified window.</p> |
| 1356 |
| 1357 <!-- PARAMETERS --> |
| 1358 <h4 jstcache="0">Parameters</h4> |
| 1359 <dl jstcache="0"> |
| 1360 <div jsselect="parameters" jstcache="35" jsinstance="0"> |
| 1361 |
| 1362 <!-- VALUE: This is a subtemplate that is used elsewhere |
| 1363 via jsTemplate *transclude* --> |
| 1364 <div id="valueTemplate" jstcache="0"> |
| 1365 <dt jstcache="0"> |
| 1366 <var jsdisplay="$this.name" jscontent="$this.name" jstca
che="46">windowId</var> |
| 1367 <em jstcache="0"> |
| 1368 |
| 1369 <!-- TYPE --> |
| 1370 <div style="display:inline" jstcache="0"> |
| 1371 ( |
| 1372 <span class="optional" jsdisplay="optional" jstc
ache="47">optional</span> |
| 1373 <span id="typeTemplate" jstcache="0"> |
| 1374 <span jsdisplay="getTypeRef($this)" jstcache="
48" style="display: none; "> |
| 1375 <a jsvalues=".href: getTypeRefPage($this) +
'#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="50"> Type<
/a> |
| 1376 </span> |
| 1377 <span jsdisplay="!getTypeRef($this)" jstcache=
"49"> |
| 1378 <span jsdisplay="isArray($this)" jstcache="5
1" style="display: none; "> |
| 1379 array of <span jsselect="items" jstcache="
53"><span transclude="typeTemplate" jstcache="54"></span></span> |
| 1380 </span> |
| 1381 <span jsdisplay="!isArray($this)" jscontent=
"getTypeName($this)" jstcache="52">integer</span> |
| 1382 </span> |
| 1383 </span> |
| 1384 ) |
| 1385 </div> |
| 1386 |
| 1387 </em> |
| 1388 </dt> |
| 1389 <dd class="todo" jsdisplay="!$this.description" jstcache="
39" style="display: none; "> |
| 1390 Undocumented. |
| 1391 </dd> |
| 1392 <dd jsdisplay="$this.description" jsvalues=".innerHTML:$th
is.description" jstcache="40">Defaults to the <a href="windows.html#current-wind
ow" jstcache="0">current window</a>.</dd> |
| 1393 |
| 1394 <!-- OBJECT PROPERTIES --> |
| 1395 <dd jsdisplay="shouldExpandObject($this)" jstcache="41" st
yle="display: none; "> |
| 1396 <dl jstcache="0"> |
| 1397 <div jsselect="getPropertyListFromObject($this)" jstca
che="10"> |
| 1398 <div transclude="valueTemplate" jstcache="17"> |
| 1399 </div> |
| 1400 </div> |
| 1401 </dl> |
| 1402 </dd> |
| 1403 </div> <!-- /VALUE --> |
| 1404 |
| 1405 </div><div jsselect="parameters" jstcache="35" jsinstance="*1"
> |
| 1406 |
| 1407 <!-- VALUE: This is a subtemplate that is used elsewhere |
| 1408 via jsTemplate *transclude* --> |
| 1409 <div id="valueTemplate" jstcache="0"> |
| 1410 <dt jstcache="0"> |
| 1411 <var jsdisplay="$this.name" jscontent="$this.name" jstca
che="46">callback</var> |
| 1412 <em jstcache="0"> |
| 1413 |
| 1414 <!-- TYPE --> |
| 1415 <div style="display:inline" jstcache="0"> |
| 1416 ( |
| 1417 <span class="optional" jsdisplay="optional" jstc
ache="47" style="display: none; ">optional</span> |
| 1418 <span id="typeTemplate" jstcache="0"> |
| 1419 <span jsdisplay="getTypeRef($this)" jstcache="
48" style="display: none; "> |
| 1420 <a jsvalues=".href: getTypeRefPage($this) +
'#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="50"> Type<
/a> |
| 1421 </span> |
| 1422 <span jsdisplay="!getTypeRef($this)" jstcache=
"49"> |
| 1423 <span jsdisplay="isArray($this)" jstcache="5
1" style="display: none; "> |
| 1424 array of <span jsselect="items" jstcache="
53"><span transclude="typeTemplate" jstcache="54"></span></span> |
| 1425 </span> |
| 1426 <span jsdisplay="!isArray($this)" jscontent=
"getTypeName($this)" jstcache="52">function</span> |
| 1427 </span> |
| 1428 </span> |
| 1429 ) |
| 1430 </div> |
| 1431 |
| 1432 </em> |
| 1433 </dt> |
| 1434 <dd class="todo" jsdisplay="!$this.description" jstcache="
39"> |
| 1435 Undocumented. |
| 1436 </dd> |
| 1437 <dd jsdisplay="$this.description" jsvalues=".innerHTML:$th
is.description" jstcache="40" style="display: none; "> |
| 1438 Description of this parameter from the json schema. |
| 1439 </dd> |
| 1440 |
| 1441 <!-- OBJECT PROPERTIES --> |
| 1442 <dd jsdisplay="shouldExpandObject($this)" jstcache="41" st
yle="display: none; "> |
| 1443 <dl jstcache="0"> |
| 1444 <div jsselect="getPropertyListFromObject($this)" jstca
che="10"> |
| 1445 <div transclude="valueTemplate" jstcache="17"> |
| 1446 </div> |
| 1447 </div> |
| 1448 </dl> |
| 1449 </dd> |
| 1450 </div> <!-- /VALUE --> |
| 1451 |
| 1452 </div> |
| 1453 </dl> |
| 1454 |
| 1455 <!-- RETURNS --> |
| 1456 <h4 jsdisplay="returns" jstcache="30" style="display: none; ">Re
turns</h4> |
| 1457 <dl jstcache="0"> |
| 1458 <div jsselect="returns" jstcache="36" style="display: none; "> |
| 1459 <div transclude="valueTemplate" jstcache="17"> |
| 1460 </div> |
| 1461 </div> |
| 1462 </dl> |
| 1463 |
| 1464 <!-- CALLBACK --> |
| 1465 <div jsdisplay="hasCallback(parameters)" jstcache="31"> |
| 1466 <div jsselect="getCallbackParameters(parameters)" jstcache="37
"> |
| 1467 <h4 jstcache="0">Callback function</h4> |
| 1468 <p jstcache="0"> |
| 1469 If you specify the <em jstcache="0">callback</em> parameter, |
| 1470 it should specify a function that looks like this: |
| 1471 </p> |
| 1472 |
| 1473 <!-- Note: intentionally longer 80 columns --> |
| 1474 <pre jstcache="0">function(<span jscontent="getSignatureString
(parameters)" jstcache="32">array of Tab tabs</span>) <span class="subdued" jstc
ache="0">{...}</span>);</pre> |
| 1475 <dl jstcache="0"> |
| 1476 <div jsselect="parameters" jstcache="35" jsinstance="*0"> |
| 1477 <div jstcache="0"> |
| 1478 <dt jstcache="0"> |
| 1479 <var jsdisplay="$this.name" jscontent="$this.name" jstca
che="46">tabs</var> |
| 1480 <em jstcache="0"> |
| 1481 |
| 1482 <!-- TYPE --> |
| 1483 <div style="display:inline" jstcache="0"> |
| 1484 ( |
| 1485 <span class="optional" jsdisplay="optional" jstc
ache="47" style="display: none; ">optional</span> |
| 1486 <span id="typeTemplate" jstcache="0"> |
| 1487 <span jsdisplay="getTypeRef($this)" jstcache="
48" style="display: none; "> |
| 1488 <a jsvalues=".href: getTypeRefPage($this) +
'#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="50"> Type<
/a> |
| 1489 </span> |
| 1490 <span jsdisplay="!getTypeRef($this)" jstcache=
"49"> |
| 1491 <span jsdisplay="isArray($this)" jstcache="5
1" style=""> |
| 1492 array of <span jsselect="items" jstcache="
53"><span jstcache="0"> |
| 1493 <span jsdisplay="getTypeRef($this)" jstcache="
48" style=""> |
| 1494 <a jsvalues=".href: getTypeRefPage($this) +
'#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="50" href="
tabs.html#type-Tab">Tab</a> |
| 1495 </span> |
| 1496 <span jsdisplay="!getTypeRef($this)" jstcache=
"49" style="display: none; "> |
| 1497 <span jsdisplay="isArray($this)" jstcache="5
1" style="display: none; "> |
| 1498 array of <span jsselect="items" jstcache="
53"><span transclude="typeTemplate" jstcache="54"></span></span> |
| 1499 </span> |
| 1500 <span jsdisplay="!isArray($this)" jscontent=
"getTypeName($this)" jstcache="52">integer</span> |
| 1501 </span> |
| 1502 </span></span> |
| 1503 </span> |
| 1504 <span jsdisplay="!isArray($this)" jscontent=
"getTypeName($this)" jstcache="52" style="display: none; ">integer</span> |
| 1505 </span> |
| 1506 </span> |
| 1507 ) |
| 1508 </div> |
| 1509 |
| 1510 </em> |
| 1511 </dt> |
| 1512 <dd class="todo" jsdisplay="!$this.description" jstcache="
39" style=""> |
| 1513 Undocumented. |
| 1514 </dd> |
| 1515 <dd jsdisplay="$this.description" jsvalues=".innerHTML:$th
is.description" jstcache="40" style="display: none; ">The target window. Default
s to the <a href="windows.html#current-window" jstcache="0">current window</a>.<
/dd> |
| 1516 |
| 1517 <!-- OBJECT PROPERTIES --> |
| 1518 <dd jsdisplay="shouldExpandObject($this)" jstcache="41" st
yle="display: none; "> |
| 1519 <dl jstcache="0"> |
| 1520 <div jsselect="getPropertyListFromObject($this)" jstca
che="10"> |
| 1521 <div transclude="valueTemplate" jstcache="17"> |
| 1522 </div> |
| 1523 </div> |
| 1524 </dl> |
| 1525 </dd> |
| 1526 </div> |
| 1527 </div> |
| 1528 </dl> |
| 1529 </div> |
| 1530 </div> |
| 1531 |
| 1532 </div> <!-- /description --> |
| 1533 |
| 1534 </div><div class="apiItem" jsselect="functions.sort(sortByName)" jst
cache="11" jsinstance="6"> |
| 1535 <a jsvalues=".name:'method-' + name" jstcache="18" name="method-ge
tSelected"></a> <!-- method-anchor --> |
| 1536 <h4 jscontent="name" jstcache="16">getSelected</h4> |
| 1537 |
| 1538 <div class="summary" jstcache="0"><span jsdisplay="returns" jscont
ent="getTypeName(returns)" jstcache="25" style="display: none; ">void</span> |
| 1539 <!-- Note: intentionally longer 80 columns --> |
| 1540 <span jscontent="getFullyQualifiedFunctionName($this)" jstcach
e="26">chrome.tabs.getSelected</span>(<span jsselect="parameters" jsvalues="clas
s:optional ? 'optional' : ''" jstcache="27" jsinstance="0" class="optional"><spa
n jsdisplay="$index" jstcache="33" style="display: none; ">, </span><span jscont
ent="getTypeName($this)" jstcache="34">integer</span> |
| 1541 <var jstcache="0"><span jscontent="name" jstcache="16">win
dowId</span></var></span><span jsselect="parameters" jsvalues="class:optional ?
'optional' : ''" jstcache="27" jsinstance="*1" class="null"><span jsdisplay="$in
dex" jstcache="33">, </span><span jscontent="getTypeName($this)" jstcache="34">f
unction</span> |
| 1542 <var jstcache="0"><span jscontent="name" jstcache="16">cal
lback</span></var></span>)</div> |
| 1543 |
| 1544 <div class="description" jstcache="0"> |
| 1545 <p class="todo" jsdisplay="!description" jstcache="28" style="di
splay: none; ">Undocumented.</p> |
| 1546 <p jsdisplay="description" jsvalues=".innerHTML:description" jst
cache="29">Gets the tab that is selected in the specified window.</p> |
| 1547 |
| 1548 <!-- PARAMETERS --> |
| 1549 <h4 jstcache="0">Parameters</h4> |
| 1550 <dl jstcache="0"> |
| 1551 <div jsselect="parameters" jstcache="35" jsinstance="0"> |
| 1552 |
| 1553 <!-- VALUE: This is a subtemplate that is used elsewhere |
| 1554 via jsTemplate *transclude* --> |
| 1555 <div id="valueTemplate" jstcache="0"> |
| 1556 <dt jstcache="0"> |
| 1557 <var jsdisplay="$this.name" jscontent="$this.name" jstca
che="46">windowId</var> |
| 1558 <em jstcache="0"> |
| 1559 |
| 1560 <!-- TYPE --> |
| 1561 <div style="display:inline" jstcache="0"> |
| 1562 ( |
| 1563 <span class="optional" jsdisplay="optional" jstc
ache="47">optional</span> |
| 1564 <span id="typeTemplate" jstcache="0"> |
| 1565 <span jsdisplay="getTypeRef($this)" jstcache="
48" style="display: none; "> |
| 1566 <a jsvalues=".href: getTypeRefPage($this) +
'#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="50"> Type<
/a> |
| 1567 </span> |
| 1568 <span jsdisplay="!getTypeRef($this)" jstcache=
"49"> |
| 1569 <span jsdisplay="isArray($this)" jstcache="5
1" style="display: none; "> |
| 1570 array of <span jsselect="items" jstcache="
53"><span transclude="typeTemplate" jstcache="54"></span></span> |
| 1571 </span> |
| 1572 <span jsdisplay="!isArray($this)" jscontent=
"getTypeName($this)" jstcache="52">integer</span> |
| 1573 </span> |
| 1574 </span> |
| 1575 ) |
| 1576 </div> |
| 1577 |
| 1578 </em> |
| 1579 </dt> |
| 1580 <dd class="todo" jsdisplay="!$this.description" jstcache="
39" style="display: none; "> |
| 1581 Undocumented. |
| 1582 </dd> |
| 1583 <dd jsdisplay="$this.description" jsvalues=".innerHTML:$th
is.description" jstcache="40">Defaults to the <a href="windows.html#current-wind
ow" jstcache="0">current window</a>.</dd> |
| 1584 |
| 1585 <!-- OBJECT PROPERTIES --> |
| 1586 <dd jsdisplay="shouldExpandObject($this)" jstcache="41" st
yle="display: none; "> |
| 1587 <dl jstcache="0"> |
| 1588 <div jsselect="getPropertyListFromObject($this)" jstca
che="10"> |
| 1589 <div transclude="valueTemplate" jstcache="17"> |
| 1590 </div> |
| 1591 </div> |
| 1592 </dl> |
| 1593 </dd> |
| 1594 </div> <!-- /VALUE --> |
| 1595 |
| 1596 </div><div jsselect="parameters" jstcache="35" jsinstance="*1"
> |
| 1597 |
| 1598 <!-- VALUE: This is a subtemplate that is used elsewhere |
| 1599 via jsTemplate *transclude* --> |
| 1600 <div id="valueTemplate" jstcache="0"> |
| 1601 <dt jstcache="0"> |
| 1602 <var jsdisplay="$this.name" jscontent="$this.name" jstca
che="46">callback</var> |
| 1603 <em jstcache="0"> |
| 1604 |
| 1605 <!-- TYPE --> |
| 1606 <div style="display:inline" jstcache="0"> |
| 1607 ( |
| 1608 <span class="optional" jsdisplay="optional" jstc
ache="47" style="display: none; ">optional</span> |
| 1609 <span id="typeTemplate" jstcache="0"> |
| 1610 <span jsdisplay="getTypeRef($this)" jstcache="
48" style="display: none; "> |
| 1611 <a jsvalues=".href: getTypeRefPage($this) +
'#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="50"> Type<
/a> |
| 1612 </span> |
| 1613 <span jsdisplay="!getTypeRef($this)" jstcache=
"49"> |
| 1614 <span jsdisplay="isArray($this)" jstcache="5
1" style="display: none; "> |
| 1615 array of <span jsselect="items" jstcache="
53"><span transclude="typeTemplate" jstcache="54"></span></span> |
| 1616 </span> |
| 1617 <span jsdisplay="!isArray($this)" jscontent=
"getTypeName($this)" jstcache="52">function</span> |
| 1618 </span> |
| 1619 </span> |
| 1620 ) |
| 1621 </div> |
| 1622 |
| 1623 </em> |
| 1624 </dt> |
| 1625 <dd class="todo" jsdisplay="!$this.description" jstcache="
39"> |
| 1626 Undocumented. |
| 1627 </dd> |
| 1628 <dd jsdisplay="$this.description" jsvalues=".innerHTML:$th
is.description" jstcache="40" style="display: none; "> |
| 1629 Description of this parameter from the json schema. |
| 1630 </dd> |
| 1631 |
| 1632 <!-- OBJECT PROPERTIES --> |
| 1633 <dd jsdisplay="shouldExpandObject($this)" jstcache="41" st
yle="display: none; "> |
| 1634 <dl jstcache="0"> |
| 1635 <div jsselect="getPropertyListFromObject($this)" jstca
che="10"> |
| 1636 <div transclude="valueTemplate" jstcache="17"> |
| 1637 </div> |
| 1638 </div> |
| 1639 </dl> |
| 1640 </dd> |
| 1641 </div> <!-- /VALUE --> |
| 1642 |
| 1643 </div> |
| 1644 </dl> |
| 1645 |
| 1646 <!-- RETURNS --> |
| 1647 <h4 jsdisplay="returns" jstcache="30" style="display: none; ">Re
turns</h4> |
| 1648 <dl jstcache="0"> |
| 1649 <div jsselect="returns" jstcache="36" style="display: none; "> |
| 1650 <div transclude="valueTemplate" jstcache="17"> |
| 1651 </div> |
| 1652 </div> |
| 1653 </dl> |
| 1654 |
| 1655 <!-- CALLBACK --> |
| 1656 <div jsdisplay="hasCallback(parameters)" jstcache="31"> |
| 1657 <div jsselect="getCallbackParameters(parameters)" jstcache="37
"> |
| 1658 <h4 jstcache="0">Callback function</h4> |
| 1659 <p jstcache="0"> |
| 1660 If you specify the <em jstcache="0">callback</em> parameter, |
| 1661 it should specify a function that looks like this: |
| 1662 </p> |
| 1663 |
| 1664 <!-- Note: intentionally longer 80 columns --> |
| 1665 <pre jstcache="0">function(<span jscontent="getSignatureString
(parameters)" jstcache="32">Tab tab</span>) <span class="subdued" jstcache="0">{
...}</span>);</pre> |
| 1666 <dl jstcache="0"> |
| 1667 <div jsselect="parameters" jstcache="35" jsinstance="*0"> |
| 1668 <div jstcache="0"> |
| 1669 <dt jstcache="0"> |
| 1670 <var jsdisplay="$this.name" jscontent="$this.name" jstca
che="46">tab</var> |
| 1671 <em jstcache="0"> |
| 1672 |
| 1673 <!-- TYPE --> |
| 1674 <div style="display:inline" jstcache="0"> |
| 1675 ( |
| 1676 <span class="optional" jsdisplay="optional" jstc
ache="47" style="display: none; ">optional</span> |
| 1677 <span id="typeTemplate" jstcache="0"> |
| 1678 <span jsdisplay="getTypeRef($this)" jstcache="
48" style=""> |
| 1679 <a jsvalues=".href: getTypeRefPage($this) +
'#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="50" href="
tabs.html#type-Tab">Tab</a> |
| 1680 </span> |
| 1681 <span jsdisplay="!getTypeRef($this)" jstcache=
"49" style="display: none; "> |
| 1682 <span jsdisplay="isArray($this)" jstcache="5
1" style="display: none; "> |
| 1683 array of <span jsselect="items" jstcache="
53"><span transclude="typeTemplate" jstcache="54"></span></span> |
| 1684 </span> |
| 1685 <span jsdisplay="!isArray($this)" jscontent=
"getTypeName($this)" jstcache="52">integer</span> |
| 1686 </span> |
| 1687 </span> |
| 1688 ) |
| 1689 </div> |
| 1690 |
| 1691 </em> |
| 1692 </dt> |
| 1693 <dd class="todo" jsdisplay="!$this.description" jstcache="
39" style=""> |
| 1694 Undocumented. |
| 1695 </dd> |
| 1696 <dd jsdisplay="$this.description" jsvalues=".innerHTML:$th
is.description" jstcache="40" style="display: none; ">The target window. Default
s to the <a href="windows.html#current-window" jstcache="0">current window</a>.<
/dd> |
| 1697 |
| 1698 <!-- OBJECT PROPERTIES --> |
| 1699 <dd jsdisplay="shouldExpandObject($this)" jstcache="41" st
yle="display: none; "> |
| 1700 <dl jstcache="0"> |
| 1701 <div jsselect="getPropertyListFromObject($this)" jstca
che="10"> |
| 1702 <div transclude="valueTemplate" jstcache="17"> |
| 1703 </div> |
| 1704 </div> |
| 1705 </dl> |
| 1706 </dd> |
| 1707 </div> |
| 1708 </div> |
| 1709 </dl> |
| 1710 </div> |
| 1711 </div> |
| 1712 |
| 1713 </div> <!-- /description --> |
| 1714 |
| 1715 </div><div class="apiItem" jsselect="functions.sort(sortByName)" jst
cache="11" jsinstance="7"> |
| 1716 <a jsvalues=".name:'method-' + name" jstcache="18" name="method-mo
ve"></a> <!-- method-anchor --> |
| 1717 <h4 jscontent="name" jstcache="16">move</h4> |
| 1718 |
| 1719 <div class="summary" jstcache="0"><span jsdisplay="returns" jscont
ent="getTypeName(returns)" jstcache="25" style="display: none; ">void</span> |
| 1720 <!-- Note: intentionally longer 80 columns --> |
| 1721 <span jscontent="getFullyQualifiedFunctionName($this)" jstcach
e="26">chrome.tabs.move</span>(<span jsselect="parameters" jsvalues="class:optio
nal ? 'optional' : ''" jstcache="27" jsinstance="0" class="null"><span jsdisplay
="$index" jstcache="33" style="display: none; ">, </span><span jscontent="getTyp
eName($this)" jstcache="34">integer</span> |
| 1722 <var jstcache="0"><span jscontent="name" jstcache="16">tab
Id</span></var></span><span jsselect="parameters" jsvalues="class:optional ? 'op
tional' : ''" jstcache="27" jsinstance="1" class="null"><span jsdisplay="$index"
jstcache="33">, </span><span jscontent="getTypeName($this)" jstcache="34">objec
t</span> |
| 1723 <var jstcache="0"><span jscontent="name" jstcache="16">mov
eProperties</span></var></span><span jsselect="parameters" jsvalues="class:optio
nal ? 'optional' : ''" jstcache="27" jsinstance="*2" class="optional"><span jsdi
splay="$index" jstcache="33">, </span><span jscontent="getTypeName($this)" jstca
che="34">function</span> |
| 1724 <var jstcache="0"><span jscontent="name" jstcache="16">cal
lback</span></var></span>)</div> |
| 1725 |
| 1726 <div class="description" jstcache="0"> |
| 1727 <p class="todo" jsdisplay="!description" jstcache="28" style="di
splay: none; ">Undocumented.</p> |
| 1728 <p jsdisplay="description" jsvalues=".innerHTML:description" jst
cache="29">Move a tab to a new position within its window, or to a new window.</
p> |
| 1729 |
| 1730 <!-- PARAMETERS --> |
| 1731 <h4 jstcache="0">Parameters</h4> |
| 1732 <dl jstcache="0"> |
| 1733 <div jsselect="parameters" jstcache="35" jsinstance="0"> |
| 1734 |
| 1735 <!-- VALUE: This is a subtemplate that is used elsewhere |
| 1736 via jsTemplate *transclude* --> |
| 1737 <div id="valueTemplate" jstcache="0"> |
| 1738 <dt jstcache="0"> |
| 1739 <var jsdisplay="$this.name" jscontent="$this.name" jstca
che="46">tabId</var> |
| 1740 <em jstcache="0"> |
| 1741 |
| 1742 <!-- TYPE --> |
| 1743 <div style="display:inline" jstcache="0"> |
| 1744 ( |
| 1745 <span class="optional" jsdisplay="optional" jstc
ache="47" style="display: none; ">optional</span> |
| 1746 <span id="typeTemplate" jstcache="0"> |
| 1747 <span jsdisplay="getTypeRef($this)" jstcache="
48" style="display: none; "> |
| 1748 <a jsvalues=".href: getTypeRefPage($this) +
'#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="50"> Type<
/a> |
| 1749 </span> |
| 1750 <span jsdisplay="!getTypeRef($this)" jstcache=
"49"> |
| 1751 <span jsdisplay="isArray($this)" jstcache="5
1" style="display: none; "> |
| 1752 array of <span jsselect="items" jstcache="
53"><span transclude="typeTemplate" jstcache="54"></span></span> |
| 1753 </span> |
| 1754 <span jsdisplay="!isArray($this)" jscontent=
"getTypeName($this)" jstcache="52">integer</span> |
| 1755 </span> |
| 1756 </span> |
| 1757 ) |
| 1758 </div> |
| 1759 |
| 1760 </em> |
| 1761 </dt> |
| 1762 <dd class="todo" jsdisplay="!$this.description" jstcache="
39"> |
| 1763 Undocumented. |
| 1764 </dd> |
| 1765 <dd jsdisplay="$this.description" jsvalues=".innerHTML:$th
is.description" jstcache="40" style="display: none; "> |
| 1766 Description of this parameter from the json schema. |
| 1767 </dd> |
| 1768 |
| 1769 <!-- OBJECT PROPERTIES --> |
| 1770 <dd jsdisplay="shouldExpandObject($this)" jstcache="41" st
yle="display: none; "> |
| 1771 <dl jstcache="0"> |
| 1772 <div jsselect="getPropertyListFromObject($this)" jstca
che="10"> |
| 1773 <div transclude="valueTemplate" jstcache="17"> |
| 1774 </div> |
| 1775 </div> |
| 1776 </dl> |
| 1777 </dd> |
| 1778 </div> <!-- /VALUE --> |
| 1779 |
| 1780 </div><div jsselect="parameters" jstcache="35" jsinstance="1"> |
| 1781 |
| 1782 <!-- VALUE: This is a subtemplate that is used elsewhere |
| 1783 via jsTemplate *transclude* --> |
| 1784 <div id="valueTemplate" jstcache="0"> |
| 1785 <dt jstcache="0"> |
| 1786 <var jsdisplay="$this.name" jscontent="$this.name" jstca
che="46">moveProperties</var> |
| 1787 <em jstcache="0"> |
| 1788 |
| 1789 <!-- TYPE --> |
| 1790 <div style="display:inline" jstcache="0"> |
| 1791 ( |
| 1792 <span class="optional" jsdisplay="optional" jstc
ache="47" style="display: none; ">optional</span> |
| 1793 <span id="typeTemplate" jstcache="0"> |
| 1794 <span jsdisplay="getTypeRef($this)" jstcache="
48" style="display: none; "> |
| 1795 <a jsvalues=".href: getTypeRefPage($this) +
'#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="50"> Type<
/a> |
| 1796 </span> |
| 1797 <span jsdisplay="!getTypeRef($this)" jstcache=
"49"> |
| 1798 <span jsdisplay="isArray($this)" jstcache="5
1" style="display: none; "> |
| 1799 array of <span jsselect="items" jstcache="
53"><span transclude="typeTemplate" jstcache="54"></span></span> |
| 1800 </span> |
| 1801 <span jsdisplay="!isArray($this)" jscontent=
"getTypeName($this)" jstcache="52">object</span> |
| 1802 </span> |
| 1803 </span> |
| 1804 ) |
| 1805 </div> |
| 1806 |
| 1807 </em> |
| 1808 </dt> |
| 1809 <dd class="todo" jsdisplay="!$this.description" jstcache="
39"> |
| 1810 Undocumented. |
| 1811 </dd> |
| 1812 <dd jsdisplay="$this.description" jsvalues=".innerHTML:$th
is.description" jstcache="40" style="display: none; "> |
| 1813 Description of this parameter from the json schema. |
| 1814 </dd> |
| 1815 |
| 1816 <!-- OBJECT PROPERTIES --> |
| 1817 <dd jsdisplay="shouldExpandObject($this)" jstcache="41"> |
| 1818 <dl jstcache="0"> |
| 1819 <div jsselect="getPropertyListFromObject($this)" jstca
che="10" jsinstance="0"> |
| 1820 <div jstcache="0"> |
| 1821 <dt jstcache="0"> |
| 1822 <var jsdisplay="$this.name" jscontent="$this.name" jstca
che="46">windowId</var> |
| 1823 <em jstcache="0"> |
| 1824 |
| 1825 <!-- TYPE --> |
| 1826 <div style="display:inline" jstcache="0"> |
| 1827 ( |
| 1828 <span class="optional" jsdisplay="optional" jstc
ache="47">optional</span> |
| 1829 <span id="typeTemplate" jstcache="0"> |
| 1830 <span jsdisplay="getTypeRef($this)" jstcache="
48" style="display: none; "> |
| 1831 <a jsvalues=".href: getTypeRefPage($this) +
'#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="50"> Type<
/a> |
| 1832 </span> |
| 1833 <span jsdisplay="!getTypeRef($this)" jstcache=
"49"> |
| 1834 <span jsdisplay="isArray($this)" jstcache="5
1" style="display: none; "> |
| 1835 array of <span jsselect="items" jstcache="
53"><span transclude="typeTemplate" jstcache="54"></span></span> |
| 1836 </span> |
| 1837 <span jsdisplay="!isArray($this)" jscontent=
"getTypeName($this)" jstcache="52">integer</span> |
| 1838 </span> |
| 1839 </span> |
| 1840 ) |
| 1841 </div> |
| 1842 |
| 1843 </em> |
| 1844 </dt> |
| 1845 <dd class="todo" jsdisplay="!$this.description" jstcache="
39" style="display: none; "> |
| 1846 Undocumented. |
| 1847 </dd> |
| 1848 <dd jsdisplay="$this.description" jsvalues=".innerHTML:$th
is.description" jstcache="40">Defaults to the window the tab is currently in.</d
d> |
| 1849 |
| 1850 <!-- OBJECT PROPERTIES --> |
| 1851 <dd jsdisplay="shouldExpandObject($this)" jstcache="41" st
yle="display: none; "> |
| 1852 <dl jstcache="0"> |
| 1853 <div jsselect="getPropertyListFromObject($this)" jstca
che="10"> |
| 1854 <div transclude="valueTemplate" jstcache="17"> |
| 1855 </div> |
| 1856 </div> |
| 1857 </dl> |
| 1858 </dd> |
| 1859 </div> |
| 1860 </div><div jsselect="getPropertyListFromObject($this)"
jstcache="10" jsinstance="*1"> |
| 1861 <div jstcache="0"> |
| 1862 <dt jstcache="0"> |
| 1863 <var jsdisplay="$this.name" jscontent="$this.name" jstca
che="46">index</var> |
| 1864 <em jstcache="0"> |
| 1865 |
| 1866 <!-- TYPE --> |
| 1867 <div style="display:inline" jstcache="0"> |
| 1868 ( |
| 1869 <span class="optional" jsdisplay="optional" jstc
ache="47" style="display: none; ">optional</span> |
| 1870 <span id="typeTemplate" jstcache="0"> |
| 1871 <span jsdisplay="getTypeRef($this)" jstcache="
48" style="display: none; "> |
| 1872 <a jsvalues=".href: getTypeRefPage($this) +
'#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="50"> Type<
/a> |
| 1873 </span> |
| 1874 <span jsdisplay="!getTypeRef($this)" jstcache=
"49"> |
| 1875 <span jsdisplay="isArray($this)" jstcache="5
1" style="display: none; "> |
| 1876 array of <span jsselect="items" jstcache="
53"><span transclude="typeTemplate" jstcache="54"></span></span> |
| 1877 </span> |
| 1878 <span jsdisplay="!isArray($this)" jscontent=
"getTypeName($this)" jstcache="52">integer</span> |
| 1879 </span> |
| 1880 </span> |
| 1881 ) |
| 1882 </div> |
| 1883 |
| 1884 </em> |
| 1885 </dt> |
| 1886 <dd class="todo" jsdisplay="!$this.description" jstcache="
39" style="display: none; "> |
| 1887 Undocumented. |
| 1888 </dd> |
| 1889 <dd jsdisplay="$this.description" jsvalues=".innerHTML:$th
is.description" jstcache="40">The position to move the window to. The provided v
alue will be clamped to between zero and the number of tabs in the window.</dd> |
| 1890 |
| 1891 <!-- OBJECT PROPERTIES --> |
| 1892 <dd jsdisplay="shouldExpandObject($this)" jstcache="41" st
yle="display: none; "> |
| 1893 <dl jstcache="0"> |
| 1894 <div jsselect="getPropertyListFromObject($this)" jstca
che="10"> |
| 1895 <div transclude="valueTemplate" jstcache="17"> |
| 1896 </div> |
| 1897 </div> |
| 1898 </dl> |
| 1899 </dd> |
| 1900 </div> |
| 1901 </div> |
| 1902 </dl> |
| 1903 </dd> |
| 1904 </div> <!-- /VALUE --> |
| 1905 |
| 1906 </div><div jsselect="parameters" jstcache="35" jsinstance="*2"
> |
| 1907 |
| 1908 <!-- VALUE: This is a subtemplate that is used elsewhere |
| 1909 via jsTemplate *transclude* --> |
| 1910 <div id="valueTemplate" jstcache="0"> |
| 1911 <dt jstcache="0"> |
| 1912 <var jsdisplay="$this.name" jscontent="$this.name" jstca
che="46">callback</var> |
| 1913 <em jstcache="0"> |
| 1914 |
| 1915 <!-- TYPE --> |
| 1916 <div style="display:inline" jstcache="0"> |
| 1917 ( |
| 1918 <span class="optional" jsdisplay="optional" jstc
ache="47">optional</span> |
| 1919 <span id="typeTemplate" jstcache="0"> |
| 1920 <span jsdisplay="getTypeRef($this)" jstcache="
48" style="display: none; "> |
| 1921 <a jsvalues=".href: getTypeRefPage($this) +
'#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="50"> Type<
/a> |
| 1922 </span> |
| 1923 <span jsdisplay="!getTypeRef($this)" jstcache=
"49"> |
| 1924 <span jsdisplay="isArray($this)" jstcache="5
1" style="display: none; "> |
| 1925 array of <span jsselect="items" jstcache="
53"><span transclude="typeTemplate" jstcache="54"></span></span> |
| 1926 </span> |
| 1927 <span jsdisplay="!isArray($this)" jscontent=
"getTypeName($this)" jstcache="52">function</span> |
| 1928 </span> |
| 1929 </span> |
| 1930 ) |
| 1931 </div> |
| 1932 |
| 1933 </em> |
| 1934 </dt> |
| 1935 <dd class="todo" jsdisplay="!$this.description" jstcache="
39"> |
| 1936 Undocumented. |
| 1937 </dd> |
| 1938 <dd jsdisplay="$this.description" jsvalues=".innerHTML:$th
is.description" jstcache="40" style="display: none; "> |
| 1939 Description of this parameter from the json schema. |
| 1940 </dd> |
| 1941 |
| 1942 <!-- OBJECT PROPERTIES --> |
| 1943 <dd jsdisplay="shouldExpandObject($this)" jstcache="41" st
yle="display: none; "> |
| 1944 <dl jstcache="0"> |
| 1945 <div jsselect="getPropertyListFromObject($this)" jstca
che="10"> |
| 1946 <div transclude="valueTemplate" jstcache="17"> |
| 1947 </div> |
| 1948 </div> |
| 1949 </dl> |
| 1950 </dd> |
| 1951 </div> <!-- /VALUE --> |
| 1952 |
| 1953 </div> |
| 1954 </dl> |
| 1955 |
| 1956 <!-- RETURNS --> |
| 1957 <h4 jsdisplay="returns" jstcache="30" style="display: none; ">Re
turns</h4> |
| 1958 <dl jstcache="0"> |
| 1959 <div jsselect="returns" jstcache="36" style="display: none; "> |
| 1960 <div transclude="valueTemplate" jstcache="17"> |
| 1961 </div> |
| 1962 </div> |
| 1963 </dl> |
| 1964 |
| 1965 <!-- CALLBACK --> |
| 1966 <div jsdisplay="hasCallback(parameters)" jstcache="31"> |
| 1967 <div jsselect="getCallbackParameters(parameters)" jstcache="37
"> |
| 1968 <h4 jstcache="0">Callback function</h4> |
| 1969 <p jstcache="0"> |
| 1970 If you specify the <em jstcache="0">callback</em> parameter, |
| 1971 it should specify a function that looks like this: |
| 1972 </p> |
| 1973 |
| 1974 <!-- Note: intentionally longer 80 columns --> |
| 1975 <pre jstcache="0">function(<span jscontent="getSignatureString
(parameters)" jstcache="32"></span>) <span class="subdued" jstcache="0">{...}</s
pan>);</pre> |
| 1976 <dl jstcache="0"> |
| 1977 <div jsselect="parameters" jstcache="35" jsinstance="*0" sty
le="display: none; "> |
| 1978 <div transclude="valueTemplate" jstcache="17"> |
| 1979 </div> |
| 1980 </div> |
| 1981 </dl> |
| 1982 </div> |
| 1983 </div> |
| 1984 |
| 1985 </div> <!-- /description --> |
| 1986 |
| 1987 </div><div class="apiItem" jsselect="functions.sort(sortByName)" jst
cache="11" jsinstance="8"> |
| 1988 <a jsvalues=".name:'method-' + name" jstcache="18" name="method-re
move"></a> <!-- method-anchor --> |
| 1989 <h4 jscontent="name" jstcache="16">remove</h4> |
| 1990 |
| 1991 <div class="summary" jstcache="0"><span jsdisplay="returns" jscont
ent="getTypeName(returns)" jstcache="25" style="display: none; ">void</span> |
| 1992 <!-- Note: intentionally longer 80 columns --> |
| 1993 <span jscontent="getFullyQualifiedFunctionName($this)" jstcach
e="26">chrome.tabs.remove</span>(<span jsselect="parameters" jsvalues="class:opt
ional ? 'optional' : ''" jstcache="27" jsinstance="0" class="null"><span jsdispl
ay="$index" jstcache="33" style="display: none; ">, </span><span jscontent="getT
ypeName($this)" jstcache="34">integer</span> |
| 1994 <var jstcache="0"><span jscontent="name" jstcache="16">tab
Id</span></var></span><span jsselect="parameters" jsvalues="class:optional ? 'op
tional' : ''" jstcache="27" jsinstance="*1" class="optional"><span jsdisplay="$i
ndex" jstcache="33">, </span><span jscontent="getTypeName($this)" jstcache="34">
function</span> |
| 1995 <var jstcache="0"><span jscontent="name" jstcache="16">cal
lback</span></var></span>)</div> |
| 1996 |
| 1997 <div class="description" jstcache="0"> |
| 1998 <p class="todo" jsdisplay="!description" jstcache="28" style="di
splay: none; ">Undocumented.</p> |
| 1999 <p jsdisplay="description" jsvalues=".innerHTML:description" jst
cache="29">Closes a tab.</p> |
| 2000 |
| 2001 <!-- PARAMETERS --> |
| 2002 <h4 jstcache="0">Parameters</h4> |
| 2003 <dl jstcache="0"> |
| 2004 <div jsselect="parameters" jstcache="35" jsinstance="0"> |
| 2005 |
| 2006 <!-- VALUE: This is a subtemplate that is used elsewhere |
| 2007 via jsTemplate *transclude* --> |
| 2008 <div id="valueTemplate" jstcache="0"> |
| 2009 <dt jstcache="0"> |
| 2010 <var jsdisplay="$this.name" jscontent="$this.name" jstca
che="46">tabId</var> |
| 2011 <em jstcache="0"> |
| 2012 |
| 2013 <!-- TYPE --> |
| 2014 <div style="display:inline" jstcache="0"> |
| 2015 ( |
| 2016 <span class="optional" jsdisplay="optional" jstc
ache="47" style="display: none; ">optional</span> |
| 2017 <span id="typeTemplate" jstcache="0"> |
| 2018 <span jsdisplay="getTypeRef($this)" jstcache="
48" style="display: none; "> |
| 2019 <a jsvalues=".href: getTypeRefPage($this) +
'#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="50"> Type<
/a> |
| 2020 </span> |
| 2021 <span jsdisplay="!getTypeRef($this)" jstcache=
"49"> |
| 2022 <span jsdisplay="isArray($this)" jstcache="5
1" style="display: none; "> |
| 2023 array of <span jsselect="items" jstcache="
53"><span transclude="typeTemplate" jstcache="54"></span></span> |
| 2024 </span> |
| 2025 <span jsdisplay="!isArray($this)" jscontent=
"getTypeName($this)" jstcache="52">integer</span> |
| 2026 </span> |
| 2027 </span> |
| 2028 ) |
| 2029 </div> |
| 2030 |
| 2031 </em> |
| 2032 </dt> |
| 2033 <dd class="todo" jsdisplay="!$this.description" jstcache="
39"> |
| 2034 Undocumented. |
| 2035 </dd> |
| 2036 <dd jsdisplay="$this.description" jsvalues=".innerHTML:$th
is.description" jstcache="40" style="display: none; "> |
| 2037 Description of this parameter from the json schema. |
| 2038 </dd> |
| 2039 |
| 2040 <!-- OBJECT PROPERTIES --> |
| 2041 <dd jsdisplay="shouldExpandObject($this)" jstcache="41" st
yle="display: none; "> |
| 2042 <dl jstcache="0"> |
| 2043 <div jsselect="getPropertyListFromObject($this)" jstca
che="10"> |
| 2044 <div transclude="valueTemplate" jstcache="17"> |
| 2045 </div> |
| 2046 </div> |
| 2047 </dl> |
| 2048 </dd> |
| 2049 </div> <!-- /VALUE --> |
| 2050 |
| 2051 </div><div jsselect="parameters" jstcache="35" jsinstance="*1"
> |
| 2052 |
| 2053 <!-- VALUE: This is a subtemplate that is used elsewhere |
| 2054 via jsTemplate *transclude* --> |
| 2055 <div id="valueTemplate" jstcache="0"> |
| 2056 <dt jstcache="0"> |
| 2057 <var jsdisplay="$this.name" jscontent="$this.name" jstca
che="46">callback</var> |
| 2058 <em jstcache="0"> |
| 2059 |
| 2060 <!-- TYPE --> |
| 2061 <div style="display:inline" jstcache="0"> |
| 2062 ( |
| 2063 <span class="optional" jsdisplay="optional" jstc
ache="47">optional</span> |
| 2064 <span id="typeTemplate" jstcache="0"> |
| 2065 <span jsdisplay="getTypeRef($this)" jstcache="
48" style="display: none; "> |
| 2066 <a jsvalues=".href: getTypeRefPage($this) +
'#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="50"> Type<
/a> |
| 2067 </span> |
| 2068 <span jsdisplay="!getTypeRef($this)" jstcache=
"49"> |
| 2069 <span jsdisplay="isArray($this)" jstcache="5
1" style="display: none; "> |
| 2070 array of <span jsselect="items" jstcache="
53"><span transclude="typeTemplate" jstcache="54"></span></span> |
| 2071 </span> |
| 2072 <span jsdisplay="!isArray($this)" jscontent=
"getTypeName($this)" jstcache="52">function</span> |
| 2073 </span> |
| 2074 </span> |
| 2075 ) |
| 2076 </div> |
| 2077 |
| 2078 </em> |
| 2079 </dt> |
| 2080 <dd class="todo" jsdisplay="!$this.description" jstcache="
39"> |
| 2081 Undocumented. |
| 2082 </dd> |
| 2083 <dd jsdisplay="$this.description" jsvalues=".innerHTML:$th
is.description" jstcache="40" style="display: none; "> |
| 2084 Description of this parameter from the json schema. |
| 2085 </dd> |
| 2086 |
| 2087 <!-- OBJECT PROPERTIES --> |
| 2088 <dd jsdisplay="shouldExpandObject($this)" jstcache="41" st
yle="display: none; "> |
| 2089 <dl jstcache="0"> |
| 2090 <div jsselect="getPropertyListFromObject($this)" jstca
che="10"> |
| 2091 <div transclude="valueTemplate" jstcache="17"> |
| 2092 </div> |
| 2093 </div> |
| 2094 </dl> |
| 2095 </dd> |
| 2096 </div> <!-- /VALUE --> |
| 2097 |
| 2098 </div> |
| 2099 </dl> |
| 2100 |
| 2101 <!-- RETURNS --> |
| 2102 <h4 jsdisplay="returns" jstcache="30" style="display: none; ">Re
turns</h4> |
| 2103 <dl jstcache="0"> |
| 2104 <div jsselect="returns" jstcache="36" style="display: none; "> |
| 2105 <div transclude="valueTemplate" jstcache="17"> |
| 2106 </div> |
| 2107 </div> |
| 2108 </dl> |
| 2109 |
| 2110 <!-- CALLBACK --> |
| 2111 <div jsdisplay="hasCallback(parameters)" jstcache="31"> |
| 2112 <div jsselect="getCallbackParameters(parameters)" jstcache="37
"> |
| 2113 <h4 jstcache="0">Callback function</h4> |
| 2114 <p jstcache="0"> |
| 2115 If you specify the <em jstcache="0">callback</em> parameter, |
| 2116 it should specify a function that looks like this: |
| 2117 </p> |
| 2118 |
| 2119 <!-- Note: intentionally longer 80 columns --> |
| 2120 <pre jstcache="0">function(<span jscontent="getSignatureString
(parameters)" jstcache="32"></span>) <span class="subdued" jstcache="0">{...}</s
pan>);</pre> |
| 2121 <dl jstcache="0"> |
| 2122 <div jsselect="parameters" jstcache="35" jsinstance="*0" sty
le="display: none; "> |
| 2123 <div transclude="valueTemplate" jstcache="17"> |
| 2124 </div> |
| 2125 </div> |
| 2126 </dl> |
| 2127 </div> |
| 2128 </div> |
| 2129 |
| 2130 </div> <!-- /description --> |
| 2131 |
| 2132 </div><div class="apiItem" jsselect="functions.sort(sortByName)" jst
cache="11" jsinstance="*9"> |
| 2133 <a jsvalues=".name:'method-' + name" jstcache="18" name="method-up
date"></a> <!-- method-anchor --> |
| 2134 <h4 jscontent="name" jstcache="16">update</h4> |
| 2135 |
| 2136 <div class="summary" jstcache="0"><span jsdisplay="returns" jscont
ent="getTypeName(returns)" jstcache="25" style="display: none; ">void</span> |
| 2137 <!-- Note: intentionally longer 80 columns --> |
| 2138 <span jscontent="getFullyQualifiedFunctionName($this)" jstcach
e="26">chrome.tabs.update</span>(<span jsselect="parameters" jsvalues="class:opt
ional ? 'optional' : ''" jstcache="27" jsinstance="0" class="null"><span jsdispl
ay="$index" jstcache="33" style="display: none; ">, </span><span jscontent="getT
ypeName($this)" jstcache="34">integer</span> |
| 2139 <var jstcache="0"><span jscontent="name" jstcache="16">tab
Id</span></var></span><span jsselect="parameters" jsvalues="class:optional ? 'op
tional' : ''" jstcache="27" jsinstance="1" class="null"><span jsdisplay="$index"
jstcache="33">, </span><span jscontent="getTypeName($this)" jstcache="34">objec
t</span> |
| 2140 <var jstcache="0"><span jscontent="name" jstcache="16">upd
ateProperties</span></var></span><span jsselect="parameters" jsvalues="class:opt
ional ? 'optional' : ''" jstcache="27" jsinstance="*2" class="optional"><span js
display="$index" jstcache="33">, </span><span jscontent="getTypeName($this)" jst
cache="34">function</span> |
| 2141 <var jstcache="0"><span jscontent="name" jstcache="16">cal
lback</span></var></span>)</div> |
| 2142 |
| 2143 <div class="description" jstcache="0"> |
| 2144 <p class="todo" jsdisplay="!description" jstcache="28" style="di
splay: none; ">Undocumented.</p> |
| 2145 <p jsdisplay="description" jsvalues=".innerHTML:description" jst
cache="29">Modify the properties of a tab. Properties that are not specified in
<var jstcache="0">updateProperties</var> are not modified.</p> |
| 2146 |
| 2147 <!-- PARAMETERS --> |
| 2148 <h4 jstcache="0">Parameters</h4> |
| 2149 <dl jstcache="0"> |
| 2150 <div jsselect="parameters" jstcache="35" jsinstance="0"> |
| 2151 |
| 2152 <!-- VALUE: This is a subtemplate that is used elsewhere |
| 2153 via jsTemplate *transclude* --> |
| 2154 <div id="valueTemplate" jstcache="0"> |
| 2155 <dt jstcache="0"> |
| 2156 <var jsdisplay="$this.name" jscontent="$this.name" jstca
che="46">tabId</var> |
| 2157 <em jstcache="0"> |
| 2158 |
| 2159 <!-- TYPE --> |
| 2160 <div style="display:inline" jstcache="0"> |
| 2161 ( |
| 2162 <span class="optional" jsdisplay="optional" jstc
ache="47" style="display: none; ">optional</span> |
| 2163 <span id="typeTemplate" jstcache="0"> |
| 2164 <span jsdisplay="getTypeRef($this)" jstcache="
48" style="display: none; "> |
| 2165 <a jsvalues=".href: getTypeRefPage($this) +
'#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="50"> Type<
/a> |
| 2166 </span> |
| 2167 <span jsdisplay="!getTypeRef($this)" jstcache=
"49"> |
| 2168 <span jsdisplay="isArray($this)" jstcache="5
1" style="display: none; "> |
| 2169 array of <span jsselect="items" jstcache="
53"><span transclude="typeTemplate" jstcache="54"></span></span> |
| 2170 </span> |
| 2171 <span jsdisplay="!isArray($this)" jscontent=
"getTypeName($this)" jstcache="52">integer</span> |
| 2172 </span> |
| 2173 </span> |
| 2174 ) |
| 2175 </div> |
| 2176 |
| 2177 </em> |
| 2178 </dt> |
| 2179 <dd class="todo" jsdisplay="!$this.description" jstcache="
39"> |
| 2180 Undocumented. |
| 2181 </dd> |
| 2182 <dd jsdisplay="$this.description" jsvalues=".innerHTML:$th
is.description" jstcache="40" style="display: none; "> |
| 2183 Description of this parameter from the json schema. |
| 2184 </dd> |
| 2185 |
| 2186 <!-- OBJECT PROPERTIES --> |
| 2187 <dd jsdisplay="shouldExpandObject($this)" jstcache="41" st
yle="display: none; "> |
| 2188 <dl jstcache="0"> |
| 2189 <div jsselect="getPropertyListFromObject($this)" jstca
che="10"> |
| 2190 <div transclude="valueTemplate" jstcache="17"> |
| 2191 </div> |
| 2192 </div> |
| 2193 </dl> |
| 2194 </dd> |
| 2195 </div> <!-- /VALUE --> |
| 2196 |
| 2197 </div><div jsselect="parameters" jstcache="35" jsinstance="1"> |
| 2198 |
| 2199 <!-- VALUE: This is a subtemplate that is used elsewhere |
| 2200 via jsTemplate *transclude* --> |
| 2201 <div id="valueTemplate" jstcache="0"> |
| 2202 <dt jstcache="0"> |
| 2203 <var jsdisplay="$this.name" jscontent="$this.name" jstca
che="46">updateProperties</var> |
| 2204 <em jstcache="0"> |
| 2205 |
| 2206 <!-- TYPE --> |
| 2207 <div style="display:inline" jstcache="0"> |
| 2208 ( |
| 2209 <span class="optional" jsdisplay="optional" jstc
ache="47" style="display: none; ">optional</span> |
| 2210 <span id="typeTemplate" jstcache="0"> |
| 2211 <span jsdisplay="getTypeRef($this)" jstcache="
48" style="display: none; "> |
| 2212 <a jsvalues=".href: getTypeRefPage($this) +
'#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="50"> Type<
/a> |
| 2213 </span> |
| 2214 <span jsdisplay="!getTypeRef($this)" jstcache=
"49"> |
| 2215 <span jsdisplay="isArray($this)" jstcache="5
1" style="display: none; "> |
| 2216 array of <span jsselect="items" jstcache="
53"><span transclude="typeTemplate" jstcache="54"></span></span> |
| 2217 </span> |
| 2218 <span jsdisplay="!isArray($this)" jscontent=
"getTypeName($this)" jstcache="52">object</span> |
| 2219 </span> |
| 2220 </span> |
| 2221 ) |
| 2222 </div> |
| 2223 |
| 2224 </em> |
| 2225 </dt> |
| 2226 <dd class="todo" jsdisplay="!$this.description" jstcache="
39"> |
| 2227 Undocumented. |
| 2228 </dd> |
| 2229 <dd jsdisplay="$this.description" jsvalues=".innerHTML:$th
is.description" jstcache="40" style="display: none; "> |
| 2230 Description of this parameter from the json schema. |
| 2231 </dd> |
| 2232 |
| 2233 <!-- OBJECT PROPERTIES --> |
| 2234 <dd jsdisplay="shouldExpandObject($this)" jstcache="41"> |
| 2235 <dl jstcache="0"> |
| 2236 <div jsselect="getPropertyListFromObject($this)" jstca
che="10" jsinstance="0"> |
| 2237 <div jstcache="0"> |
| 2238 <dt jstcache="0"> |
| 2239 <var jsdisplay="$this.name" jscontent="$this.name" jstca
che="46">url</var> |
| 2240 <em jstcache="0"> |
| 2241 |
| 2242 <!-- TYPE --> |
| 2243 <div style="display:inline" jstcache="0"> |
| 2244 ( |
| 2245 <span class="optional" jsdisplay="optional" jstc
ache="47">optional</span> |
| 2246 <span id="typeTemplate" jstcache="0"> |
| 2247 <span jsdisplay="getTypeRef($this)" jstcache="
48" style="display: none; "> |
| 2248 <a jsvalues=".href: getTypeRefPage($this) +
'#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="50"> Type<
/a> |
| 2249 </span> |
| 2250 <span jsdisplay="!getTypeRef($this)" jstcache=
"49"> |
| 2251 <span jsdisplay="isArray($this)" jstcache="5
1" style="display: none; "> |
| 2252 array of <span jsselect="items" jstcache="
53"><span transclude="typeTemplate" jstcache="54"></span></span> |
| 2253 </span> |
| 2254 <span jsdisplay="!isArray($this)" jscontent=
"getTypeName($this)" jstcache="52">string</span> |
| 2255 </span> |
| 2256 </span> |
| 2257 ) |
| 2258 </div> |
| 2259 |
| 2260 </em> |
| 2261 </dt> |
| 2262 <dd class="todo" jsdisplay="!$this.description" jstcache="
39" style=""> |
| 2263 Undocumented. |
| 2264 </dd> |
| 2265 <dd jsdisplay="$this.description" jsvalues=".innerHTML:$th
is.description" jstcache="40" style="display: none; ">The target window. Default
s to the <a href="windows.html#current-window" jstcache="0">current window</a>.<
/dd> |
| 2266 |
| 2267 <!-- OBJECT PROPERTIES --> |
| 2268 <dd jsdisplay="shouldExpandObject($this)" jstcache="41" st
yle="display: none; "> |
| 2269 <dl jstcache="0"> |
| 2270 <div jsselect="getPropertyListFromObject($this)" jstca
che="10"> |
| 2271 <div transclude="valueTemplate" jstcache="17"> |
| 2272 </div> |
| 2273 </div> |
| 2274 </dl> |
| 2275 </dd> |
| 2276 </div> |
| 2277 </div><div jsselect="getPropertyListFromObject($this)"
jstcache="10" jsinstance="*1"> |
| 2278 <div jstcache="0"> |
| 2279 <dt jstcache="0"> |
| 2280 <var jsdisplay="$this.name" jscontent="$this.name" jstca
che="46">selected</var> |
| 2281 <em jstcache="0"> |
| 2282 |
| 2283 <!-- TYPE --> |
| 2284 <div style="display:inline" jstcache="0"> |
| 2285 ( |
| 2286 <span class="optional" jsdisplay="optional" jstc
ache="47">optional</span> |
| 2287 <span id="typeTemplate" jstcache="0"> |
| 2288 <span jsdisplay="getTypeRef($this)" jstcache="
48" style="display: none; "> |
| 2289 <a jsvalues=".href: getTypeRefPage($this) +
'#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="50"> Type<
/a> |
| 2290 </span> |
| 2291 <span jsdisplay="!getTypeRef($this)" jstcache=
"49"> |
| 2292 <span jsdisplay="isArray($this)" jstcache="5
1" style="display: none; "> |
| 2293 array of <span jsselect="items" jstcache="
53"><span transclude="typeTemplate" jstcache="54"></span></span> |
| 2294 </span> |
| 2295 <span jsdisplay="!isArray($this)" jscontent=
"getTypeName($this)" jstcache="52">boolean</span> |
| 2296 </span> |
| 2297 </span> |
| 2298 ) |
| 2299 </div> |
| 2300 |
| 2301 </em> |
| 2302 </dt> |
| 2303 <dd class="todo" jsdisplay="!$this.description" jstcache="
39" style=""> |
| 2304 Undocumented. |
| 2305 </dd> |
| 2306 <dd jsdisplay="$this.description" jsvalues=".innerHTML:$th
is.description" jstcache="40" style="display: none; ">The target window. Default
s to the <a href="windows.html#current-window" jstcache="0">current window</a>.<
/dd> |
| 2307 |
| 2308 <!-- OBJECT PROPERTIES --> |
| 2309 <dd jsdisplay="shouldExpandObject($this)" jstcache="41" st
yle="display: none; "> |
| 2310 <dl jstcache="0"> |
| 2311 <div jsselect="getPropertyListFromObject($this)" jstca
che="10"> |
| 2312 <div transclude="valueTemplate" jstcache="17"> |
| 2313 </div> |
| 2314 </div> |
| 2315 </dl> |
| 2316 </dd> |
| 2317 </div> |
| 2318 </div> |
| 2319 </dl> |
| 2320 </dd> |
| 2321 </div> <!-- /VALUE --> |
| 2322 |
| 2323 </div><div jsselect="parameters" jstcache="35" jsinstance="*2"
> |
| 2324 |
| 2325 <!-- VALUE: This is a subtemplate that is used elsewhere |
| 2326 via jsTemplate *transclude* --> |
| 2327 <div id="valueTemplate" jstcache="0"> |
| 2328 <dt jstcache="0"> |
| 2329 <var jsdisplay="$this.name" jscontent="$this.name" jstca
che="46">callback</var> |
| 2330 <em jstcache="0"> |
| 2331 |
| 2332 <!-- TYPE --> |
| 2333 <div style="display:inline" jstcache="0"> |
| 2334 ( |
| 2335 <span class="optional" jsdisplay="optional" jstc
ache="47">optional</span> |
| 2336 <span id="typeTemplate" jstcache="0"> |
| 2337 <span jsdisplay="getTypeRef($this)" jstcache="
48" style="display: none; "> |
| 2338 <a jsvalues=".href: getTypeRefPage($this) +
'#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="50"> Type<
/a> |
| 2339 </span> |
| 2340 <span jsdisplay="!getTypeRef($this)" jstcache=
"49"> |
| 2341 <span jsdisplay="isArray($this)" jstcache="5
1" style="display: none; "> |
| 2342 array of <span jsselect="items" jstcache="
53"><span transclude="typeTemplate" jstcache="54"></span></span> |
| 2343 </span> |
| 2344 <span jsdisplay="!isArray($this)" jscontent=
"getTypeName($this)" jstcache="52">function</span> |
| 2345 </span> |
| 2346 </span> |
| 2347 ) |
| 2348 </div> |
| 2349 |
| 2350 </em> |
| 2351 </dt> |
| 2352 <dd class="todo" jsdisplay="!$this.description" jstcache="
39"> |
| 2353 Undocumented. |
| 2354 </dd> |
| 2355 <dd jsdisplay="$this.description" jsvalues=".innerHTML:$th
is.description" jstcache="40" style="display: none; "> |
| 2356 Description of this parameter from the json schema. |
| 2357 </dd> |
| 2358 |
| 2359 <!-- OBJECT PROPERTIES --> |
| 2360 <dd jsdisplay="shouldExpandObject($this)" jstcache="41" st
yle="display: none; "> |
| 2361 <dl jstcache="0"> |
| 2362 <div jsselect="getPropertyListFromObject($this)" jstca
che="10"> |
| 2363 <div transclude="valueTemplate" jstcache="17"> |
| 2364 </div> |
| 2365 </div> |
| 2366 </dl> |
| 2367 </dd> |
| 2368 </div> <!-- /VALUE --> |
| 2369 |
| 2370 </div> |
| 2371 </dl> |
| 2372 |
| 2373 <!-- RETURNS --> |
| 2374 <h4 jsdisplay="returns" jstcache="30" style="display: none; ">Re
turns</h4> |
| 2375 <dl jstcache="0"> |
| 2376 <div jsselect="returns" jstcache="36" style="display: none; "> |
| 2377 <div transclude="valueTemplate" jstcache="17"> |
| 2378 </div> |
| 2379 </div> |
| 2380 </dl> |
| 2381 |
| 2382 <!-- CALLBACK --> |
| 2383 <div jsdisplay="hasCallback(parameters)" jstcache="31"> |
| 2384 <div jsselect="getCallbackParameters(parameters)" jstcache="37
"> |
| 2385 <h4 jstcache="0">Callback function</h4> |
| 2386 <p jstcache="0"> |
| 2387 If you specify the <em jstcache="0">callback</em> parameter, |
| 2388 it should specify a function that looks like this: |
| 2389 </p> |
| 2390 |
| 2391 <!-- Note: intentionally longer 80 columns --> |
| 2392 <pre jstcache="0">function(<span jscontent="getSignatureString
(parameters)" jstcache="32"></span>) <span class="subdued" jstcache="0">{...}</s
pan>);</pre> |
| 2393 <dl jstcache="0"> |
| 2394 <div jsselect="parameters" jstcache="35" jsinstance="*0" sty
le="display: none; "> |
| 2395 <div transclude="valueTemplate" jstcache="17"> |
| 2396 </div> |
| 2397 </div> |
| 2398 </dl> |
| 2399 </div> |
| 2400 </div> |
| 2401 |
| 2402 </div> <!-- /description --> |
| 2403 |
| 2404 </div> <!-- /apiItem --> |
| 2405 |
| 2406 </div> <!-- /apiGroup --> |
| 2407 |
| 2408 <!-- EVENTS --> |
| 2409 <div jsdisplay="events && events.length > 0" class="apiGrou
p" jstcache="7"> |
| 2410 <a name="events" jstcache="0"></a> |
| 2411 <h3 id="events" jstcache="0">Events</h3> |
| 2412 |
| 2413 <!-- iterates over all events --> |
| 2414 <div jsselect="events.sort(sortByName)" class="apiItem" jstcache="12
" jsinstance="0"> |
| 2415 <a jsvalues=".name:'event-' + name" jstcache="19" name="event-onAt
tached"></a> |
| 2416 <h4 jscontent="name" jstcache="16">onAttached</h4> |
| 2417 |
| 2418 <div class="summary" jstcache="0"> |
| 2419 <!-- Note: intentionally longer 80 columns --> |
| 2420 <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>); |
| 2421 </div> |
| 2422 |
| 2423 <div class="description" jstcache="0"> |
| 2424 <p class="todo" jsdisplay="!description" jstcache="28" style="di
splay: none; ">Undocumented.</p> |
| 2425 <p jsdisplay="description" jsvalues=".innerHTML:description" jst
cache="29">Fired when a tab is attached to a window, for example because it was
moved between windows.</p> |
| 2426 |
| 2427 <!-- PARAMETERS --> |
| 2428 <h4 jstcache="0">Parameters</h4> |
| 2429 <dl jstcache="0"> |
| 2430 <div jsselect="parameters" jstcache="35" jsinstance="0"> |
| 2431 <div jstcache="0"> |
| 2432 <dt jstcache="0"> |
| 2433 <var jsdisplay="$this.name" jscontent="$this.name" jstca
che="46">tabId</var> |
| 2434 <em jstcache="0"> |
| 2435 |
| 2436 <!-- TYPE --> |
| 2437 <div style="display:inline" jstcache="0"> |
| 2438 ( |
| 2439 <span class="optional" jsdisplay="optional" jstc
ache="47" style="display: none; ">optional</span> |
| 2440 <span id="typeTemplate" jstcache="0"> |
| 2441 <span jsdisplay="getTypeRef($this)" jstcache="
48" style="display: none; "> |
| 2442 <a jsvalues=".href: getTypeRefPage($this) +
'#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="50"> Type<
/a> |
| 2443 </span> |
| 2444 <span jsdisplay="!getTypeRef($this)" jstcache=
"49"> |
| 2445 <span jsdisplay="isArray($this)" jstcache="5
1" style="display: none; "> |
| 2446 array of <span jsselect="items" jstcache="
53"><span transclude="typeTemplate" jstcache="54"></span></span> |
| 2447 </span> |
| 2448 <span jsdisplay="!isArray($this)" jscontent=
"getTypeName($this)" jstcache="52">integer</span> |
| 2449 </span> |
| 2450 </span> |
| 2451 ) |
| 2452 </div> |
| 2453 |
| 2454 </em> |
| 2455 </dt> |
| 2456 <dd class="todo" jsdisplay="!$this.description" jstcache="
39" style=""> |
| 2457 Undocumented. |
| 2458 </dd> |
| 2459 <dd jsdisplay="$this.description" jsvalues=".innerHTML:$th
is.description" jstcache="40" style="display: none; ">The target window. Default
s to the <a href="windows.html#current-window" jstcache="0">current window</a>.<
/dd> |
| 2460 |
| 2461 <!-- OBJECT PROPERTIES --> |
| 2462 <dd jsdisplay="shouldExpandObject($this)" jstcache="41" st
yle="display: none; "> |
| 2463 <dl jstcache="0"> |
| 2464 <div jsselect="getPropertyListFromObject($this)" jstca
che="10"> |
| 2465 <div transclude="valueTemplate" jstcache="17"> |
| 2466 </div> |
| 2467 </div> |
| 2468 </dl> |
| 2469 </dd> |
| 2470 </div> |
| 2471 </div><div jsselect="parameters" jstcache="35" jsinstance="*1"
> |
| 2472 <div jstcache="0"> |
| 2473 <dt jstcache="0"> |
| 2474 <var jsdisplay="$this.name" jscontent="$this.name" jstca
che="46">attachInfo</var> |
| 2475 <em jstcache="0"> |
| 2476 |
| 2477 <!-- TYPE --> |
| 2478 <div style="display:inline" jstcache="0"> |
| 2479 ( |
| 2480 <span class="optional" jsdisplay="optional" jstc
ache="47" style="display: none; ">optional</span> |
| 2481 <span id="typeTemplate" jstcache="0"> |
| 2482 <span jsdisplay="getTypeRef($this)" jstcache="
48" style="display: none; "> |
| 2483 <a jsvalues=".href: getTypeRefPage($this) +
'#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="50"> Type<
/a> |
| 2484 </span> |
| 2485 <span jsdisplay="!getTypeRef($this)" jstcache=
"49"> |
| 2486 <span jsdisplay="isArray($this)" jstcache="5
1" style="display: none; "> |
| 2487 array of <span jsselect="items" jstcache="
53"><span transclude="typeTemplate" jstcache="54"></span></span> |
| 2488 </span> |
| 2489 <span jsdisplay="!isArray($this)" jscontent=
"getTypeName($this)" jstcache="52">object</span> |
| 2490 </span> |
| 2491 </span> |
| 2492 ) |
| 2493 </div> |
| 2494 |
| 2495 </em> |
| 2496 </dt> |
| 2497 <dd class="todo" jsdisplay="!$this.description" jstcache="
39" style=""> |
| 2498 Undocumented. |
| 2499 </dd> |
| 2500 <dd jsdisplay="$this.description" jsvalues=".innerHTML:$th
is.description" jstcache="40" style="display: none; ">The target window. Default
s to the <a href="windows.html#current-window" jstcache="0">current window</a>.<
/dd> |
| 2501 |
| 2502 <!-- OBJECT PROPERTIES --> |
| 2503 <dd jsdisplay="shouldExpandObject($this)" jstcache="41" st
yle=""> |
| 2504 <dl jstcache="0"> |
| 2505 <div jsselect="getPropertyListFromObject($this)" jstca
che="10" jsinstance="0"> |
| 2506 <div jstcache="0"> |
| 2507 <dt jstcache="0"> |
| 2508 <var jsdisplay="$this.name" jscontent="$this.name" jstca
che="46">newWindowId</var> |
| 2509 <em jstcache="0"> |
| 2510 |
| 2511 <!-- TYPE --> |
| 2512 <div style="display:inline" jstcache="0"> |
| 2513 ( |
| 2514 <span class="optional" jsdisplay="optional" jstc
ache="47" style="display: none; ">optional</span> |
| 2515 <span id="typeTemplate" jstcache="0"> |
| 2516 <span jsdisplay="getTypeRef($this)" jstcache="
48" style="display: none; "> |
| 2517 <a jsvalues=".href: getTypeRefPage($this) +
'#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="50"> Type<
/a> |
| 2518 </span> |
| 2519 <span jsdisplay="!getTypeRef($this)" jstcache=
"49"> |
| 2520 <span jsdisplay="isArray($this)" jstcache="5
1" style="display: none; "> |
| 2521 array of <span jsselect="items" jstcache="
53"><span transclude="typeTemplate" jstcache="54"></span></span> |
| 2522 </span> |
| 2523 <span jsdisplay="!isArray($this)" jscontent=
"getTypeName($this)" jstcache="52">integer</span> |
| 2524 </span> |
| 2525 </span> |
| 2526 ) |
| 2527 </div> |
| 2528 |
| 2529 </em> |
| 2530 </dt> |
| 2531 <dd class="todo" jsdisplay="!$this.description" jstcache="
39" style=""> |
| 2532 Undocumented. |
| 2533 </dd> |
| 2534 <dd jsdisplay="$this.description" jsvalues=".innerHTML:$th
is.description" jstcache="40" style="display: none; ">The target window. Default
s to the <a href="windows.html#current-window" jstcache="0">current window</a>.<
/dd> |
| 2535 |
| 2536 <!-- OBJECT PROPERTIES --> |
| 2537 <dd jsdisplay="shouldExpandObject($this)" jstcache="41" st
yle="display: none; "> |
| 2538 <dl jstcache="0"> |
| 2539 <div jsselect="getPropertyListFromObject($this)" jstca
che="10"> |
| 2540 <div transclude="valueTemplate" jstcache="17"> |
| 2541 </div> |
| 2542 </div> |
| 2543 </dl> |
| 2544 </dd> |
| 2545 </div> |
| 2546 </div><div jsselect="getPropertyListFromObject($this)"
jstcache="10" jsinstance="*1"> |
| 2547 <div jstcache="0"> |
| 2548 <dt jstcache="0"> |
| 2549 <var jsdisplay="$this.name" jscontent="$this.name" jstca
che="46">newPosition</var> |
| 2550 <em jstcache="0"> |
| 2551 |
| 2552 <!-- TYPE --> |
| 2553 <div style="display:inline" jstcache="0"> |
| 2554 ( |
| 2555 <span class="optional" jsdisplay="optional" jstc
ache="47" style="display: none; ">optional</span> |
| 2556 <span id="typeTemplate" jstcache="0"> |
| 2557 <span jsdisplay="getTypeRef($this)" jstcache="
48" style="display: none; "> |
| 2558 <a jsvalues=".href: getTypeRefPage($this) +
'#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="50"> Type<
/a> |
| 2559 </span> |
| 2560 <span jsdisplay="!getTypeRef($this)" jstcache=
"49"> |
| 2561 <span jsdisplay="isArray($this)" jstcache="5
1" style="display: none; "> |
| 2562 array of <span jsselect="items" jstcache="
53"><span transclude="typeTemplate" jstcache="54"></span></span> |
| 2563 </span> |
| 2564 <span jsdisplay="!isArray($this)" jscontent=
"getTypeName($this)" jstcache="52">integer</span> |
| 2565 </span> |
| 2566 </span> |
| 2567 ) |
| 2568 </div> |
| 2569 |
| 2570 </em> |
| 2571 </dt> |
| 2572 <dd class="todo" jsdisplay="!$this.description" jstcache="
39" style=""> |
| 2573 Undocumented. |
| 2574 </dd> |
| 2575 <dd jsdisplay="$this.description" jsvalues=".innerHTML:$th
is.description" jstcache="40" style="display: none; ">The target window. Default
s to the <a href="windows.html#current-window" jstcache="0">current window</a>.<
/dd> |
| 2576 |
| 2577 <!-- OBJECT PROPERTIES --> |
| 2578 <dd jsdisplay="shouldExpandObject($this)" jstcache="41" st
yle="display: none; "> |
| 2579 <dl jstcache="0"> |
| 2580 <div jsselect="getPropertyListFromObject($this)" jstca
che="10"> |
| 2581 <div transclude="valueTemplate" jstcache="17"> |
| 2582 </div> |
| 2583 </div> |
| 2584 </dl> |
| 2585 </dd> |
| 2586 </div> |
| 2587 </div> |
| 2588 </dl> |
| 2589 </dd> |
| 2590 </div> |
| 2591 </div> |
| 2592 </dl> |
| 2593 |
| 2594 </div> <!-- /decription --> |
| 2595 |
| 2596 </div><div jsselect="events.sort(sortByName)" class="apiItem" jstcac
he="12" jsinstance="1"> |
| 2597 <a jsvalues=".name:'event-' + name" jstcache="19" name="event-onCr
eated"></a> |
| 2598 <h4 jscontent="name" jstcache="16">onCreated</h4> |
| 2599 |
| 2600 <div class="summary" jstcache="0"> |
| 2601 <!-- Note: intentionally longer 80 columns --> |
| 2602 <span jscontent="getModuleName() + '.'" class="subdued" jstcache
="23">chrome.tabs.</span><span jscontent="name" jstcache="16">onCreated</span><s
pan class="subdued" jstcache="0">.addListener</span>(function(<span jscontent="g
etSignatureString(parameters)" jstcache="32">Tab tab</span>) <span class="subdue
d" jstcache="0">{...}</span>); |
| 2603 </div> |
| 2604 |
| 2605 <div class="description" jstcache="0"> |
| 2606 <p class="todo" jsdisplay="!description" jstcache="28" style="di
splay: none; ">Undocumented.</p> |
| 2607 <p jsdisplay="description" jsvalues=".innerHTML:description" jst
cache="29">Fires when a tab is created.</p> |
| 2608 |
| 2609 <!-- PARAMETERS --> |
| 2610 <h4 jstcache="0">Parameters</h4> |
| 2611 <dl jstcache="0"> |
| 2612 <div jsselect="parameters" jstcache="35" jsinstance="*0"> |
| 2613 <div jstcache="0"> |
| 2614 <dt jstcache="0"> |
| 2615 <var jsdisplay="$this.name" jscontent="$this.name" jstca
che="46">tab</var> |
| 2616 <em jstcache="0"> |
| 2617 |
| 2618 <!-- TYPE --> |
| 2619 <div style="display:inline" jstcache="0"> |
| 2620 ( |
| 2621 <span class="optional" jsdisplay="optional" jstc
ache="47" style="display: none; ">optional</span> |
| 2622 <span id="typeTemplate" jstcache="0"> |
| 2623 <span jsdisplay="getTypeRef($this)" jstcache="
48" style=""> |
| 2624 <a jsvalues=".href: getTypeRefPage($this) +
'#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="50" href="
tabs.html#type-Tab">Tab</a> |
| 2625 </span> |
| 2626 <span jsdisplay="!getTypeRef($this)" jstcache=
"49" style="display: none; "> |
| 2627 <span jsdisplay="isArray($this)" jstcache="5
1" style="display: none; "> |
| 2628 array of <span jsselect="items" jstcache="
53"><span transclude="typeTemplate" jstcache="54"></span></span> |
| 2629 </span> |
| 2630 <span jsdisplay="!isArray($this)" jscontent=
"getTypeName($this)" jstcache="52">integer</span> |
| 2631 </span> |
| 2632 </span> |
| 2633 ) |
| 2634 </div> |
| 2635 |
| 2636 </em> |
| 2637 </dt> |
| 2638 <dd class="todo" jsdisplay="!$this.description" jstcache="
39" style="display: none; "> |
| 2639 Undocumented. |
| 2640 </dd> |
| 2641 <dd jsdisplay="$this.description" jsvalues=".innerHTML:$th
is.description" jstcache="40">Details of the tab that was created.</dd> |
| 2642 |
| 2643 <!-- OBJECT PROPERTIES --> |
| 2644 <dd jsdisplay="shouldExpandObject($this)" jstcache="41" st
yle="display: none; "> |
| 2645 <dl jstcache="0"> |
| 2646 <div jsselect="getPropertyListFromObject($this)" jstca
che="10"> |
| 2647 <div transclude="valueTemplate" jstcache="17"> |
| 2648 </div> |
| 2649 </div> |
| 2650 </dl> |
| 2651 </dd> |
| 2652 </div> |
| 2653 </div> |
| 2654 </dl> |
| 2655 |
| 2656 </div> <!-- /decription --> |
| 2657 |
| 2658 </div><div jsselect="events.sort(sortByName)" class="apiItem" jstcac
he="12" jsinstance="2"> |
| 2659 <a jsvalues=".name:'event-' + name" jstcache="19" name="event-onDe
tached"></a> |
| 2660 <h4 jscontent="name" jstcache="16">onDetached</h4> |
| 2661 |
| 2662 <div class="summary" jstcache="0"> |
| 2663 <!-- Note: intentionally longer 80 columns --> |
| 2664 <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>); |
| 2665 </div> |
| 2666 |
| 2667 <div class="description" jstcache="0"> |
| 2668 <p class="todo" jsdisplay="!description" jstcache="28" style="di
splay: none; ">Undocumented.</p> |
| 2669 <p jsdisplay="description" jsvalues=".innerHTML:description" jst
cache="29">Fired when a tab is detached from a window, for example because it is
being moved between windows.</p> |
| 2670 |
| 2671 <!-- PARAMETERS --> |
| 2672 <h4 jstcache="0">Parameters</h4> |
| 2673 <dl jstcache="0"> |
| 2674 <div jsselect="parameters" jstcache="35" jsinstance="0"> |
| 2675 <div jstcache="0"> |
| 2676 <dt jstcache="0"> |
| 2677 <var jsdisplay="$this.name" jscontent="$this.name" jstca
che="46">tabId</var> |
| 2678 <em jstcache="0"> |
| 2679 |
| 2680 <!-- TYPE --> |
| 2681 <div style="display:inline" jstcache="0"> |
| 2682 ( |
| 2683 <span class="optional" jsdisplay="optional" jstc
ache="47" style="display: none; ">optional</span> |
| 2684 <span id="typeTemplate" jstcache="0"> |
| 2685 <span jsdisplay="getTypeRef($this)" jstcache="
48" style="display: none; "> |
| 2686 <a jsvalues=".href: getTypeRefPage($this) +
'#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="50"> Type<
/a> |
| 2687 </span> |
| 2688 <span jsdisplay="!getTypeRef($this)" jstcache=
"49"> |
| 2689 <span jsdisplay="isArray($this)" jstcache="5
1" style="display: none; "> |
| 2690 array of <span jsselect="items" jstcache="
53"><span transclude="typeTemplate" jstcache="54"></span></span> |
| 2691 </span> |
| 2692 <span jsdisplay="!isArray($this)" jscontent=
"getTypeName($this)" jstcache="52">integer</span> |
| 2693 </span> |
| 2694 </span> |
| 2695 ) |
| 2696 </div> |
| 2697 |
| 2698 </em> |
| 2699 </dt> |
| 2700 <dd class="todo" jsdisplay="!$this.description" jstcache="
39" style=""> |
| 2701 Undocumented. |
| 2702 </dd> |
| 2703 <dd jsdisplay="$this.description" jsvalues=".innerHTML:$th
is.description" jstcache="40" style="display: none; ">The target window. Default
s to the <a href="windows.html#current-window" jstcache="0">current window</a>.<
/dd> |
| 2704 |
| 2705 <!-- OBJECT PROPERTIES --> |
| 2706 <dd jsdisplay="shouldExpandObject($this)" jstcache="41" st
yle="display: none; "> |
| 2707 <dl jstcache="0"> |
| 2708 <div jsselect="getPropertyListFromObject($this)" jstca
che="10"> |
| 2709 <div transclude="valueTemplate" jstcache="17"> |
| 2710 </div> |
| 2711 </div> |
| 2712 </dl> |
| 2713 </dd> |
| 2714 </div> |
| 2715 </div><div jsselect="parameters" jstcache="35" jsinstance="*1"
> |
| 2716 <div jstcache="0"> |
| 2717 <dt jstcache="0"> |
| 2718 <var jsdisplay="$this.name" jscontent="$this.name" jstca
che="46">detachInfo</var> |
| 2719 <em jstcache="0"> |
| 2720 |
| 2721 <!-- TYPE --> |
| 2722 <div style="display:inline" jstcache="0"> |
| 2723 ( |
| 2724 <span class="optional" jsdisplay="optional" jstc
ache="47" style="display: none; ">optional</span> |
| 2725 <span id="typeTemplate" jstcache="0"> |
| 2726 <span jsdisplay="getTypeRef($this)" jstcache="
48" style="display: none; "> |
| 2727 <a jsvalues=".href: getTypeRefPage($this) +
'#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="50"> Type<
/a> |
| 2728 </span> |
| 2729 <span jsdisplay="!getTypeRef($this)" jstcache=
"49"> |
| 2730 <span jsdisplay="isArray($this)" jstcache="5
1" style="display: none; "> |
| 2731 array of <span jsselect="items" jstcache="
53"><span transclude="typeTemplate" jstcache="54"></span></span> |
| 2732 </span> |
| 2733 <span jsdisplay="!isArray($this)" jscontent=
"getTypeName($this)" jstcache="52">object</span> |
| 2734 </span> |
| 2735 </span> |
| 2736 ) |
| 2737 </div> |
| 2738 |
| 2739 </em> |
| 2740 </dt> |
| 2741 <dd class="todo" jsdisplay="!$this.description" jstcache="
39" style=""> |
| 2742 Undocumented. |
| 2743 </dd> |
| 2744 <dd jsdisplay="$this.description" jsvalues=".innerHTML:$th
is.description" jstcache="40" style="display: none; ">The target window. Default
s to the <a href="windows.html#current-window" jstcache="0">current window</a>.<
/dd> |
| 2745 |
| 2746 <!-- OBJECT PROPERTIES --> |
| 2747 <dd jsdisplay="shouldExpandObject($this)" jstcache="41" st
yle=""> |
| 2748 <dl jstcache="0"> |
| 2749 <div jsselect="getPropertyListFromObject($this)" jstca
che="10" jsinstance="0"> |
| 2750 <div jstcache="0"> |
| 2751 <dt jstcache="0"> |
| 2752 <var jsdisplay="$this.name" jscontent="$this.name" jstca
che="46">oldWindowId</var> |
| 2753 <em jstcache="0"> |
| 2754 |
| 2755 <!-- TYPE --> |
| 2756 <div style="display:inline" jstcache="0"> |
| 2757 ( |
| 2758 <span class="optional" jsdisplay="optional" jstc
ache="47" style="display: none; ">optional</span> |
| 2759 <span id="typeTemplate" jstcache="0"> |
| 2760 <span jsdisplay="getTypeRef($this)" jstcache="
48" style="display: none; "> |
| 2761 <a jsvalues=".href: getTypeRefPage($this) +
'#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="50"> Type<
/a> |
| 2762 </span> |
| 2763 <span jsdisplay="!getTypeRef($this)" jstcache=
"49"> |
| 2764 <span jsdisplay="isArray($this)" jstcache="5
1" style="display: none; "> |
| 2765 array of <span jsselect="items" jstcache="
53"><span transclude="typeTemplate" jstcache="54"></span></span> |
| 2766 </span> |
| 2767 <span jsdisplay="!isArray($this)" jscontent=
"getTypeName($this)" jstcache="52">integer</span> |
| 2768 </span> |
| 2769 </span> |
| 2770 ) |
| 2771 </div> |
| 2772 |
| 2773 </em> |
| 2774 </dt> |
| 2775 <dd class="todo" jsdisplay="!$this.description" jstcache="
39" style=""> |
| 2776 Undocumented. |
| 2777 </dd> |
| 2778 <dd jsdisplay="$this.description" jsvalues=".innerHTML:$th
is.description" jstcache="40" style="display: none; ">The target window. Default
s to the <a href="windows.html#current-window" jstcache="0">current window</a>.<
/dd> |
| 2779 |
| 2780 <!-- OBJECT PROPERTIES --> |
| 2781 <dd jsdisplay="shouldExpandObject($this)" jstcache="41" st
yle="display: none; "> |
| 2782 <dl jstcache="0"> |
| 2783 <div jsselect="getPropertyListFromObject($this)" jstca
che="10"> |
| 2784 <div transclude="valueTemplate" jstcache="17"> |
| 2785 </div> |
| 2786 </div> |
| 2787 </dl> |
| 2788 </dd> |
| 2789 </div> |
| 2790 </div><div jsselect="getPropertyListFromObject($this)"
jstcache="10" jsinstance="*1"> |
| 2791 <div jstcache="0"> |
| 2792 <dt jstcache="0"> |
| 2793 <var jsdisplay="$this.name" jscontent="$this.name" jstca
che="46">oldPosition</var> |
| 2794 <em jstcache="0"> |
| 2795 |
| 2796 <!-- TYPE --> |
| 2797 <div style="display:inline" jstcache="0"> |
| 2798 ( |
| 2799 <span class="optional" jsdisplay="optional" jstc
ache="47" style="display: none; ">optional</span> |
| 2800 <span id="typeTemplate" jstcache="0"> |
| 2801 <span jsdisplay="getTypeRef($this)" jstcache="
48" style="display: none; "> |
| 2802 <a jsvalues=".href: getTypeRefPage($this) +
'#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="50"> Type<
/a> |
| 2803 </span> |
| 2804 <span jsdisplay="!getTypeRef($this)" jstcache=
"49"> |
| 2805 <span jsdisplay="isArray($this)" jstcache="5
1" style="display: none; "> |
| 2806 array of <span jsselect="items" jstcache="
53"><span transclude="typeTemplate" jstcache="54"></span></span> |
| 2807 </span> |
| 2808 <span jsdisplay="!isArray($this)" jscontent=
"getTypeName($this)" jstcache="52">integer</span> |
| 2809 </span> |
| 2810 </span> |
| 2811 ) |
| 2812 </div> |
| 2813 |
| 2814 </em> |
| 2815 </dt> |
| 2816 <dd class="todo" jsdisplay="!$this.description" jstcache="
39" style=""> |
| 2817 Undocumented. |
| 2818 </dd> |
| 2819 <dd jsdisplay="$this.description" jsvalues=".innerHTML:$th
is.description" jstcache="40" style="display: none; ">The target window. Default
s to the <a href="windows.html#current-window" jstcache="0">current window</a>.<
/dd> |
| 2820 |
| 2821 <!-- OBJECT PROPERTIES --> |
| 2822 <dd jsdisplay="shouldExpandObject($this)" jstcache="41" st
yle="display: none; "> |
| 2823 <dl jstcache="0"> |
| 2824 <div jsselect="getPropertyListFromObject($this)" jstca
che="10"> |
| 2825 <div transclude="valueTemplate" jstcache="17"> |
| 2826 </div> |
| 2827 </div> |
| 2828 </dl> |
| 2829 </dd> |
| 2830 </div> |
| 2831 </div> |
| 2832 </dl> |
| 2833 </dd> |
| 2834 </div> |
| 2835 </div> |
| 2836 </dl> |
| 2837 |
| 2838 </div> <!-- /decription --> |
| 2839 |
| 2840 </div><div jsselect="events.sort(sortByName)" class="apiItem" jstcac
he="12" jsinstance="3"> |
| 2841 <a jsvalues=".name:'event-' + name" jstcache="19" name="event-onMo
ved"></a> |
| 2842 <h4 jscontent="name" jstcache="16">onMoved</h4> |
| 2843 |
| 2844 <div class="summary" jstcache="0"> |
| 2845 <!-- Note: intentionally longer 80 columns --> |
| 2846 <span jscontent="getModuleName() + '.'" class="subdued" jstcache
="23">chrome.tabs.</span><span jscontent="name" jstcache="16">onMoved</span><spa
n class="subdued" jstcache="0">.addListener</span>(function(<span jscontent="get
SignatureString(parameters)" jstcache="32">integer tabId, object moveInfo</span>
) <span class="subdued" jstcache="0">{...}</span>); |
| 2847 </div> |
| 2848 |
| 2849 <div class="description" jstcache="0"> |
| 2850 <p class="todo" jsdisplay="!description" jstcache="28" style="di
splay: none; ">Undocumented.</p> |
| 2851 <p jsdisplay="description" jsvalues=".innerHTML:description" jst
cache="29">Fires when a tab is moved within a window. Only one move event is fir
ed, 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">o
nDetached</a>.</p> |
| 2852 |
| 2853 <!-- PARAMETERS --> |
| 2854 <h4 jstcache="0">Parameters</h4> |
| 2855 <dl jstcache="0"> |
| 2856 <div jsselect="parameters" jstcache="35" jsinstance="0"> |
| 2857 <div jstcache="0"> |
| 2858 <dt jstcache="0"> |
| 2859 <var jsdisplay="$this.name" jscontent="$this.name" jstca
che="46">tabId</var> |
| 2860 <em jstcache="0"> |
| 2861 |
| 2862 <!-- TYPE --> |
| 2863 <div style="display:inline" jstcache="0"> |
| 2864 ( |
| 2865 <span class="optional" jsdisplay="optional" jstc
ache="47" style="display: none; ">optional</span> |
| 2866 <span id="typeTemplate" jstcache="0"> |
| 2867 <span jsdisplay="getTypeRef($this)" jstcache="
48" style="display: none; "> |
| 2868 <a jsvalues=".href: getTypeRefPage($this) +
'#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="50"> Type<
/a> |
| 2869 </span> |
| 2870 <span jsdisplay="!getTypeRef($this)" jstcache=
"49"> |
| 2871 <span jsdisplay="isArray($this)" jstcache="5
1" style="display: none; "> |
| 2872 array of <span jsselect="items" jstcache="
53"><span transclude="typeTemplate" jstcache="54"></span></span> |
| 2873 </span> |
| 2874 <span jsdisplay="!isArray($this)" jscontent=
"getTypeName($this)" jstcache="52">integer</span> |
| 2875 </span> |
| 2876 </span> |
| 2877 ) |
| 2878 </div> |
| 2879 |
| 2880 </em> |
| 2881 </dt> |
| 2882 <dd class="todo" jsdisplay="!$this.description" jstcache="
39" style=""> |
| 2883 Undocumented. |
| 2884 </dd> |
| 2885 <dd jsdisplay="$this.description" jsvalues=".innerHTML:$th
is.description" jstcache="40" style="display: none; ">The target window. Default
s to the <a href="windows.html#current-window" jstcache="0">current window</a>.<
/dd> |
| 2886 |
| 2887 <!-- OBJECT PROPERTIES --> |
| 2888 <dd jsdisplay="shouldExpandObject($this)" jstcache="41" st
yle="display: none; "> |
| 2889 <dl jstcache="0"> |
| 2890 <div jsselect="getPropertyListFromObject($this)" jstca
che="10"> |
| 2891 <div transclude="valueTemplate" jstcache="17"> |
| 2892 </div> |
| 2893 </div> |
| 2894 </dl> |
| 2895 </dd> |
| 2896 </div> |
| 2897 </div><div jsselect="parameters" jstcache="35" jsinstance="*1"
> |
| 2898 <div jstcache="0"> |
| 2899 <dt jstcache="0"> |
| 2900 <var jsdisplay="$this.name" jscontent="$this.name" jstca
che="46">moveInfo</var> |
| 2901 <em jstcache="0"> |
| 2902 |
| 2903 <!-- TYPE --> |
| 2904 <div style="display:inline" jstcache="0"> |
| 2905 ( |
| 2906 <span class="optional" jsdisplay="optional" jstc
ache="47" style="display: none; ">optional</span> |
| 2907 <span id="typeTemplate" jstcache="0"> |
| 2908 <span jsdisplay="getTypeRef($this)" jstcache="
48" style="display: none; "> |
| 2909 <a jsvalues=".href: getTypeRefPage($this) +
'#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="50"> Type<
/a> |
| 2910 </span> |
| 2911 <span jsdisplay="!getTypeRef($this)" jstcache=
"49"> |
| 2912 <span jsdisplay="isArray($this)" jstcache="5
1" style="display: none; "> |
| 2913 array of <span jsselect="items" jstcache="
53"><span transclude="typeTemplate" jstcache="54"></span></span> |
| 2914 </span> |
| 2915 <span jsdisplay="!isArray($this)" jscontent=
"getTypeName($this)" jstcache="52">object</span> |
| 2916 </span> |
| 2917 </span> |
| 2918 ) |
| 2919 </div> |
| 2920 |
| 2921 </em> |
| 2922 </dt> |
| 2923 <dd class="todo" jsdisplay="!$this.description" jstcache="
39" style=""> |
| 2924 Undocumented. |
| 2925 </dd> |
| 2926 <dd jsdisplay="$this.description" jsvalues=".innerHTML:$th
is.description" jstcache="40" style="display: none; ">The target window. Default
s to the <a href="windows.html#current-window" jstcache="0">current window</a>.<
/dd> |
| 2927 |
| 2928 <!-- OBJECT PROPERTIES --> |
| 2929 <dd jsdisplay="shouldExpandObject($this)" jstcache="41" st
yle=""> |
| 2930 <dl jstcache="0"> |
| 2931 <div jsselect="getPropertyListFromObject($this)" jstca
che="10" jsinstance="0"> |
| 2932 <div jstcache="0"> |
| 2933 <dt jstcache="0"> |
| 2934 <var jsdisplay="$this.name" jscontent="$this.name" jstca
che="46">windowId</var> |
| 2935 <em jstcache="0"> |
| 2936 |
| 2937 <!-- TYPE --> |
| 2938 <div style="display:inline" jstcache="0"> |
| 2939 ( |
| 2940 <span class="optional" jsdisplay="optional" jstc
ache="47" style="display: none; ">optional</span> |
| 2941 <span id="typeTemplate" jstcache="0"> |
| 2942 <span jsdisplay="getTypeRef($this)" jstcache="
48" style="display: none; "> |
| 2943 <a jsvalues=".href: getTypeRefPage($this) +
'#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="50"> Type<
/a> |
| 2944 </span> |
| 2945 <span jsdisplay="!getTypeRef($this)" jstcache=
"49"> |
| 2946 <span jsdisplay="isArray($this)" jstcache="5
1" style="display: none; "> |
| 2947 array of <span jsselect="items" jstcache="
53"><span transclude="typeTemplate" jstcache="54"></span></span> |
| 2948 </span> |
| 2949 <span jsdisplay="!isArray($this)" jscontent=
"getTypeName($this)" jstcache="52">integer</span> |
| 2950 </span> |
| 2951 </span> |
| 2952 ) |
| 2953 </div> |
| 2954 |
| 2955 </em> |
| 2956 </dt> |
| 2957 <dd class="todo" jsdisplay="!$this.description" jstcache="
39" style=""> |
| 2958 Undocumented. |
| 2959 </dd> |
| 2960 <dd jsdisplay="$this.description" jsvalues=".innerHTML:$th
is.description" jstcache="40" style="display: none; ">The target window. Default
s to the <a href="windows.html#current-window" jstcache="0">current window</a>.<
/dd> |
| 2961 |
| 2962 <!-- OBJECT PROPERTIES --> |
| 2963 <dd jsdisplay="shouldExpandObject($this)" jstcache="41" st
yle="display: none; "> |
| 2964 <dl jstcache="0"> |
| 2965 <div jsselect="getPropertyListFromObject($this)" jstca
che="10"> |
| 2966 <div transclude="valueTemplate" jstcache="17"> |
| 2967 </div> |
| 2968 </div> |
| 2969 </dl> |
| 2970 </dd> |
| 2971 </div> |
| 2972 </div><div jsselect="getPropertyListFromObject($this)"
jstcache="10" jsinstance="1"> |
| 2973 <div jstcache="0"> |
| 2974 <dt jstcache="0"> |
| 2975 <var jsdisplay="$this.name" jscontent="$this.name" jstca
che="46">fromIndex</var> |
| 2976 <em jstcache="0"> |
| 2977 |
| 2978 <!-- TYPE --> |
| 2979 <div style="display:inline" jstcache="0"> |
| 2980 ( |
| 2981 <span class="optional" jsdisplay="optional" jstc
ache="47" style="display: none; ">optional</span> |
| 2982 <span id="typeTemplate" jstcache="0"> |
| 2983 <span jsdisplay="getTypeRef($this)" jstcache="
48" style="display: none; "> |
| 2984 <a jsvalues=".href: getTypeRefPage($this) +
'#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="50"> Type<
/a> |
| 2985 </span> |
| 2986 <span jsdisplay="!getTypeRef($this)" jstcache=
"49"> |
| 2987 <span jsdisplay="isArray($this)" jstcache="5
1" style="display: none; "> |
| 2988 array of <span jsselect="items" jstcache="
53"><span transclude="typeTemplate" jstcache="54"></span></span> |
| 2989 </span> |
| 2990 <span jsdisplay="!isArray($this)" jscontent=
"getTypeName($this)" jstcache="52">integer</span> |
| 2991 </span> |
| 2992 </span> |
| 2993 ) |
| 2994 </div> |
| 2995 |
| 2996 </em> |
| 2997 </dt> |
| 2998 <dd class="todo" jsdisplay="!$this.description" jstcache="
39" style=""> |
| 2999 Undocumented. |
| 3000 </dd> |
| 3001 <dd jsdisplay="$this.description" jsvalues=".innerHTML:$th
is.description" jstcache="40" style="display: none; ">The target window. Default
s to the <a href="windows.html#current-window" jstcache="0">current window</a>.<
/dd> |
| 3002 |
| 3003 <!-- OBJECT PROPERTIES --> |
| 3004 <dd jsdisplay="shouldExpandObject($this)" jstcache="41" st
yle="display: none; "> |
| 3005 <dl jstcache="0"> |
| 3006 <div jsselect="getPropertyListFromObject($this)" jstca
che="10"> |
| 3007 <div transclude="valueTemplate" jstcache="17"> |
| 3008 </div> |
| 3009 </div> |
| 3010 </dl> |
| 3011 </dd> |
| 3012 </div> |
| 3013 </div><div jsselect="getPropertyListFromObject($this)"
jstcache="10" jsinstance="*2"> |
| 3014 <div jstcache="0"> |
| 3015 <dt jstcache="0"> |
| 3016 <var jsdisplay="$this.name" jscontent="$this.name" jstca
che="46">toIndex</var> |
| 3017 <em jstcache="0"> |
| 3018 |
| 3019 <!-- TYPE --> |
| 3020 <div style="display:inline" jstcache="0"> |
| 3021 ( |
| 3022 <span class="optional" jsdisplay="optional" jstc
ache="47" style="display: none; ">optional</span> |
| 3023 <span id="typeTemplate" jstcache="0"> |
| 3024 <span jsdisplay="getTypeRef($this)" jstcache="
48" style="display: none; "> |
| 3025 <a jsvalues=".href: getTypeRefPage($this) +
'#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="50"> Type<
/a> |
| 3026 </span> |
| 3027 <span jsdisplay="!getTypeRef($this)" jstcache=
"49"> |
| 3028 <span jsdisplay="isArray($this)" jstcache="5
1" style="display: none; "> |
| 3029 array of <span jsselect="items" jstcache="
53"><span transclude="typeTemplate" jstcache="54"></span></span> |
| 3030 </span> |
| 3031 <span jsdisplay="!isArray($this)" jscontent=
"getTypeName($this)" jstcache="52">integer</span> |
| 3032 </span> |
| 3033 </span> |
| 3034 ) |
| 3035 </div> |
| 3036 |
| 3037 </em> |
| 3038 </dt> |
| 3039 <dd class="todo" jsdisplay="!$this.description" jstcache="
39" style=""> |
| 3040 Undocumented. |
| 3041 </dd> |
| 3042 <dd jsdisplay="$this.description" jsvalues=".innerHTML:$th
is.description" jstcache="40" style="display: none; ">The target window. Default
s to the <a href="windows.html#current-window" jstcache="0">current window</a>.<
/dd> |
| 3043 |
| 3044 <!-- OBJECT PROPERTIES --> |
| 3045 <dd jsdisplay="shouldExpandObject($this)" jstcache="41" st
yle="display: none; "> |
| 3046 <dl jstcache="0"> |
| 3047 <div jsselect="getPropertyListFromObject($this)" jstca
che="10"> |
| 3048 <div transclude="valueTemplate" jstcache="17"> |
| 3049 </div> |
| 3050 </div> |
| 3051 </dl> |
| 3052 </dd> |
| 3053 </div> |
| 3054 </div> |
| 3055 </dl> |
| 3056 </dd> |
| 3057 </div> |
| 3058 </div> |
| 3059 </dl> |
| 3060 |
| 3061 </div> <!-- /decription --> |
| 3062 |
| 3063 </div><div jsselect="events.sort(sortByName)" class="apiItem" jstcac
he="12" jsinstance="4"> |
| 3064 <a jsvalues=".name:'event-' + name" jstcache="19" name="event-onRe
moved"></a> |
| 3065 <h4 jscontent="name" jstcache="16">onRemoved</h4> |
| 3066 |
| 3067 <div class="summary" jstcache="0"> |
| 3068 <!-- Note: intentionally longer 80 columns --> |
| 3069 <span jscontent="getModuleName() + '.'" class="subdued" jstcache
="23">chrome.tabs.</span><span jscontent="name" jstcache="16">onRemoved</span><s
pan class="subdued" jstcache="0">.addListener</span>(function(<span jscontent="g
etSignatureString(parameters)" jstcache="32">integer tabId</span>) <span class="
subdued" jstcache="0">{...}</span>); |
| 3070 </div> |
| 3071 |
| 3072 <div class="description" jstcache="0"> |
| 3073 <p class="todo" jsdisplay="!description" jstcache="28" style="di
splay: none; ">Undocumented.</p> |
| 3074 <p jsdisplay="description" jsvalues=".innerHTML:description" jst
cache="29">Fires when a tab is closed.</p> |
| 3075 |
| 3076 <!-- PARAMETERS --> |
| 3077 <h4 jstcache="0">Parameters</h4> |
| 3078 <dl jstcache="0"> |
| 3079 <div jsselect="parameters" jstcache="35" jsinstance="*0"> |
| 3080 <div jstcache="0"> |
| 3081 <dt jstcache="0"> |
| 3082 <var jsdisplay="$this.name" jscontent="$this.name" jstca
che="46">tabId</var> |
| 3083 <em jstcache="0"> |
| 3084 |
| 3085 <!-- TYPE --> |
| 3086 <div style="display:inline" jstcache="0"> |
| 3087 ( |
| 3088 <span class="optional" jsdisplay="optional" jstc
ache="47" style="display: none; ">optional</span> |
| 3089 <span id="typeTemplate" jstcache="0"> |
| 3090 <span jsdisplay="getTypeRef($this)" jstcache="
48" style="display: none; "> |
| 3091 <a jsvalues=".href: getTypeRefPage($this) +
'#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="50"> Type<
/a> |
| 3092 </span> |
| 3093 <span jsdisplay="!getTypeRef($this)" jstcache=
"49"> |
| 3094 <span jsdisplay="isArray($this)" jstcache="5
1" style="display: none; "> |
| 3095 array of <span jsselect="items" jstcache="
53"><span transclude="typeTemplate" jstcache="54"></span></span> |
| 3096 </span> |
| 3097 <span jsdisplay="!isArray($this)" jscontent=
"getTypeName($this)" jstcache="52">integer</span> |
| 3098 </span> |
| 3099 </span> |
| 3100 ) |
| 3101 </div> |
| 3102 |
| 3103 </em> |
| 3104 </dt> |
| 3105 <dd class="todo" jsdisplay="!$this.description" jstcache="
39" style=""> |
| 3106 Undocumented. |
| 3107 </dd> |
| 3108 <dd jsdisplay="$this.description" jsvalues=".innerHTML:$th
is.description" jstcache="40" style="display: none; ">The target window. Default
s to the <a href="windows.html#current-window" jstcache="0">current window</a>.<
/dd> |
| 3109 |
| 3110 <!-- OBJECT PROPERTIES --> |
| 3111 <dd jsdisplay="shouldExpandObject($this)" jstcache="41" st
yle="display: none; "> |
| 3112 <dl jstcache="0"> |
| 3113 <div jsselect="getPropertyListFromObject($this)" jstca
che="10"> |
| 3114 <div transclude="valueTemplate" jstcache="17"> |
| 3115 </div> |
| 3116 </div> |
| 3117 </dl> |
| 3118 </dd> |
| 3119 </div> |
| 3120 </div> |
| 3121 </dl> |
| 3122 |
| 3123 </div> <!-- /decription --> |
| 3124 |
| 3125 </div><div jsselect="events.sort(sortByName)" class="apiItem" jstcac
he="12" jsinstance="5"> |
| 3126 <a jsvalues=".name:'event-' + name" jstcache="19" name="event-onSe
lectionChanged"></a> |
| 3127 <h4 jscontent="name" jstcache="16">onSelectionChanged</h4> |
| 3128 |
| 3129 <div class="summary" jstcache="0"> |
| 3130 <!-- Note: intentionally longer 80 columns --> |
| 3131 <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 jsc
ontent="getSignatureString(parameters)" jstcache="32">integer tabId, object sele
ctInfo</span>) <span class="subdued" jstcache="0">{...}</span>); |
| 3132 </div> |
| 3133 |
| 3134 <div class="description" jstcache="0"> |
| 3135 <p class="todo" jsdisplay="!description" jstcache="28" style="di
splay: none; ">Undocumented.</p> |
| 3136 <p jsdisplay="description" jsvalues=".innerHTML:description" jst
cache="29">Fires when the selected tab in a window changes.</p> |
| 3137 |
| 3138 <!-- PARAMETERS --> |
| 3139 <h4 jstcache="0">Parameters</h4> |
| 3140 <dl jstcache="0"> |
| 3141 <div jsselect="parameters" jstcache="35" jsinstance="0"> |
| 3142 <div jstcache="0"> |
| 3143 <dt jstcache="0"> |
| 3144 <var jsdisplay="$this.name" jscontent="$this.name" jstca
che="46">tabId</var> |
| 3145 <em jstcache="0"> |
| 3146 |
| 3147 <!-- TYPE --> |
| 3148 <div style="display:inline" jstcache="0"> |
| 3149 ( |
| 3150 <span class="optional" jsdisplay="optional" jstc
ache="47" style="display: none; ">optional</span> |
| 3151 <span id="typeTemplate" jstcache="0"> |
| 3152 <span jsdisplay="getTypeRef($this)" jstcache="
48" style="display: none; "> |
| 3153 <a jsvalues=".href: getTypeRefPage($this) +
'#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="50"> Type<
/a> |
| 3154 </span> |
| 3155 <span jsdisplay="!getTypeRef($this)" jstcache=
"49"> |
| 3156 <span jsdisplay="isArray($this)" jstcache="5
1" style="display: none; "> |
| 3157 array of <span jsselect="items" jstcache="
53"><span transclude="typeTemplate" jstcache="54"></span></span> |
| 3158 </span> |
| 3159 <span jsdisplay="!isArray($this)" jscontent=
"getTypeName($this)" jstcache="52">integer</span> |
| 3160 </span> |
| 3161 </span> |
| 3162 ) |
| 3163 </div> |
| 3164 |
| 3165 </em> |
| 3166 </dt> |
| 3167 <dd class="todo" jsdisplay="!$this.description" jstcache="
39" style="display: none; "> |
| 3168 Undocumented. |
| 3169 </dd> |
| 3170 <dd jsdisplay="$this.description" jsvalues=".innerHTML:$th
is.description" jstcache="40">The ID of the tab that has become selected.</dd> |
| 3171 |
| 3172 <!-- OBJECT PROPERTIES --> |
| 3173 <dd jsdisplay="shouldExpandObject($this)" jstcache="41" st
yle="display: none; "> |
| 3174 <dl jstcache="0"> |
| 3175 <div jsselect="getPropertyListFromObject($this)" jstca
che="10"> |
| 3176 <div transclude="valueTemplate" jstcache="17"> |
| 3177 </div> |
| 3178 </div> |
| 3179 </dl> |
| 3180 </dd> |
| 3181 </div> |
| 3182 </div><div jsselect="parameters" jstcache="35" jsinstance="*1"
> |
| 3183 <div jstcache="0"> |
| 3184 <dt jstcache="0"> |
| 3185 <var jsdisplay="$this.name" jscontent="$this.name" jstca
che="46">selectInfo</var> |
| 3186 <em jstcache="0"> |
| 3187 |
| 3188 <!-- TYPE --> |
| 3189 <div style="display:inline" jstcache="0"> |
| 3190 ( |
| 3191 <span class="optional" jsdisplay="optional" jstc
ache="47" style="display: none; ">optional</span> |
| 3192 <span id="typeTemplate" jstcache="0"> |
| 3193 <span jsdisplay="getTypeRef($this)" jstcache="
48" style="display: none; "> |
| 3194 <a jsvalues=".href: getTypeRefPage($this) +
'#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="50"> Type<
/a> |
| 3195 </span> |
| 3196 <span jsdisplay="!getTypeRef($this)" jstcache=
"49"> |
| 3197 <span jsdisplay="isArray($this)" jstcache="5
1" style="display: none; "> |
| 3198 array of <span jsselect="items" jstcache="
53"><span transclude="typeTemplate" jstcache="54"></span></span> |
| 3199 </span> |
| 3200 <span jsdisplay="!isArray($this)" jscontent=
"getTypeName($this)" jstcache="52">object</span> |
| 3201 </span> |
| 3202 </span> |
| 3203 ) |
| 3204 </div> |
| 3205 |
| 3206 </em> |
| 3207 </dt> |
| 3208 <dd class="todo" jsdisplay="!$this.description" jstcache="
39" style=""> |
| 3209 Undocumented. |
| 3210 </dd> |
| 3211 <dd jsdisplay="$this.description" jsvalues=".innerHTML:$th
is.description" jstcache="40" style="display: none; ">The target window. Default
s to the <a href="windows.html#current-window" jstcache="0">current window</a>.<
/dd> |
| 3212 |
| 3213 <!-- OBJECT PROPERTIES --> |
| 3214 <dd jsdisplay="shouldExpandObject($this)" jstcache="41" st
yle=""> |
| 3215 <dl jstcache="0"> |
| 3216 <div jsselect="getPropertyListFromObject($this)" jstca
che="10" jsinstance="*0"> |
| 3217 <div jstcache="0"> |
| 3218 <dt jstcache="0"> |
| 3219 <var jsdisplay="$this.name" jscontent="$this.name" jstca
che="46">windowId</var> |
| 3220 <em jstcache="0"> |
| 3221 |
| 3222 <!-- TYPE --> |
| 3223 <div style="display:inline" jstcache="0"> |
| 3224 ( |
| 3225 <span class="optional" jsdisplay="optional" jstc
ache="47" style="display: none; ">optional</span> |
| 3226 <span id="typeTemplate" jstcache="0"> |
| 3227 <span jsdisplay="getTypeRef($this)" jstcache="
48" style="display: none; "> |
| 3228 <a jsvalues=".href: getTypeRefPage($this) +
'#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="50"> Type<
/a> |
| 3229 </span> |
| 3230 <span jsdisplay="!getTypeRef($this)" jstcache=
"49"> |
| 3231 <span jsdisplay="isArray($this)" jstcache="5
1" style="display: none; "> |
| 3232 array of <span jsselect="items" jstcache="
53"><span transclude="typeTemplate" jstcache="54"></span></span> |
| 3233 </span> |
| 3234 <span jsdisplay="!isArray($this)" jscontent=
"getTypeName($this)" jstcache="52">integer</span> |
| 3235 </span> |
| 3236 </span> |
| 3237 ) |
| 3238 </div> |
| 3239 |
| 3240 </em> |
| 3241 </dt> |
| 3242 <dd class="todo" jsdisplay="!$this.description" jstcache="
39" style="display: none; "> |
| 3243 Undocumented. |
| 3244 </dd> |
| 3245 <dd jsdisplay="$this.description" jsvalues=".innerHTML:$th
is.description" jstcache="40">The ID of the window the selected tab changed insi
de of.</dd> |
| 3246 |
| 3247 <!-- OBJECT PROPERTIES --> |
| 3248 <dd jsdisplay="shouldExpandObject($this)" jstcache="41" st
yle="display: none; "> |
| 3249 <dl jstcache="0"> |
| 3250 <div jsselect="getPropertyListFromObject($this)" jstca
che="10"> |
| 3251 <div transclude="valueTemplate" jstcache="17"> |
| 3252 </div> |
| 3253 </div> |
| 3254 </dl> |
| 3255 </dd> |
| 3256 </div> |
| 3257 </div> |
| 3258 </dl> |
| 3259 </dd> |
| 3260 </div> |
| 3261 </div> |
| 3262 </dl> |
| 3263 |
| 3264 </div> <!-- /decription --> |
| 3265 |
| 3266 </div><div jsselect="events.sort(sortByName)" class="apiItem" jstcac
he="12" jsinstance="*6"> |
| 3267 <a jsvalues=".name:'event-' + name" jstcache="19" name="event-onUp
dated"></a> |
| 3268 <h4 jscontent="name" jstcache="16">onUpdated</h4> |
| 3269 |
| 3270 <div class="summary" jstcache="0"> |
| 3271 <!-- Note: intentionally longer 80 columns --> |
| 3272 <span jscontent="getModuleName() + '.'" class="subdued" jstcache
="23">chrome.tabs.</span><span jscontent="name" jstcache="16">onUpdated</span><s
pan class="subdued" jstcache="0">.addListener</span>(function(<span jscontent="g
etSignatureString(parameters)" jstcache="32">integer tabId, object changeInfo</s
pan>) <span class="subdued" jstcache="0">{...}</span>); |
| 3273 </div> |
| 3274 |
| 3275 <div class="description" jstcache="0"> |
| 3276 <p class="todo" jsdisplay="!description" jstcache="28" style="di
splay: none; ">Undocumented.</p> |
| 3277 <p jsdisplay="description" jsvalues=".innerHTML:description" jst
cache="29">Fires when a tab is updated.</p> |
| 3278 |
| 3279 <!-- PARAMETERS --> |
| 3280 <h4 jstcache="0">Parameters</h4> |
| 3281 <dl jstcache="0"> |
| 3282 <div jsselect="parameters" jstcache="35" jsinstance="0"> |
| 3283 <div jstcache="0"> |
| 3284 <dt jstcache="0"> |
| 3285 <var jsdisplay="$this.name" jscontent="$this.name" jstca
che="46">tabId</var> |
| 3286 <em jstcache="0"> |
| 3287 |
| 3288 <!-- TYPE --> |
| 3289 <div style="display:inline" jstcache="0"> |
| 3290 ( |
| 3291 <span class="optional" jsdisplay="optional" jstc
ache="47" style="display: none; ">optional</span> |
| 3292 <span id="typeTemplate" jstcache="0"> |
| 3293 <span jsdisplay="getTypeRef($this)" jstcache="
48" style="display: none; "> |
| 3294 <a jsvalues=".href: getTypeRefPage($this) +
'#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="50"> Type<
/a> |
| 3295 </span> |
| 3296 <span jsdisplay="!getTypeRef($this)" jstcache=
"49"> |
| 3297 <span jsdisplay="isArray($this)" jstcache="5
1" style="display: none; "> |
| 3298 array of <span jsselect="items" jstcache="
53"><span transclude="typeTemplate" jstcache="54"></span></span> |
| 3299 </span> |
| 3300 <span jsdisplay="!isArray($this)" jscontent=
"getTypeName($this)" jstcache="52">integer</span> |
| 3301 </span> |
| 3302 </span> |
| 3303 ) |
| 3304 </div> |
| 3305 |
| 3306 </em> |
| 3307 </dt> |
| 3308 <dd class="todo" jsdisplay="!$this.description" jstcache="
39" style=""> |
| 3309 Undocumented. |
| 3310 </dd> |
| 3311 <dd jsdisplay="$this.description" jsvalues=".innerHTML:$th
is.description" jstcache="40" style="display: none; ">The target window. Default
s to the <a href="windows.html#current-window" jstcache="0">current window</a>.<
/dd> |
| 3312 |
| 3313 <!-- OBJECT PROPERTIES --> |
| 3314 <dd jsdisplay="shouldExpandObject($this)" jstcache="41" st
yle="display: none; "> |
| 3315 <dl jstcache="0"> |
| 3316 <div jsselect="getPropertyListFromObject($this)" jstca
che="10"> |
| 3317 <div transclude="valueTemplate" jstcache="17"> |
| 3318 </div> |
| 3319 </div> |
| 3320 </dl> |
| 3321 </dd> |
| 3322 </div> |
| 3323 </div><div jsselect="parameters" jstcache="35" jsinstance="*1"
> |
| 3324 <div jstcache="0"> |
| 3325 <dt jstcache="0"> |
| 3326 <var jsdisplay="$this.name" jscontent="$this.name" jstca
che="46">changeInfo</var> |
| 3327 <em jstcache="0"> |
| 3328 |
| 3329 <!-- TYPE --> |
| 3330 <div style="display:inline" jstcache="0"> |
| 3331 ( |
| 3332 <span class="optional" jsdisplay="optional" jstc
ache="47" style="display: none; ">optional</span> |
| 3333 <span id="typeTemplate" jstcache="0"> |
| 3334 <span jsdisplay="getTypeRef($this)" jstcache="
48" style="display: none; "> |
| 3335 <a jsvalues=".href: getTypeRefPage($this) +
'#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="50"> Type<
/a> |
| 3336 </span> |
| 3337 <span jsdisplay="!getTypeRef($this)" jstcache=
"49"> |
| 3338 <span jsdisplay="isArray($this)" jstcache="5
1" style="display: none; "> |
| 3339 array of <span jsselect="items" jstcache="
53"><span transclude="typeTemplate" jstcache="54"></span></span> |
| 3340 </span> |
| 3341 <span jsdisplay="!isArray($this)" jscontent=
"getTypeName($this)" jstcache="52">object</span> |
| 3342 </span> |
| 3343 </span> |
| 3344 ) |
| 3345 </div> |
| 3346 |
| 3347 </em> |
| 3348 </dt> |
| 3349 <dd class="todo" jsdisplay="!$this.description" jstcache="
39" style=""> |
| 3350 Undocumented. |
| 3351 </dd> |
| 3352 <dd jsdisplay="$this.description" jsvalues=".innerHTML:$th
is.description" jstcache="40" style="display: none; ">The target window. Default
s to the <a href="windows.html#current-window" jstcache="0">current window</a>.<
/dd> |
| 3353 |
| 3354 <!-- OBJECT PROPERTIES --> |
| 3355 <dd jsdisplay="shouldExpandObject($this)" jstcache="41" st
yle=""> |
| 3356 <dl jstcache="0"> |
| 3357 <div jsselect="getPropertyListFromObject($this)" jstca
che="10" jsinstance="0"> |
| 3358 <div jstcache="0"> |
| 3359 <dt jstcache="0"> |
| 3360 <var jsdisplay="$this.name" jscontent="$this.name" jstca
che="46">status</var> |
| 3361 <em jstcache="0"> |
| 3362 |
| 3363 <!-- TYPE --> |
| 3364 <div style="display:inline" jstcache="0"> |
| 3365 ( |
| 3366 <span class="optional" jsdisplay="optional" jstc
ache="47" style="display: none; ">optional</span> |
| 3367 <span id="typeTemplate" jstcache="0"> |
| 3368 <span jsdisplay="getTypeRef($this)" jstcache="
48" style="display: none; "> |
| 3369 <a jsvalues=".href: getTypeRefPage($this) +
'#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="50"> Type<
/a> |
| 3370 </span> |
| 3371 <span jsdisplay="!getTypeRef($this)" jstcache=
"49"> |
| 3372 <span jsdisplay="isArray($this)" jstcache="5
1" style="display: none; "> |
| 3373 array of <span jsselect="items" jstcache="
53"><span transclude="typeTemplate" jstcache="54"></span></span> |
| 3374 </span> |
| 3375 <span jsdisplay="!isArray($this)" jscontent=
"getTypeName($this)" jstcache="52">string</span> |
| 3376 </span> |
| 3377 </span> |
| 3378 ) |
| 3379 </div> |
| 3380 |
| 3381 </em> |
| 3382 </dt> |
| 3383 <dd class="todo" jsdisplay="!$this.description" jstcache="
39" style="display: none; "> |
| 3384 Undocumented. |
| 3385 </dd> |
| 3386 <dd jsdisplay="$this.description" jsvalues=".innerHTML:$th
is.description" jstcache="40">The status of the tab. Can be either <em jstcache=
"0">loading</em> or <em jstcache="0">complete</em>.</dd> |
| 3387 |
| 3388 <!-- OBJECT PROPERTIES --> |
| 3389 <dd jsdisplay="shouldExpandObject($this)" jstcache="41" st
yle="display: none; "> |
| 3390 <dl jstcache="0"> |
| 3391 <div jsselect="getPropertyListFromObject($this)" jstca
che="10"> |
| 3392 <div transclude="valueTemplate" jstcache="17"> |
| 3393 </div> |
| 3394 </div> |
| 3395 </dl> |
| 3396 </dd> |
| 3397 </div> |
| 3398 </div><div jsselect="getPropertyListFromObject($this)"
jstcache="10" jsinstance="*1"> |
| 3399 <div jstcache="0"> |
| 3400 <dt jstcache="0"> |
| 3401 <var jsdisplay="$this.name" jscontent="$this.name" jstca
che="46">url</var> |
| 3402 <em jstcache="0"> |
| 3403 |
| 3404 <!-- TYPE --> |
| 3405 <div style="display:inline" jstcache="0"> |
| 3406 ( |
| 3407 <span class="optional" jsdisplay="optional" jstc
ache="47">optional</span> |
| 3408 <span id="typeTemplate" jstcache="0"> |
| 3409 <span jsdisplay="getTypeRef($this)" jstcache="
48" style="display: none; "> |
| 3410 <a jsvalues=".href: getTypeRefPage($this) +
'#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="50"> Type<
/a> |
| 3411 </span> |
| 3412 <span jsdisplay="!getTypeRef($this)" jstcache=
"49"> |
| 3413 <span jsdisplay="isArray($this)" jstcache="5
1" style="display: none; "> |
| 3414 array of <span jsselect="items" jstcache="
53"><span transclude="typeTemplate" jstcache="54"></span></span> |
| 3415 </span> |
| 3416 <span jsdisplay="!isArray($this)" jscontent=
"getTypeName($this)" jstcache="52">string</span> |
| 3417 </span> |
| 3418 </span> |
| 3419 ) |
| 3420 </div> |
| 3421 |
| 3422 </em> |
| 3423 </dt> |
| 3424 <dd class="todo" jsdisplay="!$this.description" jstcache="
39" style="display: none; "> |
| 3425 Undocumented. |
| 3426 </dd> |
| 3427 <dd jsdisplay="$this.description" jsvalues=".innerHTML:$th
is.description" jstcache="40">Only specified if the tab's URL changed.</dd> |
| 3428 |
| 3429 <!-- OBJECT PROPERTIES --> |
| 3430 <dd jsdisplay="shouldExpandObject($this)" jstcache="41" st
yle="display: none; "> |
| 3431 <dl jstcache="0"> |
| 3432 <div jsselect="getPropertyListFromObject($this)" jstca
che="10"> |
| 3433 <div transclude="valueTemplate" jstcache="17"> |
| 3434 </div> |
| 3435 </div> |
| 3436 </dl> |
| 3437 </dd> |
| 3438 </div> |
| 3439 </div> |
| 3440 </dl> |
| 3441 </dd> |
| 3442 </div> |
| 3443 </div> |
| 3444 </dl> |
| 3445 |
| 3446 </div> <!-- /decription --> |
| 3447 |
| 3448 </div> <!-- /apiItem --> |
| 3449 |
| 3450 </div> <!-- /apiGroup --> |
| 3451 |
| 3452 <!-- TYPES --> |
| 3453 <div jsdisplay="types && types.length > 0" class="apiGroup"
jstcache="8"> |
| 3454 <a name="types.sort(sortByName)" jstcache="0"></a> |
| 3455 <h3 id="types" jstcache="0">Types</h3> |
| 3456 |
| 3457 <!-- iterates over all types --> |
| 3458 <div jsselect="types" class="apiItem" jstcache="13" jsinstance="*0"> |
| 3459 <a jsvalues=".name:'type-' + id" jstcache="20" name="type-Tab"></a
> |
| 3460 <h4 jscontent="id" jstcache="21">Tab</h4> |
| 3461 |
| 3462 <div jstcache="0"> |
| 3463 <dt jstcache="0"> |
| 3464 <var jsdisplay="$this.name" jscontent="$this.name" jstca
che="46" style="display: none; ">windowId</var> |
| 3465 <em jstcache="0"> |
| 3466 |
| 3467 <!-- TYPE --> |
| 3468 <div style="display:inline" jstcache="0"> |
| 3469 ( |
| 3470 <span class="optional" jsdisplay="optional" jstc
ache="47" style="display: none; ">optional</span> |
| 3471 <span id="typeTemplate" jstcache="0"> |
| 3472 <span jsdisplay="getTypeRef($this)" jstcache="
48" style="display: none; "> |
| 3473 <a jsvalues=".href: getTypeRefPage($this) +
'#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="50"> Type<
/a> |
| 3474 </span> |
| 3475 <span jsdisplay="!getTypeRef($this)" jstcache=
"49"> |
| 3476 <span jsdisplay="isArray($this)" jstcache="5
1" style="display: none; "> |
| 3477 array of <span jsselect="items" jstcache="
53"><span transclude="typeTemplate" jstcache="54"></span></span> |
| 3478 </span> |
| 3479 <span jsdisplay="!isArray($this)" jscontent=
"getTypeName($this)" jstcache="52">object</span> |
| 3480 </span> |
| 3481 </span> |
| 3482 ) |
| 3483 </div> |
| 3484 |
| 3485 </em> |
| 3486 </dt> |
| 3487 <dd class="todo" jsdisplay="!$this.description" jstcache="
39" style=""> |
| 3488 Undocumented. |
| 3489 </dd> |
| 3490 <dd jsdisplay="$this.description" jsvalues=".innerHTML:$th
is.description" jstcache="40" style="display: none; ">The target window. Default
s to the <a href="windows.html#current-window" jstcache="0">current window</a>.<
/dd> |
| 3491 |
| 3492 <!-- OBJECT PROPERTIES --> |
| 3493 <dd jsdisplay="shouldExpandObject($this)" jstcache="41" st
yle=""> |
| 3494 <dl jstcache="0"> |
| 3495 <div jsselect="getPropertyListFromObject($this)" jstca
che="10" jsinstance="0"> |
| 3496 <div jstcache="0"> |
| 3497 <dt jstcache="0"> |
| 3498 <var jsdisplay="$this.name" jscontent="$this.name" jstca
che="46">id</var> |
| 3499 <em jstcache="0"> |
| 3500 |
| 3501 <!-- TYPE --> |
| 3502 <div style="display:inline" jstcache="0"> |
| 3503 ( |
| 3504 <span class="optional" jsdisplay="optional" jstc
ache="47" style="display: none; ">optional</span> |
| 3505 <span id="typeTemplate" jstcache="0"> |
| 3506 <span jsdisplay="getTypeRef($this)" jstcache="
48" style="display: none; "> |
| 3507 <a jsvalues=".href: getTypeRefPage($this) +
'#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="50"> Type<
/a> |
| 3508 </span> |
| 3509 <span jsdisplay="!getTypeRef($this)" jstcache=
"49"> |
| 3510 <span jsdisplay="isArray($this)" jstcache="5
1" style="display: none; "> |
| 3511 array of <span jsselect="items" jstcache="
53"><span transclude="typeTemplate" jstcache="54"></span></span> |
| 3512 </span> |
| 3513 <span jsdisplay="!isArray($this)" jscontent=
"getTypeName($this)" jstcache="52">integer</span> |
| 3514 </span> |
| 3515 </span> |
| 3516 ) |
| 3517 </div> |
| 3518 |
| 3519 </em> |
| 3520 </dt> |
| 3521 <dd class="todo" jsdisplay="!$this.description" jstcache="
39" style="display: none; "> |
| 3522 Undocumented. |
| 3523 </dd> |
| 3524 <dd jsdisplay="$this.description" jsvalues=".innerHTML:$th
is.description" jstcache="40">The ID of the tab. Tab IDs are unique within a bro
wser session.</dd> |
| 3525 |
| 3526 <!-- OBJECT PROPERTIES --> |
| 3527 <dd jsdisplay="shouldExpandObject($this)" jstcache="41" st
yle="display: none; "> |
| 3528 <dl jstcache="0"> |
| 3529 <div jsselect="getPropertyListFromObject($this)" jstca
che="10"> |
| 3530 <div transclude="valueTemplate" jstcache="17"> |
| 3531 </div> |
| 3532 </div> |
| 3533 </dl> |
| 3534 </dd> |
| 3535 </div> |
| 3536 </div><div jsselect="getPropertyListFromObject($this)"
jstcache="10" jsinstance="1"> |
| 3537 <div jstcache="0"> |
| 3538 <dt jstcache="0"> |
| 3539 <var jsdisplay="$this.name" jscontent="$this.name" jstca
che="46">index</var> |
| 3540 <em jstcache="0"> |
| 3541 |
| 3542 <!-- TYPE --> |
| 3543 <div style="display:inline" jstcache="0"> |
| 3544 ( |
| 3545 <span class="optional" jsdisplay="optional" jstc
ache="47" style="display: none; ">optional</span> |
| 3546 <span id="typeTemplate" jstcache="0"> |
| 3547 <span jsdisplay="getTypeRef($this)" jstcache="
48" style="display: none; "> |
| 3548 <a jsvalues=".href: getTypeRefPage($this) +
'#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="50"> Type<
/a> |
| 3549 </span> |
| 3550 <span jsdisplay="!getTypeRef($this)" jstcache=
"49"> |
| 3551 <span jsdisplay="isArray($this)" jstcache="5
1" style="display: none; "> |
| 3552 array of <span jsselect="items" jstcache="
53"><span transclude="typeTemplate" jstcache="54"></span></span> |
| 3553 </span> |
| 3554 <span jsdisplay="!isArray($this)" jscontent=
"getTypeName($this)" jstcache="52">integer</span> |
| 3555 </span> |
| 3556 </span> |
| 3557 ) |
| 3558 </div> |
| 3559 |
| 3560 </em> |
| 3561 </dt> |
| 3562 <dd class="todo" jsdisplay="!$this.description" jstcache="
39" style="display: none; "> |
| 3563 Undocumented. |
| 3564 </dd> |
| 3565 <dd jsdisplay="$this.description" jsvalues=".innerHTML:$th
is.description" jstcache="40">The zero-based index of the tab within its window.
</dd> |
| 3566 |
| 3567 <!-- OBJECT PROPERTIES --> |
| 3568 <dd jsdisplay="shouldExpandObject($this)" jstcache="41" st
yle="display: none; "> |
| 3569 <dl jstcache="0"> |
| 3570 <div jsselect="getPropertyListFromObject($this)" jstca
che="10"> |
| 3571 <div transclude="valueTemplate" jstcache="17"> |
| 3572 </div> |
| 3573 </div> |
| 3574 </dl> |
| 3575 </dd> |
| 3576 </div> |
| 3577 </div><div jsselect="getPropertyListFromObject($this)"
jstcache="10" jsinstance="2"> |
| 3578 <div jstcache="0"> |
| 3579 <dt jstcache="0"> |
| 3580 <var jsdisplay="$this.name" jscontent="$this.name" jstca
che="46">windowId</var> |
| 3581 <em jstcache="0"> |
| 3582 |
| 3583 <!-- TYPE --> |
| 3584 <div style="display:inline" jstcache="0"> |
| 3585 ( |
| 3586 <span class="optional" jsdisplay="optional" jstc
ache="47" style="display: none; ">optional</span> |
| 3587 <span id="typeTemplate" jstcache="0"> |
| 3588 <span jsdisplay="getTypeRef($this)" jstcache="
48" style="display: none; "> |
| 3589 <a jsvalues=".href: getTypeRefPage($this) +
'#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="50"> Type<
/a> |
| 3590 </span> |
| 3591 <span jsdisplay="!getTypeRef($this)" jstcache=
"49"> |
| 3592 <span jsdisplay="isArray($this)" jstcache="5
1" style="display: none; "> |
| 3593 array of <span jsselect="items" jstcache="
53"><span transclude="typeTemplate" jstcache="54"></span></span> |
| 3594 </span> |
| 3595 <span jsdisplay="!isArray($this)" jscontent=
"getTypeName($this)" jstcache="52">integer</span> |
| 3596 </span> |
| 3597 </span> |
| 3598 ) |
| 3599 </div> |
| 3600 |
| 3601 </em> |
| 3602 </dt> |
| 3603 <dd class="todo" jsdisplay="!$this.description" jstcache="
39" style="display: none; "> |
| 3604 Undocumented. |
| 3605 </dd> |
| 3606 <dd jsdisplay="$this.description" jsvalues=".innerHTML:$th
is.description" jstcache="40">The ID of the window the tab is contained within.<
/dd> |
| 3607 |
| 3608 <!-- OBJECT PROPERTIES --> |
| 3609 <dd jsdisplay="shouldExpandObject($this)" jstcache="41" st
yle="display: none; "> |
| 3610 <dl jstcache="0"> |
| 3611 <div jsselect="getPropertyListFromObject($this)" jstca
che="10"> |
| 3612 <div transclude="valueTemplate" jstcache="17"> |
| 3613 </div> |
| 3614 </div> |
| 3615 </dl> |
| 3616 </dd> |
| 3617 </div> |
| 3618 </div><div jsselect="getPropertyListFromObject($this)"
jstcache="10" jsinstance="3"> |
| 3619 <div jstcache="0"> |
| 3620 <dt jstcache="0"> |
| 3621 <var jsdisplay="$this.name" jscontent="$this.name" jstca
che="46">selected</var> |
| 3622 <em jstcache="0"> |
| 3623 |
| 3624 <!-- TYPE --> |
| 3625 <div style="display:inline" jstcache="0"> |
| 3626 ( |
| 3627 <span class="optional" jsdisplay="optional" jstc
ache="47" style="display: none; ">optional</span> |
| 3628 <span id="typeTemplate" jstcache="0"> |
| 3629 <span jsdisplay="getTypeRef($this)" jstcache="
48" style="display: none; "> |
| 3630 <a jsvalues=".href: getTypeRefPage($this) +
'#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="50"> Type<
/a> |
| 3631 </span> |
| 3632 <span jsdisplay="!getTypeRef($this)" jstcache=
"49"> |
| 3633 <span jsdisplay="isArray($this)" jstcache="5
1" style="display: none; "> |
| 3634 array of <span jsselect="items" jstcache="
53"><span transclude="typeTemplate" jstcache="54"></span></span> |
| 3635 </span> |
| 3636 <span jsdisplay="!isArray($this)" jscontent=
"getTypeName($this)" jstcache="52">boolean</span> |
| 3637 </span> |
| 3638 </span> |
| 3639 ) |
| 3640 </div> |
| 3641 |
| 3642 </em> |
| 3643 </dt> |
| 3644 <dd class="todo" jsdisplay="!$this.description" jstcache="
39" style="display: none; "> |
| 3645 Undocumented. |
| 3646 </dd> |
| 3647 <dd jsdisplay="$this.description" jsvalues=".innerHTML:$th
is.description" jstcache="40">Whether the tab is selected.</dd> |
| 3648 |
| 3649 <!-- OBJECT PROPERTIES --> |
| 3650 <dd jsdisplay="shouldExpandObject($this)" jstcache="41" st
yle="display: none; "> |
| 3651 <dl jstcache="0"> |
| 3652 <div jsselect="getPropertyListFromObject($this)" jstca
che="10"> |
| 3653 <div transclude="valueTemplate" jstcache="17"> |
| 3654 </div> |
| 3655 </div> |
| 3656 </dl> |
| 3657 </dd> |
| 3658 </div> |
| 3659 </div><div jsselect="getPropertyListFromObject($this)"
jstcache="10" jsinstance="4"> |
| 3660 <div jstcache="0"> |
| 3661 <dt jstcache="0"> |
| 3662 <var jsdisplay="$this.name" jscontent="$this.name" jstca
che="46">url</var> |
| 3663 <em jstcache="0"> |
| 3664 |
| 3665 <!-- TYPE --> |
| 3666 <div style="display:inline" jstcache="0"> |
| 3667 ( |
| 3668 <span class="optional" jsdisplay="optional" jstc
ache="47" style="display: none; ">optional</span> |
| 3669 <span id="typeTemplate" jstcache="0"> |
| 3670 <span jsdisplay="getTypeRef($this)" jstcache="
48" style="display: none; "> |
| 3671 <a jsvalues=".href: getTypeRefPage($this) +
'#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="50"> Type<
/a> |
| 3672 </span> |
| 3673 <span jsdisplay="!getTypeRef($this)" jstcache=
"49"> |
| 3674 <span jsdisplay="isArray($this)" jstcache="5
1" style="display: none; "> |
| 3675 array of <span jsselect="items" jstcache="
53"><span transclude="typeTemplate" jstcache="54"></span></span> |
| 3676 </span> |
| 3677 <span jsdisplay="!isArray($this)" jscontent=
"getTypeName($this)" jstcache="52">string</span> |
| 3678 </span> |
| 3679 </span> |
| 3680 ) |
| 3681 </div> |
| 3682 |
| 3683 </em> |
| 3684 </dt> |
| 3685 <dd class="todo" jsdisplay="!$this.description" jstcache="
39" style="display: none; "> |
| 3686 Undocumented. |
| 3687 </dd> |
| 3688 <dd jsdisplay="$this.description" jsvalues=".innerHTML:$th
is.description" jstcache="40">The URL the tab is displaying.</dd> |
| 3689 |
| 3690 <!-- OBJECT PROPERTIES --> |
| 3691 <dd jsdisplay="shouldExpandObject($this)" jstcache="41" st
yle="display: none; "> |
| 3692 <dl jstcache="0"> |
| 3693 <div jsselect="getPropertyListFromObject($this)" jstca
che="10"> |
| 3694 <div transclude="valueTemplate" jstcache="17"> |
| 3695 </div> |
| 3696 </div> |
| 3697 </dl> |
| 3698 </dd> |
| 3699 </div> |
| 3700 </div><div jsselect="getPropertyListFromObject($this)"
jstcache="10" jsinstance="5"> |
| 3701 <div jstcache="0"> |
| 3702 <dt jstcache="0"> |
| 3703 <var jsdisplay="$this.name" jscontent="$this.name" jstca
che="46">title</var> |
| 3704 <em jstcache="0"> |
| 3705 |
| 3706 <!-- TYPE --> |
| 3707 <div style="display:inline" jstcache="0"> |
| 3708 ( |
| 3709 <span class="optional" jsdisplay="optional" jstc
ache="47">optional</span> |
| 3710 <span id="typeTemplate" jstcache="0"> |
| 3711 <span jsdisplay="getTypeRef($this)" jstcache="
48" style="display: none; "> |
| 3712 <a jsvalues=".href: getTypeRefPage($this) +
'#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="50"> Type<
/a> |
| 3713 </span> |
| 3714 <span jsdisplay="!getTypeRef($this)" jstcache=
"49"> |
| 3715 <span jsdisplay="isArray($this)" jstcache="5
1" style="display: none; "> |
| 3716 array of <span jsselect="items" jstcache="
53"><span transclude="typeTemplate" jstcache="54"></span></span> |
| 3717 </span> |
| 3718 <span jsdisplay="!isArray($this)" jscontent=
"getTypeName($this)" jstcache="52">string</span> |
| 3719 </span> |
| 3720 </span> |
| 3721 ) |
| 3722 </div> |
| 3723 |
| 3724 </em> |
| 3725 </dt> |
| 3726 <dd class="todo" jsdisplay="!$this.description" jstcache="
39" style="display: none; "> |
| 3727 Undocumented. |
| 3728 </dd> |
| 3729 <dd jsdisplay="$this.description" jsvalues=".innerHTML:$th
is.description" jstcache="40">The title of the tab. This may not be available if
the tab is loading.</dd> |
| 3730 |
| 3731 <!-- OBJECT PROPERTIES --> |
| 3732 <dd jsdisplay="shouldExpandObject($this)" jstcache="41" st
yle="display: none; "> |
| 3733 <dl jstcache="0"> |
| 3734 <div jsselect="getPropertyListFromObject($this)" jstca
che="10"> |
| 3735 <div transclude="valueTemplate" jstcache="17"> |
| 3736 </div> |
| 3737 </div> |
| 3738 </dl> |
| 3739 </dd> |
| 3740 </div> |
| 3741 </div><div jsselect="getPropertyListFromObject($this)"
jstcache="10" jsinstance="6"> |
| 3742 <div jstcache="0"> |
| 3743 <dt jstcache="0"> |
| 3744 <var jsdisplay="$this.name" jscontent="$this.name" jstca
che="46">favIconUrl</var> |
| 3745 <em jstcache="0"> |
| 3746 |
| 3747 <!-- TYPE --> |
| 3748 <div style="display:inline" jstcache="0"> |
| 3749 ( |
| 3750 <span class="optional" jsdisplay="optional" jstc
ache="47">optional</span> |
| 3751 <span id="typeTemplate" jstcache="0"> |
| 3752 <span jsdisplay="getTypeRef($this)" jstcache="
48" style="display: none; "> |
| 3753 <a jsvalues=".href: getTypeRefPage($this) +
'#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="50"> Type<
/a> |
| 3754 </span> |
| 3755 <span jsdisplay="!getTypeRef($this)" jstcache=
"49"> |
| 3756 <span jsdisplay="isArray($this)" jstcache="5
1" style="display: none; "> |
| 3757 array of <span jsselect="items" jstcache="
53"><span transclude="typeTemplate" jstcache="54"></span></span> |
| 3758 </span> |
| 3759 <span jsdisplay="!isArray($this)" jscontent=
"getTypeName($this)" jstcache="52">string</span> |
| 3760 </span> |
| 3761 </span> |
| 3762 ) |
| 3763 </div> |
| 3764 |
| 3765 </em> |
| 3766 </dt> |
| 3767 <dd class="todo" jsdisplay="!$this.description" jstcache="
39" style="display: none; "> |
| 3768 Undocumented. |
| 3769 </dd> |
| 3770 <dd jsdisplay="$this.description" jsvalues=".innerHTML:$th
is.description" jstcache="40">The URL of the tab's favicon. This may not be avai
lable if the tab is loading.</dd> |
| 3771 |
| 3772 <!-- OBJECT PROPERTIES --> |
| 3773 <dd jsdisplay="shouldExpandObject($this)" jstcache="41" st
yle="display: none; "> |
| 3774 <dl jstcache="0"> |
| 3775 <div jsselect="getPropertyListFromObject($this)" jstca
che="10"> |
| 3776 <div transclude="valueTemplate" jstcache="17"> |
| 3777 </div> |
| 3778 </div> |
| 3779 </dl> |
| 3780 </dd> |
| 3781 </div> |
| 3782 </div><div jsselect="getPropertyListFromObject($this)"
jstcache="10" jsinstance="*7"> |
| 3783 <div jstcache="0"> |
| 3784 <dt jstcache="0"> |
| 3785 <var jsdisplay="$this.name" jscontent="$this.name" jstca
che="46">status</var> |
| 3786 <em jstcache="0"> |
| 3787 |
| 3788 <!-- TYPE --> |
| 3789 <div style="display:inline" jstcache="0"> |
| 3790 ( |
| 3791 <span class="optional" jsdisplay="optional" jstc
ache="47">optional</span> |
| 3792 <span id="typeTemplate" jstcache="0"> |
| 3793 <span jsdisplay="getTypeRef($this)" jstcache="
48" style="display: none; "> |
| 3794 <a jsvalues=".href: getTypeRefPage($this) +
'#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="50"> Type<
/a> |
| 3795 </span> |
| 3796 <span jsdisplay="!getTypeRef($this)" jstcache=
"49"> |
| 3797 <span jsdisplay="isArray($this)" jstcache="5
1" style="display: none; "> |
| 3798 array of <span jsselect="items" jstcache="
53"><span transclude="typeTemplate" jstcache="54"></span></span> |
| 3799 </span> |
| 3800 <span jsdisplay="!isArray($this)" jscontent=
"getTypeName($this)" jstcache="52">string</span> |
| 3801 </span> |
| 3802 </span> |
| 3803 ) |
| 3804 </div> |
| 3805 |
| 3806 </em> |
| 3807 </dt> |
| 3808 <dd class="todo" jsdisplay="!$this.description" jstcache="
39" style="display: none; "> |
| 3809 Undocumented. |
| 3810 </dd> |
| 3811 <dd jsdisplay="$this.description" jsvalues=".innerHTML:$th
is.description" jstcache="40">Either <em jstcache="0">loading</em> or <em jstcac
he="0">complete</em>.</dd> |
| 3812 |
| 3813 <!-- OBJECT PROPERTIES --> |
| 3814 <dd jsdisplay="shouldExpandObject($this)" jstcache="41" st
yle="display: none; "> |
| 3815 <dl jstcache="0"> |
| 3816 <div jsselect="getPropertyListFromObject($this)" jstca
che="10"> |
| 3817 <div transclude="valueTemplate" jstcache="17"> |
| 3818 </div> |
| 3819 </div> |
| 3820 </dl> |
| 3821 </dd> |
| 3822 </div> |
| 3823 </div> |
| 3824 </dl> |
| 3825 </dd> |
| 3826 </div> |
| 3827 |
| 3828 </div> <!-- /apiItem --> |
| 3829 |
| 3830 </div> <!-- /apiGroup --> |
| 3831 |
| 3832 </div> <!-- /apiPage --> |
| 3833 </div> <!-- /mainColumn --> |
| 3834 </div> <!-- /pageContent --> |
| 3835 <div id="pageFooter" --="" jstcache="0"> |
| 3836 <p jstcache="0"> |
| 3837 Except as otherwise <a href="http://code.google.com/policies.html#restrictions
" jstcache="0">noted</a>, |
| 3838 the content of this page is licensed under the <a rel="license" href="http://c
reativecommons.org/licenses/by/3.0/" jstcache="0">Creative Commons |
| 3839 Attribution 3.0 License</a>, and code samples are licensed under the |
| 3840 <a rel="license" href="http://code.google.com/google_bsd_license.html" jstcach
e="0">BSD License</a>. |
| 3841 </p> |
| 3842 <p jstcache="0"> |
| 3843 ©2009 Google |
| 3844 </p> |
| 3845 </div> <!-- /pageFooter --> |
| 3846 </div> <!-- /container --> |
| 3847 </body></html> |
| 3848 #EOF |
| OLD | NEW |