| 1 <!DOCTYPE html><!-- This page is a placeholder for generated extensions api doc.
Note: 1) The <head> information in this page is significant, should be uniform
across api docs and should be edited only with knowledge of the templating mecha
nism. 2) The <body> tag *must* retain id="body" 3) All <body>.innerHTML is gener
eated as an rendering step. If viewed in a browser, it will be re-generated from
the template, json schema and authored overview content. 4) The <body>.innerHTM
L is also generated by an offline step so that this page may easily be indexed b
y search engines. TODO(rafaelw): Abstract this into a "pageshell" that becomes t
he single version of page template shell and the "instance" pages (bookmarks.htm
l, etc...) can be generated with a build step. --><!-- <html> must retain id="te
mplate --><html xmlns="http://www.w3.org/1999/xhtml" jstcache="0"><!-- <head> da
ta is significant and loads the needed libraries and styles --><head jstcache="0
"> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" jstcache="
0"> <title jscontent="pageTitle" jstcache="1">chrome.windows API Reference</titl
e> <link href="css/ApiRefStyles.css" rel="stylesheet" type="text/css" jstcache="
0"> <script type="text/javascript" src="../../../third_party/jstemplate/jstempla
te_compiled.js" jstcache="0"> </script> <script type="text/javascript" src="js/a
pi_page_generator.js" jstcache="0"></script> <script type="text/javascript" src=
"js/bootstrap.js" jstcache="0"></script> </head><!-- <body> content is completel
y generated. Do not edit, as it will be and rewritten. --><body jstcache="0"> <d
iv id="container" jstcache="0"> <a name="top" jstcache="0"> </a> <!-- API HEADER
--> <div id="pageHeader" jstcache="0"> <!-- BREADCRUMB --> <!-- TODO: Fix these
hrefs --> <div id="breadcrumbs" jstcache="0"> <a href="index.html" jstcache="0"
>Google Chrome Extensions</a> > <a href="reference_index.html" jstcache="0">R
eference</a> > <a href="api_index.html" jstcache="0">chrome.* APIs</a> > <
span jscontent="h1Header" jstcache="2">chrome.windows</span> </div> <div id="sea
rchbox" jstcache="0"> <form action="http://www.google.com/cse" id="cse-search-bo
x" jstcache="0"> <div jstcache="0"> <input type="hidden" name="cx" value="002967
670403910741006:61_cvzfqtno" jstcache="0"> <input type="hidden" name="ie" value=
"UTF-8" jstcache="0"> <input type="text" name="q" size="31" jstcache="0"> <input
type="submit" name="sa" value="Search" jstcache="0"> </div> </form> <script typ
e="text/javascript" src="http://www.google.com/jsapi" jstcache="0"></script> <sc
ript type="text/javascript" jstcache="0">google.load("elements", "1", {packages:
"transliteration"});</script> <script type="text/javascript" src="http://www.go
ogle.com/coop/cse/t13n?form=cse-search-box&t13n_langs=en" jstcache="0"></scr
ipt> <script type="text/javascript" src="http://www.google.com/coop/cse/brand?fo
rm=cse-search-box&lang=en" jstcache="0"></script> </div> <div id="pageTitle"
jstcache="0"> <h1 jscontent="h1Header" jstcache="2">chrome.windows</h1> </div>
</div> <!-- /pageHeader --> <div id="pageContent" jstcache="0"> <!-- SIDENAV -->
<div id="leftNav" jstcache="0"> <ul jstcache="0"> <li jstcache="0"> <a href="in
dex.html" jstcache="0">Home</a></li> <li jstcache="0"> <a href="getstarted.html"
jstcache="0">Get Started</a></li> <li jstcache="0"> <a href="overview.html" jst
cache="0">Overview</a></li> <li jstcache="0">Reference <ul jstcache="0"> <li jst
cache="0"><a href="manifest.html" jstcache="0">Manifest</a> </li><li jstcache="0
"><a href="toolstrip.html" jstcache="0">Toolstrips</a> </li><li jstcache="0"><a
href="pageActions.html" jstcache="0">Page actions</a> </li><li jstcache="0"><a h
ref="background_pages.html" jstcache="0">Background pages</a> </li><li jstcache=
"0"><a href="content_scripts.html" jstcache="0">Content scripts</a> </li><li jst
cache="0"><a href="tabs.html" jstcache="0">Tabs</a> </li><li jstcache="0"><a hre
f="windows.html" jstcache="0">Windows</a> </li><li jstcache="0"><a href="self.ht
ml" jstcache="0">Self</a> </li><li jstcache="0"><a href="npapi.html" jstcache="0
">NPAPI Plugins</a> </li><li jstcache="0"><a href="packaging.html" jstcache="0">
Packaging</a> </li><li jstcache="0"><a href="autoupdate.html" jstcache="0">Autou
pdate</a> </li></ul> </li><li jstcache="0">Samples <ul jstcache="0"> <li jstcach
e="0">[sample 1] </li><li jstcache="0">[sample 2] </li></ul> </li></ul> </div> <
div id="mainColumn" jstcache="0"> <!-- TABLE OF CONTENTS --> <div id="toc" jssel
ect="apiDefinition" jstcache="3"> <p jstcache="0">Contents</p> <ol jstcache="0">
<li jstcache="0"> <a href="#overview" jstcache="0">Description</a> <ol jstcache
="0"> <li jstcache="0"><a href="#overview-properties" jstcache="0">Properties</a
></li> <li jstcache="0"><a href="#overview-examples" jstcache="0">Examples</a></
li> </ol> </li> <li jstcache="0"> <a href="#methods" jstcache="0">Methods</a> <o
l jstcache="0"> <li jsselect="functions" jstcache="4" jsinstance="0"> <a jsconte
nt="name" jsvalues=".href:'#method-' + name" href="#method-get" jstcache="17">ge
t</a> </li><li jsselect="functions" jstcache="4" jsinstance="1"> <a jscontent="n
ame" jsvalues=".href:'#method-' + name" href="#method-getCurrent" jstcache="17">
getCurrent</a> </li><li jsselect="functions" jstcache="4" jsinstance="2"> <a jsc
ontent="name" jsvalues=".href:'#method-' + name" href="#method-getLastFocused" j
stcache="17">getLastFocused</a> </li><li jsselect="functions" jstcache="4" jsins
tance="3"> <a jscontent="name" jsvalues=".href:'#method-' + name" href="#method-
getAll" jstcache="17">getAll</a> </li><li jsselect="functions" jstcache="4" jsin
stance="4"> <a jscontent="name" jsvalues=".href:'#method-' + name" href="#method
-create" jstcache="17">create</a> </li><li jsselect="functions" jstcache="4" jsi
nstance="5"> <a jscontent="name" jsvalues=".href:'#method-' + name" href="#metho
d-update" jstcache="17">update</a> </li><li jsselect="functions" jstcache="4" js
instance="*6"> <a jscontent="name" jsvalues=".href:'#method-' + name" href="#met
hod-remove" jstcache="17">remove</a> </li> </ol> </li> <li jstcache="0"> <a href
="#events" jstcache="0">Events</a> <ol jstcache="0"> <li jsselect="events" jstca
che="5" jsinstance="0"> <a jscontent="name" jsvalues=".href:'#event-' + name" hr
ef="#event-onCreated" jstcache="18">onCreated</a> </li><li jsselect="events" jst
cache="5" jsinstance="1"> <a jscontent="name" jsvalues=".href:'#event-' + name"
href="#event-onRemoved" jstcache="18">onRemoved</a> </li><li jsselect="events" j
stcache="5" jsinstance="*2"> <a jscontent="name" jsvalues=".href:'#event-' + nam
e" href="#event-onFocusChanged" jstcache="18">onFocusChanged</a> </li> </ol> </l
i> <!-- TODO: What do we do about structs/types? --> <li jstcache="0"> <a href="
#structs" jstcache="0">TODO: Structs</a> <ol jstcache="0"> <li jstcache="0"><a h
ref="#struct-BookmarkTreeNode" jstcache="0"></a></li> </ol> </li> </ol> [PENDING
: links to all h2s and h3s should go here -- would it be possible to link to ove
rview h3s, as well? if so, how should we create their anchor/id values?] </div>
<!-- /TABLE OF CONTENTS --> <!-- STATIC CONTENT PLACEHOLDER --> <div id="static"
jstcache="0"><!-- BEGIN AUTHORED CONTENT --> <p class="todo" jstcache="0"> [PEN
DING: API Module Overview Goes Here] </p> <!-- END AUTHORED CONTENT --> </div> <
!-- API PAGE --> <div class="apiPage" jsselect="apiDefinition" jstcache="3"> <!-
- METHODS --> <div class="apiGroup" id="methods" jstcache="0"> <a name="#methods
" jstcache="0"></a> <h2 jstcache="0">Methods</h2> <!-- iterates over all functio
ns --> <div class="apiItem" jsselect="functions" jstcache="4" jsinstance="0"> <a
jsvalues=".name:'method-' + name" jstcache="6" name="method-get"></a> <!-- meth
od-anchor --> <h3 jscontent="name" jstcache="7">get</h3> <div class="summary" js
tcache="0"><span jsdisplay="returns" jscontent="returns.typeName" jstcache="9" s
tyle="display: none; ">void</span> <!-- Note: intentionally longer 80 columns --
> <span jscontent="fullName" jstcache="10">chrome.windows.get</span>(<span jssel
ect="parameters" jsvalues="class:optional ? 'optional' : ''" jstcache="11" jsins
tance="0" class="null"><span jsdisplay="$index" jstcache="19" style="display: no
ne; ">, </span><span jscontent="typeName" jstcache="20">integer</span> <var jstc
ache="0"><span jscontent="name" jstcache="7">windowId</span></var></span><span j
sselect="parameters" jsvalues="class:optional ? 'optional' : ''" jstcache="11" j
sinstance="*1" class="null"><span jsdisplay="$index" jstcache="19">, </span><spa
n jscontent="typeName" jstcache="20">function</span> <var jstcache="0"><span jsc
ontent="name" jstcache="7">callback</span></var></span>)</div> <div class="descr
iption" jstcache="0"> <p class="todo" jsdisplay="!description" jstcache="12" sty
le="display: none; ">Undocumented.</p> <p jsdisplay="description" jsvalues=".inn
erHTML:description" jstcache="13">Get window with given id.</p> <!-- PARAMETERS
--> <h4 jstcache="0">Parameters</h4> <dl jstcache="0"> <div jsselect="parameters
" jstcache="21" jsinstance="0"> <dt jstcache="0"> <!-- Note: intentionally longe
r 80 columns --> <var jscontent="name" jstcache="7">windowId</var><em jstcache="
0"> (<span class="optional" jsdisplay="optional" jstcache="28" style="display: n
one; ">optional </span><span jscontent="typeName" jstcache="20">integer</span>)<
/em> </dt> <dd class="todo" jsdisplay="!$this.description" jstcache="23"> Undocu
mented. </dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.descr
iption" jstcache="24" style="display: none; "> Description of this parameter fro
m the json schema. </dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="_propertyList
" jstcache="25" style="display: none; "> <dl jstcache="0"> <div jsselect="_prope
rtyList" jstcache="29"> <dt jstcache="0"> <!-- Note: intentionally longer 80 col
umns --> <var jscontent="name" jstcache="7">paramName</var><em jstcache="0"> (<s
pan class="optional" jsdisplay="optional" jstcache="28">optional </span><span js
content="typeName" jstcache="20">paramType</span>)</em> </dt> <dd class="todo" j
sdisplay="!$this.description" jstcache="23"> Undocumented. </dd> <dd jsdisplay="
$this.description" jsvalues=".innerHTML:$this.description" jstcache="24"> Descri
ption of this parameter from the json schema. </dd> </div> </dl> </dd> </div><di
v jsselect="parameters" jstcache="21" jsinstance="*1"> <dt jstcache="0"> <!-- No
te: intentionally longer 80 columns --> <var jscontent="name" jstcache="7">callb
ack</var><em jstcache="0"> (<span class="optional" jsdisplay="optional" jstcache
="28" style="display: none; ">optional </span><span jscontent="typeName" jstcach
e="20">function</span>)</em> </dt> <dd class="todo" jsdisplay="!$this.descriptio
n" jstcache="23"> Undocumented. </dd> <dd jsdisplay="$this.description" jsvalues
=".innerHTML:$this.description" jstcache="24" style="display: none; "> Descripti
on of this parameter from the json schema. </dd> <!-- OBJECT PROPERTIES --> <dd
jsdisplay="_propertyList" jstcache="25" style="display: none; "> <dl jstcache="0
"> <div jsselect="_propertyList" jstcache="29"> <dt jstcache="0"> <!-- Note: int
entionally longer 80 columns --> <var jscontent="name" jstcache="7">paramName</v
ar><em jstcache="0"> (<span class="optional" jsdisplay="optional" jstcache="28">
optional </span><span jscontent="typeName" jstcache="20">paramType</span>)</em>
</dt> <dd class="todo" jsdisplay="!$this.description" jstcache="23"> Undocumente
d. </dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.descriptio
n" jstcache="24"> Description of this parameter from the json schema. </dd> </di
v> </dl> </dd> </div> </dl> <!-- RETURNS --> <h4 jsdisplay="returns" jstcache="1
4" style="display: none; ">Returns</h4> <dl jstcache="0"> <div jsselect="returns
" jstcache="22" style="display: none; "> <dt jstcache="0"> <!-- Note: intentiona
lly longer 80 columns --> <var jscontent="name" jstcache="7">paramName</var> <em
jstcache="0">(<span jscontent="typeName" jstcache="20">paramType</span>)</em> <
/dt> <dd class="todo" jsdisplay="!$this.description" jstcache="23"> Undocumented
. </dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.description
" jstcache="24"> Description of this parameter from the json schema. </dd> <!--
OBJECT PROPERTIES --> <dd jsdisplay="_propertyList" jstcache="25"> <dl jstcache=
"0"> <div jsselect="_propertyList" jstcache="29"> <dt jstcache="0"> <!-- Note: i
ntentionally longer 80 columns --> <var jscontent="name" jstcache="7">paramName<
/var><em jstcache="0"> (<span class="optional" jsdisplay="optional" jstcache="28
">optional </span><span jscontent="typeName" jstcache="20">paramType</span>)</em
> </dt> <dd class="todo" jsdisplay="!$this.description" jstcache="23"> Undocumen
ted. </dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.descript
ion" jstcache="24"> Description of this parameter from the json schema. </dd> </
div> </dl> </dd> </div> </dl> <!-- CALLBACK --> <div jsdisplay="callbackParamet
ers" jstcache="15"> <h4 jstcache="0">Callback function</h4> <p jstcache="0"> If
you specify the <em jstcache="0">callback</em> parameter, it should specify a fu
nction that looks like this: </p> <!-- Note: intentionally longer 80 columns -->
<pre jstcache="0">function(<span jscontent="callbackSignature" jstcache="26">ob
ject window</span>) <span class="subdued" jstcache="0">{...}</span>);</pre> <dl
jstcache="0"> <div jsselect="callbackParameters" jstcache="27" jsinstance="*0">
<dt jstcache="0"> <!-- Note: intentionally longer 80 columns --> <var jscontent=
"name" jstcache="7">window</var><em jstcache="0"> (<span jscontent="typeName" js
tcache="20">object</span>)</em> </dt> <dd class="todo" jsdisplay="!$this.descrip
tion" jstcache="23"> Undocumented. </dd> <dd jsdisplay="$this.description" jsval
ues=".innerHTML:$this.description" jstcache="24" style="display: none; "> Descri
ption of this parameter from the json schema. </dd> <!-- OBJECT PROPERTIES --> <
dd jsdisplay="_propertyList" jstcache="25"> <dl jstcache="0"> <div jsselect="_pr
opertyList" jstcache="29" jsinstance="0"> <dt jstcache="0"> <!-- Note: intention
ally longer 80 columns --> <var jscontent="name" jstcache="7">id</var><em jstcac
he="0"> (<span class="optional" jsdisplay="optional" jstcache="28" style="displa
y: none; ">optional </span><span jscontent="typeName" jstcache="20">integer</spa
n>)</em> </dt> <dd class="todo" jsdisplay="!$this.description" jstcache="23"> Un
documented. </dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.d
escription" jstcache="24" style="display: none; "> Description of this parameter
from the json schema. </dd> </div><div jsselect="_propertyList" jstcache="29" j
sinstance="1"> <dt jstcache="0"> <!-- Note: intentionally longer 80 columns -->
<var jscontent="name" jstcache="7">focused</var><em jstcache="0"> (<span class="
optional" jsdisplay="optional" jstcache="28" style="display: none; ">optional </
span><span jscontent="typeName" jstcache="20">boolean</span>)</em> </dt> <dd cla
ss="todo" jsdisplay="!$this.description" jstcache="23"> Undocumented. </dd> <dd
jsdisplay="$this.description" jsvalues=".innerHTML:$this.description" jstcache="
24" style="display: none; "> Description of this parameter from the json schema.
</dd> </div><div jsselect="_propertyList" jstcache="29" jsinstance="2"> <dt jst
cache="0"> <!-- Note: intentionally longer 80 columns --> <var jscontent="name"
jstcache="7">left</var><em jstcache="0"> (<span class="optional" jsdisplay="opti
onal" jstcache="28" style="display: none; ">optional </span><span jscontent="typ
eName" jstcache="20">integer</span>)</em> </dt> <dd class="todo" jsdisplay="!$th
is.description" jstcache="23"> Undocumented. </dd> <dd jsdisplay="$this.descript
ion" jsvalues=".innerHTML:$this.description" jstcache="24" style="display: none;
"> Description of this parameter from the json schema. </dd> </div><div jsselec
t="_propertyList" jstcache="29" jsinstance="3"> <dt jstcache="0"> <!-- Note: int
entionally longer 80 columns --> <var jscontent="name" jstcache="7">top</var><em
jstcache="0"> (<span class="optional" jsdisplay="optional" jstcache="28" style=
"display: none; ">optional </span><span jscontent="typeName" jstcache="20">integ
er</span>)</em> </dt> <dd class="todo" jsdisplay="!$this.description" jstcache="
23"> Undocumented. </dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML:
$this.description" jstcache="24" style="display: none; "> Description of this pa
rameter from the json schema. </dd> </div><div jsselect="_propertyList" jstcache
="29" jsinstance="4"> <dt jstcache="0"> <!-- Note: intentionally longer 80 colum
ns --> <var jscontent="name" jstcache="7">bottom</var><em jstcache="0"> (<span c
lass="optional" jsdisplay="optional" jstcache="28" style="display: none; ">optio
nal </span><span jscontent="typeName" jstcache="20">integer</span>)</em> </dt> <
dd class="todo" jsdisplay="!$this.description" jstcache="23"> Undocumented. </dd
> <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.description" jstc
ache="24" style="display: none; "> Description of this parameter from the json s
chema. </dd> </div><div jsselect="_propertyList" jstcache="29" jsinstance="5"> <
dt jstcache="0"> <!-- Note: intentionally longer 80 columns --> <var jscontent="
name" jstcache="7">right</var><em jstcache="0"> (<span class="optional" jsdispla
y="optional" jstcache="28" style="display: none; ">optional </span><span jsconte
nt="typeName" jstcache="20">integer</span>)</em> </dt> <dd class="todo" jsdispla
y="!$this.description" jstcache="23"> Undocumented. </dd> <dd jsdisplay="$this.d
escription" jsvalues=".innerHTML:$this.description" jstcache="24" style="display
: none; "> Description of this parameter from the json schema. </dd> </div><div
jsselect="_propertyList" jstcache="29" jsinstance="*6"> <dt jstcache="0"> <!-- N
ote: intentionally longer 80 columns --> <var jscontent="name" jstcache="7">tabs
</var><em jstcache="0"> (<span class="optional" jsdisplay="optional" jstcache="2
8">optional </span><span jscontent="typeName" jstcache="20">array of object</spa
n>)</em> </dt> <dd class="todo" jsdisplay="!$this.description" jstcache="23"> Un
documented. </dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.d
escription" jstcache="24" style="display: none; "> Description of this parameter
from the json schema. </dd> </div> </dl> </dd> </div> </dl> </div> </div> <!--
/description --> </div><div class="apiItem" jsselect="functions" jstcache="4" js
instance="1"> <a jsvalues=".name:'method-' + name" jstcache="6" name="method-get
Current"></a> <!-- method-anchor --> <h3 jscontent="name" jstcache="7">getCurren
t</h3> <div class="summary" jstcache="0"><span jsdisplay="returns" jscontent="re
turns.typeName" jstcache="9" style="display: none; ">void</span> <!-- Note: inte
ntionally longer 80 columns --> <span jscontent="fullName" jstcache="10">chrome.
windows.getCurrent</span>(<span jsselect="parameters" jsvalues="class:optional ?
'optional' : ''" jstcache="11" jsinstance="*0" class="null"><span jsdisplay="$i
ndex" jstcache="19" style="display: none; ">, </span><span jscontent="typeName"
jstcache="20">function</span> <var jstcache="0"><span jscontent="name" jstcache=
"7">callback</span></var></span>)</div> <div class="description" jstcache="0"> <
p class="todo" jsdisplay="!description" jstcache="12" style="display: none; ">Un
documented.</p> <p jsdisplay="description" jsvalues=".innerHTML:description" jst
cache="13">Get the window that is the container for the caller. i.e. the window
containing the ToolStrip that makes the call.</p> <!-- PARAMETERS --> <h4 jstcac
he="0">Parameters</h4> <dl jstcache="0"> <div jsselect="parameters" jstcache="21
" jsinstance="*0"> <dt jstcache="0"> <!-- Note: intentionally longer 80 columns
--> <var jscontent="name" jstcache="7">callback</var><em jstcache="0"> (<span cl
ass="optional" jsdisplay="optional" jstcache="28" style="display: none; ">option
al </span><span jscontent="typeName" jstcache="20">function</span>)</em> </dt> <
dd class="todo" jsdisplay="!$this.description" jstcache="23"> Undocumented. </dd
> <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.description" jstc
ache="24" style="display: none; "> Description of this parameter from the json s
chema. </dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="_propertyList" jstcache="
25" style="display: none; "> <dl jstcache="0"> <div jsselect="_propertyList" jst
cache="29"> <dt jstcache="0"> <!-- Note: intentionally longer 80 columns --> <va
r jscontent="name" jstcache="7">paramName</var><em jstcache="0"> (<span class="o
ptional" jsdisplay="optional" jstcache="28">optional </span><span jscontent="typ
eName" jstcache="20">paramType</span>)</em> </dt> <dd class="todo" jsdisplay="!$
this.description" jstcache="23"> Undocumented. </dd> <dd jsdisplay="$this.descri
ption" jsvalues=".innerHTML:$this.description" jstcache="24"> Description of thi
s parameter from the json schema. </dd> </div> </dl> </dd> </div> </dl> <!-- RET
URNS --> <h4 jsdisplay="returns" jstcache="14" style="display: none; ">Returns</
h4> <dl jstcache="0"> <div jsselect="returns" jstcache="22" style="display: none
; "> <dt jstcache="0"> <!-- Note: intentionally longer 80 columns --> <var jscon
tent="name" jstcache="7">paramName</var> <em jstcache="0">(<span jscontent="type
Name" jstcache="20">paramType</span>)</em> </dt> <dd class="todo" jsdisplay="!$t
his.description" jstcache="23"> Undocumented. </dd> <dd jsdisplay="$this.descrip
tion" jsvalues=".innerHTML:$this.description" jstcache="24"> Description of this
parameter from the json schema. </dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay=
"_propertyList" jstcache="25"> <dl jstcache="0"> <div jsselect="_propertyList" j
stcache="29"> <dt jstcache="0"> <!-- Note: intentionally longer 80 columns --> <
var jscontent="name" jstcache="7">paramName</var><em jstcache="0"> (<span class=
"optional" jsdisplay="optional" jstcache="28">optional </span><span jscontent="t
ypeName" jstcache="20">paramType</span>)</em> </dt> <dd class="todo" jsdisplay="
!$this.description" jstcache="23"> Undocumented. </dd> <dd jsdisplay="$this.desc
ription" jsvalues=".innerHTML:$this.description" jstcache="24"> Description of t
his parameter from the json schema. </dd> </div> </dl> </dd> </div> </dl> <!-- C
ALLBACK --> <div jsdisplay="callbackParameters" jstcache="15"> <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(<spa
n jscontent="callbackSignature" jstcache="26">object window</span>) <span class=
"subdued" jstcache="0">{...}</span>);</pre> <dl jstcache="0"> <div jsselect="cal
lbackParameters" jstcache="27" jsinstance="*0"> <dt jstcache="0"> <!-- Note: int
entionally longer 80 columns --> <var jscontent="name" jstcache="7">window</var>
<em jstcache="0"> (<span jscontent="typeName" jstcache="20">object</span>)</em>
</dt> <dd class="todo" jsdisplay="!$this.description" jstcache="23"> Undocumente
d. </dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.descriptio
n" jstcache="24" style="display: none; "> Description of this parameter from the
json schema. </dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="_propertyList" jst
cache="25"> <dl jstcache="0"> <div jsselect="_propertyList" jstcache="29" jsinst
ance="0"> <dt jstcache="0"> <!-- Note: intentionally longer 80 columns --> <var
jscontent="name" jstcache="7">id</var><em jstcache="0"> (<span class="optional"
jsdisplay="optional" jstcache="28" style="display: none; ">optional </span><span
jscontent="typeName" jstcache="20">integer</span>)</em> </dt> <dd class="todo"
jsdisplay="!$this.description" jstcache="23"> Undocumented. </dd> <dd jsdisplay=
"$this.description" jsvalues=".innerHTML:$this.description" jstcache="24" style=
"display: none; "> Description of this parameter from the json schema. </dd> </d
iv><div jsselect="_propertyList" jstcache="29" jsinstance="1"> <dt jstcache="0">
<!-- Note: intentionally longer 80 columns --> <var jscontent="name" jstcache="
7">focused</var><em jstcache="0"> (<span class="optional" jsdisplay="optional" j
stcache="28" style="display: none; ">optional </span><span jscontent="typeName"
jstcache="20">boolean</span>)</em> </dt> <dd class="todo" jsdisplay="!$this.desc
ription" jstcache="23"> Undocumented. </dd> <dd jsdisplay="$this.description" js
values=".innerHTML:$this.description" jstcache="24" style="display: none; "> Des
cription of this parameter from the json schema. </dd> </div><div jsselect="_pro
pertyList" jstcache="29" jsinstance="2"> <dt jstcache="0"> <!-- Note: intentiona
lly longer 80 columns --> <var jscontent="name" jstcache="7">left</var><em jstca
che="0"> (<span class="optional" jsdisplay="optional" jstcache="28" style="displ
ay: none; ">optional </span><span jscontent="typeName" jstcache="20">integer</sp
an>)</em> </dt> <dd class="todo" jsdisplay="!$this.description" jstcache="23"> U
ndocumented. </dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.
description" jstcache="24" style="display: none; "> Description of this paramete
r from the json schema. </dd> </div><div jsselect="_propertyList" jstcache="29"
jsinstance="3"> <dt jstcache="0"> <!-- Note: intentionally longer 80 columns -->
<var jscontent="name" jstcache="7">top</var><em jstcache="0"> (<span class="opt
ional" jsdisplay="optional" jstcache="28" style="display: none; ">optional </spa
n><span jscontent="typeName" jstcache="20">integer</span>)</em> </dt> <dd class=
"todo" jsdisplay="!$this.description" jstcache="23"> Undocumented. </dd> <dd jsd
isplay="$this.description" jsvalues=".innerHTML:$this.description" jstcache="24"
style="display: none; "> Description of this parameter from the json schema. </
dd> </div><div jsselect="_propertyList" jstcache="29" jsinstance="4"> <dt jstcac
he="0"> <!-- Note: intentionally longer 80 columns --> <var jscontent="name" jst
cache="7">bottom</var><em jstcache="0"> (<span class="optional" jsdisplay="optio
nal" jstcache="28" style="display: none; ">optional </span><span jscontent="type
Name" jstcache="20">integer</span>)</em> </dt> <dd class="todo" jsdisplay="!$thi
s.description" jstcache="23"> Undocumented. </dd> <dd jsdisplay="$this.descripti
on" jsvalues=".innerHTML:$this.description" jstcache="24" style="display: none;
"> Description of this parameter from the json schema. </dd> </div><div jsselect
="_propertyList" jstcache="29" jsinstance="5"> <dt jstcache="0"> <!-- Note: inte
ntionally longer 80 columns --> <var jscontent="name" jstcache="7">right</var><e
m jstcache="0"> (<span class="optional" jsdisplay="optional" jstcache="28" style
="display: none; ">optional </span><span jscontent="typeName" jstcache="20">inte
ger</span>)</em> </dt> <dd class="todo" jsdisplay="!$this.description" jstcache=
"23"> Undocumented. </dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML
:$this.description" jstcache="24" style="display: none; "> Description of this p
arameter from the json schema. </dd> </div><div jsselect="_propertyList" jstcach
e="29" jsinstance="*6"> <dt jstcache="0"> <!-- Note: intentionally longer 80 col
umns --> <var jscontent="name" jstcache="7">tabs</var><em jstcache="0"> (<span c
lass="optional" jsdisplay="optional" jstcache="28">optional </span><span jsconte
nt="typeName" jstcache="20">array of object</span>)</em> </dt> <dd class="todo"
jsdisplay="!$this.description" jstcache="23"> Undocumented. </dd> <dd jsdisplay=
"$this.description" jsvalues=".innerHTML:$this.description" jstcache="24" style=
"display: none; "> Description of this parameter from the json schema. </dd> </d
iv> </dl> </dd> </div> </dl> </div> </div> <!-- /description --> </div><div clas
s="apiItem" jsselect="functions" jstcache="4" jsinstance="2"> <a jsvalues=".name
:'method-' + name" jstcache="6" name="method-getLastFocused"></a> <!-- method-an
chor --> <h3 jscontent="name" jstcache="7">getLastFocused</h3> <div class="summa
ry" jstcache="0"><span jsdisplay="returns" jscontent="returns.typeName" jstcache
="9" style="display: none; ">void</span> <!-- Note: intentionally longer 80 colu
mns --> <span jscontent="fullName" jstcache="10">chrome.windows.getLastFocused</
span>(<span jsselect="parameters" jsvalues="class:optional ? 'optional' : ''" js
tcache="11" jsinstance="*0" class="null"><span jsdisplay="$index" jstcache="19"
style="display: none; ">, </span><span jscontent="typeName" jstcache="20">functi
on</span> <var jstcache="0"><span jscontent="name" jstcache="7">callback</span><
/var></span>)</div> <div class="description" jstcache="0"> <p class="todo" jsdis
play="!description" jstcache="12" style="display: none; ">Undocumented.</p> <p j
sdisplay="description" jsvalues=".innerHTML:description" jstcache="13">Get the w
indow that was most recenly focused -- typically the window 'on top'.</p> <!-- P
ARAMETERS --> <h4 jstcache="0">Parameters</h4> <dl jstcache="0"> <div jsselect="
parameters" jstcache="21" jsinstance="*0"> <dt jstcache="0"> <!-- Note: intentio
nally longer 80 columns --> <var jscontent="name" jstcache="7">callback</var><em
jstcache="0"> (<span class="optional" jsdisplay="optional" jstcache="28" style=
"display: none; ">optional </span><span jscontent="typeName" jstcache="20">funct
ion</span>)</em> </dt> <dd class="todo" jsdisplay="!$this.description" jstcache=
"23"> Undocumented. </dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML
:$this.description" jstcache="24" style="display: none; "> Description of this p
arameter from the json schema. </dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="_
propertyList" jstcache="25" style="display: none; "> <dl jstcache="0"> <div jsse
lect="_propertyList" jstcache="29"> <dt jstcache="0"> <!-- Note: intentionally l
onger 80 columns --> <var jscontent="name" jstcache="7">paramName</var><em jstca
che="0"> (<span class="optional" jsdisplay="optional" jstcache="28">optional </s
pan><span jscontent="typeName" jstcache="20">paramType</span>)</em> </dt> <dd cl
ass="todo" jsdisplay="!$this.description" jstcache="23"> Undocumented. </dd> <dd
jsdisplay="$this.description" jsvalues=".innerHTML:$this.description" jstcache=
"24"> Description of this parameter from the json schema. </dd> </div> </dl> </d
d> </div> </dl> <!-- RETURNS --> <h4 jsdisplay="returns" jstcache="14" style="di
splay: none; ">Returns</h4> <dl jstcache="0"> <div jsselect="returns" jstcache="
22" style="display: none; "> <dt jstcache="0"> <!-- Note: intentionally longer 8
0 columns --> <var jscontent="name" jstcache="7">paramName</var> <em jstcache="0
">(<span jscontent="typeName" jstcache="20">paramType</span>)</em> </dt> <dd cla
ss="todo" jsdisplay="!$this.description" jstcache="23"> Undocumented. </dd> <dd
jsdisplay="$this.description" jsvalues=".innerHTML:$this.description" jstcache="
24"> Description of this parameter from the json schema. </dd> <!-- OBJECT PROPE
RTIES --> <dd jsdisplay="_propertyList" jstcache="25"> <dl jstcache="0"> <div js
select="_propertyList" jstcache="29"> <dt jstcache="0"> <!-- Note: intentionally
longer 80 columns --> <var jscontent="name" jstcache="7">paramName</var><em jst
cache="0"> (<span class="optional" jsdisplay="optional" jstcache="28">optional <
/span><span jscontent="typeName" jstcache="20">paramType</span>)</em> </dt> <dd
class="todo" jsdisplay="!$this.description" jstcache="23"> Undocumented. </dd> <
dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.description" jstcach
e="24"> Description of this parameter from the json schema. </dd> </div> </dl> <
/dd> </div> </dl> <!-- CALLBACK --> <div jsdisplay="callbackParameters" jst
cache="15"> <h4 jstcache="0">Callback function</h4> <p jstcache="0"> If you spec
ify the <em jstcache="0">callback</em> parameter, it should specify a function t
hat looks like this: </p> <!-- Note: intentionally longer 80 columns --> <pre js
tcache="0">function(<span jscontent="callbackSignature" jstcache="26">object win
dow</span>) <span class="subdued" jstcache="0">{...}</span>);</pre> <dl jstcache
="0"> <div jsselect="callbackParameters" jstcache="27" jsinstance="*0"> <dt jstc
ache="0"> <!-- Note: intentionally longer 80 columns --> <var jscontent="name" j
stcache="7">window</var><em jstcache="0"> (<span jscontent="typeName" jstcache="
20">object</span>)</em> </dt> <dd class="todo" jsdisplay="!$this.description" js
tcache="23"> Undocumented. </dd> <dd jsdisplay="$this.description" jsvalues=".in
nerHTML:$this.description" jstcache="24" style="display: none; "> Description of
this parameter from the json schema. </dd> <!-- OBJECT PROPERTIES --> <dd jsdis
play="_propertyList" jstcache="25"> <dl jstcache="0"> <div jsselect="_propertyLi
st" jstcache="29" jsinstance="0"> <dt jstcache="0"> <!-- Note: intentionally lon
ger 80 columns --> <var jscontent="name" jstcache="7">id</var><em jstcache="0">
(<span class="optional" jsdisplay="optional" jstcache="28" style="display: none;
">optional </span><span jscontent="typeName" jstcache="20">integer</span>)</em>
</dt> <dd class="todo" jsdisplay="!$this.description" jstcache="23"> Undocument
ed. </dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.descripti
on" jstcache="24" style="display: none; "> Description of this parameter from th
e json schema. </dd> </div><div jsselect="_propertyList" jstcache="29" jsinstanc
e="1"> <dt jstcache="0"> <!-- Note: intentionally longer 80 columns --> <var jsc
ontent="name" jstcache="7">focused</var><em jstcache="0"> (<span class="optional
" jsdisplay="optional" jstcache="28" style="display: none; ">optional </span><sp
an jscontent="typeName" jstcache="20">boolean</span>)</em> </dt> <dd class="todo
" jsdisplay="!$this.description" jstcache="23"> Undocumented. </dd> <dd jsdispla
y="$this.description" jsvalues=".innerHTML:$this.description" jstcache="24" styl
e="display: none; "> Description of this parameter from the json schema. </dd> <
/div><div jsselect="_propertyList" jstcache="29" jsinstance="2"> <dt jstcache="0
"> <!-- Note: intentionally longer 80 columns --> <var jscontent="name" jstcache
="7">left</var><em jstcache="0"> (<span class="optional" jsdisplay="optional" js
tcache="28" style="display: none; ">optional </span><span jscontent="typeName" j
stcache="20">integer</span>)</em> </dt> <dd class="todo" jsdisplay="!$this.descr
iption" jstcache="23"> Undocumented. </dd> <dd jsdisplay="$this.description" jsv
alues=".innerHTML:$this.description" jstcache="24" style="display: none; "> Desc
ription of this parameter from the json schema. </dd> </div><div jsselect="_prop
ertyList" jstcache="29" jsinstance="3"> <dt jstcache="0"> <!-- Note: intentional
ly longer 80 columns --> <var jscontent="name" jstcache="7">top</var><em jstcach
e="0"> (<span class="optional" jsdisplay="optional" jstcache="28" style="display
: none; ">optional </span><span jscontent="typeName" jstcache="20">integer</span
>)</em> </dt> <dd class="todo" jsdisplay="!$this.description" jstcache="23"> Und
ocumented. </dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.de
scription" jstcache="24" style="display: none; "> Description of this parameter
from the json schema. </dd> </div><div jsselect="_propertyList" jstcache="29" js
instance="4"> <dt jstcache="0"> <!-- Note: intentionally longer 80 columns --> <
var jscontent="name" jstcache="7">bottom</var><em jstcache="0"> (<span class="op
tional" jsdisplay="optional" jstcache="28" style="display: none; ">optional </sp
an><span jscontent="typeName" jstcache="20">integer</span>)</em> </dt> <dd class
="todo" jsdisplay="!$this.description" jstcache="23"> Undocumented. </dd> <dd js
display="$this.description" jsvalues=".innerHTML:$this.description" jstcache="24
" style="display: none; "> Description of this parameter from the json schema. <
/dd> </div><div jsselect="_propertyList" jstcache="29" jsinstance="5"> <dt jstca
che="0"> <!-- Note: intentionally longer 80 columns --> <var jscontent="name" js
tcache="7">right</var><em jstcache="0"> (<span class="optional" jsdisplay="optio
nal" jstcache="28" style="display: none; ">optional </span><span jscontent="type
Name" jstcache="20">integer</span>)</em> </dt> <dd class="todo" jsdisplay="!$thi
s.description" jstcache="23"> Undocumented. </dd> <dd jsdisplay="$this.descripti
on" jsvalues=".innerHTML:$this.description" jstcache="24" style="display: none;
"> Description of this parameter from the json schema. </dd> </div><div jsselect
="_propertyList" jstcache="29" jsinstance="*6"> <dt jstcache="0"> <!-- Note: int
entionally longer 80 columns --> <var jscontent="name" jstcache="7">tabs</var><e
m jstcache="0"> (<span class="optional" jsdisplay="optional" jstcache="28">optio
nal </span><span jscontent="typeName" jstcache="20">array of object</span>)</em>
</dt> <dd class="todo" jsdisplay="!$this.description" jstcache="23"> Undocument
ed. </dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.descripti
on" jstcache="24" style="display: none; "> Description of this parameter from th
e json schema. </dd> </div> </dl> </dd> </div> </dl> </div> </div> <!-- /descrip
tion --> </div><div class="apiItem" jsselect="functions" jstcache="4" jsinstance
="3"> <a jsvalues=".name:'method-' + name" jstcache="6" name="method-getAll"></a
> <!-- method-anchor --> <h3 jscontent="name" jstcache="7">getAll</h3> <div clas
s="summary" jstcache="0"><span jsdisplay="returns" jscontent="returns.typeName"
jstcache="9" style="display: none; ">void</span> <!-- Note: intentionally longer
80 columns --> <span jscontent="fullName" jstcache="10">chrome.windows.getAll</
span>(<span jsselect="parameters" jsvalues="class:optional ? 'optional' : ''" js
tcache="11" jsinstance="0" class="optional"><span jsdisplay="$index" jstcache="1
9" style="display: none; ">, </span><span jscontent="typeName" jstcache="20">boo
lean</span> <var jstcache="0"><span jscontent="name" jstcache="7">populate</span
></var></span><span jsselect="parameters" jsvalues="class:optional ? 'optional'
: ''" jstcache="11" jsinstance="*1" class="null"><span jsdisplay="$index" jstcac
he="19">, </span><span jscontent="typeName" jstcache="20">function</span> <var j
stcache="0"><span jscontent="name" jstcache="7">callback</span></var></span>)</d
iv> <div class="description" jstcache="0"> <p class="todo" jsdisplay="!descripti
on" jstcache="12" style="display: none; ">Undocumented.</p> <p jsdisplay="descri
ption" jsvalues=".innerHTML:description" jstcache="13">Get all windows. If <var
jstcache="0">populate</var> is true, each window object will have a <var jstcach
e="0">tabs</var> property that contains a list of the Tab objects for that windo
w.</p> <!-- PARAMETERS --> <h4 jstcache="0">Parameters</h4> <dl jstcache="0"> <d
iv jsselect="parameters" jstcache="21" jsinstance="0"> <dt jstcache="0"> <!-- No
te: intentionally longer 80 columns --> <var jscontent="name" jstcache="7">popul
ate</var><em jstcache="0"> (<span class="optional" jsdisplay="optional" jstcache
="28">optional </span><span jscontent="typeName" jstcache="20">boolean</span>)</
em> </dt> <dd class="todo" jsdisplay="!$this.description" jstcache="23"> Undocum
ented. </dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.descri
ption" jstcache="24" style="display: none; "> Description of this parameter from
the json schema. </dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="_propertyList"
jstcache="25" style="display: none; "> <dl jstcache="0"> <div jsselect="_proper
tyList" jstcache="29"> <dt jstcache="0"> <!-- Note: intentionally longer 80 colu
mns --> <var jscontent="name" jstcache="7">paramName</var><em jstcache="0"> (<sp
an class="optional" jsdisplay="optional" jstcache="28">optional </span><span jsc
ontent="typeName" jstcache="20">paramType</span>)</em> </dt> <dd class="todo" js
display="!$this.description" jstcache="23"> Undocumented. </dd> <dd jsdisplay="$
this.description" jsvalues=".innerHTML:$this.description" jstcache="24"> Descrip
tion of this parameter from the json schema. </dd> </div> </dl> </dd> </div><div
jsselect="parameters" jstcache="21" jsinstance="*1"> <dt jstcache="0"> <!-- Not
e: intentionally longer 80 columns --> <var jscontent="name" jstcache="7">callba
ck</var><em jstcache="0"> (<span class="optional" jsdisplay="optional" jstcache=
"28" style="display: none; ">optional </span><span jscontent="typeName" jstcache
="20">function</span>)</em> </dt> <dd class="todo" jsdisplay="!$this.description
" jstcache="23"> Undocumented. </dd> <dd jsdisplay="$this.description" jsvalues=
".innerHTML:$this.description" jstcache="24" style="display: none; "> Descriptio
n of this parameter from the json schema. </dd> <!-- OBJECT PROPERTIES --> <dd j
sdisplay="_propertyList" jstcache="25" style="display: none; "> <dl jstcache="0"
> <div jsselect="_propertyList" jstcache="29"> <dt jstcache="0"> <!-- Note: inte
ntionally longer 80 columns --> <var jscontent="name" jstcache="7">paramName</va
r><em jstcache="0"> (<span class="optional" jsdisplay="optional" jstcache="28">o
ptional </span><span jscontent="typeName" jstcache="20">paramType</span>)</em> <
/dt> <dd class="todo" jsdisplay="!$this.description" jstcache="23"> Undocumented
. </dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.description
" jstcache="24"> Description of this parameter from the json schema. </dd> </div
> </dl> </dd> </div> </dl> <!-- RETURNS --> <h4 jsdisplay="returns" jstcache="14
" style="display: none; ">Returns</h4> <dl jstcache="0"> <div jsselect="returns"
jstcache="22" style="display: none; "> <dt jstcache="0"> <!-- Note: intentional
ly longer 80 columns --> <var jscontent="name" jstcache="7">paramName</var> <em
jstcache="0">(<span jscontent="typeName" jstcache="20">paramType</span>)</em> </
dt> <dd class="todo" jsdisplay="!$this.description" jstcache="23"> Undocumented.
</dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.description"
jstcache="24"> Description of this parameter from the json schema. </dd> <!-- O
BJECT PROPERTIES --> <dd jsdisplay="_propertyList" jstcache="25"> <dl jstcache="
0"> <div jsselect="_propertyList" jstcache="29"> <dt jstcache="0"> <!-- Note: in
tentionally longer 80 columns --> <var jscontent="name" jstcache="7">paramName</
var><em jstcache="0"> (<span class="optional" jsdisplay="optional" jstcache="28"
>optional </span><span jscontent="typeName" jstcache="20">paramType</span>)</em>
</dt> <dd class="todo" jsdisplay="!$this.description" jstcache="23"> Undocument
ed. </dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.descripti
on" jstcache="24"> Description of this parameter from the json schema. </dd> </d
iv> </dl> </dd> </div> </dl> <!-- CALLBACK --> <div jsdisplay="callbackParamet
ers" jstcache="15"> <h4 jstcache="0">Callback function</h4> <p jstcache="0"> If
you specify the <em jstcache="0">callback</em> parameter, it should specify a fu
nction that looks like this: </p> <!-- Note: intentionally longer 80 columns -->
<pre jstcache="0">function(<span jscontent="callbackSignature" jstcache="26">ar
ray of object windows</span>) <span class="subdued" jstcache="0">{...}</span>);<
/pre> <dl jstcache="0"> <div jsselect="callbackParameters" jstcache="27" jsinsta
nce="*0"> <dt jstcache="0"> <!-- Note: intentionally longer 80 columns --> <var
jscontent="name" jstcache="7">windows</var><em jstcache="0"> (<span jscontent="t
ypeName" jstcache="20">array of object</span>)</em> </dt> <dd class="todo" jsdis
play="!$this.description" jstcache="23"> Undocumented. </dd> <dd jsdisplay="$thi
s.description" jsvalues=".innerHTML:$this.description" jstcache="24" style="disp
lay: none; "> Description of this parameter from the json schema. </dd> <!-- OBJ
ECT PROPERTIES --> <dd jsdisplay="_propertyList" jstcache="25" style="display: n
one; "> <dl jstcache="0"> <div jsselect="_propertyList" jstcache="29"> <dt jstca
che="0"> <!-- Note: intentionally longer 80 columns --> <var jscontent="name" js
tcache="7">paramName</var><em jstcache="0"> (<span class="optional" jsdisplay="o
ptional" jstcache="28">optional </span><span jscontent="typeName" jstcache="20">
paramType</span>)</em> </dt> <dd class="todo" jsdisplay="!$this.description" jst
cache="23"> Undocumented. </dd> <dd jsdisplay="$this.description" jsvalues=".inn
erHTML:$this.description" jstcache="24"> Description of this parameter from the
json schema. </dd> </div> </dl> </dd> </div> </dl> </div> </div> <!-- /descripti
on --> </div><div class="apiItem" jsselect="functions" jstcache="4" jsinstance="
4"> <a jsvalues=".name:'method-' + name" jstcache="6" name="method-create"></a>
<!-- method-anchor --> <h3 jscontent="name" jstcache="7">create</h3> <div class=
"summary" jstcache="0"><span jsdisplay="returns" jscontent="returns.typeName" js
tcache="9" style="display: none; ">void</span> <!-- Note: intentionally longer 8
0 columns --> <span jscontent="fullName" jstcache="10">chrome.windows.create</sp
an>(<span jsselect="parameters" jsvalues="class:optional ? 'optional' : ''" jstc
ache="11" jsinstance="0" class="optional"><span jsdisplay="$index" jstcache="19"
style="display: none; ">, </span><span jscontent="typeName" jstcache="20">objec
t</span> <var jstcache="0"><span jscontent="name" jstcache="7">CreateData</span>
</var></span><span jsselect="parameters" jsvalues="class:optional ? 'optional' :
''" jstcache="11" jsinstance="*1" class="optional"><span jsdisplay="$index" jst
cache="19">, </span><span jscontent="typeName" jstcache="20">function</span> <va
r jstcache="0"><span jscontent="name" jstcache="7">callback</span></var></span>)
</div> <div class="description" jstcache="0"> <p class="todo" jsdisplay="!descri
ption" jstcache="12" style="display: none; ">Undocumented.</p> <p jsdisplay="des
cription" jsvalues=".innerHTML:description" jstcache="13">Create (open) a new br
owser with any optional sizing, position or default url provided.</p> <!-- PARAM
ETERS --> <h4 jstcache="0">Parameters</h4> <dl jstcache="0"> <div jsselect="para
meters" jstcache="21" jsinstance="0"> <dt jstcache="0"> <!-- Note: intentionally
longer 80 columns --> <var jscontent="name" jstcache="7">CreateData</var><em js
tcache="0"> (<span class="optional" jsdisplay="optional" jstcache="28">optional
</span><span jscontent="typeName" jstcache="20">object</span>)</em> </dt> <dd cl
ass="todo" jsdisplay="!$this.description" jstcache="23"> Undocumented. </dd> <dd
jsdisplay="$this.description" jsvalues=".innerHTML:$this.description" jstcache=
"24" style="display: none; "> Description of this parameter from the json schema
. </dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="_propertyList" jstcache="25">
<dl jstcache="0"> <div jsselect="_propertyList" jstcache="29" jsinstance="0"> <d
t jstcache="0"> <!-- Note: intentionally longer 80 columns --> <var jscontent="n
ame" jstcache="7">url</var><em jstcache="0"> (<span class="optional" jsdisplay="
optional" jstcache="28">optional </span><span jscontent="typeName" jstcache="20"
>string</span>)</em> </dt> <dd class="todo" jsdisplay="!$this.description" jstca
che="23"> Undocumented. </dd> <dd jsdisplay="$this.description" jsvalues=".inner
HTML:$this.description" jstcache="24" style="display: none; "> Description of th
is parameter from the json schema. </dd> </div><div jsselect="_propertyList" jst
cache="29" jsinstance="1"> <dt jstcache="0"> <!-- Note: intentionally longer 80
columns --> <var jscontent="name" jstcache="7">left</var><em jstcache="0"> (<spa
n class="optional" jsdisplay="optional" jstcache="28">optional </span><span jsco
ntent="typeName" jstcache="20">integer</span>)</em> </dt> <dd class="todo" jsdis
play="!$this.description" jstcache="23"> Undocumented. </dd> <dd jsdisplay="$thi
s.description" jsvalues=".innerHTML:$this.description" jstcache="24" style="disp
lay: none; "> Description of this parameter from the json schema. </dd> </div><d
iv jsselect="_propertyList" jstcache="29" jsinstance="2"> <dt jstcache="0"> <!--
Note: intentionally longer 80 columns --> <var jscontent="name" jstcache="7">to
p</var><em jstcache="0"> (<span class="optional" jsdisplay="optional" jstcache="
28">optional </span><span jscontent="typeName" jstcache="20">integer</span>)</em
> </dt> <dd class="todo" jsdisplay="!$this.description" jstcache="23"> Undocumen
ted. </dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.descript
ion" jstcache="24" style="display: none; "> Description of this parameter from t
he json schema. </dd> </div><div jsselect="_propertyList" jstcache="29" jsinstan
ce="3"> <dt jstcache="0"> <!-- Note: intentionally longer 80 columns --> <var js
content="name" jstcache="7">width</var><em jstcache="0"> (<span class="optional"
jsdisplay="optional" jstcache="28">optional </span><span jscontent="typeName" j
stcache="20">integer</span>)</em> </dt> <dd class="todo" jsdisplay="!$this.descr
iption" jstcache="23"> Undocumented. </dd> <dd jsdisplay="$this.description" jsv
alues=".innerHTML:$this.description" jstcache="24" style="display: none; "> Desc
ription of this parameter from the json schema. </dd> </div><div jsselect="_prop
ertyList" jstcache="29" jsinstance="*4"> <dt jstcache="0"> <!-- Note: intentiona
lly longer 80 columns --> <var jscontent="name" jstcache="7">height</var><em jst
cache="0"> (<span class="optional" jsdisplay="optional" jstcache="28">optional <
/span><span jscontent="typeName" jstcache="20">integer</span>)</em> </dt> <dd cl
ass="todo" jsdisplay="!$this.description" jstcache="23"> Undocumented. </dd> <dd
jsdisplay="$this.description" jsvalues=".innerHTML:$this.description" jstcache=
"24" style="display: none; "> Description of this parameter from the json schema
. </dd> </div> </dl> </dd> </div><div jsselect="parameters" jstcache="21" jsinst
ance="*1"> <dt jstcache="0"> <!-- Note: intentionally longer 80 columns --> <var
jscontent="name" jstcache="7">callback</var><em jstcache="0"> (<span class="opt
ional" jsdisplay="optional" jstcache="28">optional </span><span jscontent="typeN
ame" jstcache="20">function</span>)</em> </dt> <dd class="todo" jsdisplay="!$thi
s.description" jstcache="23"> Undocumented. </dd> <dd jsdisplay="$this.descripti
on" jsvalues=".innerHTML:$this.description" jstcache="24" style="display: none;
"> Description of this parameter from the json schema. </dd> <!-- OBJECT PROPERT
IES --> <dd jsdisplay="_propertyList" jstcache="25" style="display: none; "> <dl
jstcache="0"> <div jsselect="_propertyList" jstcache="29"> <dt jstcache="0"> <!
-- Note: intentionally longer 80 columns --> <var jscontent="name" jstcache="7">
paramName</var><em jstcache="0"> (<span class="optional" jsdisplay="optional" js
tcache="28">optional </span><span jscontent="typeName" jstcache="20">paramType</
span>)</em> </dt> <dd class="todo" jsdisplay="!$this.description" jstcache="23">
Undocumented. </dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML:$thi
s.description" jstcache="24"> Description of this parameter from the json schema
. </dd> </div> </dl> </dd> </div> </dl> <!-- RETURNS --> <h4 jsdisplay="returns"
jstcache="14" style="display: none; ">Returns</h4> <dl jstcache="0"> <div jssel
ect="returns" jstcache="22" style="display: none; "> <dt jstcache="0"> <!-- Note
: intentionally longer 80 columns --> <var jscontent="name" jstcache="7">paramNa
me</var> <em jstcache="0">(<span jscontent="typeName" jstcache="20">paramType</s
pan>)</em> </dt> <dd class="todo" jsdisplay="!$this.description" jstcache="23">
Undocumented. </dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this
.description" jstcache="24"> Description of this parameter from the json schema.
</dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="_propertyList" jstcache="25"> <
dl jstcache="0"> <div jsselect="_propertyList" jstcache="29"> <dt jstcache="0">
<!-- Note: intentionally longer 80 columns --> <var jscontent="name" jstcache="7
">paramName</var><em jstcache="0"> (<span class="optional" jsdisplay="optional"
jstcache="28">optional </span><span jscontent="typeName" jstcache="20">paramType
</span>)</em> </dt> <dd class="todo" jsdisplay="!$this.description" jstcache="23
"> Undocumented. </dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML:$t
his.description" jstcache="24"> Description of this parameter from the json sche
ma. </dd> </div> </dl> </dd> </div> </dl> <!-- CALLBACK --> <div jsdisplay=
"callbackParameters" jstcache="15"> <h4 jstcache="0">Callback function</h4> <p j
stcache="0"> If you specify the <em jstcache="0">callback</em> parameter, it sho
uld specify a function that looks like this: </p> <!-- Note: intentionally longe
r 80 columns --> <pre jstcache="0">function(<span jscontent="callbackSignature"
jstcache="26">object window</span>) <span class="subdued" jstcache="0">{...}</sp
an>);</pre> <dl jstcache="0"> <div jsselect="callbackParameters" jstcache="27" j
sinstance="*0"> <dt jstcache="0"> <!-- Note: intentionally longer 80 columns -->
<var jscontent="name" jstcache="7">window</var><em jstcache="0"> (<span jsconte
nt="typeName" jstcache="20">object</span>)</em> </dt> <dd class="todo" jsdisplay
="!$this.description" jstcache="23"> Undocumented. </dd> <dd jsdisplay="$this.de
scription" jsvalues=".innerHTML:$this.description" jstcache="24" style="display:
none; "> Description of this parameter from the json schema. </dd> <!-- OBJECT
PROPERTIES --> <dd jsdisplay="_propertyList" jstcache="25"> <dl jstcache="0"> <d
iv jsselect="_propertyList" jstcache="29" jsinstance="0"> <dt jstcache="0"> <!--
Note: intentionally longer 80 columns --> <var jscontent="name" jstcache="7">id
</var><em jstcache="0"> (<span class="optional" jsdisplay="optional" jstcache="2
8" style="display: none; ">optional </span><span jscontent="typeName" jstcache="
20">integer</span>)</em> </dt> <dd class="todo" jsdisplay="!$this.description" j
stcache="23"> Undocumented. </dd> <dd jsdisplay="$this.description" jsvalues=".i
nnerHTML:$this.description" jstcache="24" style="display: none; "> Description o
f this parameter from the json schema. </dd> </div><div jsselect="_propertyList"
jstcache="29" jsinstance="1"> <dt jstcache="0"> <!-- Note: intentionally longer
80 columns --> <var jscontent="name" jstcache="7">focused</var><em jstcache="0"
> (<span class="optional" jsdisplay="optional" jstcache="28" style="display: non
e; ">optional </span><span jscontent="typeName" jstcache="20">boolean</span>)</e
m> </dt> <dd class="todo" jsdisplay="!$this.description" jstcache="23"> Undocume
nted. </dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.descrip
tion" jstcache="24" style="display: none; "> Description of this parameter from
the json schema. </dd> </div><div jsselect="_propertyList" jstcache="29" jsinsta
nce="2"> <dt jstcache="0"> <!-- Note: intentionally longer 80 columns --> <var j
scontent="name" jstcache="7">left</var><em jstcache="0"> (<span class="optional"
jsdisplay="optional" jstcache="28" style="display: none; ">optional </span><spa
n jscontent="typeName" jstcache="20">integer</span>)</em> </dt> <dd class="todo"
jsdisplay="!$this.description" jstcache="23"> Undocumented. </dd> <dd jsdisplay
="$this.description" jsvalues=".innerHTML:$this.description" jstcache="24" style
="display: none; "> Description of this parameter from the json schema. </dd> </
div><div jsselect="_propertyList" jstcache="29" jsinstance="3"> <dt jstcache="0"
> <!-- Note: intentionally longer 80 columns --> <var jscontent="name" jstcache=
"7">top</var><em jstcache="0"> (<span class="optional" jsdisplay="optional" jstc
ache="28" style="display: none; ">optional </span><span jscontent="typeName" jst
cache="20">integer</span>)</em> </dt> <dd class="todo" jsdisplay="!$this.descrip
tion" jstcache="23"> Undocumented. </dd> <dd jsdisplay="$this.description" jsval
ues=".innerHTML:$this.description" jstcache="24" style="display: none; "> Descri
ption of this parameter from the json schema. </dd> </div><div jsselect="_proper
tyList" jstcache="29" jsinstance="4"> <dt jstcache="0"> <!-- Note: intentionally
longer 80 columns --> <var jscontent="name" jstcache="7">bottom</var><em jstcac
he="0"> (<span class="optional" jsdisplay="optional" jstcache="28" style="displa
y: none; ">optional </span><span jscontent="typeName" jstcache="20">integer</spa
n>)</em> </dt> <dd class="todo" jsdisplay="!$this.description" jstcache="23"> Un
documented. </dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.d
escription" jstcache="24" style="display: none; "> Description of this parameter
from the json schema. </dd> </div><div jsselect="_propertyList" jstcache="29" j
sinstance="5"> <dt jstcache="0"> <!-- Note: intentionally longer 80 columns -->
<var jscontent="name" jstcache="7">right</var><em jstcache="0"> (<span class="op
tional" jsdisplay="optional" jstcache="28" style="display: none; ">optional </sp
an><span jscontent="typeName" jstcache="20">integer</span>)</em> </dt> <dd class
="todo" jsdisplay="!$this.description" jstcache="23"> Undocumented. </dd> <dd js
display="$this.description" jsvalues=".innerHTML:$this.description" jstcache="24
" style="display: none; "> Description of this parameter from the json schema. <
/dd> </div><div jsselect="_propertyList" jstcache="29" jsinstance="*6"> <dt jstc
ache="0"> <!-- Note: intentionally longer 80 columns --> <var jscontent="name" j
stcache="7">tabs</var><em jstcache="0"> (<span class="optional" jsdisplay="optio
nal" jstcache="28">optional </span><span jscontent="typeName" jstcache="20">arra
y of object</span>)</em> </dt> <dd class="todo" jsdisplay="!$this.description" j
stcache="23"> Undocumented. </dd> <dd jsdisplay="$this.description" jsvalues=".i
nnerHTML:$this.description" jstcache="24" style="display: none; "> Description o
f this parameter from the json schema. </dd> </div> </dl> </dd> </div> </dl> </d
iv> </div> <!-- /description --> </div><div class="apiItem" jsselect="functions"
jstcache="4" jsinstance="5"> <a jsvalues=".name:'method-' + name" jstcache="6"
name="method-update"></a> <!-- method-anchor --> <h3 jscontent="name" jstcache="
7">update</h3> <div class="summary" jstcache="0"><span jsdisplay="returns" jscon
tent="returns.typeName" jstcache="9" style="display: none; ">void</span> <!-- No
te: intentionally longer 80 columns --> <span jscontent="fullName" jstcache="10"
>chrome.windows.update</span>(<span jsselect="parameters" jsvalues="class:option
al ? 'optional' : ''" jstcache="11" jsinstance="0" class="null"><span jsdisplay=
"$index" jstcache="19" style="display: none; ">, </span><span jscontent="typeNam
e" jstcache="20">integer</span> <var jstcache="0"><span jscontent="name" jstcach
e="7">windowId</span></var></span><span jsselect="parameters" jsvalues="class:op
tional ? 'optional' : ''" jstcache="11" jsinstance="1" class="null"><span jsdisp
lay="$index" jstcache="19">, </span><span jscontent="typeName" jstcache="20">obj
ect</span> <var jstcache="0"><span jscontent="name" jstcache="7">UpdateInfo</spa
n></var></span><span jsselect="parameters" jsvalues="class:optional ? 'optional'
: ''" jstcache="11" jsinstance="*2" class="optional"><span jsdisplay="$index" j
stcache="19">, </span><span jscontent="typeName" jstcache="20">function</span> <
var jstcache="0"><span jscontent="name" jstcache="7">callback</span></var></span
>)</div> <div class="description" jstcache="0"> <p class="todo" jsdisplay="!desc
ription" jstcache="12">Undocumented.</p> <p jsdisplay="description" jsvalues=".i
nnerHTML:description" jstcache="13" style="display: none; "> A description from
the json schema def of the function goes here. </p> <!-- PARAMETERS --> <h4 jstc
ache="0">Parameters</h4> <dl jstcache="0"> <div jsselect="parameters" jstcache="
21" jsinstance="0"> <dt jstcache="0"> <!-- Note: intentionally longer 80 columns
--> <var jscontent="name" jstcache="7">windowId</var><em jstcache="0"> (<span c
lass="optional" jsdisplay="optional" jstcache="28" style="display: none; ">optio
nal </span><span jscontent="typeName" jstcache="20">integer</span>)</em> </dt> <
dd class="todo" jsdisplay="!$this.description" jstcache="23"> Undocumented. </dd
> <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.description" jstc
ache="24" style="display: none; "> Description of this parameter from the json s
chema. </dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="_propertyList" jstcache="
25" style="display: none; "> <dl jstcache="0"> <div jsselect="_propertyList" jst
cache="29"> <dt jstcache="0"> <!-- Note: intentionally longer 80 columns --> <va
r jscontent="name" jstcache="7">paramName</var><em jstcache="0"> (<span class="o
ptional" jsdisplay="optional" jstcache="28">optional </span><span jscontent="typ
eName" jstcache="20">paramType</span>)</em> </dt> <dd class="todo" jsdisplay="!$
this.description" jstcache="23"> Undocumented. </dd> <dd jsdisplay="$this.descri
ption" jsvalues=".innerHTML:$this.description" jstcache="24"> Description of thi
s parameter from the json schema. </dd> </div> </dl> </dd> </div><div jsselect="
parameters" jstcache="21" jsinstance="1"> <dt jstcache="0"> <!-- Note: intention
ally longer 80 columns --> <var jscontent="name" jstcache="7">UpdateInfo</var><e
m jstcache="0"> (<span class="optional" jsdisplay="optional" jstcache="28" style
="display: none; ">optional </span><span jscontent="typeName" jstcache="20">obje
ct</span>)</em> </dt> <dd class="todo" jsdisplay="!$this.description" jstcache="
23"> Undocumented. </dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML:
$this.description" jstcache="24" style="display: none; "> Description of this pa
rameter from the json schema. </dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="_p
ropertyList" jstcache="25"> <dl jstcache="0"> <div jsselect="_propertyList" jstc
ache="29" jsinstance="0"> <dt jstcache="0"> <!-- Note: intentionally longer 80 c
olumns --> <var jscontent="name" jstcache="7">left</var><em jstcache="0"> (<span
class="optional" jsdisplay="optional" jstcache="28">optional </span><span jscon
tent="typeName" jstcache="20">integer</span>)</em> </dt> <dd class="todo" jsdisp
lay="!$this.description" jstcache="23"> Undocumented. </dd> <dd jsdisplay="$this
.description" jsvalues=".innerHTML:$this.description" jstcache="24" style="displ
ay: none; "> Description of this parameter from the json schema. </dd> </div><di
v jsselect="_propertyList" jstcache="29" jsinstance="1"> <dt jstcache="0"> <!--
Note: intentionally longer 80 columns --> <var jscontent="name" jstcache="7">top
</var><em jstcache="0"> (<span class="optional" jsdisplay="optional" jstcache="2
8">optional </span><span jscontent="typeName" jstcache="20">integer</span>)</em>
</dt> <dd class="todo" jsdisplay="!$this.description" jstcache="23"> Undocument
ed. </dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.descripti
on" jstcache="24" style="display: none; "> Description of this parameter from th
e json schema. </dd> </div><div jsselect="_propertyList" jstcache="29" jsinstanc
e="2"> <dt jstcache="0"> <!-- Note: intentionally longer 80 columns --> <var jsc
ontent="name" jstcache="7">width</var><em jstcache="0"> (<span class="optional"
jsdisplay="optional" jstcache="28">optional </span><span jscontent="typeName" js
tcache="20">integer</span>)</em> </dt> <dd class="todo" jsdisplay="!$this.descri
ption" jstcache="23"> Undocumented. </dd> <dd jsdisplay="$this.description" jsva
lues=".innerHTML:$this.description" jstcache="24" style="display: none; "> Descr
iption of this parameter from the json schema. </dd> </div><div jsselect="_prope
rtyList" jstcache="29" jsinstance="*3"> <dt jstcache="0"> <!-- Note: intentional
ly longer 80 columns --> <var jscontent="name" jstcache="7">height</var><em jstc
ache="0"> (<span class="optional" jsdisplay="optional" jstcache="28">optional </
span><span jscontent="typeName" jstcache="20">integer</span>)</em> </dt> <dd cla
ss="todo" jsdisplay="!$this.description" jstcache="23"> Undocumented. </dd> <dd
jsdisplay="$this.description" jsvalues=".innerHTML:$this.description" jstcache="
24" style="display: none; "> Description of this parameter from the json schema.
</dd> </div> </dl> </dd> </div><div jsselect="parameters" jstcache="21" jsinsta
nce="*2"> <dt jstcache="0"> <!-- Note: intentionally longer 80 columns --> <var
jscontent="name" jstcache="7">callback</var><em jstcache="0"> (<span class="opti
onal" jsdisplay="optional" jstcache="28">optional </span><span jscontent="typeNa
me" jstcache="20">function</span>)</em> </dt> <dd class="todo" jsdisplay="!$this
.description" jstcache="23"> Undocumented. </dd> <dd jsdisplay="$this.descriptio
n" jsvalues=".innerHTML:$this.description" jstcache="24" style="display: none; "
> Description of this parameter from the json schema. </dd> <!-- OBJECT PROPERTI
ES --> <dd jsdisplay="_propertyList" jstcache="25" style="display: none; "> <dl
jstcache="0"> <div jsselect="_propertyList" jstcache="29"> <dt jstcache="0"> <!-
- Note: intentionally longer 80 columns --> <var jscontent="name" jstcache="7">p
aramName</var><em jstcache="0"> (<span class="optional" jsdisplay="optional" jst
cache="28">optional </span><span jscontent="typeName" jstcache="20">paramType</s
pan>)</em> </dt> <dd class="todo" jsdisplay="!$this.description" jstcache="23">
Undocumented. </dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this
.description" jstcache="24"> Description of this parameter from the json schema.
</dd> </div> </dl> </dd> </div> </dl> <!-- RETURNS --> <h4 jsdisplay="returns"
jstcache="14" style="display: none; ">Returns</h4> <dl jstcache="0"> <div jssele
ct="returns" jstcache="22" style="display: none; "> <dt jstcache="0"> <!-- Note:
intentionally longer 80 columns --> <var jscontent="name" jstcache="7">paramNam
e</var> <em jstcache="0">(<span jscontent="typeName" jstcache="20">paramType</sp
an>)</em> </dt> <dd class="todo" jsdisplay="!$this.description" jstcache="23"> U
ndocumented. </dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.
description" jstcache="24"> Description of this parameter from the json schema.
</dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="_propertyList" jstcache="25"> <d
l jstcache="0"> <div jsselect="_propertyList" jstcache="29"> <dt jstcache="0"> <
!-- Note: intentionally longer 80 columns --> <var jscontent="name" jstcache="7"
>paramName</var><em jstcache="0"> (<span class="optional" jsdisplay="optional" j
stcache="28">optional </span><span jscontent="typeName" jstcache="20">paramType<
/span>)</em> </dt> <dd class="todo" jsdisplay="!$this.description" jstcache="23"
> Undocumented. </dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML:$th
is.description" jstcache="24"> Description of this parameter from the json schem
a. </dd> </div> </dl> </dd> </div> </dl> <!-- CALLBACK --> <div jsdisplay=
"callbackParameters" jstcache="15"> <h4 jstcache="0">Callback function</h4> <p j
stcache="0"> If you specify the <em jstcache="0">callback</em> parameter, it sho
uld specify a function that looks like this: </p> <!-- Note: intentionally longe
r 80 columns --> <pre jstcache="0">function(<span jscontent="callbackSignature"
jstcache="26">object window</span>) <span class="subdued" jstcache="0">{...}</sp
an>);</pre> <dl jstcache="0"> <div jsselect="callbackParameters" jstcache="27" j
sinstance="*0"> <dt jstcache="0"> <!-- Note: intentionally longer 80 columns -->
<var jscontent="name" jstcache="7">window</var><em jstcache="0"> (<span jsconte
nt="typeName" jstcache="20">object</span>)</em> </dt> <dd class="todo" jsdisplay
="!$this.description" jstcache="23"> Undocumented. </dd> <dd jsdisplay="$this.de
scription" jsvalues=".innerHTML:$this.description" jstcache="24" style="display:
none; "> Description of this parameter from the json schema. </dd> <!-- OBJECT
PROPERTIES --> <dd jsdisplay="_propertyList" jstcache="25"> <dl jstcache="0"> <d
iv jsselect="_propertyList" jstcache="29" jsinstance="0"> <dt jstcache="0"> <!--
Note: intentionally longer 80 columns --> <var jscontent="name" jstcache="7">id
</var><em jstcache="0"> (<span class="optional" jsdisplay="optional" jstcache="2
8" style="display: none; ">optional </span><span jscontent="typeName" jstcache="
20">integer</span>)</em> </dt> <dd class="todo" jsdisplay="!$this.description" j
stcache="23"> Undocumented. </dd> <dd jsdisplay="$this.description" jsvalues=".i
nnerHTML:$this.description" jstcache="24" style="display: none; "> Description o
f this parameter from the json schema. </dd> </div><div jsselect="_propertyList"
jstcache="29" jsinstance="1"> <dt jstcache="0"> <!-- Note: intentionally longer
80 columns --> <var jscontent="name" jstcache="7">focused</var><em jstcache="0"
> (<span class="optional" jsdisplay="optional" jstcache="28" style="display: non
e; ">optional </span><span jscontent="typeName" jstcache="20">boolean</span>)</e
m> </dt> <dd class="todo" jsdisplay="!$this.description" jstcache="23"> Undocume
nted. </dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.descrip
tion" jstcache="24" style="display: none; "> Description of this parameter from
the json schema. </dd> </div><div jsselect="_propertyList" jstcache="29" jsinsta
nce="2"> <dt jstcache="0"> <!-- Note: intentionally longer 80 columns --> <var j
scontent="name" jstcache="7">left</var><em jstcache="0"> (<span class="optional"
jsdisplay="optional" jstcache="28" style="display: none; ">optional </span><spa
n jscontent="typeName" jstcache="20">integer</span>)</em> </dt> <dd class="todo"
jsdisplay="!$this.description" jstcache="23"> Undocumented. </dd> <dd jsdisplay
="$this.description" jsvalues=".innerHTML:$this.description" jstcache="24" style
="display: none; "> Description of this parameter from the json schema. </dd> </
div><div jsselect="_propertyList" jstcache="29" jsinstance="3"> <dt jstcache="0"
> <!-- Note: intentionally longer 80 columns --> <var jscontent="name" jstcache=
"7">top</var><em jstcache="0"> (<span class="optional" jsdisplay="optional" jstc
ache="28" style="display: none; ">optional </span><span jscontent="typeName" jst
cache="20">integer</span>)</em> </dt> <dd class="todo" jsdisplay="!$this.descrip
tion" jstcache="23"> Undocumented. </dd> <dd jsdisplay="$this.description" jsval
ues=".innerHTML:$this.description" jstcache="24" style="display: none; "> Descri
ption of this parameter from the json schema. </dd> </div><div jsselect="_proper
tyList" jstcache="29" jsinstance="4"> <dt jstcache="0"> <!-- Note: intentionally
longer 80 columns --> <var jscontent="name" jstcache="7">bottom</var><em jstcac
he="0"> (<span class="optional" jsdisplay="optional" jstcache="28" style="displa
y: none; ">optional </span><span jscontent="typeName" jstcache="20">integer</spa
n>)</em> </dt> <dd class="todo" jsdisplay="!$this.description" jstcache="23"> Un
documented. </dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.d
escription" jstcache="24" style="display: none; "> Description of this parameter
from the json schema. </dd> </div><div jsselect="_propertyList" jstcache="29" j
sinstance="5"> <dt jstcache="0"> <!-- Note: intentionally longer 80 columns -->
<var jscontent="name" jstcache="7">right</var><em jstcache="0"> (<span class="op
tional" jsdisplay="optional" jstcache="28" style="display: none; ">optional </sp
an><span jscontent="typeName" jstcache="20">integer</span>)</em> </dt> <dd class
="todo" jsdisplay="!$this.description" jstcache="23"> Undocumented. </dd> <dd js
display="$this.description" jsvalues=".innerHTML:$this.description" jstcache="24
" style="display: none; "> Description of this parameter from the json schema. <
/dd> </div><div jsselect="_propertyList" jstcache="29" jsinstance="*6"> <dt jstc
ache="0"> <!-- Note: intentionally longer 80 columns --> <var jscontent="name" j
stcache="7">tabs</var><em jstcache="0"> (<span class="optional" jsdisplay="optio
nal" jstcache="28">optional </span><span jscontent="typeName" jstcache="20">arra
y of object</span>)</em> </dt> <dd class="todo" jsdisplay="!$this.description" j
stcache="23"> Undocumented. </dd> <dd jsdisplay="$this.description" jsvalues=".i
nnerHTML:$this.description" jstcache="24" style="display: none; "> Description o
f this parameter from the json schema. </dd> </div> </dl> </dd> </div> </dl> </d
iv> </div> <!-- /description --> </div><div class="apiItem" jsselect="functions"
jstcache="4" jsinstance="*6"> <a jsvalues=".name:'method-' + name" jstcache="6"
name="method-remove"></a> <!-- method-anchor --> <h3 jscontent="name" jstcache=
"7">remove</h3> <div class="summary" jstcache="0"><span jsdisplay="returns" jsco
ntent="returns.typeName" jstcache="9" style="display: none; ">void</span> <!-- N
ote: intentionally longer 80 columns --> <span jscontent="fullName" jstcache="10
">chrome.windows.remove</span>(<span jsselect="parameters" jsvalues="class:optio
nal ? 'optional' : ''" jstcache="11" jsinstance="0" class="null"><span jsdisplay
="$index" jstcache="19" style="display: none; ">, </span><span jscontent="typeNa
me" jstcache="20">integer</span> <var jstcache="0"><span jscontent="name" jstcac
he="7">windowId</span></var></span><span jsselect="parameters" jsvalues="class:o
ptional ? 'optional' : ''" jstcache="11" jsinstance="*1" class="optional"><span
jsdisplay="$index" jstcache="19">, </span><span jscontent="typeName" jstcache="2
0">function</span> <var jstcache="0"><span jscontent="name" jstcache="7">callbac
k</span></var></span>)</div> <div class="description" jstcache="0"> <p class="to
do" jsdisplay="!description" jstcache="12">Undocumented.</p> <p jsdisplay="descr
iption" jsvalues=".innerHTML:description" jstcache="13" style="display: none; ">
A description from the json schema def of the function goes here. </p> <!-- PAR
AMETERS --> <h4 jstcache="0">Parameters</h4> <dl jstcache="0"> <div jsselect="pa
rameters" jstcache="21" jsinstance="0"> <dt jstcache="0"> <!-- Note: intentional
ly longer 80 columns --> <var jscontent="name" jstcache="7">windowId</var><em js
tcache="0"> (<span class="optional" jsdisplay="optional" jstcache="28" style="di
splay: none; ">optional </span><span jscontent="typeName" jstcache="20">integer<
/span>)</em> </dt> <dd class="todo" jsdisplay="!$this.description" jstcache="23"
> Undocumented. </dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML:$th
is.description" jstcache="24" style="display: none; "> Description of this param
eter from the json schema. </dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="_prop
ertyList" jstcache="25" style="display: none; "> <dl jstcache="0"> <div jsselect
="_propertyList" jstcache="29"> <dt jstcache="0"> <!-- Note: intentionally longe
r 80 columns --> <var jscontent="name" jstcache="7">paramName</var><em jstcache=
"0"> (<span class="optional" jsdisplay="optional" jstcache="28">optional </span>
<span jscontent="typeName" jstcache="20">paramType</span>)</em> </dt> <dd class=
"todo" jsdisplay="!$this.description" jstcache="23"> Undocumented. </dd> <dd jsd
isplay="$this.description" jsvalues=".innerHTML:$this.description" jstcache="24"
> Description of this parameter from the json schema. </dd> </div> </dl> </dd> <
/div><div jsselect="parameters" jstcache="21" jsinstance="*1"> <dt jstcache="0">
<!-- Note: intentionally longer 80 columns --> <var jscontent="name" jstcache="
7">callback</var><em jstcache="0"> (<span class="optional" jsdisplay="optional"
jstcache="28">optional </span><span jscontent="typeName" jstcache="20">function<
/span>)</em> </dt> <dd class="todo" jsdisplay="!$this.description" jstcache="23"
> Undocumented. </dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML:$th
is.description" jstcache="24" style="display: none; "> Description of this param
eter from the json schema. </dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="_prop
ertyList" jstcache="25" style="display: none; "> <dl jstcache="0"> <div jsselect
="_propertyList" jstcache="29"> <dt jstcache="0"> <!-- Note: intentionally longe
r 80 columns --> <var jscontent="name" jstcache="7">paramName</var><em jstcache=
"0"> (<span class="optional" jsdisplay="optional" jstcache="28">optional </span>
<span jscontent="typeName" jstcache="20">paramType</span>)</em> </dt> <dd class=
"todo" jsdisplay="!$this.description" jstcache="23"> Undocumented. </dd> <dd jsd
isplay="$this.description" jsvalues=".innerHTML:$this.description" jstcache="24"
> Description of this parameter from the json schema. </dd> </div> </dl> </dd> <
/div> </dl> <!-- RETURNS --> <h4 jsdisplay="returns" jstcache="14" style="displa
y: none; ">Returns</h4> <dl jstcache="0"> <div jsselect="returns" jstcache="22"
style="display: none; "> <dt jstcache="0"> <!-- Note: intentionally longer 80 co
lumns --> <var jscontent="name" jstcache="7">paramName</var> <em jstcache="0">(<
span jscontent="typeName" jstcache="20">paramType</span>)</em> </dt> <dd class="
todo" jsdisplay="!$this.description" jstcache="23"> Undocumented. </dd> <dd jsdi
splay="$this.description" jsvalues=".innerHTML:$this.description" jstcache="24">
Description of this parameter from the json schema. </dd> <!-- OBJECT PROPERTIE
S --> <dd jsdisplay="_propertyList" jstcache="25"> <dl jstcache="0"> <div jssele
ct="_propertyList" jstcache="29"> <dt jstcache="0"> <!-- Note: intentionally lon
ger 80 columns --> <var jscontent="name" jstcache="7">paramName</var><em jstcach
e="0"> (<span class="optional" jsdisplay="optional" jstcache="28">optional </spa
n><span jscontent="typeName" jstcache="20">paramType</span>)</em> </dt> <dd clas
s="todo" jsdisplay="!$this.description" jstcache="23"> Undocumented. </dd> <dd j
sdisplay="$this.description" jsvalues=".innerHTML:$this.description" jstcache="2
4"> Description of this parameter from the json schema. </dd> </div> </dl> </dd>
</div> </dl> <!-- CALLBACK --> <div jsdisplay="callbackParameters" jstcache="1
5"> <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 look
s like this: </p> <!-- Note: intentionally longer 80 columns --> <pre jstcache="
0">function(<span jscontent="callbackSignature" jstcache="26"></span>) <span cla
ss="subdued" jstcache="0">{...}</span>);</pre> <dl jstcache="0"> <div jsselect="
callbackParameters" jstcache="27" jsinstance="*0" style="display: none; "> <dt j
stcache="0"> <!-- Note: intentionally longer 80 columns --> <var jscontent="name
" jstcache="7">paramName</var><em jstcache="0"> (<span jscontent="typeName" jstc
ache="20">paramType</span>)</em> </dt> <dd class="todo" jsdisplay="!$this.descri
ption" jstcache="23"> Undocumented. </dd> <dd jsdisplay="$this.description" jsva
lues=".innerHTML:$this.description" jstcache="24"> Description of this parameter
from the json schema. </dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="_property
List" jstcache="25"> <dl jstcache="0"> <div jsselect="_propertyList" jstcache="2
9"> <dt jstcache="0"> <!-- Note: intentionally longer 80 columns --> <var jscont
ent="name" jstcache="7">paramName</var><em jstcache="0"> (<span class="optional"
jsdisplay="optional" jstcache="28">optional </span><span jscontent="typeName" j
stcache="20">paramType</span>)</em> </dt> <dd class="todo" jsdisplay="!$this.des
cription" jstcache="23"> Undocumented. </dd> <dd jsdisplay="$this.description" j
svalues=".innerHTML:$this.description" jstcache="24"> Description of this parame
ter from the json schema. </dd> </div> </dl> </dd> </div> </dl> </div> </div> <!
-- /description --> </div> <!-- /apiItem --> </div> <!-- /apiGroup --> <!-- EVEN
TS --> <div class="apiGroup" id="events" jstcache="0"> <a name="#events" jstcach
e="0"></a> <h2 id="events" jstcache="0">Events</h2> <!-- iterates over all event
s --> <div jsselect="events" class="apiItem" jstcache="5" jsinstance="0"> <a jsv
alues=".name:'event-' + name" jstcache="8" name="event-onCreated"></a> <h3 jscon
tent="name" jstcache="7">onCreated</h3> <div class="summary" jstcache="0"> <!--
Note: intentionally longer 80 columns --> <span class="subdued" jstcache="0">chr
ome.bookmarks.</span><span jscontent="name" jstcache="7">onCreated</span><span c
lass="subdued" jstcache="0">.addListener</span>(function(<span jscontent="callSi
gnature" jstcache="16">integer windowId</span>) <span class="subdued" jstcache="
0">{...}</span>); </div> <div class="description" jstcache="0"> <p class="todo"
jsdisplay="!description" jstcache="12">Undocumented.</p> <p jsdisplay="descripti
on" jsvalues=".innerHTML:description" jstcache="13" style="display: none; "> A d
escription from the json schema def of the event goes here. </p> <!-- PARAMETERS
--> <h4 jstcache="0">Parameters</h4> <dl jstcache="0"> <div jsselect="parameter
s" jstcache="21" jsinstance="*0"> <dt jstcache="0"> <!-- Note: intentionally lon
ger 80 columns --> <var jscontent="name" jstcache="7">windowId</var><em jstcache
="0"> (<span jscontent="typeName" jstcache="20">integer</span>)</em> </dt> <dd c
lass="todo" jsdisplay="!$this.description" jstcache="23">Undocumented.</dd> <dd
jsdisplay="$this.description" jsvalues=".innerHTML:$this.description" jstcache="
24" style="display: none; "> Description of this parameter from the json schema.
</dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="_propertyList" jstcache="25" st
yle="display: none; "> <dl jstcache="0"> <div jsselect="_propertyList" jstcache=
"29"> <dt jstcache="0"> <!-- Note: intentionally longer 80 columns --> <var jsco
ntent="name" jstcache="7">paramName</var><em jstcache="0"> (<span class="optiona
l" jsdisplay="optional" jstcache="28">optional </span><span jscontent="typeName"
jstcache="20">paramType</span>)</em> </dt> <dd class="todo" jsdisplay="!$this.d
escription" jstcache="23"> Undocumented. </dd> <dd jsdisplay="$this.description"
jsvalues=".innerHTML:$this.description" jstcache="24"> Description of this para
meter from the json schema. </dd> </div> </dl> </dd> </div> </dl> </div> <!-- /d
ecription --> </div><div jsselect="events" class="apiItem" jstcache="5" jsinstan
ce="1"> <a jsvalues=".name:'event-' + name" jstcache="8" name="event-onRemoved">
</a> <h3 jscontent="name" jstcache="7">onRemoved</h3> <div class="summary" jstca
che="0"> <!-- Note: intentionally longer 80 columns --> <span class="subdued" js
tcache="0">chrome.bookmarks.</span><span jscontent="name" jstcache="7">onRemoved
</span><span class="subdued" jstcache="0">.addListener</span>(function(<span jsc
ontent="callSignature" jstcache="16">integer windowId</span>) <span class="subdu
ed" jstcache="0">{...}</span>); </div> <div class="description" jstcache="0"> <p
class="todo" jsdisplay="!description" jstcache="12">Undocumented.</p> <p jsdisp
lay="description" jsvalues=".innerHTML:description" jstcache="13" style="display
: none; "> A description from the json schema def of the event goes here. </p> <
!-- PARAMETERS --> <h4 jstcache="0">Parameters</h4> <dl jstcache="0"> <div jssel
ect="parameters" jstcache="21" jsinstance="*0"> <dt jstcache="0"> <!-- Note: int
entionally longer 80 columns --> <var jscontent="name" jstcache="7">windowId</va
r><em jstcache="0"> (<span jscontent="typeName" jstcache="20">integer</span>)</e
m> </dt> <dd class="todo" jsdisplay="!$this.description" jstcache="23">Undocumen
ted.</dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.descripti
on" jstcache="24" style="display: none; "> Description of this parameter from th
e json schema. </dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="_propertyList" js
tcache="25" style="display: none; "> <dl jstcache="0"> <div jsselect="_propertyL
ist" jstcache="29"> <dt jstcache="0"> <!-- Note: intentionally longer 80 columns
--> <var jscontent="name" jstcache="7">paramName</var><em jstcache="0"> (<span
class="optional" jsdisplay="optional" jstcache="28">optional </span><span jscont
ent="typeName" jstcache="20">paramType</span>)</em> </dt> <dd class="todo" jsdis
play="!$this.description" jstcache="23"> Undocumented. </dd> <dd jsdisplay="$thi
s.description" jsvalues=".innerHTML:$this.description" jstcache="24"> Descriptio
n of this parameter from the json schema. </dd> </div> </dl> </dd> </div> </dl>
</div> <!-- /decription --> </div><div jsselect="events" class="apiItem" jstcach
e="5" jsinstance="*2"> <a jsvalues=".name:'event-' + name" jstcache="8" name="ev
ent-onFocusChanged"></a> <h3 jscontent="name" jstcache="7">onFocusChanged</h3> <
div class="summary" jstcache="0"> <!-- Note: intentionally longer 80 columns -->
<span class="subdued" jstcache="0">chrome.bookmarks.</span><span jscontent="nam
e" jstcache="7">onFocusChanged</span><span class="subdued" jstcache="0">.addList
ener</span>(function(<span jscontent="callSignature" jstcache="16">integer windo
wId</span>) <span class="subdued" jstcache="0">{...}</span>); </div> <div class=
"description" jstcache="0"> <p class="todo" jsdisplay="!description" jstcache="1
2">Undocumented.</p> <p jsdisplay="description" jsvalues=".innerHTML:description
" jstcache="13" style="display: none; "> A description from the json schema def
of the event goes here. </p> <!-- PARAMETERS --> <h4 jstcache="0">Parameters</h4
> <dl jstcache="0"> <div jsselect="parameters" jstcache="21" jsinstance="*0"> <d
t jstcache="0"> <!-- Note: intentionally longer 80 columns --> <var jscontent="n
ame" jstcache="7">windowId</var><em jstcache="0"> (<span jscontent="typeName" js
tcache="20">integer</span>)</em> </dt> <dd class="todo" jsdisplay="!$this.descri
ption" jstcache="23">Undocumented.</dd> <dd jsdisplay="$this.description" jsvalu
es=".innerHTML:$this.description" jstcache="24" style="display: none; "> Descrip
tion of this parameter from the json schema. </dd> <!-- OBJECT PROPERTIES --> <d
d jsdisplay="_propertyList" jstcache="25" style="display: none; "> <dl jstcache=
"0"> <div jsselect="_propertyList" jstcache="29"> <dt jstcache="0"> <!-- Note: i
ntentionally longer 80 columns --> <var jscontent="name" jstcache="7">paramName<
/var><em jstcache="0"> (<span class="optional" jsdisplay="optional" jstcache="28
">optional </span><span jscontent="typeName" jstcache="20">paramType</span>)</em
> </dt> <dd class="todo" jsdisplay="!$this.description" jstcache="23"> Undocumen
ted. </dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.descript
ion" jstcache="24"> Description of this parameter from the json schema. </dd> </
div> </dl> </dd> </div> </dl> </div> <!-- /decription --> </div> <!-- /apiItem -
-> </div> <!-- /apiGroup --> </div> <!-- /apiPage --> </div> <!-- /mainColumn --
> </div> <!-- /pageContent --> <div id="pageFooter" --="" jstcache="0"> Copyrigh
t 2009 <br jstcache="0"> TBD: copyright/license should be automatically included
here </div> <!-- /pageFooter --> </div> <!-- /container --> </body></html> | 1 <!DOCTYPE html><!-- This page is a placeholder for generated extensions api doc.
Note: 1) The <head> information in this page is significant, should be uniform
across api docs and should be edited only with knowledge of the templating mecha
nism. 2) The <body> tag *must* retain id="body" 3) All <body>.innerHTML is gener
eated as an rendering step. If viewed in a browser, it will be re-generated from
the template, json schema and authored overview content. 4) The <body>.innerHTM
L is also generated by an offline step so that this page may easily be indexed b
y search engines. TODO(rafaelw): Abstract this into a "pageshell" that becomes t
he single version of page template shell and the "instance" pages (bookmarks.htm
l, etc...) can be generated with a build step. --><!-- <html> must retain id="te
mplate --><html xmlns="http://www.w3.org/1999/xhtml" jstcache="0"><!-- <head> da
ta is significant and loads the needed libraries and styles --><head jstcache="0
"> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" jstcache="
0"> <title jscontent="pageTitle" jstcache="1">chrome.windows API Reference</titl
e> <link href="css/ApiRefStyles.css" rel="stylesheet" type="text/css" jstcache="
0"> <script type="text/javascript" src="../../../third_party/jstemplate/jstempla
te_compiled.js" jstcache="0"> </script> <script type="text/javascript" src="js/a
pi_page_generator.js" jstcache="0"></script> <script type="text/javascript" src=
"js/bootstrap.js" jstcache="0"></script> </head><!-- <body> content is completel
y generated. Do not edit, as it will be and rewritten. --><body jstcache="0"> <d
iv id="container" jstcache="0"> <a name="top" jstcache="0"> </a> <!-- API HEADER
--> <div id="pageHeader" jstcache="0"> <!-- BREADCRUMB --> <!-- TODO: Fix these
hrefs --> <div id="breadcrumbs" jstcache="0"> <a href="index.html" jstcache="0"
>Google Chrome Extensions</a> > <a href="reference_index.html" jstcache="0">R
eference</a> > <a href="api_index.html" jstcache="0">chrome.* APIs</a> > <
span jscontent="h1Header" jstcache="2">chrome.windows</span> </div> <div id="sea
rchbox" jstcache="0"> <form action="http://www.google.com/cse" id="cse-search-bo
x" jstcache="0"> <div jstcache="0"> <input type="hidden" name="cx" value="002967
670403910741006:61_cvzfqtno" jstcache="0"> <input type="hidden" name="ie" value=
"UTF-8" jstcache="0"> <input type="text" name="q" size="31" jstcache="0"> <input
type="submit" name="sa" value="Search" jstcache="0"> </div> </form> <script typ
e="text/javascript" src="http://www.google.com/jsapi" jstcache="0"></script> <sc
ript type="text/javascript" jstcache="0">google.load("elements", "1", {packages:
"transliteration"});</script> <script type="text/javascript" src="http://www.go
ogle.com/coop/cse/t13n?form=cse-search-box&t13n_langs=en" jstcache="0"></scr
ipt> <script type="text/javascript" src="http://www.google.com/coop/cse/brand?fo
rm=cse-search-box&lang=en" jstcache="0"></script> </div> <div id="pageTitle"
jstcache="0"> <h1 jscontent="h1Header" jstcache="2">chrome.windows</h1> </div>
</div> <!-- /pageHeader --> <div id="pageContent" jstcache="0"> <!-- SIDENAV -->
<div id="leftNav" jstcache="0"> <ul jstcache="0"> <li jstcache="0"> <a href="in
dex.html" jstcache="0">Home</a></li> <li jstcache="0"> <a href="getstarted.html"
jstcache="0">Get Started</a></li> <li jstcache="0"> <a href="overview.html" jst
cache="0">Overview</a></li> <li jstcache="0">Reference <ul jstcache="0"> <li jst
cache="0"><a href="manifest.html" jstcache="0">Manifest</a> </li><li jstcache="0
"><a href="toolstrip.html" jstcache="0">Toolstrips</a> </li><li jstcache="0"><a
href="pageActions.html" jstcache="0">Page actions</a> </li><li jstcache="0"><a h
ref="background_pages.html" jstcache="0">Background pages</a> </li><li jstcache=
"0"><a href="content_scripts.html" jstcache="0">Content scripts</a> </li><li jst
cache="0"><a href="extension.html" jstcache="0">Extension</a> </li><li jstcache=
"0"><a href="tabs.html" jstcache="0">Tabs</a> </li><li jstcache="0"><a href="win
dows.html" jstcache="0">Windows</a> </li><li jstcache="0"><a href="self.html" js
tcache="0">Self</a> </li><li jstcache="0"><a href="npapi.html" jstcache="0">NPAP
I Plugins</a> </li><li jstcache="0"><a href="packaging.html" jstcache="0">Packag
ing</a> </li><li jstcache="0"><a href="autoupdate.html" jstcache="0">Autoupdate<
/a> </li></ul> </li><li jstcache="0">Samples <ul jstcache="0"> <li jstcache="0">
[sample 1] </li><li jstcache="0">[sample 2] </li></ul> </li></ul> </div> <div id
="mainColumn" jstcache="0"> <!-- TABLE OF CONTENTS --> <div id="toc" jsselect="a
piDefinition" jstcache="3"> <p jstcache="0">Contents</p> <ol jstcache="0"> <li j
stcache="0"> <a href="#overview" jstcache="0">Description</a> <ol jstcache="0">
<li jstcache="0"><a href="#overview-properties" jstcache="0">Properties</a></li>
<li jstcache="0"><a href="#overview-examples" jstcache="0">Examples</a></li> </
ol> </li> <li jstcache="0"> <a href="#methods" jstcache="0">Methods</a> <ol jstc
ache="0"> <li jsselect="functions" jstcache="4" jsinstance="0"> <a jscontent="na
me" jsvalues=".href:'#method-' + name" href="#method-get" jstcache="17">get</a>
</li><li jsselect="functions" jstcache="4" jsinstance="1"> <a jscontent="name" j
svalues=".href:'#method-' + name" href="#method-getCurrent" jstcache="17">getCur
rent</a> </li><li jsselect="functions" jstcache="4" jsinstance="2"> <a jscontent
="name" jsvalues=".href:'#method-' + name" href="#method-getLastFocused" jstcach
e="17">getLastFocused</a> </li><li jsselect="functions" jstcache="4" jsinstance=
"3"> <a jscontent="name" jsvalues=".href:'#method-' + name" href="#method-getAll
" jstcache="17">getAll</a> </li><li jsselect="functions" jstcache="4" jsinstance
="4"> <a jscontent="name" jsvalues=".href:'#method-' + name" href="#method-creat
e" jstcache="17">create</a> </li><li jsselect="functions" jstcache="4" jsinstanc
e="5"> <a jscontent="name" jsvalues=".href:'#method-' + name" href="#method-upda
te" jstcache="17">update</a> </li><li jsselect="functions" jstcache="4" jsinstan
ce="*6"> <a jscontent="name" jsvalues=".href:'#method-' + name" href="#method-re
move" jstcache="17">remove</a> </li> </ol> </li> <li jstcache="0"> <a href="#eve
nts" jstcache="0">Events</a> <ol jstcache="0"> <li jsselect="events" jstcache="5
" jsinstance="0"> <a jscontent="name" jsvalues=".href:'#event-' + name" href="#e
vent-onCreated" jstcache="18">onCreated</a> </li><li jsselect="events" jstcache=
"5" jsinstance="1"> <a jscontent="name" jsvalues=".href:'#event-' + name" href="
#event-onRemoved" jstcache="18">onRemoved</a> </li><li jsselect="events" jstcach
e="5" jsinstance="*2"> <a jscontent="name" jsvalues=".href:'#event-' + name" hre
f="#event-onFocusChanged" jstcache="18">onFocusChanged</a> </li> </ol> </li> <!-
- TODO: What do we do about structs/types? --> <li jstcache="0"> <a href="#struc
ts" jstcache="0">TODO: Structs</a> <ol jstcache="0"> <li jstcache="0"><a href="#
struct-BookmarkTreeNode" jstcache="0"></a></li> </ol> </li> </ol> [PENDING: link
s to all h2s and h3s should go here -- would it be possible to link to overview
h3s, as well? if so, how should we create their anchor/id values?] </div> <!-- /
TABLE OF CONTENTS --> <!-- STATIC CONTENT PLACEHOLDER --> <div id="static" jstca
che="0"><!-- BEGIN AUTHORED CONTENT --> <p class="todo" jstcache="0"> [PENDING:
API Module Overview Goes Here] </p> <!-- END AUTHORED CONTENT --> </div> <!-- AP
I PAGE --> <div class="apiPage" jsselect="apiDefinition" jstcache="3"> <!-- METH
ODS --> <div class="apiGroup" id="methods" jstcache="0"> <a name="#methods" jstc
ache="0"></a> <h2 jstcache="0">Methods</h2> <!-- iterates over all functions -->
<div class="apiItem" jsselect="functions" jstcache="4" jsinstance="0"> <a jsval
ues=".name:'method-' + name" jstcache="6" name="method-get"></a> <!-- method-anc
hor --> <h3 jscontent="name" jstcache="7">get</h3> <div class="summary" jstcache
="0"><span jsdisplay="returns" jscontent="returns.typeName" jstcache="9" style="
display: none; ">void</span> <!-- Note: intentionally longer 80 columns --> <spa
n jscontent="fullName" jstcache="10">chrome.windows.get</span>(<span jsselect="p
arameters" jsvalues="class:optional ? 'optional' : ''" jstcache="11" jsinstance=
"0" class="null"><span jsdisplay="$index" jstcache="19" style="display: none; ">
, </span><span jscontent="typeName" jstcache="20">integer</span> <var jstcache="
0"><span jscontent="name" jstcache="7">windowId</span></var></span><span jsselec
t="parameters" jsvalues="class:optional ? 'optional' : ''" jstcache="11" jsinsta
nce="*1" class="null"><span jsdisplay="$index" jstcache="19">, </span><span jsco
ntent="typeName" jstcache="20">function</span> <var jstcache="0"><span jscontent
="name" jstcache="7">callback</span></var></span>)</div> <div class="description
" jstcache="0"> <p class="todo" jsdisplay="!description" jstcache="12" style="di
splay: none; ">Undocumented.</p> <p jsdisplay="description" jsvalues=".innerHTML
:description" jstcache="13">Get window with given id.</p> <!-- PARAMETERS --> <h
4 jstcache="0">Parameters</h4> <dl jstcache="0"> <div jsselect="parameters" jstc
ache="21" jsinstance="0"> <dt jstcache="0"> <!-- Note: intentionally longer 80 c
olumns --> <var jscontent="name" jstcache="7">windowId</var><em jstcache="0"> (<
span class="optional" jsdisplay="optional" jstcache="28" style="display: none; "
>optional </span><span jscontent="typeName" jstcache="20">integer</span>)</em> <
/dt> <dd class="todo" jsdisplay="!$this.description" jstcache="23"> Undocumented
. </dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.description
" jstcache="24" style="display: none; "> Description of this parameter from the
json schema. </dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="_propertyList" jstc
ache="25" style="display: none; "> <dl jstcache="0"> <div jsselect="_propertyLis
t" jstcache="29"> <dt jstcache="0"> <!-- Note: intentionally longer 80 columns -
-> <var jscontent="name" jstcache="7">paramName</var><em jstcache="0"> (<span cl
ass="optional" jsdisplay="optional" jstcache="28">optional </span><span jsconten
t="typeName" jstcache="20">paramType</span>)</em> </dt> <dd class="todo" jsdispl
ay="!$this.description" jstcache="23"> Undocumented. </dd> <dd jsdisplay="$this.
description" jsvalues=".innerHTML:$this.description" jstcache="24"> Description
of this parameter from the json schema. </dd> </div> </dl> </dd> </div><div jsse
lect="parameters" jstcache="21" jsinstance="*1"> <dt jstcache="0"> <!-- Note: in
tentionally longer 80 columns --> <var jscontent="name" jstcache="7">callback</v
ar><em jstcache="0"> (<span class="optional" jsdisplay="optional" jstcache="28"
style="display: none; ">optional </span><span jscontent="typeName" jstcache="20"
>function</span>)</em> </dt> <dd class="todo" jsdisplay="!$this.description" jst
cache="23"> Undocumented. </dd> <dd jsdisplay="$this.description" jsvalues=".inn
erHTML:$this.description" jstcache="24" style="display: none; "> Description of
this parameter from the json schema. </dd> <!-- OBJECT PROPERTIES --> <dd jsdisp
lay="_propertyList" jstcache="25" style="display: none; "> <dl jstcache="0"> <di
v jsselect="_propertyList" jstcache="29"> <dt jstcache="0"> <!-- Note: intention
ally longer 80 columns --> <var jscontent="name" jstcache="7">paramName</var><em
jstcache="0"> (<span class="optional" jsdisplay="optional" jstcache="28">option
al </span><span jscontent="typeName" jstcache="20">paramType</span>)</em> </dt>
<dd class="todo" jsdisplay="!$this.description" jstcache="23"> Undocumented. </d
d> <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.description" jst
cache="24"> Description of this parameter from the json schema. </dd> </div> </d
l> </dd> </div> </dl> <!-- RETURNS --> <h4 jsdisplay="returns" jstcache="14" sty
le="display: none; ">Returns</h4> <dl jstcache="0"> <div jsselect="returns" jstc
ache="22" style="display: none; "> <dt jstcache="0"> <!-- Note: intentionally lo
nger 80 columns --> <var jscontent="name" jstcache="7">paramName</var> <em jstca
che="0">(<span jscontent="typeName" jstcache="20">paramType</span>)</em> </dt> <
dd class="todo" jsdisplay="!$this.description" jstcache="23"> Undocumented. </dd
> <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.description" jstc
ache="24"> Description of this parameter from the json schema. </dd> <!-- OBJECT
PROPERTIES --> <dd jsdisplay="_propertyList" jstcache="25"> <dl jstcache="0"> <
div jsselect="_propertyList" jstcache="29"> <dt jstcache="0"> <!-- Note: intenti
onally longer 80 columns --> <var jscontent="name" jstcache="7">paramName</var><
em jstcache="0"> (<span class="optional" jsdisplay="optional" jstcache="28">opti
onal </span><span jscontent="typeName" jstcache="20">paramType</span>)</em> </dt
> <dd class="todo" jsdisplay="!$this.description" jstcache="23"> Undocumented. <
/dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.description" j
stcache="24"> Description of this parameter from the json schema. </dd> </div> <
/dl> </dd> </div> </dl> <!-- CALLBACK --> <div jsdisplay="callbackParamet
ers" jstcache="15"> <h4 jstcache="0">Callback function</h4> <p jstcache="0"> If
you specify the <em jstcache="0">callback</em> parameter, it should specify a fu
nction that looks like this: </p> <!-- Note: intentionally longer 80 columns -->
<pre jstcache="0">function(<span jscontent="callbackSignature" jstcache="26">ob
ject window</span>) <span class="subdued" jstcache="0">{...}</span>);</pre> <dl
jstcache="0"> <div jsselect="callbackParameters" jstcache="27" jsinstance="*0">
<dt jstcache="0"> <!-- Note: intentionally longer 80 columns --> <var jscontent=
"name" jstcache="7">window</var><em jstcache="0"> (<span jscontent="typeName" js
tcache="20">object</span>)</em> </dt> <dd class="todo" jsdisplay="!$this.descrip
tion" jstcache="23"> Undocumented. </dd> <dd jsdisplay="$this.description" jsval
ues=".innerHTML:$this.description" jstcache="24" style="display: none; "> Descri
ption of this parameter from the json schema. </dd> <!-- OBJECT PROPERTIES --> <
dd jsdisplay="_propertyList" jstcache="25"> <dl jstcache="0"> <div jsselect="_pr
opertyList" jstcache="29" jsinstance="0"> <dt jstcache="0"> <!-- Note: intention
ally longer 80 columns --> <var jscontent="name" jstcache="7">id</var><em jstcac
he="0"> (<span class="optional" jsdisplay="optional" jstcache="28" style="displa
y: none; ">optional </span><span jscontent="typeName" jstcache="20">integer</spa
n>)</em> </dt> <dd class="todo" jsdisplay="!$this.description" jstcache="23"> Un
documented. </dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.d
escription" jstcache="24" style="display: none; "> Description of this parameter
from the json schema. </dd> </div><div jsselect="_propertyList" jstcache="29" j
sinstance="1"> <dt jstcache="0"> <!-- Note: intentionally longer 80 columns -->
<var jscontent="name" jstcache="7">focused</var><em jstcache="0"> (<span class="
optional" jsdisplay="optional" jstcache="28" style="display: none; ">optional </
span><span jscontent="typeName" jstcache="20">boolean</span>)</em> </dt> <dd cla
ss="todo" jsdisplay="!$this.description" jstcache="23"> Undocumented. </dd> <dd
jsdisplay="$this.description" jsvalues=".innerHTML:$this.description" jstcache="
24" style="display: none; "> Description of this parameter from the json schema.
</dd> </div><div jsselect="_propertyList" jstcache="29" jsinstance="2"> <dt jst
cache="0"> <!-- Note: intentionally longer 80 columns --> <var jscontent="name"
jstcache="7">left</var><em jstcache="0"> (<span class="optional" jsdisplay="opti
onal" jstcache="28" style="display: none; ">optional </span><span jscontent="typ
eName" jstcache="20">integer</span>)</em> </dt> <dd class="todo" jsdisplay="!$th
is.description" jstcache="23"> Undocumented. </dd> <dd jsdisplay="$this.descript
ion" jsvalues=".innerHTML:$this.description" jstcache="24" style="display: none;
"> Description of this parameter from the json schema. </dd> </div><div jsselec
t="_propertyList" jstcache="29" jsinstance="3"> <dt jstcache="0"> <!-- Note: int
entionally longer 80 columns --> <var jscontent="name" jstcache="7">top</var><em
jstcache="0"> (<span class="optional" jsdisplay="optional" jstcache="28" style=
"display: none; ">optional </span><span jscontent="typeName" jstcache="20">integ
er</span>)</em> </dt> <dd class="todo" jsdisplay="!$this.description" jstcache="
23"> Undocumented. </dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML:
$this.description" jstcache="24" style="display: none; "> Description of this pa
rameter from the json schema. </dd> </div><div jsselect="_propertyList" jstcache
="29" jsinstance="4"> <dt jstcache="0"> <!-- Note: intentionally longer 80 colum
ns --> <var jscontent="name" jstcache="7">bottom</var><em jstcache="0"> (<span c
lass="optional" jsdisplay="optional" jstcache="28" style="display: none; ">optio
nal </span><span jscontent="typeName" jstcache="20">integer</span>)</em> </dt> <
dd class="todo" jsdisplay="!$this.description" jstcache="23"> Undocumented. </dd
> <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.description" jstc
ache="24" style="display: none; "> Description of this parameter from the json s
chema. </dd> </div><div jsselect="_propertyList" jstcache="29" jsinstance="5"> <
dt jstcache="0"> <!-- Note: intentionally longer 80 columns --> <var jscontent="
name" jstcache="7">right</var><em jstcache="0"> (<span class="optional" jsdispla
y="optional" jstcache="28" style="display: none; ">optional </span><span jsconte
nt="typeName" jstcache="20">integer</span>)</em> </dt> <dd class="todo" jsdispla
y="!$this.description" jstcache="23"> Undocumented. </dd> <dd jsdisplay="$this.d
escription" jsvalues=".innerHTML:$this.description" jstcache="24" style="display
: none; "> Description of this parameter from the json schema. </dd> </div><div
jsselect="_propertyList" jstcache="29" jsinstance="*6"> <dt jstcache="0"> <!-- N
ote: intentionally longer 80 columns --> <var jscontent="name" jstcache="7">tabs
</var><em jstcache="0"> (<span class="optional" jsdisplay="optional" jstcache="2
8">optional </span><span jscontent="typeName" jstcache="20">array of object</spa
n>)</em> </dt> <dd class="todo" jsdisplay="!$this.description" jstcache="23"> Un
documented. </dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.d
escription" jstcache="24" style="display: none; "> Description of this parameter
from the json schema. </dd> </div> </dl> </dd> </div> </dl> </div> </div> <!--
/description --> </div><div class="apiItem" jsselect="functions" jstcache="4" js
instance="1"> <a jsvalues=".name:'method-' + name" jstcache="6" name="method-get
Current"></a> <!-- method-anchor --> <h3 jscontent="name" jstcache="7">getCurren
t</h3> <div class="summary" jstcache="0"><span jsdisplay="returns" jscontent="re
turns.typeName" jstcache="9" style="display: none; ">void</span> <!-- Note: inte
ntionally longer 80 columns --> <span jscontent="fullName" jstcache="10">chrome.
windows.getCurrent</span>(<span jsselect="parameters" jsvalues="class:optional ?
'optional' : ''" jstcache="11" jsinstance="*0" class="null"><span jsdisplay="$i
ndex" jstcache="19" style="display: none; ">, </span><span jscontent="typeName"
jstcache="20">function</span> <var jstcache="0"><span jscontent="name" jstcache=
"7">callback</span></var></span>)</div> <div class="description" jstcache="0"> <
p class="todo" jsdisplay="!description" jstcache="12" style="display: none; ">Un
documented.</p> <p jsdisplay="description" jsvalues=".innerHTML:description" jst
cache="13">Get the window that is the container for the caller. i.e. the window
containing the ToolStrip that makes the call.</p> <!-- PARAMETERS --> <h4 jstcac
he="0">Parameters</h4> <dl jstcache="0"> <div jsselect="parameters" jstcache="21
" jsinstance="*0"> <dt jstcache="0"> <!-- Note: intentionally longer 80 columns
--> <var jscontent="name" jstcache="7">callback</var><em jstcache="0"> (<span cl
ass="optional" jsdisplay="optional" jstcache="28" style="display: none; ">option
al </span><span jscontent="typeName" jstcache="20">function</span>)</em> </dt> <
dd class="todo" jsdisplay="!$this.description" jstcache="23"> Undocumented. </dd
> <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.description" jstc
ache="24" style="display: none; "> Description of this parameter from the json s
chema. </dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="_propertyList" jstcache="
25" style="display: none; "> <dl jstcache="0"> <div jsselect="_propertyList" jst
cache="29"> <dt jstcache="0"> <!-- Note: intentionally longer 80 columns --> <va
r jscontent="name" jstcache="7">paramName</var><em jstcache="0"> (<span class="o
ptional" jsdisplay="optional" jstcache="28">optional </span><span jscontent="typ
eName" jstcache="20">paramType</span>)</em> </dt> <dd class="todo" jsdisplay="!$
this.description" jstcache="23"> Undocumented. </dd> <dd jsdisplay="$this.descri
ption" jsvalues=".innerHTML:$this.description" jstcache="24"> Description of thi
s parameter from the json schema. </dd> </div> </dl> </dd> </div> </dl> <!-- RET
URNS --> <h4 jsdisplay="returns" jstcache="14" style="display: none; ">Returns</
h4> <dl jstcache="0"> <div jsselect="returns" jstcache="22" style="display: none
; "> <dt jstcache="0"> <!-- Note: intentionally longer 80 columns --> <var jscon
tent="name" jstcache="7">paramName</var> <em jstcache="0">(<span jscontent="type
Name" jstcache="20">paramType</span>)</em> </dt> <dd class="todo" jsdisplay="!$t
his.description" jstcache="23"> Undocumented. </dd> <dd jsdisplay="$this.descrip
tion" jsvalues=".innerHTML:$this.description" jstcache="24"> Description of this
parameter from the json schema. </dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay=
"_propertyList" jstcache="25"> <dl jstcache="0"> <div jsselect="_propertyList" j
stcache="29"> <dt jstcache="0"> <!-- Note: intentionally longer 80 columns --> <
var jscontent="name" jstcache="7">paramName</var><em jstcache="0"> (<span class=
"optional" jsdisplay="optional" jstcache="28">optional </span><span jscontent="t
ypeName" jstcache="20">paramType</span>)</em> </dt> <dd class="todo" jsdisplay="
!$this.description" jstcache="23"> Undocumented. </dd> <dd jsdisplay="$this.desc
ription" jsvalues=".innerHTML:$this.description" jstcache="24"> Description of t
his parameter from the json schema. </dd> </div> </dl> </dd> </div> </dl> <!-- C
ALLBACK --> <div jsdisplay="callbackParameters" jstcache="15"> <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(<spa
n jscontent="callbackSignature" jstcache="26">object window</span>) <span class=
"subdued" jstcache="0">{...}</span>);</pre> <dl jstcache="0"> <div jsselect="cal
lbackParameters" jstcache="27" jsinstance="*0"> <dt jstcache="0"> <!-- Note: int
entionally longer 80 columns --> <var jscontent="name" jstcache="7">window</var>
<em jstcache="0"> (<span jscontent="typeName" jstcache="20">object</span>)</em>
</dt> <dd class="todo" jsdisplay="!$this.description" jstcache="23"> Undocumente
d. </dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.descriptio
n" jstcache="24" style="display: none; "> Description of this parameter from the
json schema. </dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="_propertyList" jst
cache="25"> <dl jstcache="0"> <div jsselect="_propertyList" jstcache="29" jsinst
ance="0"> <dt jstcache="0"> <!-- Note: intentionally longer 80 columns --> <var
jscontent="name" jstcache="7">id</var><em jstcache="0"> (<span class="optional"
jsdisplay="optional" jstcache="28" style="display: none; ">optional </span><span
jscontent="typeName" jstcache="20">integer</span>)</em> </dt> <dd class="todo"
jsdisplay="!$this.description" jstcache="23"> Undocumented. </dd> <dd jsdisplay=
"$this.description" jsvalues=".innerHTML:$this.description" jstcache="24" style=
"display: none; "> Description of this parameter from the json schema. </dd> </d
iv><div jsselect="_propertyList" jstcache="29" jsinstance="1"> <dt jstcache="0">
<!-- Note: intentionally longer 80 columns --> <var jscontent="name" jstcache="
7">focused</var><em jstcache="0"> (<span class="optional" jsdisplay="optional" j
stcache="28" style="display: none; ">optional </span><span jscontent="typeName"
jstcache="20">boolean</span>)</em> </dt> <dd class="todo" jsdisplay="!$this.desc
ription" jstcache="23"> Undocumented. </dd> <dd jsdisplay="$this.description" js
values=".innerHTML:$this.description" jstcache="24" style="display: none; "> Des
cription of this parameter from the json schema. </dd> </div><div jsselect="_pro
pertyList" jstcache="29" jsinstance="2"> <dt jstcache="0"> <!-- Note: intentiona
lly longer 80 columns --> <var jscontent="name" jstcache="7">left</var><em jstca
che="0"> (<span class="optional" jsdisplay="optional" jstcache="28" style="displ
ay: none; ">optional </span><span jscontent="typeName" jstcache="20">integer</sp
an>)</em> </dt> <dd class="todo" jsdisplay="!$this.description" jstcache="23"> U
ndocumented. </dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.
description" jstcache="24" style="display: none; "> Description of this paramete
r from the json schema. </dd> </div><div jsselect="_propertyList" jstcache="29"
jsinstance="3"> <dt jstcache="0"> <!-- Note: intentionally longer 80 columns -->
<var jscontent="name" jstcache="7">top</var><em jstcache="0"> (<span class="opt
ional" jsdisplay="optional" jstcache="28" style="display: none; ">optional </spa
n><span jscontent="typeName" jstcache="20">integer</span>)</em> </dt> <dd class=
"todo" jsdisplay="!$this.description" jstcache="23"> Undocumented. </dd> <dd jsd
isplay="$this.description" jsvalues=".innerHTML:$this.description" jstcache="24"
style="display: none; "> Description of this parameter from the json schema. </
dd> </div><div jsselect="_propertyList" jstcache="29" jsinstance="4"> <dt jstcac
he="0"> <!-- Note: intentionally longer 80 columns --> <var jscontent="name" jst
cache="7">bottom</var><em jstcache="0"> (<span class="optional" jsdisplay="optio
nal" jstcache="28" style="display: none; ">optional </span><span jscontent="type
Name" jstcache="20">integer</span>)</em> </dt> <dd class="todo" jsdisplay="!$thi
s.description" jstcache="23"> Undocumented. </dd> <dd jsdisplay="$this.descripti
on" jsvalues=".innerHTML:$this.description" jstcache="24" style="display: none;
"> Description of this parameter from the json schema. </dd> </div><div jsselect
="_propertyList" jstcache="29" jsinstance="5"> <dt jstcache="0"> <!-- Note: inte
ntionally longer 80 columns --> <var jscontent="name" jstcache="7">right</var><e
m jstcache="0"> (<span class="optional" jsdisplay="optional" jstcache="28" style
="display: none; ">optional </span><span jscontent="typeName" jstcache="20">inte
ger</span>)</em> </dt> <dd class="todo" jsdisplay="!$this.description" jstcache=
"23"> Undocumented. </dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML
:$this.description" jstcache="24" style="display: none; "> Description of this p
arameter from the json schema. </dd> </div><div jsselect="_propertyList" jstcach
e="29" jsinstance="*6"> <dt jstcache="0"> <!-- Note: intentionally longer 80 col
umns --> <var jscontent="name" jstcache="7">tabs</var><em jstcache="0"> (<span c
lass="optional" jsdisplay="optional" jstcache="28">optional </span><span jsconte
nt="typeName" jstcache="20">array of object</span>)</em> </dt> <dd class="todo"
jsdisplay="!$this.description" jstcache="23"> Undocumented. </dd> <dd jsdisplay=
"$this.description" jsvalues=".innerHTML:$this.description" jstcache="24" style=
"display: none; "> Description of this parameter from the json schema. </dd> </d
iv> </dl> </dd> </div> </dl> </div> </div> <!-- /description --> </div><div clas
s="apiItem" jsselect="functions" jstcache="4" jsinstance="2"> <a jsvalues=".name
:'method-' + name" jstcache="6" name="method-getLastFocused"></a> <!-- method-an
chor --> <h3 jscontent="name" jstcache="7">getLastFocused</h3> <div class="summa
ry" jstcache="0"><span jsdisplay="returns" jscontent="returns.typeName" jstcache
="9" style="display: none; ">void</span> <!-- Note: intentionally longer 80 colu
mns --> <span jscontent="fullName" jstcache="10">chrome.windows.getLastFocused</
span>(<span jsselect="parameters" jsvalues="class:optional ? 'optional' : ''" js
tcache="11" jsinstance="*0" class="null"><span jsdisplay="$index" jstcache="19"
style="display: none; ">, </span><span jscontent="typeName" jstcache="20">functi
on</span> <var jstcache="0"><span jscontent="name" jstcache="7">callback</span><
/var></span>)</div> <div class="description" jstcache="0"> <p class="todo" jsdis
play="!description" jstcache="12" style="display: none; ">Undocumented.</p> <p j
sdisplay="description" jsvalues=".innerHTML:description" jstcache="13">Get the w
indow that was most recenly focused -- typically the window 'on top'.</p> <!-- P
ARAMETERS --> <h4 jstcache="0">Parameters</h4> <dl jstcache="0"> <div jsselect="
parameters" jstcache="21" jsinstance="*0"> <dt jstcache="0"> <!-- Note: intentio
nally longer 80 columns --> <var jscontent="name" jstcache="7">callback</var><em
jstcache="0"> (<span class="optional" jsdisplay="optional" jstcache="28" style=
"display: none; ">optional </span><span jscontent="typeName" jstcache="20">funct
ion</span>)</em> </dt> <dd class="todo" jsdisplay="!$this.description" jstcache=
"23"> Undocumented. </dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML
:$this.description" jstcache="24" style="display: none; "> Description of this p
arameter from the json schema. </dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="_
propertyList" jstcache="25" style="display: none; "> <dl jstcache="0"> <div jsse
lect="_propertyList" jstcache="29"> <dt jstcache="0"> <!-- Note: intentionally l
onger 80 columns --> <var jscontent="name" jstcache="7">paramName</var><em jstca
che="0"> (<span class="optional" jsdisplay="optional" jstcache="28">optional </s
pan><span jscontent="typeName" jstcache="20">paramType</span>)</em> </dt> <dd cl
ass="todo" jsdisplay="!$this.description" jstcache="23"> Undocumented. </dd> <dd
jsdisplay="$this.description" jsvalues=".innerHTML:$this.description" jstcache=
"24"> Description of this parameter from the json schema. </dd> </div> </dl> </d
d> </div> </dl> <!-- RETURNS --> <h4 jsdisplay="returns" jstcache="14" style="di
splay: none; ">Returns</h4> <dl jstcache="0"> <div jsselect="returns" jstcache="
22" style="display: none; "> <dt jstcache="0"> <!-- Note: intentionally longer 8
0 columns --> <var jscontent="name" jstcache="7">paramName</var> <em jstcache="0
">(<span jscontent="typeName" jstcache="20">paramType</span>)</em> </dt> <dd cla
ss="todo" jsdisplay="!$this.description" jstcache="23"> Undocumented. </dd> <dd
jsdisplay="$this.description" jsvalues=".innerHTML:$this.description" jstcache="
24"> Description of this parameter from the json schema. </dd> <!-- OBJECT PROPE
RTIES --> <dd jsdisplay="_propertyList" jstcache="25"> <dl jstcache="0"> <div js
select="_propertyList" jstcache="29"> <dt jstcache="0"> <!-- Note: intentionally
longer 80 columns --> <var jscontent="name" jstcache="7">paramName</var><em jst
cache="0"> (<span class="optional" jsdisplay="optional" jstcache="28">optional <
/span><span jscontent="typeName" jstcache="20">paramType</span>)</em> </dt> <dd
class="todo" jsdisplay="!$this.description" jstcache="23"> Undocumented. </dd> <
dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.description" jstcach
e="24"> Description of this parameter from the json schema. </dd> </div> </dl> <
/dd> </div> </dl> <!-- CALLBACK --> <div jsdisplay="callbackParameters" jst
cache="15"> <h4 jstcache="0">Callback function</h4> <p jstcache="0"> If you spec
ify the <em jstcache="0">callback</em> parameter, it should specify a function t
hat looks like this: </p> <!-- Note: intentionally longer 80 columns --> <pre js
tcache="0">function(<span jscontent="callbackSignature" jstcache="26">object win
dow</span>) <span class="subdued" jstcache="0">{...}</span>);</pre> <dl jstcache
="0"> <div jsselect="callbackParameters" jstcache="27" jsinstance="*0"> <dt jstc
ache="0"> <!-- Note: intentionally longer 80 columns --> <var jscontent="name" j
stcache="7">window</var><em jstcache="0"> (<span jscontent="typeName" jstcache="
20">object</span>)</em> </dt> <dd class="todo" jsdisplay="!$this.description" js
tcache="23"> Undocumented. </dd> <dd jsdisplay="$this.description" jsvalues=".in
nerHTML:$this.description" jstcache="24" style="display: none; "> Description of
this parameter from the json schema. </dd> <!-- OBJECT PROPERTIES --> <dd jsdis
play="_propertyList" jstcache="25"> <dl jstcache="0"> <div jsselect="_propertyLi
st" jstcache="29" jsinstance="0"> <dt jstcache="0"> <!-- Note: intentionally lon
ger 80 columns --> <var jscontent="name" jstcache="7">id</var><em jstcache="0">
(<span class="optional" jsdisplay="optional" jstcache="28" style="display: none;
">optional </span><span jscontent="typeName" jstcache="20">integer</span>)</em>
</dt> <dd class="todo" jsdisplay="!$this.description" jstcache="23"> Undocument
ed. </dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.descripti
on" jstcache="24" style="display: none; "> Description of this parameter from th
e json schema. </dd> </div><div jsselect="_propertyList" jstcache="29" jsinstanc
e="1"> <dt jstcache="0"> <!-- Note: intentionally longer 80 columns --> <var jsc
ontent="name" jstcache="7">focused</var><em jstcache="0"> (<span class="optional
" jsdisplay="optional" jstcache="28" style="display: none; ">optional </span><sp
an jscontent="typeName" jstcache="20">boolean</span>)</em> </dt> <dd class="todo
" jsdisplay="!$this.description" jstcache="23"> Undocumented. </dd> <dd jsdispla
y="$this.description" jsvalues=".innerHTML:$this.description" jstcache="24" styl
e="display: none; "> Description of this parameter from the json schema. </dd> <
/div><div jsselect="_propertyList" jstcache="29" jsinstance="2"> <dt jstcache="0
"> <!-- Note: intentionally longer 80 columns --> <var jscontent="name" jstcache
="7">left</var><em jstcache="0"> (<span class="optional" jsdisplay="optional" js
tcache="28" style="display: none; ">optional </span><span jscontent="typeName" j
stcache="20">integer</span>)</em> </dt> <dd class="todo" jsdisplay="!$this.descr
iption" jstcache="23"> Undocumented. </dd> <dd jsdisplay="$this.description" jsv
alues=".innerHTML:$this.description" jstcache="24" style="display: none; "> Desc
ription of this parameter from the json schema. </dd> </div><div jsselect="_prop
ertyList" jstcache="29" jsinstance="3"> <dt jstcache="0"> <!-- Note: intentional
ly longer 80 columns --> <var jscontent="name" jstcache="7">top</var><em jstcach
e="0"> (<span class="optional" jsdisplay="optional" jstcache="28" style="display
: none; ">optional </span><span jscontent="typeName" jstcache="20">integer</span
>)</em> </dt> <dd class="todo" jsdisplay="!$this.description" jstcache="23"> Und
ocumented. </dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.de
scription" jstcache="24" style="display: none; "> Description of this parameter
from the json schema. </dd> </div><div jsselect="_propertyList" jstcache="29" js
instance="4"> <dt jstcache="0"> <!-- Note: intentionally longer 80 columns --> <
var jscontent="name" jstcache="7">bottom</var><em jstcache="0"> (<span class="op
tional" jsdisplay="optional" jstcache="28" style="display: none; ">optional </sp
an><span jscontent="typeName" jstcache="20">integer</span>)</em> </dt> <dd class
="todo" jsdisplay="!$this.description" jstcache="23"> Undocumented. </dd> <dd js
display="$this.description" jsvalues=".innerHTML:$this.description" jstcache="24
" style="display: none; "> Description of this parameter from the json schema. <
/dd> </div><div jsselect="_propertyList" jstcache="29" jsinstance="5"> <dt jstca
che="0"> <!-- Note: intentionally longer 80 columns --> <var jscontent="name" js
tcache="7">right</var><em jstcache="0"> (<span class="optional" jsdisplay="optio
nal" jstcache="28" style="display: none; ">optional </span><span jscontent="type
Name" jstcache="20">integer</span>)</em> </dt> <dd class="todo" jsdisplay="!$thi
s.description" jstcache="23"> Undocumented. </dd> <dd jsdisplay="$this.descripti
on" jsvalues=".innerHTML:$this.description" jstcache="24" style="display: none;
"> Description of this parameter from the json schema. </dd> </div><div jsselect
="_propertyList" jstcache="29" jsinstance="*6"> <dt jstcache="0"> <!-- Note: int
entionally longer 80 columns --> <var jscontent="name" jstcache="7">tabs</var><e
m jstcache="0"> (<span class="optional" jsdisplay="optional" jstcache="28">optio
nal </span><span jscontent="typeName" jstcache="20">array of object</span>)</em>
</dt> <dd class="todo" jsdisplay="!$this.description" jstcache="23"> Undocument
ed. </dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.descripti
on" jstcache="24" style="display: none; "> Description of this parameter from th
e json schema. </dd> </div> </dl> </dd> </div> </dl> </div> </div> <!-- /descrip
tion --> </div><div class="apiItem" jsselect="functions" jstcache="4" jsinstance
="3"> <a jsvalues=".name:'method-' + name" jstcache="6" name="method-getAll"></a
> <!-- method-anchor --> <h3 jscontent="name" jstcache="7">getAll</h3> <div clas
s="summary" jstcache="0"><span jsdisplay="returns" jscontent="returns.typeName"
jstcache="9" style="display: none; ">void</span> <!-- Note: intentionally longer
80 columns --> <span jscontent="fullName" jstcache="10">chrome.windows.getAll</
span>(<span jsselect="parameters" jsvalues="class:optional ? 'optional' : ''" js
tcache="11" jsinstance="0" class="optional"><span jsdisplay="$index" jstcache="1
9" style="display: none; ">, </span><span jscontent="typeName" jstcache="20">boo
lean</span> <var jstcache="0"><span jscontent="name" jstcache="7">populate</span
></var></span><span jsselect="parameters" jsvalues="class:optional ? 'optional'
: ''" jstcache="11" jsinstance="*1" class="null"><span jsdisplay="$index" jstcac
he="19">, </span><span jscontent="typeName" jstcache="20">function</span> <var j
stcache="0"><span jscontent="name" jstcache="7">callback</span></var></span>)</d
iv> <div class="description" jstcache="0"> <p class="todo" jsdisplay="!descripti
on" jstcache="12" style="display: none; ">Undocumented.</p> <p jsdisplay="descri
ption" jsvalues=".innerHTML:description" jstcache="13">Get all windows. If <var
jstcache="0">populate</var> is true, each window object will have a <var jstcach
e="0">tabs</var> property that contains a list of the Tab objects for that windo
w.</p> <!-- PARAMETERS --> <h4 jstcache="0">Parameters</h4> <dl jstcache="0"> <d
iv jsselect="parameters" jstcache="21" jsinstance="0"> <dt jstcache="0"> <!-- No
te: intentionally longer 80 columns --> <var jscontent="name" jstcache="7">popul
ate</var><em jstcache="0"> (<span class="optional" jsdisplay="optional" jstcache
="28">optional </span><span jscontent="typeName" jstcache="20">boolean</span>)</
em> </dt> <dd class="todo" jsdisplay="!$this.description" jstcache="23"> Undocum
ented. </dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.descri
ption" jstcache="24" style="display: none; "> Description of this parameter from
the json schema. </dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="_propertyList"
jstcache="25" style="display: none; "> <dl jstcache="0"> <div jsselect="_proper
tyList" jstcache="29"> <dt jstcache="0"> <!-- Note: intentionally longer 80 colu
mns --> <var jscontent="name" jstcache="7">paramName</var><em jstcache="0"> (<sp
an class="optional" jsdisplay="optional" jstcache="28">optional </span><span jsc
ontent="typeName" jstcache="20">paramType</span>)</em> </dt> <dd class="todo" js
display="!$this.description" jstcache="23"> Undocumented. </dd> <dd jsdisplay="$
this.description" jsvalues=".innerHTML:$this.description" jstcache="24"> Descrip
tion of this parameter from the json schema. </dd> </div> </dl> </dd> </div><div
jsselect="parameters" jstcache="21" jsinstance="*1"> <dt jstcache="0"> <!-- Not
e: intentionally longer 80 columns --> <var jscontent="name" jstcache="7">callba
ck</var><em jstcache="0"> (<span class="optional" jsdisplay="optional" jstcache=
"28" style="display: none; ">optional </span><span jscontent="typeName" jstcache
="20">function</span>)</em> </dt> <dd class="todo" jsdisplay="!$this.description
" jstcache="23"> Undocumented. </dd> <dd jsdisplay="$this.description" jsvalues=
".innerHTML:$this.description" jstcache="24" style="display: none; "> Descriptio
n of this parameter from the json schema. </dd> <!-- OBJECT PROPERTIES --> <dd j
sdisplay="_propertyList" jstcache="25" style="display: none; "> <dl jstcache="0"
> <div jsselect="_propertyList" jstcache="29"> <dt jstcache="0"> <!-- Note: inte
ntionally longer 80 columns --> <var jscontent="name" jstcache="7">paramName</va
r><em jstcache="0"> (<span class="optional" jsdisplay="optional" jstcache="28">o
ptional </span><span jscontent="typeName" jstcache="20">paramType</span>)</em> <
/dt> <dd class="todo" jsdisplay="!$this.description" jstcache="23"> Undocumented
. </dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.description
" jstcache="24"> Description of this parameter from the json schema. </dd> </div
> </dl> </dd> </div> </dl> <!-- RETURNS --> <h4 jsdisplay="returns" jstcache="14
" style="display: none; ">Returns</h4> <dl jstcache="0"> <div jsselect="returns"
jstcache="22" style="display: none; "> <dt jstcache="0"> <!-- Note: intentional
ly longer 80 columns --> <var jscontent="name" jstcache="7">paramName</var> <em
jstcache="0">(<span jscontent="typeName" jstcache="20">paramType</span>)</em> </
dt> <dd class="todo" jsdisplay="!$this.description" jstcache="23"> Undocumented.
</dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.description"
jstcache="24"> Description of this parameter from the json schema. </dd> <!-- O
BJECT PROPERTIES --> <dd jsdisplay="_propertyList" jstcache="25"> <dl jstcache="
0"> <div jsselect="_propertyList" jstcache="29"> <dt jstcache="0"> <!-- Note: in
tentionally longer 80 columns --> <var jscontent="name" jstcache="7">paramName</
var><em jstcache="0"> (<span class="optional" jsdisplay="optional" jstcache="28"
>optional </span><span jscontent="typeName" jstcache="20">paramType</span>)</em>
</dt> <dd class="todo" jsdisplay="!$this.description" jstcache="23"> Undocument
ed. </dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.descripti
on" jstcache="24"> Description of this parameter from the json schema. </dd> </d
iv> </dl> </dd> </div> </dl> <!-- CALLBACK --> <div jsdisplay="callbackParamet
ers" jstcache="15"> <h4 jstcache="0">Callback function</h4> <p jstcache="0"> If
you specify the <em jstcache="0">callback</em> parameter, it should specify a fu
nction that looks like this: </p> <!-- Note: intentionally longer 80 columns -->
<pre jstcache="0">function(<span jscontent="callbackSignature" jstcache="26">ar
ray of object windows</span>) <span class="subdued" jstcache="0">{...}</span>);<
/pre> <dl jstcache="0"> <div jsselect="callbackParameters" jstcache="27" jsinsta
nce="*0"> <dt jstcache="0"> <!-- Note: intentionally longer 80 columns --> <var
jscontent="name" jstcache="7">windows</var><em jstcache="0"> (<span jscontent="t
ypeName" jstcache="20">array of object</span>)</em> </dt> <dd class="todo" jsdis
play="!$this.description" jstcache="23"> Undocumented. </dd> <dd jsdisplay="$thi
s.description" jsvalues=".innerHTML:$this.description" jstcache="24" style="disp
lay: none; "> Description of this parameter from the json schema. </dd> <!-- OBJ
ECT PROPERTIES --> <dd jsdisplay="_propertyList" jstcache="25" style="display: n
one; "> <dl jstcache="0"> <div jsselect="_propertyList" jstcache="29"> <dt jstca
che="0"> <!-- Note: intentionally longer 80 columns --> <var jscontent="name" js
tcache="7">paramName</var><em jstcache="0"> (<span class="optional" jsdisplay="o
ptional" jstcache="28">optional </span><span jscontent="typeName" jstcache="20">
paramType</span>)</em> </dt> <dd class="todo" jsdisplay="!$this.description" jst
cache="23"> Undocumented. </dd> <dd jsdisplay="$this.description" jsvalues=".inn
erHTML:$this.description" jstcache="24"> Description of this parameter from the
json schema. </dd> </div> </dl> </dd> </div> </dl> </div> </div> <!-- /descripti
on --> </div><div class="apiItem" jsselect="functions" jstcache="4" jsinstance="
4"> <a jsvalues=".name:'method-' + name" jstcache="6" name="method-create"></a>
<!-- method-anchor --> <h3 jscontent="name" jstcache="7">create</h3> <div class=
"summary" jstcache="0"><span jsdisplay="returns" jscontent="returns.typeName" js
tcache="9" style="display: none; ">void</span> <!-- Note: intentionally longer 8
0 columns --> <span jscontent="fullName" jstcache="10">chrome.windows.create</sp
an>(<span jsselect="parameters" jsvalues="class:optional ? 'optional' : ''" jstc
ache="11" jsinstance="0" class="optional"><span jsdisplay="$index" jstcache="19"
style="display: none; ">, </span><span jscontent="typeName" jstcache="20">objec
t</span> <var jstcache="0"><span jscontent="name" jstcache="7">CreateData</span>
</var></span><span jsselect="parameters" jsvalues="class:optional ? 'optional' :
''" jstcache="11" jsinstance="*1" class="optional"><span jsdisplay="$index" jst
cache="19">, </span><span jscontent="typeName" jstcache="20">function</span> <va
r jstcache="0"><span jscontent="name" jstcache="7">callback</span></var></span>)
</div> <div class="description" jstcache="0"> <p class="todo" jsdisplay="!descri
ption" jstcache="12" style="display: none; ">Undocumented.</p> <p jsdisplay="des
cription" jsvalues=".innerHTML:description" jstcache="13">Create (open) a new br
owser with any optional sizing, position or default url provided.</p> <!-- PARAM
ETERS --> <h4 jstcache="0">Parameters</h4> <dl jstcache="0"> <div jsselect="para
meters" jstcache="21" jsinstance="0"> <dt jstcache="0"> <!-- Note: intentionally
longer 80 columns --> <var jscontent="name" jstcache="7">CreateData</var><em js
tcache="0"> (<span class="optional" jsdisplay="optional" jstcache="28">optional
</span><span jscontent="typeName" jstcache="20">object</span>)</em> </dt> <dd cl
ass="todo" jsdisplay="!$this.description" jstcache="23"> Undocumented. </dd> <dd
jsdisplay="$this.description" jsvalues=".innerHTML:$this.description" jstcache=
"24" style="display: none; "> Description of this parameter from the json schema
. </dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="_propertyList" jstcache="25">
<dl jstcache="0"> <div jsselect="_propertyList" jstcache="29" jsinstance="0"> <d
t jstcache="0"> <!-- Note: intentionally longer 80 columns --> <var jscontent="n
ame" jstcache="7">url</var><em jstcache="0"> (<span class="optional" jsdisplay="
optional" jstcache="28">optional </span><span jscontent="typeName" jstcache="20"
>string</span>)</em> </dt> <dd class="todo" jsdisplay="!$this.description" jstca
che="23"> Undocumented. </dd> <dd jsdisplay="$this.description" jsvalues=".inner
HTML:$this.description" jstcache="24" style="display: none; "> Description of th
is parameter from the json schema. </dd> </div><div jsselect="_propertyList" jst
cache="29" jsinstance="1"> <dt jstcache="0"> <!-- Note: intentionally longer 80
columns --> <var jscontent="name" jstcache="7">left</var><em jstcache="0"> (<spa
n class="optional" jsdisplay="optional" jstcache="28">optional </span><span jsco
ntent="typeName" jstcache="20">integer</span>)</em> </dt> <dd class="todo" jsdis
play="!$this.description" jstcache="23"> Undocumented. </dd> <dd jsdisplay="$thi
s.description" jsvalues=".innerHTML:$this.description" jstcache="24" style="disp
lay: none; "> Description of this parameter from the json schema. </dd> </div><d
iv jsselect="_propertyList" jstcache="29" jsinstance="2"> <dt jstcache="0"> <!--
Note: intentionally longer 80 columns --> <var jscontent="name" jstcache="7">to
p</var><em jstcache="0"> (<span class="optional" jsdisplay="optional" jstcache="
28">optional </span><span jscontent="typeName" jstcache="20">integer</span>)</em
> </dt> <dd class="todo" jsdisplay="!$this.description" jstcache="23"> Undocumen
ted. </dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.descript
ion" jstcache="24" style="display: none; "> Description of this parameter from t
he json schema. </dd> </div><div jsselect="_propertyList" jstcache="29" jsinstan
ce="3"> <dt jstcache="0"> <!-- Note: intentionally longer 80 columns --> <var js
content="name" jstcache="7">width</var><em jstcache="0"> (<span class="optional"
jsdisplay="optional" jstcache="28">optional </span><span jscontent="typeName" j
stcache="20">integer</span>)</em> </dt> <dd class="todo" jsdisplay="!$this.descr
iption" jstcache="23"> Undocumented. </dd> <dd jsdisplay="$this.description" jsv
alues=".innerHTML:$this.description" jstcache="24" style="display: none; "> Desc
ription of this parameter from the json schema. </dd> </div><div jsselect="_prop
ertyList" jstcache="29" jsinstance="*4"> <dt jstcache="0"> <!-- Note: intentiona
lly longer 80 columns --> <var jscontent="name" jstcache="7">height</var><em jst
cache="0"> (<span class="optional" jsdisplay="optional" jstcache="28">optional <
/span><span jscontent="typeName" jstcache="20">integer</span>)</em> </dt> <dd cl
ass="todo" jsdisplay="!$this.description" jstcache="23"> Undocumented. </dd> <dd
jsdisplay="$this.description" jsvalues=".innerHTML:$this.description" jstcache=
"24" style="display: none; "> Description of this parameter from the json schema
. </dd> </div> </dl> </dd> </div><div jsselect="parameters" jstcache="21" jsinst
ance="*1"> <dt jstcache="0"> <!-- Note: intentionally longer 80 columns --> <var
jscontent="name" jstcache="7">callback</var><em jstcache="0"> (<span class="opt
ional" jsdisplay="optional" jstcache="28">optional </span><span jscontent="typeN
ame" jstcache="20">function</span>)</em> </dt> <dd class="todo" jsdisplay="!$thi
s.description" jstcache="23"> Undocumented. </dd> <dd jsdisplay="$this.descripti
on" jsvalues=".innerHTML:$this.description" jstcache="24" style="display: none;
"> Description of this parameter from the json schema. </dd> <!-- OBJECT PROPERT
IES --> <dd jsdisplay="_propertyList" jstcache="25" style="display: none; "> <dl
jstcache="0"> <div jsselect="_propertyList" jstcache="29"> <dt jstcache="0"> <!
-- Note: intentionally longer 80 columns --> <var jscontent="name" jstcache="7">
paramName</var><em jstcache="0"> (<span class="optional" jsdisplay="optional" js
tcache="28">optional </span><span jscontent="typeName" jstcache="20">paramType</
span>)</em> </dt> <dd class="todo" jsdisplay="!$this.description" jstcache="23">
Undocumented. </dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML:$thi
s.description" jstcache="24"> Description of this parameter from the json schema
. </dd> </div> </dl> </dd> </div> </dl> <!-- RETURNS --> <h4 jsdisplay="returns"
jstcache="14" style="display: none; ">Returns</h4> <dl jstcache="0"> <div jssel
ect="returns" jstcache="22" style="display: none; "> <dt jstcache="0"> <!-- Note
: intentionally longer 80 columns --> <var jscontent="name" jstcache="7">paramNa
me</var> <em jstcache="0">(<span jscontent="typeName" jstcache="20">paramType</s
pan>)</em> </dt> <dd class="todo" jsdisplay="!$this.description" jstcache="23">
Undocumented. </dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this
.description" jstcache="24"> Description of this parameter from the json schema.
</dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="_propertyList" jstcache="25"> <
dl jstcache="0"> <div jsselect="_propertyList" jstcache="29"> <dt jstcache="0">
<!-- Note: intentionally longer 80 columns --> <var jscontent="name" jstcache="7
">paramName</var><em jstcache="0"> (<span class="optional" jsdisplay="optional"
jstcache="28">optional </span><span jscontent="typeName" jstcache="20">paramType
</span>)</em> </dt> <dd class="todo" jsdisplay="!$this.description" jstcache="23
"> Undocumented. </dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML:$t
his.description" jstcache="24"> Description of this parameter from the json sche
ma. </dd> </div> </dl> </dd> </div> </dl> <!-- CALLBACK --> <div jsdisplay=
"callbackParameters" jstcache="15"> <h4 jstcache="0">Callback function</h4> <p j
stcache="0"> If you specify the <em jstcache="0">callback</em> parameter, it sho
uld specify a function that looks like this: </p> <!-- Note: intentionally longe
r 80 columns --> <pre jstcache="0">function(<span jscontent="callbackSignature"
jstcache="26">object window</span>) <span class="subdued" jstcache="0">{...}</sp
an>);</pre> <dl jstcache="0"> <div jsselect="callbackParameters" jstcache="27" j
sinstance="*0"> <dt jstcache="0"> <!-- Note: intentionally longer 80 columns -->
<var jscontent="name" jstcache="7">window</var><em jstcache="0"> (<span jsconte
nt="typeName" jstcache="20">object</span>)</em> </dt> <dd class="todo" jsdisplay
="!$this.description" jstcache="23"> Undocumented. </dd> <dd jsdisplay="$this.de
scription" jsvalues=".innerHTML:$this.description" jstcache="24" style="display:
none; "> Description of this parameter from the json schema. </dd> <!-- OBJECT
PROPERTIES --> <dd jsdisplay="_propertyList" jstcache="25"> <dl jstcache="0"> <d
iv jsselect="_propertyList" jstcache="29" jsinstance="0"> <dt jstcache="0"> <!--
Note: intentionally longer 80 columns --> <var jscontent="name" jstcache="7">id
</var><em jstcache="0"> (<span class="optional" jsdisplay="optional" jstcache="2
8" style="display: none; ">optional </span><span jscontent="typeName" jstcache="
20">integer</span>)</em> </dt> <dd class="todo" jsdisplay="!$this.description" j
stcache="23"> Undocumented. </dd> <dd jsdisplay="$this.description" jsvalues=".i
nnerHTML:$this.description" jstcache="24" style="display: none; "> Description o
f this parameter from the json schema. </dd> </div><div jsselect="_propertyList"
jstcache="29" jsinstance="1"> <dt jstcache="0"> <!-- Note: intentionally longer
80 columns --> <var jscontent="name" jstcache="7">focused</var><em jstcache="0"
> (<span class="optional" jsdisplay="optional" jstcache="28" style="display: non
e; ">optional </span><span jscontent="typeName" jstcache="20">boolean</span>)</e
m> </dt> <dd class="todo" jsdisplay="!$this.description" jstcache="23"> Undocume
nted. </dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.descrip
tion" jstcache="24" style="display: none; "> Description of this parameter from
the json schema. </dd> </div><div jsselect="_propertyList" jstcache="29" jsinsta
nce="2"> <dt jstcache="0"> <!-- Note: intentionally longer 80 columns --> <var j
scontent="name" jstcache="7">left</var><em jstcache="0"> (<span class="optional"
jsdisplay="optional" jstcache="28" style="display: none; ">optional </span><spa
n jscontent="typeName" jstcache="20">integer</span>)</em> </dt> <dd class="todo"
jsdisplay="!$this.description" jstcache="23"> Undocumented. </dd> <dd jsdisplay
="$this.description" jsvalues=".innerHTML:$this.description" jstcache="24" style
="display: none; "> Description of this parameter from the json schema. </dd> </
div><div jsselect="_propertyList" jstcache="29" jsinstance="3"> <dt jstcache="0"
> <!-- Note: intentionally longer 80 columns --> <var jscontent="name" jstcache=
"7">top</var><em jstcache="0"> (<span class="optional" jsdisplay="optional" jstc
ache="28" style="display: none; ">optional </span><span jscontent="typeName" jst
cache="20">integer</span>)</em> </dt> <dd class="todo" jsdisplay="!$this.descrip
tion" jstcache="23"> Undocumented. </dd> <dd jsdisplay="$this.description" jsval
ues=".innerHTML:$this.description" jstcache="24" style="display: none; "> Descri
ption of this parameter from the json schema. </dd> </div><div jsselect="_proper
tyList" jstcache="29" jsinstance="4"> <dt jstcache="0"> <!-- Note: intentionally
longer 80 columns --> <var jscontent="name" jstcache="7">bottom</var><em jstcac
he="0"> (<span class="optional" jsdisplay="optional" jstcache="28" style="displa
y: none; ">optional </span><span jscontent="typeName" jstcache="20">integer</spa
n>)</em> </dt> <dd class="todo" jsdisplay="!$this.description" jstcache="23"> Un
documented. </dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.d
escription" jstcache="24" style="display: none; "> Description of this parameter
from the json schema. </dd> </div><div jsselect="_propertyList" jstcache="29" j
sinstance="5"> <dt jstcache="0"> <!-- Note: intentionally longer 80 columns -->
<var jscontent="name" jstcache="7">right</var><em jstcache="0"> (<span class="op
tional" jsdisplay="optional" jstcache="28" style="display: none; ">optional </sp
an><span jscontent="typeName" jstcache="20">integer</span>)</em> </dt> <dd class
="todo" jsdisplay="!$this.description" jstcache="23"> Undocumented. </dd> <dd js
display="$this.description" jsvalues=".innerHTML:$this.description" jstcache="24
" style="display: none; "> Description of this parameter from the json schema. <
/dd> </div><div jsselect="_propertyList" jstcache="29" jsinstance="*6"> <dt jstc
ache="0"> <!-- Note: intentionally longer 80 columns --> <var jscontent="name" j
stcache="7">tabs</var><em jstcache="0"> (<span class="optional" jsdisplay="optio
nal" jstcache="28">optional </span><span jscontent="typeName" jstcache="20">arra
y of object</span>)</em> </dt> <dd class="todo" jsdisplay="!$this.description" j
stcache="23"> Undocumented. </dd> <dd jsdisplay="$this.description" jsvalues=".i
nnerHTML:$this.description" jstcache="24" style="display: none; "> Description o
f this parameter from the json schema. </dd> </div> </dl> </dd> </div> </dl> </d
iv> </div> <!-- /description --> </div><div class="apiItem" jsselect="functions"
jstcache="4" jsinstance="5"> <a jsvalues=".name:'method-' + name" jstcache="6"
name="method-update"></a> <!-- method-anchor --> <h3 jscontent="name" jstcache="
7">update</h3> <div class="summary" jstcache="0"><span jsdisplay="returns" jscon
tent="returns.typeName" jstcache="9" style="display: none; ">void</span> <!-- No
te: intentionally longer 80 columns --> <span jscontent="fullName" jstcache="10"
>chrome.windows.update</span>(<span jsselect="parameters" jsvalues="class:option
al ? 'optional' : ''" jstcache="11" jsinstance="0" class="null"><span jsdisplay=
"$index" jstcache="19" style="display: none; ">, </span><span jscontent="typeNam
e" jstcache="20">integer</span> <var jstcache="0"><span jscontent="name" jstcach
e="7">windowId</span></var></span><span jsselect="parameters" jsvalues="class:op
tional ? 'optional' : ''" jstcache="11" jsinstance="1" class="null"><span jsdisp
lay="$index" jstcache="19">, </span><span jscontent="typeName" jstcache="20">obj
ect</span> <var jstcache="0"><span jscontent="name" jstcache="7">UpdateInfo</spa
n></var></span><span jsselect="parameters" jsvalues="class:optional ? 'optional'
: ''" jstcache="11" jsinstance="*2" class="optional"><span jsdisplay="$index" j
stcache="19">, </span><span jscontent="typeName" jstcache="20">function</span> <
var jstcache="0"><span jscontent="name" jstcache="7">callback</span></var></span
>)</div> <div class="description" jstcache="0"> <p class="todo" jsdisplay="!desc
ription" jstcache="12">Undocumented.</p> <p jsdisplay="description" jsvalues=".i
nnerHTML:description" jstcache="13" style="display: none; "> A description from
the json schema def of the function goes here. </p> <!-- PARAMETERS --> <h4 jstc
ache="0">Parameters</h4> <dl jstcache="0"> <div jsselect="parameters" jstcache="
21" jsinstance="0"> <dt jstcache="0"> <!-- Note: intentionally longer 80 columns
--> <var jscontent="name" jstcache="7">windowId</var><em jstcache="0"> (<span c
lass="optional" jsdisplay="optional" jstcache="28" style="display: none; ">optio
nal </span><span jscontent="typeName" jstcache="20">integer</span>)</em> </dt> <
dd class="todo" jsdisplay="!$this.description" jstcache="23"> Undocumented. </dd
> <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.description" jstc
ache="24" style="display: none; "> Description of this parameter from the json s
chema. </dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="_propertyList" jstcache="
25" style="display: none; "> <dl jstcache="0"> <div jsselect="_propertyList" jst
cache="29"> <dt jstcache="0"> <!-- Note: intentionally longer 80 columns --> <va
r jscontent="name" jstcache="7">paramName</var><em jstcache="0"> (<span class="o
ptional" jsdisplay="optional" jstcache="28">optional </span><span jscontent="typ
eName" jstcache="20">paramType</span>)</em> </dt> <dd class="todo" jsdisplay="!$
this.description" jstcache="23"> Undocumented. </dd> <dd jsdisplay="$this.descri
ption" jsvalues=".innerHTML:$this.description" jstcache="24"> Description of thi
s parameter from the json schema. </dd> </div> </dl> </dd> </div><div jsselect="
parameters" jstcache="21" jsinstance="1"> <dt jstcache="0"> <!-- Note: intention
ally longer 80 columns --> <var jscontent="name" jstcache="7">UpdateInfo</var><e
m jstcache="0"> (<span class="optional" jsdisplay="optional" jstcache="28" style
="display: none; ">optional </span><span jscontent="typeName" jstcache="20">obje
ct</span>)</em> </dt> <dd class="todo" jsdisplay="!$this.description" jstcache="
23"> Undocumented. </dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML:
$this.description" jstcache="24" style="display: none; "> Description of this pa
rameter from the json schema. </dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="_p
ropertyList" jstcache="25"> <dl jstcache="0"> <div jsselect="_propertyList" jstc
ache="29" jsinstance="0"> <dt jstcache="0"> <!-- Note: intentionally longer 80 c
olumns --> <var jscontent="name" jstcache="7">left</var><em jstcache="0"> (<span
class="optional" jsdisplay="optional" jstcache="28">optional </span><span jscon
tent="typeName" jstcache="20">integer</span>)</em> </dt> <dd class="todo" jsdisp
lay="!$this.description" jstcache="23"> Undocumented. </dd> <dd jsdisplay="$this
.description" jsvalues=".innerHTML:$this.description" jstcache="24" style="displ
ay: none; "> Description of this parameter from the json schema. </dd> </div><di
v jsselect="_propertyList" jstcache="29" jsinstance="1"> <dt jstcache="0"> <!--
Note: intentionally longer 80 columns --> <var jscontent="name" jstcache="7">top
</var><em jstcache="0"> (<span class="optional" jsdisplay="optional" jstcache="2
8">optional </span><span jscontent="typeName" jstcache="20">integer</span>)</em>
</dt> <dd class="todo" jsdisplay="!$this.description" jstcache="23"> Undocument
ed. </dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.descripti
on" jstcache="24" style="display: none; "> Description of this parameter from th
e json schema. </dd> </div><div jsselect="_propertyList" jstcache="29" jsinstanc
e="2"> <dt jstcache="0"> <!-- Note: intentionally longer 80 columns --> <var jsc
ontent="name" jstcache="7">width</var><em jstcache="0"> (<span class="optional"
jsdisplay="optional" jstcache="28">optional </span><span jscontent="typeName" js
tcache="20">integer</span>)</em> </dt> <dd class="todo" jsdisplay="!$this.descri
ption" jstcache="23"> Undocumented. </dd> <dd jsdisplay="$this.description" jsva
lues=".innerHTML:$this.description" jstcache="24" style="display: none; "> Descr
iption of this parameter from the json schema. </dd> </div><div jsselect="_prope
rtyList" jstcache="29" jsinstance="*3"> <dt jstcache="0"> <!-- Note: intentional
ly longer 80 columns --> <var jscontent="name" jstcache="7">height</var><em jstc
ache="0"> (<span class="optional" jsdisplay="optional" jstcache="28">optional </
span><span jscontent="typeName" jstcache="20">integer</span>)</em> </dt> <dd cla
ss="todo" jsdisplay="!$this.description" jstcache="23"> Undocumented. </dd> <dd
jsdisplay="$this.description" jsvalues=".innerHTML:$this.description" jstcache="
24" style="display: none; "> Description of this parameter from the json schema.
</dd> </div> </dl> </dd> </div><div jsselect="parameters" jstcache="21" jsinsta
nce="*2"> <dt jstcache="0"> <!-- Note: intentionally longer 80 columns --> <var
jscontent="name" jstcache="7">callback</var><em jstcache="0"> (<span class="opti
onal" jsdisplay="optional" jstcache="28">optional </span><span jscontent="typeNa
me" jstcache="20">function</span>)</em> </dt> <dd class="todo" jsdisplay="!$this
.description" jstcache="23"> Undocumented. </dd> <dd jsdisplay="$this.descriptio
n" jsvalues=".innerHTML:$this.description" jstcache="24" style="display: none; "
> Description of this parameter from the json schema. </dd> <!-- OBJECT PROPERTI
ES --> <dd jsdisplay="_propertyList" jstcache="25" style="display: none; "> <dl
jstcache="0"> <div jsselect="_propertyList" jstcache="29"> <dt jstcache="0"> <!-
- Note: intentionally longer 80 columns --> <var jscontent="name" jstcache="7">p
aramName</var><em jstcache="0"> (<span class="optional" jsdisplay="optional" jst
cache="28">optional </span><span jscontent="typeName" jstcache="20">paramType</s
pan>)</em> </dt> <dd class="todo" jsdisplay="!$this.description" jstcache="23">
Undocumented. </dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this
.description" jstcache="24"> Description of this parameter from the json schema.
</dd> </div> </dl> </dd> </div> </dl> <!-- RETURNS --> <h4 jsdisplay="returns"
jstcache="14" style="display: none; ">Returns</h4> <dl jstcache="0"> <div jssele
ct="returns" jstcache="22" style="display: none; "> <dt jstcache="0"> <!-- Note:
intentionally longer 80 columns --> <var jscontent="name" jstcache="7">paramNam
e</var> <em jstcache="0">(<span jscontent="typeName" jstcache="20">paramType</sp
an>)</em> </dt> <dd class="todo" jsdisplay="!$this.description" jstcache="23"> U
ndocumented. </dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.
description" jstcache="24"> Description of this parameter from the json schema.
</dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="_propertyList" jstcache="25"> <d
l jstcache="0"> <div jsselect="_propertyList" jstcache="29"> <dt jstcache="0"> <
!-- Note: intentionally longer 80 columns --> <var jscontent="name" jstcache="7"
>paramName</var><em jstcache="0"> (<span class="optional" jsdisplay="optional" j
stcache="28">optional </span><span jscontent="typeName" jstcache="20">paramType<
/span>)</em> </dt> <dd class="todo" jsdisplay="!$this.description" jstcache="23"
> Undocumented. </dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML:$th
is.description" jstcache="24"> Description of this parameter from the json schem
a. </dd> </div> </dl> </dd> </div> </dl> <!-- CALLBACK --> <div jsdisplay=
"callbackParameters" jstcache="15"> <h4 jstcache="0">Callback function</h4> <p j
stcache="0"> If you specify the <em jstcache="0">callback</em> parameter, it sho
uld specify a function that looks like this: </p> <!-- Note: intentionally longe
r 80 columns --> <pre jstcache="0">function(<span jscontent="callbackSignature"
jstcache="26">object window</span>) <span class="subdued" jstcache="0">{...}</sp
an>);</pre> <dl jstcache="0"> <div jsselect="callbackParameters" jstcache="27" j
sinstance="*0"> <dt jstcache="0"> <!-- Note: intentionally longer 80 columns -->
<var jscontent="name" jstcache="7">window</var><em jstcache="0"> (<span jsconte
nt="typeName" jstcache="20">object</span>)</em> </dt> <dd class="todo" jsdisplay
="!$this.description" jstcache="23"> Undocumented. </dd> <dd jsdisplay="$this.de
scription" jsvalues=".innerHTML:$this.description" jstcache="24" style="display:
none; "> Description of this parameter from the json schema. </dd> <!-- OBJECT
PROPERTIES --> <dd jsdisplay="_propertyList" jstcache="25"> <dl jstcache="0"> <d
iv jsselect="_propertyList" jstcache="29" jsinstance="0"> <dt jstcache="0"> <!--
Note: intentionally longer 80 columns --> <var jscontent="name" jstcache="7">id
</var><em jstcache="0"> (<span class="optional" jsdisplay="optional" jstcache="2
8" style="display: none; ">optional </span><span jscontent="typeName" jstcache="
20">integer</span>)</em> </dt> <dd class="todo" jsdisplay="!$this.description" j
stcache="23"> Undocumented. </dd> <dd jsdisplay="$this.description" jsvalues=".i
nnerHTML:$this.description" jstcache="24" style="display: none; "> Description o
f this parameter from the json schema. </dd> </div><div jsselect="_propertyList"
jstcache="29" jsinstance="1"> <dt jstcache="0"> <!-- Note: intentionally longer
80 columns --> <var jscontent="name" jstcache="7">focused</var><em jstcache="0"
> (<span class="optional" jsdisplay="optional" jstcache="28" style="display: non
e; ">optional </span><span jscontent="typeName" jstcache="20">boolean</span>)</e
m> </dt> <dd class="todo" jsdisplay="!$this.description" jstcache="23"> Undocume
nted. </dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.descrip
tion" jstcache="24" style="display: none; "> Description of this parameter from
the json schema. </dd> </div><div jsselect="_propertyList" jstcache="29" jsinsta
nce="2"> <dt jstcache="0"> <!-- Note: intentionally longer 80 columns --> <var j
scontent="name" jstcache="7">left</var><em jstcache="0"> (<span class="optional"
jsdisplay="optional" jstcache="28" style="display: none; ">optional </span><spa
n jscontent="typeName" jstcache="20">integer</span>)</em> </dt> <dd class="todo"
jsdisplay="!$this.description" jstcache="23"> Undocumented. </dd> <dd jsdisplay
="$this.description" jsvalues=".innerHTML:$this.description" jstcache="24" style
="display: none; "> Description of this parameter from the json schema. </dd> </
div><div jsselect="_propertyList" jstcache="29" jsinstance="3"> <dt jstcache="0"
> <!-- Note: intentionally longer 80 columns --> <var jscontent="name" jstcache=
"7">top</var><em jstcache="0"> (<span class="optional" jsdisplay="optional" jstc
ache="28" style="display: none; ">optional </span><span jscontent="typeName" jst
cache="20">integer</span>)</em> </dt> <dd class="todo" jsdisplay="!$this.descrip
tion" jstcache="23"> Undocumented. </dd> <dd jsdisplay="$this.description" jsval
ues=".innerHTML:$this.description" jstcache="24" style="display: none; "> Descri
ption of this parameter from the json schema. </dd> </div><div jsselect="_proper
tyList" jstcache="29" jsinstance="4"> <dt jstcache="0"> <!-- Note: intentionally
longer 80 columns --> <var jscontent="name" jstcache="7">bottom</var><em jstcac
he="0"> (<span class="optional" jsdisplay="optional" jstcache="28" style="displa
y: none; ">optional </span><span jscontent="typeName" jstcache="20">integer</spa
n>)</em> </dt> <dd class="todo" jsdisplay="!$this.description" jstcache="23"> Un
documented. </dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.d
escription" jstcache="24" style="display: none; "> Description of this parameter
from the json schema. </dd> </div><div jsselect="_propertyList" jstcache="29" j
sinstance="5"> <dt jstcache="0"> <!-- Note: intentionally longer 80 columns -->
<var jscontent="name" jstcache="7">right</var><em jstcache="0"> (<span class="op
tional" jsdisplay="optional" jstcache="28" style="display: none; ">optional </sp
an><span jscontent="typeName" jstcache="20">integer</span>)</em> </dt> <dd class
="todo" jsdisplay="!$this.description" jstcache="23"> Undocumented. </dd> <dd js
display="$this.description" jsvalues=".innerHTML:$this.description" jstcache="24
" style="display: none; "> Description of this parameter from the json schema. <
/dd> </div><div jsselect="_propertyList" jstcache="29" jsinstance="*6"> <dt jstc
ache="0"> <!-- Note: intentionally longer 80 columns --> <var jscontent="name" j
stcache="7">tabs</var><em jstcache="0"> (<span class="optional" jsdisplay="optio
nal" jstcache="28">optional </span><span jscontent="typeName" jstcache="20">arra
y of object</span>)</em> </dt> <dd class="todo" jsdisplay="!$this.description" j
stcache="23"> Undocumented. </dd> <dd jsdisplay="$this.description" jsvalues=".i
nnerHTML:$this.description" jstcache="24" style="display: none; "> Description o
f this parameter from the json schema. </dd> </div> </dl> </dd> </div> </dl> </d
iv> </div> <!-- /description --> </div><div class="apiItem" jsselect="functions"
jstcache="4" jsinstance="*6"> <a jsvalues=".name:'method-' + name" jstcache="6"
name="method-remove"></a> <!-- method-anchor --> <h3 jscontent="name" jstcache=
"7">remove</h3> <div class="summary" jstcache="0"><span jsdisplay="returns" jsco
ntent="returns.typeName" jstcache="9" style="display: none; ">void</span> <!-- N
ote: intentionally longer 80 columns --> <span jscontent="fullName" jstcache="10
">chrome.windows.remove</span>(<span jsselect="parameters" jsvalues="class:optio
nal ? 'optional' : ''" jstcache="11" jsinstance="0" class="null"><span jsdisplay
="$index" jstcache="19" style="display: none; ">, </span><span jscontent="typeNa
me" jstcache="20">integer</span> <var jstcache="0"><span jscontent="name" jstcac
he="7">windowId</span></var></span><span jsselect="parameters" jsvalues="class:o
ptional ? 'optional' : ''" jstcache="11" jsinstance="*1" class="optional"><span
jsdisplay="$index" jstcache="19">, </span><span jscontent="typeName" jstcache="2
0">function</span> <var jstcache="0"><span jscontent="name" jstcache="7">callbac
k</span></var></span>)</div> <div class="description" jstcache="0"> <p class="to
do" jsdisplay="!description" jstcache="12">Undocumented.</p> <p jsdisplay="descr
iption" jsvalues=".innerHTML:description" jstcache="13" style="display: none; ">
A description from the json schema def of the function goes here. </p> <!-- PAR
AMETERS --> <h4 jstcache="0">Parameters</h4> <dl jstcache="0"> <div jsselect="pa
rameters" jstcache="21" jsinstance="0"> <dt jstcache="0"> <!-- Note: intentional
ly longer 80 columns --> <var jscontent="name" jstcache="7">windowId</var><em js
tcache="0"> (<span class="optional" jsdisplay="optional" jstcache="28" style="di
splay: none; ">optional </span><span jscontent="typeName" jstcache="20">integer<
/span>)</em> </dt> <dd class="todo" jsdisplay="!$this.description" jstcache="23"
> Undocumented. </dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML:$th
is.description" jstcache="24" style="display: none; "> Description of this param
eter from the json schema. </dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="_prop
ertyList" jstcache="25" style="display: none; "> <dl jstcache="0"> <div jsselect
="_propertyList" jstcache="29"> <dt jstcache="0"> <!-- Note: intentionally longe
r 80 columns --> <var jscontent="name" jstcache="7">paramName</var><em jstcache=
"0"> (<span class="optional" jsdisplay="optional" jstcache="28">optional </span>
<span jscontent="typeName" jstcache="20">paramType</span>)</em> </dt> <dd class=
"todo" jsdisplay="!$this.description" jstcache="23"> Undocumented. </dd> <dd jsd
isplay="$this.description" jsvalues=".innerHTML:$this.description" jstcache="24"
> Description of this parameter from the json schema. </dd> </div> </dl> </dd> <
/div><div jsselect="parameters" jstcache="21" jsinstance="*1"> <dt jstcache="0">
<!-- Note: intentionally longer 80 columns --> <var jscontent="name" jstcache="
7">callback</var><em jstcache="0"> (<span class="optional" jsdisplay="optional"
jstcache="28">optional </span><span jscontent="typeName" jstcache="20">function<
/span>)</em> </dt> <dd class="todo" jsdisplay="!$this.description" jstcache="23"
> Undocumented. </dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML:$th
is.description" jstcache="24" style="display: none; "> Description of this param
eter from the json schema. </dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="_prop
ertyList" jstcache="25" style="display: none; "> <dl jstcache="0"> <div jsselect
="_propertyList" jstcache="29"> <dt jstcache="0"> <!-- Note: intentionally longe
r 80 columns --> <var jscontent="name" jstcache="7">paramName</var><em jstcache=
"0"> (<span class="optional" jsdisplay="optional" jstcache="28">optional </span>
<span jscontent="typeName" jstcache="20">paramType</span>)</em> </dt> <dd class=
"todo" jsdisplay="!$this.description" jstcache="23"> Undocumented. </dd> <dd jsd
isplay="$this.description" jsvalues=".innerHTML:$this.description" jstcache="24"
> Description of this parameter from the json schema. </dd> </div> </dl> </dd> <
/div> </dl> <!-- RETURNS --> <h4 jsdisplay="returns" jstcache="14" style="displa
y: none; ">Returns</h4> <dl jstcache="0"> <div jsselect="returns" jstcache="22"
style="display: none; "> <dt jstcache="0"> <!-- Note: intentionally longer 80 co
lumns --> <var jscontent="name" jstcache="7">paramName</var> <em jstcache="0">(<
span jscontent="typeName" jstcache="20">paramType</span>)</em> </dt> <dd class="
todo" jsdisplay="!$this.description" jstcache="23"> Undocumented. </dd> <dd jsdi
splay="$this.description" jsvalues=".innerHTML:$this.description" jstcache="24">
Description of this parameter from the json schema. </dd> <!-- OBJECT PROPERTIE
S --> <dd jsdisplay="_propertyList" jstcache="25"> <dl jstcache="0"> <div jssele
ct="_propertyList" jstcache="29"> <dt jstcache="0"> <!-- Note: intentionally lon
ger 80 columns --> <var jscontent="name" jstcache="7">paramName</var><em jstcach
e="0"> (<span class="optional" jsdisplay="optional" jstcache="28">optional </spa
n><span jscontent="typeName" jstcache="20">paramType</span>)</em> </dt> <dd clas
s="todo" jsdisplay="!$this.description" jstcache="23"> Undocumented. </dd> <dd j
sdisplay="$this.description" jsvalues=".innerHTML:$this.description" jstcache="2
4"> Description of this parameter from the json schema. </dd> </div> </dl> </dd>
</div> </dl> <!-- CALLBACK --> <div jsdisplay="callbackParameters" jstcache="1
5"> <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 look
s like this: </p> <!-- Note: intentionally longer 80 columns --> <pre jstcache="
0">function(<span jscontent="callbackSignature" jstcache="26"></span>) <span cla
ss="subdued" jstcache="0">{...}</span>);</pre> <dl jstcache="0"> <div jsselect="
callbackParameters" jstcache="27" jsinstance="*0" style="display: none; "> <dt j
stcache="0"> <!-- Note: intentionally longer 80 columns --> <var jscontent="name
" jstcache="7">paramName</var><em jstcache="0"> (<span jscontent="typeName" jstc
ache="20">paramType</span>)</em> </dt> <dd class="todo" jsdisplay="!$this.descri
ption" jstcache="23"> Undocumented. </dd> <dd jsdisplay="$this.description" jsva
lues=".innerHTML:$this.description" jstcache="24"> Description of this parameter
from the json schema. </dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="_property
List" jstcache="25"> <dl jstcache="0"> <div jsselect="_propertyList" jstcache="2
9"> <dt jstcache="0"> <!-- Note: intentionally longer 80 columns --> <var jscont
ent="name" jstcache="7">paramName</var><em jstcache="0"> (<span class="optional"
jsdisplay="optional" jstcache="28">optional </span><span jscontent="typeName" j
stcache="20">paramType</span>)</em> </dt> <dd class="todo" jsdisplay="!$this.des
cription" jstcache="23"> Undocumented. </dd> <dd jsdisplay="$this.description" j
svalues=".innerHTML:$this.description" jstcache="24"> Description of this parame
ter from the json schema. </dd> </div> </dl> </dd> </div> </dl> </div> </div> <!
-- /description --> </div> <!-- /apiItem --> </div> <!-- /apiGroup --> <!-- EVEN
TS --> <div class="apiGroup" id="events" jstcache="0"> <a name="#events" jstcach
e="0"></a> <h2 id="events" jstcache="0">Events</h2> <!-- iterates over all event
s --> <div jsselect="events" class="apiItem" jstcache="5" jsinstance="0"> <a jsv
alues=".name:'event-' + name" jstcache="8" name="event-onCreated"></a> <h3 jscon
tent="name" jstcache="7">onCreated</h3> <div class="summary" jstcache="0"> <!--
Note: intentionally longer 80 columns --> <span class="subdued" jstcache="0">chr
ome.bookmarks.</span><span jscontent="name" jstcache="7">onCreated</span><span c
lass="subdued" jstcache="0">.addListener</span>(function(<span jscontent="callSi
gnature" jstcache="16">integer windowId</span>) <span class="subdued" jstcache="
0">{...}</span>); </div> <div class="description" jstcache="0"> <p class="todo"
jsdisplay="!description" jstcache="12">Undocumented.</p> <p jsdisplay="descripti
on" jsvalues=".innerHTML:description" jstcache="13" style="display: none; "> A d
escription from the json schema def of the event goes here. </p> <!-- PARAMETERS
--> <h4 jstcache="0">Parameters</h4> <dl jstcache="0"> <div jsselect="parameter
s" jstcache="21" jsinstance="*0"> <dt jstcache="0"> <!-- Note: intentionally lon
ger 80 columns --> <var jscontent="name" jstcache="7">windowId</var><em jstcache
="0"> (<span jscontent="typeName" jstcache="20">integer</span>)</em> </dt> <dd c
lass="todo" jsdisplay="!$this.description" jstcache="23">Undocumented.</dd> <dd
jsdisplay="$this.description" jsvalues=".innerHTML:$this.description" jstcache="
24" style="display: none; "> Description of this parameter from the json schema.
</dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="_propertyList" jstcache="25" st
yle="display: none; "> <dl jstcache="0"> <div jsselect="_propertyList" jstcache=
"29"> <dt jstcache="0"> <!-- Note: intentionally longer 80 columns --> <var jsco
ntent="name" jstcache="7">paramName</var><em jstcache="0"> (<span class="optiona
l" jsdisplay="optional" jstcache="28">optional </span><span jscontent="typeName"
jstcache="20">paramType</span>)</em> </dt> <dd class="todo" jsdisplay="!$this.d
escription" jstcache="23"> Undocumented. </dd> <dd jsdisplay="$this.description"
jsvalues=".innerHTML:$this.description" jstcache="24"> Description of this para
meter from the json schema. </dd> </div> </dl> </dd> </div> </dl> </div> <!-- /d
ecription --> </div><div jsselect="events" class="apiItem" jstcache="5" jsinstan
ce="1"> <a jsvalues=".name:'event-' + name" jstcache="8" name="event-onRemoved">
</a> <h3 jscontent="name" jstcache="7">onRemoved</h3> <div class="summary" jstca
che="0"> <!-- Note: intentionally longer 80 columns --> <span class="subdued" js
tcache="0">chrome.bookmarks.</span><span jscontent="name" jstcache="7">onRemoved
</span><span class="subdued" jstcache="0">.addListener</span>(function(<span jsc
ontent="callSignature" jstcache="16">integer windowId</span>) <span class="subdu
ed" jstcache="0">{...}</span>); </div> <div class="description" jstcache="0"> <p
class="todo" jsdisplay="!description" jstcache="12">Undocumented.</p> <p jsdisp
lay="description" jsvalues=".innerHTML:description" jstcache="13" style="display
: none; "> A description from the json schema def of the event goes here. </p> <
!-- PARAMETERS --> <h4 jstcache="0">Parameters</h4> <dl jstcache="0"> <div jssel
ect="parameters" jstcache="21" jsinstance="*0"> <dt jstcache="0"> <!-- Note: int
entionally longer 80 columns --> <var jscontent="name" jstcache="7">windowId</va
r><em jstcache="0"> (<span jscontent="typeName" jstcache="20">integer</span>)</e
m> </dt> <dd class="todo" jsdisplay="!$this.description" jstcache="23">Undocumen
ted.</dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.descripti
on" jstcache="24" style="display: none; "> Description of this parameter from th
e json schema. </dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="_propertyList" js
tcache="25" style="display: none; "> <dl jstcache="0"> <div jsselect="_propertyL
ist" jstcache="29"> <dt jstcache="0"> <!-- Note: intentionally longer 80 columns
--> <var jscontent="name" jstcache="7">paramName</var><em jstcache="0"> (<span
class="optional" jsdisplay="optional" jstcache="28">optional </span><span jscont
ent="typeName" jstcache="20">paramType</span>)</em> </dt> <dd class="todo" jsdis
play="!$this.description" jstcache="23"> Undocumented. </dd> <dd jsdisplay="$thi
s.description" jsvalues=".innerHTML:$this.description" jstcache="24"> Descriptio
n of this parameter from the json schema. </dd> </div> </dl> </dd> </div> </dl>
</div> <!-- /decription --> </div><div jsselect="events" class="apiItem" jstcach
e="5" jsinstance="*2"> <a jsvalues=".name:'event-' + name" jstcache="8" name="ev
ent-onFocusChanged"></a> <h3 jscontent="name" jstcache="7">onFocusChanged</h3> <
div class="summary" jstcache="0"> <!-- Note: intentionally longer 80 columns -->
<span class="subdued" jstcache="0">chrome.bookmarks.</span><span jscontent="nam
e" jstcache="7">onFocusChanged</span><span class="subdued" jstcache="0">.addList
ener</span>(function(<span jscontent="callSignature" jstcache="16">integer windo
wId</span>) <span class="subdued" jstcache="0">{...}</span>); </div> <div class=
"description" jstcache="0"> <p class="todo" jsdisplay="!description" jstcache="1
2">Undocumented.</p> <p jsdisplay="description" jsvalues=".innerHTML:description
" jstcache="13" style="display: none; "> A description from the json schema def
of the event goes here. </p> <!-- PARAMETERS --> <h4 jstcache="0">Parameters</h4
> <dl jstcache="0"> <div jsselect="parameters" jstcache="21" jsinstance="*0"> <d
t jstcache="0"> <!-- Note: intentionally longer 80 columns --> <var jscontent="n
ame" jstcache="7">windowId</var><em jstcache="0"> (<span jscontent="typeName" js
tcache="20">integer</span>)</em> </dt> <dd class="todo" jsdisplay="!$this.descri
ption" jstcache="23">Undocumented.</dd> <dd jsdisplay="$this.description" jsvalu
es=".innerHTML:$this.description" jstcache="24" style="display: none; "> Descrip
tion of this parameter from the json schema. </dd> <!-- OBJECT PROPERTIES --> <d
d jsdisplay="_propertyList" jstcache="25" style="display: none; "> <dl jstcache=
"0"> <div jsselect="_propertyList" jstcache="29"> <dt jstcache="0"> <!-- Note: i
ntentionally longer 80 columns --> <var jscontent="name" jstcache="7">paramName<
/var><em jstcache="0"> (<span class="optional" jsdisplay="optional" jstcache="28
">optional </span><span jscontent="typeName" jstcache="20">paramType</span>)</em
> </dt> <dd class="todo" jsdisplay="!$this.description" jstcache="23"> Undocumen
ted. </dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.descript
ion" jstcache="24"> Description of this parameter from the json schema. </dd> </
div> </dl> </dd> </div> </dl> </div> <!-- /decription --> </div> <!-- /apiItem -
-> </div> <!-- /apiGroup --> </div> <!-- /apiPage --> </div> <!-- /mainColumn --
> </div> <!-- /pageContent --> <div id="pageFooter" --="" jstcache="0"> Copyrigh
t 2009 <br jstcache="0"> TBD: copyright/license should be automatically included
here </div> <!-- /pageFooter --> </div> <!-- /container --> </body></html> |