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

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

Issue 173034: Validation of extension api callback and event parameters in DEBUG (Closed)
Patch Set: build docs Created 11 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « chrome/common/extensions/docs/tabs.html ('k') | chrome/renderer/extensions/bindings_utils.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <!DOCTYPE html><!-- This page is a placeholder for generated extensions api doc. Note: 1) The <head> information in this page is significant, should be uniform across api docs and should be edited only with knowledge of the templating mecha nism. 2) The <body> tag *must* retain id="body" 3) All <body>.innerHTML is gener eated as an rendering step. If viewed in a browser, it will be re-generated from the template, json schema and authored overview content. 4) The <body>.innerHTM L is also generated by an offline step so that this page may easily be indexed b y search engines. TODO(rafaelw): Abstract this into a "pageshell" that becomes t he single version of page template shell and the "instance" pages (bookmarks.htm l, etc...) can be generated with a build step. --><!-- <html> must retain id="te mplate --><html xmlns="http://www.w3.org/1999/xhtml" jstcache="0"><!-- <head> da ta is significant and loads the needed libraries and styles --><head jstcache="0 "> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" jstcache=" 0"> <title jscontent="pageTitle" jstcache="1">[object HTMLDivElement]</title> <l ink href="css/ApiRefStyles.css" rel="stylesheet" type="text/css" jstcache="0"> < script type="text/javascript" src="../../../third_party/jstemplate/jstemplate_co mpiled.js" jstcache="0"> </script> <script type="text/javascript" src="js/api_pa ge_generator.js" jstcache="0"></script> <script type="text/javascript" src="js/b ootstrap.js" jstcache="0"></script> </head><!-- <body> content is completely gen erated. Do not edit, as it will be and rewritten. --><body jstcache="0"> <div id ="container" jstcache="0"> <a name="top" jstcache="0"> </a> <!-- API HEADER --> <div id="pageHeader" jstcache="0"> <div id="searchbox" jstcache="0"> <form actio n="http://www.google.com/cse" id="cse-search-box" jstcache="0"> <div jstcache="0 "> <input type="hidden" name="cx" value="002967670403910741006:61_cvzfqtno" jstc ache="0"> <input type="hidden" name="ie" value="UTF-8" jstcache="0"> <input type ="text" name="q" size="31" jstcache="0"> <input type="submit" name="sa" value="S earch" jstcache="0"> </div> </form> <script type="text/javascript" src="http://w ww.google.com/jsapi" jstcache="0"></script> <script type="text/javascript" jstca che="0">google.load("elements", "1", {packages: "transliteration"});</script> <s cript type="text/javascript" src="http://www.google.com/coop/cse/t13n?form=cse-s earch-box&amp;t13n_langs=en" jstcache="0"></script> <script type="text/javascrip t" src="http://www.google.com/coop/cse/brand?form=cse-search-box&amp;lang=en" js tcache="0"></script> </div> <div id="pageTitle" jstcache="0"> <h1 jscontent="get PageTitle()" jstcache="2">chrome.windows API Reference</h1> </div> </div> <!-- / pageHeader --> <div id="pageContent" jstcache="0"> <!-- SIDENAV --> <div id="lef tNav" jstcache="0"> <ul jstcache="0"> <li jstcache="0"> <a href="index.html" jst cache="0">Home</a></li> <li jstcache="0"> <a href="getstarted.html" jstcache="0" >Get Started</a></li> <li jstcache="0"> <a href="overview.html" jstcache="0">Ove rview</a></li> <li jstcache="0">Reference <ul jstcache="0"> <li jstcache="0"><a href="manifest.html" jstcache="0">Manifest</a></li> <li jstcache="0"><a href="to olstrip.html" jstcache="0">Toolstrips</a></li> <li jstcache="0"><a href="pageAct ions.html" jstcache="0">Page Actions</a></li> <li jstcache="0"><a href="backgrou nd_pages.html" jstcache="0">Background Pages</a></li> <li jstcache="0"><a href=" content_scripts.html" jstcache="0">Content Scripts</a></li> <li jstcache="0"><a href="tabs.html" jstcache="0">Tabs</a></li> <li jstcache="0" class="leftNavSelec ted">Windows</li> <li jstcache="0"><a href="bookmarks.html" jstcache="0">Bookmar ks</a></li> <li jstcache="0"><a href="extension.html" jstcache="0">Extension</a> </li> <li jstcache="0"><a href="themes.html" jstcache="0">Themes</a></li> <li js tcache="0"><a href="npapi.html" jstcache="0">NPAPI Plugins</a></li> <li jstcache ="0"><a href="packaging.html" jstcache="0">Packaging</a></li> <li jstcache="0">< a href="autoupdate.html" jstcache="0">Autoupdate</a></li> </ul> </li> <li jstcac he="0">Samples <ul jstcache="0"> <li jstcache="0">[sample 1]</li> <li jstcache=" 0">[sample 2]</li> </ul> </li> </ul> </div> <div id="mainColumn" jstcache="0"> < !-- TABLE OF CONTENTS --> <div id="toc" jsdisplay="showPageTOC()" jstcache="3"> <p jstcache="0">Contents</p> <ol jstcache="0"> <li jsselect="getStaticTOC()" jst cache="9" jsinstance="*0" style="display: none; "> <a jscontent="name" jsvalues= ".href:'#' + href" jstcache="14">h2Name</a> <ol jstcache="0"> <li jsselect="$thi s.children" jstcache="22"> <a jscontent="name" jsvalues=".href:'#' + href" jstca che="14">h3Name</a> </li> </ol> </li> <div jsselect="apiDefinition" jstcache="4" > <li jsdisplay="$this.properties" jstcache="5" style="display: none; "> <a href ="#properties" jstcache="0">Properties</a> <ol jstcache="0"> <li jsselect="getPr opertyListFromObject($this)" jstcache="10"> <a jscontent="name" jsvalues=".href: '#property-' + name" href="#property-anchor" jstcache="38">propertyName</a> </li > </ol> </li> <li jsdisplay="functions &amp;&amp; functions.length &gt; 0" jstca che="6"> <a href="#methods" jstcache="0">Methods</a> <ol jstcache="0"> <li jssel ect="functions" jstcache="11" jsinstance="0"> <a jscontent="name" jsvalues=".hre f:'#method-' + name" href="#method-get" jstcache="39">get</a> </li><li jsselect= "functions" jstcache="11" jsinstance="1"> <a jscontent="name" jsvalues=".href:'# method-' + name" href="#method-getCurrent" jstcache="39">getCurrent</a> </li><li jsselect="functions" jstcache="11" jsinstance="2"> <a jscontent="name" jsvalues =".href:'#method-' + name" href="#method-getLastFocused" jstcache="39">getLastFo cused</a> </li><li jsselect="functions" jstcache="11" jsinstance="3"> <a jsconte nt="name" jsvalues=".href:'#method-' + name" href="#method-getAll" jstcache="39" >getAll</a> </li><li jsselect="functions" jstcache="11" jsinstance="4"> <a jscon tent="name" jsvalues=".href:'#method-' + name" href="#method-create" jstcache="3 9">create</a> </li><li jsselect="functions" jstcache="11" jsinstance="5"> <a jsc ontent="name" jsvalues=".href:'#method-' + name" href="#method-update" jstcache= "39">update</a> </li><li jsselect="functions" jstcache="11" jsinstance="*6"> <a jscontent="name" jsvalues=".href:'#method-' + name" href="#method-remove" jstcac he="39">remove</a> </li> </ol> </li> <li jsdisplay="events &amp;&amp; events.len gth &gt; 0" jstcache="7"> <a href="#events" jstcache="0">Events</a> <ol jstcache ="0"> <li jsselect="events" jstcache="12" jsinstance="0"> <a jscontent="name" js values=".href:'#event-' + name" href="#event-onCreated" jstcache="40">onCreated< /a> </li><li jsselect="events" jstcache="12" jsinstance="1"> <a jscontent="name" jsvalues=".href:'#event-' + name" href="#event-onRemoved" jstcache="40">onRemov ed</a> </li><li jsselect="events" jstcache="12" jsinstance="*2"> <a jscontent="n ame" jsvalues=".href:'#event-' + name" href="#event-onFocusChanged" jstcache="40 ">onFocusChanged</a> </li> </ol> </li> <li jsdisplay="types &amp;&amp; types.len gth &gt; 0" jstcache="8"> <a href="#types" jstcache="0">Types</a> <ol jstcache=" 0"> <li jsselect="types" jstcache="13" jsinstance="*0"> <a jscontent="id" jsvalu es=".href:'#type-' + id" href="#type-Window" jstcache="41">Window</a> </li> </ol > </li> </div> </ol> </div> <!-- /TABLE OF CONTENTS --> <!-- STATIC CONTENT PLAC EHOLDER --> <div id="static" jstcache="0"><!-- BEGIN AUTHORED CONTENT --> <p cla ss="todo" jstcache="0"> [PENDING: API Module Overview Goes Here] </p> <!-- END A UTHORED CONTENT --> </div> <!-- API PAGE --> <div class="apiPage" jsselect="apiD efinition" jstcache="4"> <!-- PROPERTIES --> <div jsdisplay="$this.properties" c lass="apiGroup" jstcache="5" style="display: none; "> <a name="#properties" jstc ache="0"></a> <h2 id="properties" jstcache="0">Properties</h2> <div jsselect="ge tPropertyListFromObject($this)" jstcache="10"> <a jsvalues=".name:'property-' + name" jstcache="15"></a> <h3 jscontent="name" jstcache="16">getLastError</h3> <d iv class="summary" jstcache="0"> <!-- Note: intentionally longer 80 columns --> <span jscontent="getModuleName() + '.'" jstcache="23">chrome.extension</span><sp an jscontent="$this.name" jstcache="24">lastError</span> </div> <div transclude= "valueTemplate" jstcache="17"> </div> </div> </div> <!-- /apiGroup --> <!-- METH ODS --> <div jsdisplay="functions &amp;&amp; functions.length &gt; 0" class="api Group" id="methods" jstcache="6"> <a name="#methods" jstcache="0"></a> <h2 jstca che="0">Methods</h2> <!-- iterates over all functions --> <div class="apiItem" j sselect="functions" jstcache="11" jsinstance="0"> <a jsvalues=".name:'method-' + name" jstcache="18" name="method-get"></a> <!-- method-anchor --> <h3 jscontent ="name" jstcache="16">get</h3> <div class="summary" jstcache="0"><span jsdisplay ="returns" jscontent="getTypeName(returns)" jstcache="25" style="display: none; ">void</span> <!-- Note: intentionally longer 80 columns --> <span jscontent="ge tFullyQualifiedFunctionName($this)" jstcache="26">chrome.windows.get</span>(<spa n jsselect="parameters" jsvalues="class:optional ? 'optional' : ''" jstcache="27 " jsinstance="0" class="null"><span jsdisplay="$index" jstcache="33" style="disp lay: none; ">, </span><span jscontent="getTypeName($this)" jstcache="34">integer </span> <var jstcache="0"><span jscontent="name" jstcache="16">windowId</span></ var></span><span jsselect="parameters" jsvalues="class:optional ? 'optional' : ' '" jstcache="27" jsinstance="*1" class="null"><span jsdisplay="$index" jstcache= "33">, </span><span jscontent="getTypeName($this)" jstcache="34">function</span> <var jstcache="0"><span jscontent="name" jstcache="16">callback</span></var></s pan>)</div> <div class="description" jstcache="0"> <p class="todo" jsdisplay="!d escription" jstcache="28" style="display: none; ">Undocumented.</p> <p jsdisplay ="description" jsvalues=".innerHTML:description" jstcache="29">Get window with g iven id.</p> <!-- PARAMETERS --> <h4 jstcache="0">Parameters</h4> <dl jstcache=" 0"> <div jsselect="parameters" jstcache="35" jsinstance="0"> <!-- VALUE: This is a subtemplate that is used elsewhere via jsTemplate *transclude* --> <div id="v alueTemplate" jstcache="0"> <dt jstcache="0"> <var jsdisplay="$this.name" jscont ent="$this.name" jstcache="45">windowId</var> <em jstcache="0"> <!-- TYPE --> <d iv style="display:inline" jstcache="0"> ( <span class="optional" jsdisplay="opti onal" jstcache="46" style="display: none; ">optional</span> <span id="typeTempla te" jstcache="0"> <span jsdisplay="getTypeRef($this)" jstcache="47" style="displ ay: none; "> <a jsvalues=".href: getTypeRefPage($this) + '#type-' + getTypeRef($ this)" jscontent="getTypeRef($this)" jstcache="49"> Type</a> </span> <span jsdis play="!getTypeRef($this)" jstcache="48"> <span jsdisplay="isArray($this)" jstcac he="50" style="display: none; "> array of <span jsselect="items" jstcache="52">< span transclude="typeTemplate" jstcache="53"></span></span> </span> <span jsdisp lay="!isArray($this)" jscontent="getTypeName($this)" jstcache="51">integer</span > </span> </span> ) </div> </em> </dt> <dd class="todo" jsdisplay="!$this.descri ption" jstcache="42"> Undocumented. </dd> <dd jsdisplay="$this.description" jsva lues=".innerHTML:$this.description" jstcache="43" style="display: none; "> Descr iption of this parameter from the json schema. </dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="shouldExpandObject($this)" jstcache="44" style="display: none; "> <dl jstcache="0"> <div jsselect="getPropertyListFromObject($this)" jstcache="10 "> <div transclude="valueTemplate" jstcache="17"> </div> </div> </dl> </dd> </di v> <!-- /VALUE --> </div><div jsselect="parameters" jstcache="35" jsinstance="*1 "> <!-- VALUE: This is a subtemplate that is used elsewhere via jsTemplate *tran sclude* --> <div id="valueTemplate" jstcache="0"> <dt jstcache="0"> <var jsdispl ay="$this.name" jscontent="$this.name" jstcache="45">callback</var> <em jstcache ="0"> <!-- TYPE --> <div style="display:inline" jstcache="0"> ( <span class="opt ional" jsdisplay="optional" jstcache="46" style="display: none; ">optional</span > <span id="typeTemplate" jstcache="0"> <span jsdisplay="getTypeRef($this)" jstc ache="47" style="display: none; "> <a jsvalues=".href: getTypeRefPage($this) + ' #type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="49"> Type</ a> </span> <span jsdisplay="!getTypeRef($this)" jstcache="48"> <span jsdisplay=" isArray($this)" jstcache="50" style="display: none; "> array of <span jsselect=" items" jstcache="52"><span transclude="typeTemplate" jstcache="53"></span></span > </span> <span jsdisplay="!isArray($this)" jscontent="getTypeName($this)" jstca che="51">function</span> </span> </span> ) </div> </em> </dt> <dd class="todo" j sdisplay="!$this.description" jstcache="42"> Undocumented. </dd> <dd jsdisplay=" $this.description" jsvalues=".innerHTML:$this.description" jstcache="43" style=" display: none; "> Description of this parameter from the json schema. </dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="shouldExpandObject($this)" jstcache="44" s tyle="display: none; "> <dl jstcache="0"> <div jsselect="getPropertyListFromObje ct($this)" jstcache="10"> <div transclude="valueTemplate" jstcache="17"> </div> </div> </dl> </dd> </div> <!-- /VALUE --> </div> </dl> <!-- RETURNS --> <h4 jsdi splay="returns" jstcache="30" style="display: none; ">Returns</h4> <dl jstcache= "0"> <div jsselect="returns" jstcache="36" style="display: none; "> <div transcl ude="valueTemplate" jstcache="17"> </div> </div> </dl> <!-- CALLBACK --> <div jsdisplay="hasCallback(parameters)" jstcache="31"> <div jsselect="getCallb ackParameters(parameters)" jstcache="37"> <h4 jstcache="0">Callback function</h4 > <p jstcache="0"> If you specify the <em jstcache="0">callback</em> parameter, it should specify a function that looks like this: </p> <!-- Note: intentionally longer 80 columns --> <pre jstcache="0">function(<span jscontent="getSignatureS tring(parameters)" jstcache="32">Window window</span>) <span class="subdued" jst cache="0">{...}</span>);</pre> <dl jstcache="0"> <div jsselect="parameters" jstc ache="35" jsinstance="*0"> <div jstcache="0"> <dt jstcache="0"> <var jsdisplay=" $this.name" jscontent="$this.name" jstcache="45">window</var> <em jstcache="0"> <!-- TYPE --> <div style="display:inline" jstcache="0"> ( <span class="optional" jsdisplay="optional" jstcache="46" style="display: none; ">optional</span> <spa n id="typeTemplate" jstcache="0"> <span jsdisplay="getTypeRef($this)" jstcache=" 47" style=""> <a jsvalues=".href: getTypeRefPage($this) + '#type-' + getTypeRef( $this)" jscontent="getTypeRef($this)" jstcache="49" href="windows.html#type-Wind ow">Window</a> </span> <span jsdisplay="!getTypeRef($this)" jstcache="48" style= "display: none; "> <span jsdisplay="isArray($this)" jstcache="50" style="display : none; "> array of <span jsselect="items" jstcache="52"><span transclude="typeT emplate" jstcache="53"></span></span> </span> <span jsdisplay="!isArray($this)" jscontent="getTypeName($this)" jstcache="51">integer</span> </span> </span> ) </ div> </em> </dt> <dd class="todo" jsdisplay="!$this.description" jstcache="42"> Undocumented. </dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this .description" jstcache="43" style="display: none; "> Description of this paramet er from the json schema. </dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="shouldE xpandObject($this)" jstcache="44" style="display: none; "> <dl jstcache="0"> <di v jsselect="getPropertyListFromObject($this)" jstcache="10"> <div transclude="va lueTemplate" jstcache="17"> </div> </div> </dl> </dd> </div> </div> </dl> </div> </div> </div> <!-- /description --> </div><div class="apiItem" jsselect="functi ons" jstcache="11" jsinstance="1"> <a jsvalues=".name:'method-' + name" jstcache ="18" name="method-getCurrent"></a> <!-- method-anchor --> <h3 jscontent="name" jstcache="16">getCurrent</h3> <div class="summary" jstcache="0"><span jsdisplay= "returns" jscontent="getTypeName(returns)" jstcache="25" style="display: none; " >void</span> <!-- Note: intentionally longer 80 columns --> <span jscontent="get FullyQualifiedFunctionName($this)" jstcache="26">chrome.windows.getCurrent</span >(<span jsselect="parameters" jsvalues="class:optional ? 'optional' : ''" jstcac he="27" jsinstance="*0" class="null"><span jsdisplay="$index" jstcache="33" styl e="display: none; ">, </span><span jscontent="getTypeName($this)" jstcache="34"> function</span> <var jstcache="0"><span jscontent="name" jstcache="16">callback< /span></var></span>)</div> <div class="description" jstcache="0"> <p class="todo " jsdisplay="!description" jstcache="28" style="display: none; ">Undocumented.</ p> <p jsdisplay="description" jsvalues=".innerHTML:description" jstcache="29">Ge t the window that is the container for the caller. i.e. the window containing th e toolstrip that makes the call.</p> <!-- PARAMETERS --> <h4 jstcache="0">Parame ters</h4> <dl jstcache="0"> <div jsselect="parameters" jstcache="35" jsinstance= "*0"> <!-- VALUE: This is a subtemplate that is used elsewhere via jsTemplate *t ransclude* --> <div id="valueTemplate" jstcache="0"> <dt jstcache="0"> <var jsdi splay="$this.name" jscontent="$this.name" jstcache="45">callback</var> <em jstca che="0"> <!-- TYPE --> <div style="display:inline" jstcache="0"> ( <span class=" optional" jsdisplay="optional" jstcache="46" style="display: none; ">optional</s pan> <span id="typeTemplate" jstcache="0"> <span jsdisplay="getTypeRef($this)" j stcache="47" style="display: none; "> <a jsvalues=".href: getTypeRefPage($this) + '#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="49"> Typ e</a> </span> <span jsdisplay="!getTypeRef($this)" jstcache="48"> <span jsdispla y="isArray($this)" jstcache="50" style="display: none; "> array of <span jsselec t="items" jstcache="52"><span transclude="typeTemplate" jstcache="53"></span></s pan> </span> <span jsdisplay="!isArray($this)" jscontent="getTypeName($this)" js tcache="51">function</span> </span> </span> ) </div> </em> </dt> <dd class="todo " jsdisplay="!$this.description" jstcache="42"> Undocumented. </dd> <dd jsdispla y="$this.description" jsvalues=".innerHTML:$this.description" jstcache="43" styl e="display: none; "> Description of this parameter from the json schema. </dd> < !-- OBJECT PROPERTIES --> <dd jsdisplay="shouldExpandObject($this)" jstcache="44 " style="display: none; "> <dl jstcache="0"> <div jsselect="getPropertyListFromO bject($this)" jstcache="10"> <div transclude="valueTemplate" jstcache="17"> </di v> </div> </dl> </dd> </div> <!-- /VALUE --> </div> </dl> <!-- RETURNS --> <h4 j sdisplay="returns" jstcache="30" style="display: none; ">Returns</h4> <dl jstcac he="0"> <div jsselect="returns" jstcache="36" style="display: none; "> <div tran sclude="valueTemplate" jstcache="17"> </div> </div> </dl> <!-- CALLBACK --> <div jsdisplay="hasCallback(parameters)" jstcache="31"> <div jsselect="getCallb ackParameters(parameters)" jstcache="37"> <h4 jstcache="0">Callback function</h4 > <p jstcache="0"> If you specify the <em jstcache="0">callback</em> parameter, it should specify a function that looks like this: </p> <!-- Note: intentionally longer 80 columns --> <pre jstcache="0">function(<span jscontent="getSignatureS tring(parameters)" jstcache="32">Window window</span>) <span class="subdued" jst cache="0">{...}</span>);</pre> <dl jstcache="0"> <div jsselect="parameters" jstc ache="35" jsinstance="*0"> <div jstcache="0"> <dt jstcache="0"> <var jsdisplay=" $this.name" jscontent="$this.name" jstcache="45">window</var> <em jstcache="0"> <!-- TYPE --> <div style="display:inline" jstcache="0"> ( <span class="optional" jsdisplay="optional" jstcache="46" style="display: none; ">optional</span> <spa n id="typeTemplate" jstcache="0"> <span jsdisplay="getTypeRef($this)" jstcache=" 47" style=""> <a jsvalues=".href: getTypeRefPage($this) + '#type-' + getTypeRef( $this)" jscontent="getTypeRef($this)" jstcache="49" href="windows.html#type-Wind ow">Window</a> </span> <span jsdisplay="!getTypeRef($this)" jstcache="48" style= "display: none; "> <span jsdisplay="isArray($this)" jstcache="50" style="display : none; "> array of <span jsselect="items" jstcache="52"><span transclude="typeT emplate" jstcache="53"></span></span> </span> <span jsdisplay="!isArray($this)" jscontent="getTypeName($this)" jstcache="51">integer</span> </span> </span> ) </ div> </em> </dt> <dd class="todo" jsdisplay="!$this.description" jstcache="42"> Undocumented. </dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this .description" jstcache="43" style="display: none; "> Description of this paramet er from the json schema. </dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="shouldE xpandObject($this)" jstcache="44" style="display: none; "> <dl jstcache="0"> <di v jsselect="getPropertyListFromObject($this)" jstcache="10"> <div transclude="va lueTemplate" jstcache="17"> </div> </div> </dl> </dd> </div> </div> </dl> </div> </div> </div> <!-- /description --> </div><div class="apiItem" jsselect="functi ons" jstcache="11" jsinstance="2"> <a jsvalues=".name:'method-' + name" jstcache ="18" name="method-getLastFocused"></a> <!-- method-anchor --> <h3 jscontent="na me" jstcache="16">getLastFocused</h3> <div class="summary" jstcache="0"><span js display="returns" jscontent="getTypeName(returns)" jstcache="25" style="display: none; ">void</span> <!-- Note: intentionally longer 80 columns --> <span jscont ent="getFullyQualifiedFunctionName($this)" jstcache="26">chrome.windows.getLastF ocused</span>(<span jsselect="parameters" jsvalues="class:optional ? 'optional' : ''" jstcache="27" jsinstance="*0" class="null"><span jsdisplay="$index" jstcac he="33" style="display: none; ">, </span><span jscontent="getTypeName($this)" js tcache="34">function</span> <var jstcache="0"><span jscontent="name" jstcache="1 6">callback</span></var></span>)</div> <div class="description" jstcache="0"> <p class="todo" jsdisplay="!description" jstcache="28" style="display: none; ">Und ocumented.</p> <p jsdisplay="description" jsvalues=".innerHTML:description" jstc ache="29">Get the window that was most recenly focused -- typically the window ' on top'.</p> <!-- PARAMETERS --> <h4 jstcache="0">Parameters</h4> <dl jstcache=" 0"> <div jsselect="parameters" jstcache="35" jsinstance="*0"> <!-- VALUE: This i s a subtemplate that is used elsewhere via jsTemplate *transclude* --> <div id=" valueTemplate" jstcache="0"> <dt jstcache="0"> <var jsdisplay="$this.name" jscon tent="$this.name" jstcache="45">callback</var> <em jstcache="0"> <!-- TYPE --> < div style="display:inline" jstcache="0"> ( <span class="optional" jsdisplay="opt ional" jstcache="46" style="display: none; ">optional</span> <span id="typeTempl ate" jstcache="0"> <span jsdisplay="getTypeRef($this)" jstcache="47" style="disp lay: none; "> <a jsvalues=".href: getTypeRefPage($this) + '#type-' + getTypeRef( $this)" jscontent="getTypeRef($this)" jstcache="49"> Type</a> </span> <span jsdi splay="!getTypeRef($this)" jstcache="48"> <span jsdisplay="isArray($this)" jstca che="50" style="display: none; "> array of <span jsselect="items" jstcache="52"> <span transclude="typeTemplate" jstcache="53"></span></span> </span> <span jsdis play="!isArray($this)" jscontent="getTypeName($this)" jstcache="51">function</sp an> </span> </span> ) </div> </em> </dt> <dd class="todo" jsdisplay="!$this.desc ription" jstcache="42"> Undocumented. </dd> <dd jsdisplay="$this.description" js values=".innerHTML:$this.description" jstcache="43" style="display: none; "> Des cription of this parameter from the json schema. </dd> <!-- OBJECT PROPERTIES -- > <dd jsdisplay="shouldExpandObject($this)" jstcache="44" style="display: none; "> <dl jstcache="0"> <div jsselect="getPropertyListFromObject($this)" jstcache=" 10"> <div transclude="valueTemplate" jstcache="17"> </div> </div> </dl> </dd> </ div> <!-- /VALUE --> </div> </dl> <!-- RETURNS --> <h4 jsdisplay="returns" jstca che="30" style="display: none; ">Returns</h4> <dl jstcache="0"> <div jsselect="r eturns" jstcache="36" style="display: none; "> <div transclude="valueTemplate" j stcache="17"> </div> </div> </dl> <!-- CALLBACK --> <div jsdisplay="hasCall back(parameters)" jstcache="31"> <div jsselect="getCallbackParameters(parameters )" jstcache="37"> <h4 jstcache="0">Callback function</h4> <p jstcache="0"> If yo u specify the <em jstcache="0">callback</em> parameter, it should specify a func tion that looks like this: </p> <!-- Note: intentionally longer 80 columns --> < pre jstcache="0">function(<span jscontent="getSignatureString(parameters)" jstca che="32">Window window</span>) <span class="subdued" jstcache="0">{...}</span>); </pre> <dl jstcache="0"> <div jsselect="parameters" jstcache="35" jsinstance="*0 "> <div jstcache="0"> <dt jstcache="0"> <var jsdisplay="$this.name" jscontent="$ this.name" jstcache="45">window</var> <em jstcache="0"> <!-- TYPE --> <div style ="display:inline" jstcache="0"> ( <span class="optional" jsdisplay="optional" js tcache="46" style="display: none; ">optional</span> <span id="typeTemplate" jstc ache="0"> <span jsdisplay="getTypeRef($this)" jstcache="47" style=""> <a jsvalue s=".href: getTypeRefPage($this) + '#type-' + getTypeRef($this)" jscontent="getTy peRef($this)" jstcache="49" href="windows.html#type-Window">Window</a> </span> < span jsdisplay="!getTypeRef($this)" jstcache="48" style="display: none; "> <span jsdisplay="isArray($this)" jstcache="50" style="display: none; "> array of <spa n jsselect="items" jstcache="52"><span transclude="typeTemplate" jstcache="53">< /span></span> </span> <span jsdisplay="!isArray($this)" jscontent="getTypeName($ this)" jstcache="51">integer</span> </span> </span> ) </div> </em> </dt> <dd cla ss="todo" jsdisplay="!$this.description" jstcache="42"> Undocumented. </dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.description" jstcache=" 43" style="display: none; "> Description of this parameter from the json schema. </dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="shouldExpandObject($this)" jstc ache="44" style="display: none; "> <dl jstcache="0"> <div jsselect="getPropertyL istFromObject($this)" jstcache="10"> <div transclude="valueTemplate" jstcache="1 7"> </div> </div> </dl> </dd> </div> </div> </dl> </div> </div> </div> <!-- /des cription --> </div><div class="apiItem" jsselect="functions" jstcache="11" jsins tance="3"> <a jsvalues=".name:'method-' + name" jstcache="18" name="method-getAl l"></a> <!-- method-anchor --> <h3 jscontent="name" jstcache="16">getAll</h3> <d iv class="summary" jstcache="0"><span jsdisplay="returns" jscontent="getTypeName (returns)" jstcache="25" style="display: none; ">void</span> <!-- Note: intentio nally longer 80 columns --> <span jscontent="getFullyQualifiedFunctionName($this )" jstcache="26">chrome.windows.getAll</span>(<span jsselect="parameters" jsvalu es="class:optional ? 'optional' : ''" jstcache="27" jsinstance="0" class="option al"><span jsdisplay="$index" jstcache="33" style="display: none; ">, </span><spa n jscontent="getTypeName($this)" jstcache="34">boolean</span> <var jstcache="0"> <span jscontent="name" jstcache="16">populate</span></var></span><span jsselect= "parameters" jsvalues="class:optional ? 'optional' : ''" jstcache="27" jsinstanc e="*1" class="null"><span jsdisplay="$index" jstcache="33">, </span><span jscont ent="getTypeName($this)" jstcache="34">function</span> <var jstcache="0"><span j scontent="name" jstcache="16">callback</span></var></span>)</div> <div class="de scription" jstcache="0"> <p class="todo" jsdisplay="!description" jstcache="28" style="display: none; ">Undocumented.</p> <p jsdisplay="description" jsvalues=". innerHTML:description" jstcache="29">Get all windows. If <var jstcache="0">popul ate</var> is true, each window object will have a <var jstcache="0">tabs</var> p roperty that contains a list of the Tab objects for that window.</p> <!-- PARAME TERS --> <h4 jstcache="0">Parameters</h4> <dl jstcache="0"> <div jsselect="param eters" jstcache="35" jsinstance="0"> <!-- VALUE: This is a subtemplate that is u sed elsewhere via jsTemplate *transclude* --> <div id="valueTemplate" jstcache=" 0"> <dt jstcache="0"> <var jsdisplay="$this.name" jscontent="$this.name" jstcach e="45">populate</var> <em jstcache="0"> <!-- TYPE --> <div style="display:inline " jstcache="0"> ( <span class="optional" jsdisplay="optional" jstcache="46">opti onal</span> <span id="typeTemplate" jstcache="0"> <span jsdisplay="getTypeRef($t his)" jstcache="47" style="display: none; "> <a jsvalues=".href: getTypeRefPage( $this) + '#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="4 9"> Type</a> </span> <span jsdisplay="!getTypeRef($this)" jstcache="48"> <span j sdisplay="isArray($this)" jstcache="50" style="display: none; "> array of <span jsselect="items" jstcache="52"><span transclude="typeTemplate" jstcache="53"></s pan></span> </span> <span jsdisplay="!isArray($this)" jscontent="getTypeName($th is)" jstcache="51">boolean</span> </span> </span> ) </div> </em> </dt> <dd class ="todo" jsdisplay="!$this.description" jstcache="42"> Undocumented. </dd> <dd js display="$this.description" jsvalues=".innerHTML:$this.description" jstcache="43 " style="display: none; "> Description of this parameter from the json schema. < /dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="shouldExpandObject($this)" jstcac he="44" style="display: none; "> <dl jstcache="0"> <div jsselect="getPropertyLis tFromObject($this)" jstcache="10"> <div transclude="valueTemplate" jstcache="17" > </div> </div> </dl> </dd> </div> <!-- /VALUE --> </div><div jsselect="paramete rs" jstcache="35" jsinstance="*1"> <!-- VALUE: This is a subtemplate that is use d elsewhere via jsTemplate *transclude* --> <div id="valueTemplate" jstcache="0" > <dt jstcache="0"> <var jsdisplay="$this.name" jscontent="$this.name" jstcache= "45">callback</var> <em jstcache="0"> <!-- TYPE --> <div style="display:inline" jstcache="0"> ( <span class="optional" jsdisplay="optional" jstcache="46" style= "display: none; ">optional</span> <span id="typeTemplate" jstcache="0"> <span js display="getTypeRef($this)" jstcache="47" style="display: none; "> <a jsvalues=" .href: getTypeRefPage($this) + '#type-' + getTypeRef($this)" jscontent="getTypeR ef($this)" jstcache="49"> Type</a> </span> <span jsdisplay="!getTypeRef($this)" jstcache="48"> <span jsdisplay="isArray($this)" jstcache="50" style="display: no ne; "> array of <span jsselect="items" jstcache="52"><span transclude="typeTempl ate" jstcache="53"></span></span> </span> <span jsdisplay="!isArray($this)" jsco ntent="getTypeName($this)" jstcache="51">function</span> </span> </span> ) </div > </em> </dt> <dd class="todo" jsdisplay="!$this.description" jstcache="42"> Und ocumented. </dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.de scription" jstcache="43" style="display: none; "> Description of this parameter from the json schema. </dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="shouldExpa ndObject($this)" jstcache="44" style="display: none; "> <dl jstcache="0"> <div j sselect="getPropertyListFromObject($this)" jstcache="10"> <div transclude="value Template" jstcache="17"> </div> </div> </dl> </dd> </div> <!-- /VALUE --> </div> </dl> <!-- RETURNS --> <h4 jsdisplay="returns" jstcache="30" style="display: no ne; ">Returns</h4> <dl jstcache="0"> <div jsselect="returns" jstcache="36" style ="display: none; "> <div transclude="valueTemplate" jstcache="17"> </div> </div> </dl> <!-- CALLBACK --> <div jsdisplay="hasCallback(parameters)" jstcac he="31"> <div jsselect="getCallbackParameters(parameters)" jstcache="37"> <h4 js tcache="0">Callback function</h4> <p jstcache="0"> If you specify the <em jstcac he="0">callback</em> parameter, it should specify a function that looks like thi s: </p> <!-- Note: intentionally longer 80 columns --> <pre jstcache="0">functio n(<span jscontent="getSignatureString(parameters)" jstcache="32">array of object windows</span>) <span class="subdued" jstcache="0">{...}</span>);</pre> <dl jst cache="0"> <div jsselect="parameters" jstcache="35" jsinstance="*0"> <div jstcac he="0"> <dt jstcache="0"> <var jsdisplay="$this.name" jscontent="$this.name" jst cache="45">windows</var> <em jstcache="0"> <!-- TYPE --> <div style="display:inl ine" jstcache="0"> ( <span class="optional" jsdisplay="optional" jstcache="46" s tyle="display: none; ">optional</span> <span id="typeTemplate" jstcache="0"> <sp an jsdisplay="getTypeRef($this)" jstcache="47" style="display: none; "> <a jsval ues=".href: getTypeRefPage($this) + '#type-' + getTypeRef($this)" jscontent="get TypeRef($this)" jstcache="49"> Type</a> </span> <span jsdisplay="!getTypeRef($th is)" jstcache="48"> <span jsdisplay="isArray($this)" jstcache="50" style=""> arr ay of <span jsselect="items" jstcache="52"><span jstcache="0"> <span jsdisplay=" getTypeRef($this)" jstcache="47" style="display: none; "> <a jsvalues=".href: ge tTypeRefPage($this) + '#type-' + getTypeRef($this)" jscontent="getTypeRef($this) " jstcache="49"> Type</a> </span> <span jsdisplay="!getTypeRef($this)" jstcache= "48"> <span jsdisplay="isArray($this)" jstcache="50" style="display: none; "> ar ray of <span jsselect="items" jstcache="52"><span transclude="typeTemplate" jstc ache="53"></span></span> </span> <span jsdisplay="!isArray($this)" jscontent="ge tTypeName($this)" jstcache="51">object</span> </span> </span></span> </span> <sp an jsdisplay="!isArray($this)" jscontent="getTypeName($this)" jstcache="51" styl e="display: none; ">integer</span> </span> </span> ) </div> </em> </dt> <dd clas s="todo" jsdisplay="!$this.description" jstcache="42"> Undocumented. </dd> <dd j sdisplay="$this.description" jsvalues=".innerHTML:$this.description" jstcache="4 3" style="display: none; "> Description of this parameter from the json schema. </dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="shouldExpandObject($this)" jstca che="44" style="display: none; "> <dl jstcache="0"> <div jsselect="getPropertyLi stFromObject($this)" jstcache="10"> <div transclude="valueTemplate" jstcache="17 "> </div> </div> </dl> </dd> </div> </div> </dl> </div> </div> </div> <!-- /desc ription --> </div><div class="apiItem" jsselect="functions" jstcache="11" jsinst ance="4"> <a jsvalues=".name:'method-' + name" jstcache="18" name="method-create "></a> <!-- method-anchor --> <h3 jscontent="name" jstcache="16">create</h3> <di v class="summary" jstcache="0"><span jsdisplay="returns" jscontent="getTypeName( returns)" jstcache="25" style="display: none; ">void</span> <!-- Note: intention ally longer 80 columns --> <span jscontent="getFullyQualifiedFunctionName($this) " jstcache="26">chrome.windows.create</span>(<span jsselect="parameters" jsvalue s="class:optional ? 'optional' : ''" jstcache="27" jsinstance="0" class="optiona l"><span jsdisplay="$index" jstcache="33" style="display: none; ">, </span><span jscontent="getTypeName($this)" jstcache="34">object</span> <var jstcache="0"><s pan jscontent="name" jstcache="16">createData</span></var></span><span jsselect= "parameters" jsvalues="class:optional ? 'optional' : ''" jstcache="27" jsinstanc e="*1" class="optional"><span jsdisplay="$index" jstcache="33">, </span><span js content="getTypeName($this)" jstcache="34">function</span> <var jstcache="0"><sp an jscontent="name" jstcache="16">callback</span></var></span>)</div> <div class ="description" jstcache="0"> <p class="todo" jsdisplay="!description" jstcache=" 28" style="display: none; ">Undocumented.</p> <p jsdisplay="description" jsvalue s=".innerHTML:description" jstcache="29">Create (open) a new browser with any op tional sizing, position or default url provided.</p> <!-- PARAMETERS --> <h4 jst cache="0">Parameters</h4> <dl jstcache="0"> <div jsselect="parameters" jstcache= "35" jsinstance="0"> <!-- VALUE: This is a subtemplate that is used elsewhere vi a jsTemplate *transclude* --> <div id="valueTemplate" jstcache="0"> <dt jstcache ="0"> <var jsdisplay="$this.name" jscontent="$this.name" jstcache="45">createDat a</var> <em jstcache="0"> <!-- TYPE --> <div style="display:inline" jstcache="0" > ( <span class="optional" jsdisplay="optional" jstcache="46">optional</span> <s pan id="typeTemplate" jstcache="0"> <span jsdisplay="getTypeRef($this)" jstcache ="47" style="display: none; "> <a jsvalues=".href: getTypeRefPage($this) + '#typ e-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="49"> Type</a> < /span> <span jsdisplay="!getTypeRef($this)" jstcache="48"> <span jsdisplay="isAr ray($this)" jstcache="50" style="display: none; "> array of <span jsselect="item s" jstcache="52"><span transclude="typeTemplate" jstcache="53"></span></span> </ span> <span jsdisplay="!isArray($this)" jscontent="getTypeName($this)" jstcache= "51">object</span> </span> </span> ) </div> </em> </dt> <dd class="todo" jsdispl ay="!$this.description" jstcache="42"> Undocumented. </dd> <dd jsdisplay="$this. description" jsvalues=".innerHTML:$this.description" jstcache="43" style="displa y: none; "> Description of this parameter from the json schema. </dd> <!-- OBJEC T PROPERTIES --> <dd jsdisplay="shouldExpandObject($this)" jstcache="44"> <dl js tcache="0"> <div jsselect="getPropertyListFromObject($this)" jstcache="10" jsins tance="0"> <div jstcache="0"> <dt jstcache="0"> <var jsdisplay="$this.name" jsco ntent="$this.name" jstcache="45">url</var> <em jstcache="0"> <!-- TYPE --> <div style="display:inline" jstcache="0"> ( <span class="optional" jsdisplay="optiona l" jstcache="46" style="">optional</span> <span id="typeTemplate" jstcache="0"> <span jsdisplay="getTypeRef($this)" jstcache="47" style="display: none; "> <a js values=".href: getTypeRefPage($this) + '#type-' + getTypeRef($this)" jscontent=" getTypeRef($this)" jstcache="49"> Type</a> </span> <span jsdisplay="!getTypeRef( $this)" jstcache="48"> <span jsdisplay="isArray($this)" jstcache="50" style="dis play: none; "> array of <span jsselect="items" jstcache="52"><span transclude="t ypeTemplate" jstcache="53"></span></span> </span> <span jsdisplay="!isArray($thi s)" jscontent="getTypeName($this)" jstcache="51">string</span> </span> </span> ) </div> </em> </dt> <dd class="todo" jsdisplay="!$this.description" jstcache="42 "> Undocumented. </dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML:$t his.description" jstcache="43" style="display: none; "> Description of this para meter from the json schema. </dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="shou ldExpandObject($this)" jstcache="44" style="display: none; "> <dl jstcache="0"> <div jsselect="getPropertyListFromObject($this)" jstcache="10"> <div transclude= "valueTemplate" jstcache="17"> </div> </div> </dl> </dd> </div> </div><div jssel ect="getPropertyListFromObject($this)" jstcache="10" jsinstance="1"> <div jstcac he="0"> <dt jstcache="0"> <var jsdisplay="$this.name" jscontent="$this.name" jst cache="45">left</var> <em jstcache="0"> <!-- TYPE --> <div style="display:inline " jstcache="0"> ( <span class="optional" jsdisplay="optional" jstcache="46" styl e="">optional</span> <span id="typeTemplate" jstcache="0"> <span jsdisplay="getT ypeRef($this)" jstcache="47" style="display: none; "> <a jsvalues=".href: getTyp eRefPage($this) + '#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" js tcache="49"> Type</a> </span> <span jsdisplay="!getTypeRef($this)" jstcache="48" > <span jsdisplay="isArray($this)" jstcache="50" style="display: none; "> array of <span jsselect="items" jstcache="52"><span transclude="typeTemplate" jstcache ="53"></span></span> </span> <span jsdisplay="!isArray($this)" jscontent="getTyp eName($this)" jstcache="51">integer</span> </span> </span> ) </div> </em> </dt> <dd class="todo" jsdisplay="!$this.description" jstcache="42"> Undocumented. </d d> <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.description" jst cache="43" style="display: none; "> Description of this parameter from the json schema. </dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="shouldExpandObject($this )" jstcache="44" style="display: none; "> <dl jstcache="0"> <div jsselect="getPr opertyListFromObject($this)" jstcache="10"> <div transclude="valueTemplate" jstc ache="17"> </div> </div> </dl> </dd> </div> </div><div jsselect="getPropertyList FromObject($this)" jstcache="10" jsinstance="2"> <div jstcache="0"> <dt jstcache ="0"> <var jsdisplay="$this.name" jscontent="$this.name" jstcache="45">top</var> <em jstcache="0"> <!-- TYPE --> <div style="display:inline" jstcache="0"> ( <sp an class="optional" jsdisplay="optional" jstcache="46" style="">optional</span> <span id="typeTemplate" jstcache="0"> <span jsdisplay="getTypeRef($this)" jstcac he="47" style="display: none; "> <a jsvalues=".href: getTypeRefPage($this) + '#t ype-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="49"> Type</a> </span> <span jsdisplay="!getTypeRef($this)" jstcache="48"> <span jsdisplay="is Array($this)" jstcache="50" style="display: none; "> array of <span jsselect="it ems" jstcache="52"><span transclude="typeTemplate" jstcache="53"></span></span> </span> <span jsdisplay="!isArray($this)" jscontent="getTypeName($this)" jstcach e="51">integer</span> </span> </span> ) </div> </em> </dt> <dd class="todo" jsdi splay="!$this.description" jstcache="42"> Undocumented. </dd> <dd jsdisplay="$th is.description" jsvalues=".innerHTML:$this.description" jstcache="43" style="dis play: none; "> Description of this parameter from the json schema. </dd> <!-- OB JECT PROPERTIES --> <dd jsdisplay="shouldExpandObject($this)" jstcache="44" styl e="display: none; "> <dl jstcache="0"> <div jsselect="getPropertyListFromObject( $this)" jstcache="10"> <div transclude="valueTemplate" jstcache="17"> </div> </d iv> </dl> </dd> </div> </div><div jsselect="getPropertyListFromObject($this)" js tcache="10" jsinstance="3"> <div jstcache="0"> <dt jstcache="0"> <var jsdisplay= "$this.name" jscontent="$this.name" jstcache="45">width</var> <em jstcache="0"> <!-- TYPE --> <div style="display:inline" jstcache="0"> ( <span class="optional" jsdisplay="optional" jstcache="46" style="">optional</span> <span id="typeTempl ate" jstcache="0"> <span jsdisplay="getTypeRef($this)" jstcache="47" style="disp lay: none; "> <a jsvalues=".href: getTypeRefPage($this) + '#type-' + getTypeRef( $this)" jscontent="getTypeRef($this)" jstcache="49"> Type</a> </span> <span jsdi splay="!getTypeRef($this)" jstcache="48"> <span jsdisplay="isArray($this)" jstca che="50" style="display: none; "> array of <span jsselect="items" jstcache="52"> <span transclude="typeTemplate" jstcache="53"></span></span> </span> <span jsdis play="!isArray($this)" jscontent="getTypeName($this)" jstcache="51">integer</spa n> </span> </span> ) </div> </em> </dt> <dd class="todo" jsdisplay="!$this.descr iption" jstcache="42"> Undocumented. </dd> <dd jsdisplay="$this.description" jsv alues=".innerHTML:$this.description" jstcache="43" style="display: none; "> Desc ription of this parameter from the json schema. </dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="shouldExpandObject($this)" jstcache="44" style="display: none; " > <dl jstcache="0"> <div jsselect="getPropertyListFromObject($this)" jstcache="1 0"> <div transclude="valueTemplate" jstcache="17"> </div> </div> </dl> </dd> </d iv> </div><div jsselect="getPropertyListFromObject($this)" jstcache="10" jsinsta nce="*4"> <div jstcache="0"> <dt jstcache="0"> <var jsdisplay="$this.name" jscon tent="$this.name" jstcache="45">height</var> <em jstcache="0"> <!-- TYPE --> <di v style="display:inline" jstcache="0"> ( <span class="optional" jsdisplay="optio nal" jstcache="46" style="">optional</span> <span id="typeTemplate" jstcache="0" > <span jsdisplay="getTypeRef($this)" jstcache="47" style="display: none; "> <a jsvalues=".href: getTypeRefPage($this) + '#type-' + getTypeRef($this)" jscontent ="getTypeRef($this)" jstcache="49"> Type</a> </span> <span jsdisplay="!getTypeRe f($this)" jstcache="48"> <span jsdisplay="isArray($this)" jstcache="50" style="d isplay: none; "> array of <span jsselect="items" jstcache="52"><span transclude= "typeTemplate" jstcache="53"></span></span> </span> <span jsdisplay="!isArray($t his)" jscontent="getTypeName($this)" jstcache="51">integer</span> </span> </span > ) </div> </em> </dt> <dd class="todo" jsdisplay="!$this.description" jstcache= "42"> Undocumented. </dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML :$this.description" jstcache="43" style="display: none; "> Description of this p arameter from the json schema. </dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="s houldExpandObject($this)" jstcache="44" style="display: none; "> <dl jstcache="0 "> <div jsselect="getPropertyListFromObject($this)" jstcache="10"> <div transclu de="valueTemplate" jstcache="17"> </div> </div> </dl> </dd> </div> </div> </dl> </dd> </div> <!-- /VALUE --> </div><div jsselect="parameters" jstcache="35" jsin stance="*1"> <!-- VALUE: This is a subtemplate that is used elsewhere via jsTemp late *transclude* --> <div id="valueTemplate" jstcache="0"> <dt jstcache="0"> <v ar jsdisplay="$this.name" jscontent="$this.name" jstcache="45">callback</var> <e m jstcache="0"> <!-- TYPE --> <div style="display:inline" jstcache="0"> ( <span class="optional" jsdisplay="optional" jstcache="46">optional</span> <span id="ty peTemplate" jstcache="0"> <span jsdisplay="getTypeRef($this)" jstcache="47" styl e="display: none; "> <a jsvalues=".href: getTypeRefPage($this) + '#type-' + getT ypeRef($this)" jscontent="getTypeRef($this)" jstcache="49"> Type</a> </span> <sp an jsdisplay="!getTypeRef($this)" jstcache="48"> <span jsdisplay="isArray($this) " jstcache="50" style="display: none; "> array of <span jsselect="items" jstcach e="52"><span transclude="typeTemplate" jstcache="53"></span></span> </span> <spa n jsdisplay="!isArray($this)" jscontent="getTypeName($this)" jstcache="51">funct ion</span> </span> </span> ) </div> </em> </dt> <dd class="todo" jsdisplay="!$th is.description" jstcache="42"> Undocumented. </dd> <dd jsdisplay="$this.descript ion" jsvalues=".innerHTML:$this.description" jstcache="43" style="display: none; "> Description of this parameter from the json schema. </dd> <!-- OBJECT PROPER TIES --> <dd jsdisplay="shouldExpandObject($this)" jstcache="44" style="display: none; "> <dl jstcache="0"> <div jsselect="getPropertyListFromObject($this)" jst cache="10"> <div transclude="valueTemplate" jstcache="17"> </div> </div> </dl> < /dd> </div> <!-- /VALUE --> </div> </dl> <!-- RETURNS --> <h4 jsdisplay="returns " jstcache="30" style="display: none; ">Returns</h4> <dl jstcache="0"> <div jsse lect="returns" jstcache="36" style="display: none; "> <div transclude="valueTemp late" jstcache="17"> </div> </div> </dl> <!-- CALLBACK --> <div jsdisplay= "hasCallback(parameters)" jstcache="31"> <div jsselect="getCallbackParameters(pa rameters)" jstcache="37"> <h4 jstcache="0">Callback function</h4> <p jstcache="0 "> If you specify the <em jstcache="0">callback</em> parameter, it should specif y a function that looks like this: </p> <!-- Note: intentionally longer 80 colum ns --> <pre jstcache="0">function(<span jscontent="getSignatureString(parameters )" jstcache="32">Window window</span>) <span class="subdued" jstcache="0">{...}< /span>);</pre> <dl jstcache="0"> <div jsselect="parameters" jstcache="35" jsinst ance="*0"> <div jstcache="0"> <dt jstcache="0"> <var jsdisplay="$this.name" jsco ntent="$this.name" jstcache="45">window</var> <em jstcache="0"> <!-- TYPE --> <d iv style="display:inline" jstcache="0"> ( <span class="optional" jsdisplay="opti onal" jstcache="46" style="display: none; ">optional</span> <span id="typeTempla te" jstcache="0"> <span jsdisplay="getTypeRef($this)" jstcache="47" style=""> <a jsvalues=".href: getTypeRefPage($this) + '#type-' + getTypeRef($this)" jsconten t="getTypeRef($this)" jstcache="49" href="windows.html#type-Window">Window</a> < /span> <span jsdisplay="!getTypeRef($this)" jstcache="48" style="display: none; "> <span jsdisplay="isArray($this)" jstcache="50" style="display: none; "> array of <span jsselect="items" jstcache="52"><span transclude="typeTemplate" jstcach e="53"></span></span> </span> <span jsdisplay="!isArray($this)" jscontent="getTy peName($this)" jstcache="51">integer</span> </span> </span> ) </div> </em> </dt> <dd class="todo" jsdisplay="!$this.description" jstcache="42"> Undocumented. </ dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.description" js tcache="43" style="display: none; "> Description of this parameter from the json schema. </dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="shouldExpandObject($thi s)" jstcache="44" style="display: none; "> <dl jstcache="0"> <div jsselect="getP ropertyListFromObject($this)" jstcache="10"> <div transclude="valueTemplate" jst cache="17"> </div> </div> </dl> </dd> </div> </div> </dl> </div> </div> </div> < !-- /description --> </div><div class="apiItem" jsselect="functions" jstcache="1 1" jsinstance="5"> <a jsvalues=".name:'method-' + name" jstcache="18" name="meth od-update"></a> <!-- method-anchor --> <h3 jscontent="name" jstcache="16">update </h3> <div class="summary" jstcache="0"><span jsdisplay="returns" jscontent="get TypeName(returns)" jstcache="25" style="display: none; ">void</span> <!-- Note: intentionally longer 80 columns --> <span jscontent="getFullyQualifiedFunctionNa me($this)" jstcache="26">chrome.windows.update</span>(<span jsselect="parameters " jsvalues="class:optional ? 'optional' : ''" jstcache="27" jsinstance="0" class ="null"><span jsdisplay="$index" jstcache="33" style="display: none; ">, </span> <span jscontent="getTypeName($this)" jstcache="34">integer</span> <var jstcache= "0"><span jscontent="name" jstcache="16">windowId</span></var></span><span jssel ect="parameters" jsvalues="class:optional ? 'optional' : ''" jstcache="27" jsins tance="1" class="null"><span jsdisplay="$index" jstcache="33">, </span><span jsc ontent="getTypeName($this)" jstcache="34">object</span> <var jstcache="0"><span jscontent="name" jstcache="16">updateInfo</span></var></span><span jsselect="par ameters" jsvalues="class:optional ? 'optional' : ''" jstcache="27" jsinstance="* 2" class="optional"><span jsdisplay="$index" jstcache="33">, </span><span jscont ent="getTypeName($this)" jstcache="34">function</span> <var jstcache="0"><span j scontent="name" jstcache="16">callback</span></var></span>)</div> <div class="de scription" jstcache="0"> <p class="todo" jsdisplay="!description" jstcache="28"> Undocumented.</p> <p jsdisplay="description" jsvalues=".innerHTML:description" j stcache="29" style="display: none; "> A description from the json schema def of the function goes here. </p> <!-- PARAMETERS --> <h4 jstcache="0">Parameters</h4 > <dl jstcache="0"> <div jsselect="parameters" jstcache="35" jsinstance="0"> <!- - VALUE: This is a subtemplate that is used elsewhere via jsTemplate *transclude * --> <div id="valueTemplate" jstcache="0"> <dt jstcache="0"> <var jsdisplay="$t his.name" jscontent="$this.name" jstcache="45">windowId</var> <em jstcache="0"> <!-- TYPE --> <div style="display:inline" jstcache="0"> ( <span class="optional" jsdisplay="optional" jstcache="46" style="display: none; ">optional</span> <spa n id="typeTemplate" jstcache="0"> <span jsdisplay="getTypeRef($this)" jstcache=" 47" style="display: none; "> <a jsvalues=".href: getTypeRefPage($this) + '#type- ' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="49"> Type</a> </s pan> <span jsdisplay="!getTypeRef($this)" jstcache="48"> <span jsdisplay="isArra y($this)" jstcache="50" style="display: none; "> array of <span jsselect="items" jstcache="52"><span transclude="typeTemplate" jstcache="53"></span></span> </sp an> <span jsdisplay="!isArray($this)" jscontent="getTypeName($this)" jstcache="5 1">integer</span> </span> </span> ) </div> </em> </dt> <dd class="todo" jsdispla y="!$this.description" jstcache="42"> Undocumented. </dd> <dd jsdisplay="$this.d escription" jsvalues=".innerHTML:$this.description" jstcache="43" style="display : none; "> Description of this parameter from the json schema. </dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="shouldExpandObject($this)" jstcache="44" style="d isplay: none; "> <dl jstcache="0"> <div jsselect="getPropertyListFromObject($thi s)" jstcache="10"> <div transclude="valueTemplate" jstcache="17"> </div> </div> </dl> </dd> </div> <!-- /VALUE --> </div><div jsselect="parameters" jstcache="35 " jsinstance="1"> <!-- VALUE: This is a subtemplate that is used elsewhere via j sTemplate *transclude* --> <div id="valueTemplate" jstcache="0"> <dt jstcache="0 "> <var jsdisplay="$this.name" jscontent="$this.name" jstcache="45">updateInfo</ var> <em jstcache="0"> <!-- TYPE --> <div style="display:inline" jstcache="0"> ( <span class="optional" jsdisplay="optional" jstcache="46" style="display: none; ">optional</span> <span id="typeTemplate" jstcache="0"> <span jsdisplay="getTyp eRef($this)" jstcache="47" style="display: none; "> <a jsvalues=".href: getTypeR efPage($this) + '#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstc ache="49"> Type</a> </span> <span jsdisplay="!getTypeRef($this)" jstcache="48"> <span jsdisplay="isArray($this)" jstcache="50" style="display: none; "> array of <span jsselect="items" jstcache="52"><span transclude="typeTemplate" jstcache=" 53"></span></span> </span> <span jsdisplay="!isArray($this)" jscontent="getTypeN ame($this)" jstcache="51">object</span> </span> </span> ) </div> </em> </dt> <dd class="todo" jsdisplay="!$this.description" jstcache="42"> Undocumented. </dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.description" jstcac he="43" style="display: none; "> Description of this parameter from the json sch ema. </dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="shouldExpandObject($this)" jstcache="44"> <dl jstcache="0"> <div jsselect="getPropertyListFromObject($this) " jstcache="10" jsinstance="0"> <div jstcache="0"> <dt jstcache="0"> <var jsdisp lay="$this.name" jscontent="$this.name" jstcache="45">left</var> <em jstcache="0 "> <!-- TYPE --> <div style="display:inline" jstcache="0"> ( <span class="option al" jsdisplay="optional" jstcache="46" style="">optional</span> <span id="typeTe mplate" jstcache="0"> <span jsdisplay="getTypeRef($this)" jstcache="47" style="d isplay: none; "> <a jsvalues=".href: getTypeRefPage($this) + '#type-' + getTypeR ef($this)" jscontent="getTypeRef($this)" jstcache="49"> Type</a> </span> <span j sdisplay="!getTypeRef($this)" jstcache="48"> <span jsdisplay="isArray($this)" js tcache="50" style="display: none; "> array of <span jsselect="items" jstcache="5 2"><span transclude="typeTemplate" jstcache="53"></span></span> </span> <span js display="!isArray($this)" jscontent="getTypeName($this)" jstcache="51">integer</ span> </span> </span> ) </div> </em> </dt> <dd class="todo" jsdisplay="!$this.de scription" jstcache="42"> Undocumented. </dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.description" jstcache="43" style="display: none; "> D escription of this parameter from the json schema. </dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="shouldExpandObject($this)" jstcache="44" style="display: none ; "> <dl jstcache="0"> <div jsselect="getPropertyListFromObject($this)" jstcache ="10"> <div transclude="valueTemplate" jstcache="17"> </div> </div> </dl> </dd> </div> </div><div jsselect="getPropertyListFromObject($this)" jstcache="10" jsin stance="1"> <div jstcache="0"> <dt jstcache="0"> <var jsdisplay="$this.name" jsc ontent="$this.name" jstcache="45">top</var> <em jstcache="0"> <!-- TYPE --> <div style="display:inline" jstcache="0"> ( <span class="optional" jsdisplay="option al" jstcache="46" style="">optional</span> <span id="typeTemplate" jstcache="0"> <span jsdisplay="getTypeRef($this)" jstcache="47" style="display: none; "> <a j svalues=".href: getTypeRefPage($this) + '#type-' + getTypeRef($this)" jscontent= "getTypeRef($this)" jstcache="49"> Type</a> </span> <span jsdisplay="!getTypeRef ($this)" jstcache="48"> <span jsdisplay="isArray($this)" jstcache="50" style="di splay: none; "> array of <span jsselect="items" jstcache="52"><span transclude=" typeTemplate" jstcache="53"></span></span> </span> <span jsdisplay="!isArray($th is)" jscontent="getTypeName($this)" jstcache="51">integer</span> </span> </span> ) </div> </em> </dt> <dd class="todo" jsdisplay="!$this.description" jstcache=" 42"> Undocumented. </dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML: $this.description" jstcache="43" style="display: none; "> Description of this pa rameter from the json schema. </dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="sh ouldExpandObject($this)" jstcache="44" style="display: none; "> <dl jstcache="0" > <div jsselect="getPropertyListFromObject($this)" jstcache="10"> <div transclud e="valueTemplate" jstcache="17"> </div> </div> </dl> </dd> </div> </div><div jss elect="getPropertyListFromObject($this)" jstcache="10" jsinstance="2"> <div jstc ache="0"> <dt jstcache="0"> <var jsdisplay="$this.name" jscontent="$this.name" j stcache="45">width</var> <em jstcache="0"> <!-- TYPE --> <div style="display:inl ine" jstcache="0"> ( <span class="optional" jsdisplay="optional" jstcache="46" s tyle="">optional</span> <span id="typeTemplate" jstcache="0"> <span jsdisplay="g etTypeRef($this)" jstcache="47" style="display: none; "> <a jsvalues=".href: get TypeRefPage($this) + '#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="49"> Type</a> </span> <span jsdisplay="!getTypeRef($this)" jstcache=" 48"> <span jsdisplay="isArray($this)" jstcache="50" style="display: none; "> arr ay of <span jsselect="items" jstcache="52"><span transclude="typeTemplate" jstca che="53"></span></span> </span> <span jsdisplay="!isArray($this)" jscontent="get TypeName($this)" jstcache="51">integer</span> </span> </span> ) </div> </em> </d t> <dd class="todo" jsdisplay="!$this.description" jstcache="42"> Undocumented. </dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.description" jstcache="43" style="display: none; "> Description of this parameter from the js on schema. </dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="shouldExpandObject($t his)" jstcache="44" style="display: none; "> <dl jstcache="0"> <div jsselect="ge tPropertyListFromObject($this)" jstcache="10"> <div transclude="valueTemplate" j stcache="17"> </div> </div> </dl> </dd> </div> </div><div jsselect="getPropertyL istFromObject($this)" jstcache="10" jsinstance="*3"> <div jstcache="0"> <dt jstc ache="0"> <var jsdisplay="$this.name" jscontent="$this.name" jstcache="45">heigh t</var> <em jstcache="0"> <!-- TYPE --> <div style="display:inline" jstcache="0" > ( <span class="optional" jsdisplay="optional" jstcache="46" style="">optional< /span> <span id="typeTemplate" jstcache="0"> <span jsdisplay="getTypeRef($this)" jstcache="47" style="display: none; "> <a jsvalues=".href: getTypeRefPage($this ) + '#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="49"> T ype</a> </span> <span jsdisplay="!getTypeRef($this)" jstcache="48"> <span jsdisp lay="isArray($this)" jstcache="50" style="display: none; "> array of <span jssel ect="items" jstcache="52"><span transclude="typeTemplate" jstcache="53"></span>< /span> </span> <span jsdisplay="!isArray($this)" jscontent="getTypeName($this)" jstcache="51">integer</span> </span> </span> ) </div> </em> </dt> <dd class="tod o" jsdisplay="!$this.description" jstcache="42"> Undocumented. </dd> <dd jsdispl ay="$this.description" jsvalues=".innerHTML:$this.description" jstcache="43" sty le="display: none; "> Description of this parameter from the json schema. </dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="shouldExpandObject($this)" jstcache="4 4" style="display: none; "> <dl jstcache="0"> <div jsselect="getPropertyListFrom Object($this)" jstcache="10"> <div transclude="valueTemplate" jstcache="17"> </d iv> </div> </dl> </dd> </div> </div> </dl> </dd> </div> <!-- /VALUE --> </div><d iv jsselect="parameters" jstcache="35" jsinstance="*2"> <!-- VALUE: This is a su btemplate that is used elsewhere via jsTemplate *transclude* --> <div id="valueT emplate" jstcache="0"> <dt jstcache="0"> <var jsdisplay="$this.name" jscontent=" $this.name" jstcache="45">callback</var> <em jstcache="0"> <!-- TYPE --> <div st yle="display:inline" jstcache="0"> ( <span class="optional" jsdisplay="optional" jstcache="46">optional</span> <span id="typeTemplate" jstcache="0"> <span jsdis play="getTypeRef($this)" jstcache="47" style="display: none; "> <a jsvalues=".hr ef: getTypeRefPage($this) + '#type-' + getTypeRef($this)" jscontent="getTypeRef( $this)" jstcache="49"> Type</a> </span> <span jsdisplay="!getTypeRef($this)" jst cache="48"> <span jsdisplay="isArray($this)" jstcache="50" style="display: none; "> array of <span jsselect="items" jstcache="52"><span transclude="typeTemplate " jstcache="53"></span></span> </span> <span jsdisplay="!isArray($this)" jsconte nt="getTypeName($this)" jstcache="51">function</span> </span> </span> ) </div> < /em> </dt> <dd class="todo" jsdisplay="!$this.description" jstcache="42"> Undocu mented. </dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.descr iption" jstcache="43" style="display: none; "> Description of this parameter fro m the json schema. </dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="shouldExpandO bject($this)" jstcache="44" style="display: none; "> <dl jstcache="0"> <div jsse lect="getPropertyListFromObject($this)" jstcache="10"> <div transclude="valueTem plate" jstcache="17"> </div> </div> </dl> </dd> </div> <!-- /VALUE --> </div> </ dl> <!-- RETURNS --> <h4 jsdisplay="returns" jstcache="30" style="display: none; ">Returns</h4> <dl jstcache="0"> <div jsselect="returns" jstcache="36" style="d isplay: none; "> <div transclude="valueTemplate" jstcache="17"> </div> </div> </ dl> <!-- CALLBACK --> <div jsdisplay="hasCallback(parameters)" jstcache="31"> <div jsselect="getCallbackParameters(parameters)" jstcache="37"> <h4 jstcache=" 0">Callback function</h4> <p jstcache="0"> If you specify the <em jstcache="0">c allback</em> parameter, it should specify a function that looks like this: </p> <!-- Note: intentionally longer 80 columns --> <pre jstcache="0">function(<span jscontent="getSignatureString(parameters)" jstcache="32">Window window</span>) < span class="subdued" jstcache="0">{...}</span>);</pre> <dl jstcache="0"> <div js select="parameters" jstcache="35" jsinstance="*0"> <div jstcache="0"> <dt jstcac he="0"> <var jsdisplay="$this.name" jscontent="$this.name" jstcache="45">window< /var> <em jstcache="0"> <!-- TYPE --> <div style="display:inline" jstcache="0"> ( <span class="optional" jsdisplay="optional" jstcache="46" style="display: none ; ">optional</span> <span id="typeTemplate" jstcache="0"> <span jsdisplay="getTy peRef($this)" jstcache="47" style=""> <a jsvalues=".href: getTypeRefPage($this) + '#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="49" href ="windows.html#type-Window">Window</a> </span> <span jsdisplay="!getTypeRef($thi s)" jstcache="48" style="display: none; "> <span jsdisplay="isArray($this)" jstc ache="50" style="display: none; "> array of <span jsselect="items" jstcache="52" ><span transclude="typeTemplate" jstcache="53"></span></span> </span> <span jsdi splay="!isArray($this)" jscontent="getTypeName($this)" jstcache="51">integer</sp an> </span> </span> ) </div> </em> </dt> <dd class="todo" jsdisplay="!$this.desc ription" jstcache="42"> Undocumented. </dd> <dd jsdisplay="$this.description" js values=".innerHTML:$this.description" jstcache="43" style="display: none; "> Des cription of this parameter from the json schema. </dd> <!-- OBJECT PROPERTIES -- > <dd jsdisplay="shouldExpandObject($this)" jstcache="44" style="display: none; "> <dl jstcache="0"> <div jsselect="getPropertyListFromObject($this)" jstcache=" 10"> <div transclude="valueTemplate" jstcache="17"> </div> </div> </dl> </dd> </ div> </div> </dl> </div> </div> </div> <!-- /description --> </div><div class="a piItem" jsselect="functions" jstcache="11" jsinstance="*6"> <a jsvalues=".name:' method-' + name" jstcache="18" name="method-remove"></a> <!-- method-anchor --> <h3 jscontent="name" jstcache="16">remove</h3> <div class="summary" jstcache="0" ><span jsdisplay="returns" jscontent="getTypeName(returns)" jstcache="25" style= "display: none; ">void</span> <!-- Note: intentionally longer 80 columns --> <sp an jscontent="getFullyQualifiedFunctionName($this)" jstcache="26">chrome.windows .remove</span>(<span jsselect="parameters" jsvalues="class:optional ? 'optional' : ''" jstcache="27" jsinstance="0" class="null"><span jsdisplay="$index" jstcac he="33" style="display: none; ">, </span><span jscontent="getTypeName($this)" js tcache="34">integer</span> <var jstcache="0"><span jscontent="name" jstcache="16 ">windowId</span></var></span><span jsselect="parameters" jsvalues="class:option al ? 'optional' : ''" jstcache="27" jsinstance="*1" class="optional"><span jsdis play="$index" jstcache="33">, </span><span jscontent="getTypeName($this)" jstcac he="34">function</span> <var jstcache="0"><span jscontent="name" jstcache="16">c allback</span></var></span>)</div> <div class="description" jstcache="0"> <p cla ss="todo" jsdisplay="!description" jstcache="28">Undocumented.</p> <p jsdisplay= "description" jsvalues=".innerHTML:description" jstcache="29" style="display: no ne; "> A description from the json schema def of the function goes here. </p> <! -- PARAMETERS --> <h4 jstcache="0">Parameters</h4> <dl jstcache="0"> <div jssele ct="parameters" jstcache="35" jsinstance="0"> <!-- VALUE: This is a subtemplate that is used elsewhere via jsTemplate *transclude* --> <div id="valueTemplate" j stcache="0"> <dt jstcache="0"> <var jsdisplay="$this.name" jscontent="$this.name " jstcache="45">windowId</var> <em jstcache="0"> <!-- TYPE --> <div style="displ ay:inline" jstcache="0"> ( <span class="optional" jsdisplay="optional" jstcache= "46" style="display: none; ">optional</span> <span id="typeTemplate" jstcache="0 "> <span jsdisplay="getTypeRef($this)" jstcache="47" style="display: none; "> <a jsvalues=".href: getTypeRefPage($this) + '#type-' + getTypeRef($this)" jsconten t="getTypeRef($this)" jstcache="49"> Type</a> </span> <span jsdisplay="!getTypeR ef($this)" jstcache="48"> <span jsdisplay="isArray($this)" jstcache="50" style=" display: none; "> array of <span jsselect="items" jstcache="52"><span transclude ="typeTemplate" jstcache="53"></span></span> </span> <span jsdisplay="!isArray($ this)" jscontent="getTypeName($this)" jstcache="51">integer</span> </span> </spa n> ) </div> </em> </dt> <dd class="todo" jsdisplay="!$this.description" jstcache ="42"> Undocumented. </dd> <dd jsdisplay="$this.description" jsvalues=".innerHTM L:$this.description" jstcache="43" style="display: none; "> Description of this parameter from the json schema. </dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay=" shouldExpandObject($this)" jstcache="44" style="display: none; "> <dl jstcache=" 0"> <div jsselect="getPropertyListFromObject($this)" jstcache="10"> <div transcl ude="valueTemplate" jstcache="17"> </div> </div> </dl> </dd> </div> <!-- /VALUE --> </div><div jsselect="parameters" jstcache="35" jsinstance="*1"> <!-- VALUE: This is a subtemplate that is used elsewhere via jsTemplate *transclude* --> <di v id="valueTemplate" jstcache="0"> <dt jstcache="0"> <var jsdisplay="$this.name" jscontent="$this.name" jstcache="45">callback</var> <em jstcache="0"> <!-- TYPE --> <div style="display:inline" jstcache="0"> ( <span class="optional" jsdispla y="optional" jstcache="46">optional</span> <span id="typeTemplate" jstcache="0"> <span jsdisplay="getTypeRef($this)" jstcache="47" style="display: none; "> <a j svalues=".href: getTypeRefPage($this) + '#type-' + getTypeRef($this)" jscontent= "getTypeRef($this)" jstcache="49"> Type</a> </span> <span jsdisplay="!getTypeRef ($this)" jstcache="48"> <span jsdisplay="isArray($this)" jstcache="50" style="di splay: none; "> array of <span jsselect="items" jstcache="52"><span transclude=" typeTemplate" jstcache="53"></span></span> </span> <span jsdisplay="!isArray($th is)" jscontent="getTypeName($this)" jstcache="51">function</span> </span> </span > ) </div> </em> </dt> <dd class="todo" jsdisplay="!$this.description" jstcache= "42"> Undocumented. </dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML :$this.description" jstcache="43" style="display: none; "> Description of this p arameter from the json schema. </dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="s houldExpandObject($this)" jstcache="44" style="display: none; "> <dl jstcache="0 "> <div jsselect="getPropertyListFromObject($this)" jstcache="10"> <div transclu de="valueTemplate" jstcache="17"> </div> </div> </dl> </dd> </div> <!-- /VALUE - -> </div> </dl> <!-- RETURNS --> <h4 jsdisplay="returns" jstcache="30" style="di splay: none; ">Returns</h4> <dl jstcache="0"> <div jsselect="returns" jstcache=" 36" style="display: none; "> <div transclude="valueTemplate" jstcache="17"> </di v> </div> </dl> <!-- CALLBACK --> <div jsdisplay="hasCallback(parameters) " jstcache="31"> <div jsselect="getCallbackParameters(parameters)" jstcache="37" > <h4 jstcache="0">Callback function</h4> <p jstcache="0"> If you specify the <e m jstcache="0">callback</em> parameter, it should specify a function that looks like this: </p> <!-- Note: intentionally longer 80 columns --> <pre jstcache="0" >function(<span jscontent="getSignatureString(parameters)" jstcache="32"></span> ) <span class="subdued" jstcache="0">{...}</span>);</pre> <dl jstcache="0"> <div jsselect="parameters" jstcache="35" jsinstance="*0" style="display: none; "> <d iv transclude="valueTemplate" jstcache="17"> </div> </div> </dl> </div> </div> < /div> <!-- /description --> </div> <!-- /apiItem --> </div> <!-- /apiGroup --> < !-- EVENTS --> <div jsdisplay="events &amp;&amp; events.length &gt; 0" class="ap iGroup" jstcache="7"> <a name="#events" jstcache="0"></a> <h2 id="events" jstcac he="0">Events</h2> <!-- iterates over all events --> <div jsselect="events" clas s="apiItem" jstcache="12" jsinstance="0"> <a jsvalues=".name:'event-' + name" js tcache="19" name="event-onCreated"></a> <h3 jscontent="name" jstcache="16">onCre ated</h3> <div class="summary" jstcache="0"> <!-- Note: intentionally longer 80 columns --> <span jscontent="getModuleName() + '.'" class="subdued" jstcache="23 ">chrome.windows.</span><span jscontent="name" jstcache="16">onCreated</span><sp an class="subdued" jstcache="0">.addListener</span>(function(<span jscontent="ge tSignatureString(parameters)" jstcache="32">integer windowId</span>) <span class ="subdued" jstcache="0">{...}</span>); </div> <div class="description" jstcache= "0"> <p class="todo" jsdisplay="!description" jstcache="28">Undocumented.</p> <p jsdisplay="description" jsvalues=".innerHTML:description" jstcache="29" style=" display: none; "> A description from the json schema def of the event goes here. </p> <!-- PARAMETERS --> <h4 jstcache="0">Parameters</h4> <dl jstcache="0"> <di v jsselect="parameters" jstcache="35" jsinstance="*0"> <div jstcache="0"> <dt js tcache="0"> <var jsdisplay="$this.name" jscontent="$this.name" jstcache="45">win dowId</var> <em jstcache="0"> <!-- TYPE --> <div style="display:inline" jstcache ="0"> ( <span class="optional" jsdisplay="optional" jstcache="46" style="display : none; ">optional</span> <span id="typeTemplate" jstcache="0"> <span jsdisplay= "getTypeRef($this)" jstcache="47" style="display: none; "> <a jsvalues=".href: g etTypeRefPage($this) + '#type-' + getTypeRef($this)" jscontent="getTypeRef($this )" jstcache="49"> Type</a> </span> <span jsdisplay="!getTypeRef($this)" jstcache ="48"> <span jsdisplay="isArray($this)" jstcache="50" style="display: none; "> a rray of <span jsselect="items" jstcache="52"><span transclude="typeTemplate" jst cache="53"></span></span> </span> <span jsdisplay="!isArray($this)" jscontent="g etTypeName($this)" jstcache="51">integer</span> </span> </span> ) </div> </em> < /dt> <dd class="todo" jsdisplay="!$this.description" jstcache="42"> Undocumented . </dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.description " jstcache="43" style="display: none; "> Description of this parameter from the json schema. </dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="shouldExpandObject( $this)" jstcache="44" style="display: none; "> <dl jstcache="0"> <div jsselect=" getPropertyListFromObject($this)" jstcache="10"> <div transclude="valueTemplate" jstcache="17"> </div> </div> </dl> </dd> </div> </div> </dl> </div> <!-- /decri ption --> </div><div jsselect="events" class="apiItem" jstcache="12" jsinstance= "1"> <a jsvalues=".name:'event-' + name" jstcache="19" name="event-onRemoved"></ a> <h3 jscontent="name" jstcache="16">onRemoved</h3> <div class="summary" jstcac he="0"> <!-- Note: intentionally longer 80 columns --> <span jscontent="getModul eName() + '.'" class="subdued" jstcache="23">chrome.windows.</span><span jsconte nt="name" jstcache="16">onRemoved</span><span class="subdued" jstcache="0">.addL istener</span>(function(<span jscontent="getSignatureString(parameters)" jstcach e="32">integer windowId</span>) <span class="subdued" jstcache="0">{...}</span>) ; </div> <div class="description" jstcache="0"> <p class="todo" jsdisplay="!desc ription" jstcache="28">Undocumented.</p> <p jsdisplay="description" jsvalues=".i nnerHTML:description" jstcache="29" style="display: none; "> A description from the json schema def of the event goes here. </p> <!-- PARAMETERS --> <h4 jstcach e="0">Parameters</h4> <dl jstcache="0"> <div jsselect="parameters" jstcache="35" jsinstance="*0"> <div jstcache="0"> <dt jstcache="0"> <var jsdisplay="$this.nam e" jscontent="$this.name" jstcache="45">windowId</var> <em jstcache="0"> <!-- TY PE --> <div style="display:inline" jstcache="0"> ( <span class="optional" jsdisp lay="optional" jstcache="46" style="display: none; ">optional</span> <span id="t ypeTemplate" jstcache="0"> <span jsdisplay="getTypeRef($this)" jstcache="47" sty le="display: none; "> <a jsvalues=".href: getTypeRefPage($this) + '#type-' + get TypeRef($this)" jscontent="getTypeRef($this)" jstcache="49"> Type</a> </span> <s pan jsdisplay="!getTypeRef($this)" jstcache="48"> <span jsdisplay="isArray($this )" jstcache="50" style="display: none; "> array of <span jsselect="items" jstcac he="52"><span transclude="typeTemplate" jstcache="53"></span></span> </span> <sp an jsdisplay="!isArray($this)" jscontent="getTypeName($this)" jstcache="51">inte ger</span> </span> </span> ) </div> </em> </dt> <dd class="todo" jsdisplay="!$th is.description" jstcache="42"> Undocumented. </dd> <dd jsdisplay="$this.descript ion" jsvalues=".innerHTML:$this.description" jstcache="43" style="display: none; "> Description of this parameter from the json schema. </dd> <!-- OBJECT PROPER TIES --> <dd jsdisplay="shouldExpandObject($this)" jstcache="44" style="display: none; "> <dl jstcache="0"> <div jsselect="getPropertyListFromObject($this)" jst cache="10"> <div transclude="valueTemplate" jstcache="17"> </div> </div> </dl> < /dd> </div> </div> </dl> </div> <!-- /decription --> </div><div jsselect="events " class="apiItem" jstcache="12" jsinstance="*2"> <a jsvalues=".name:'event-' + n ame" jstcache="19" name="event-onFocusChanged"></a> <h3 jscontent="name" jstcach e="16">onFocusChanged</h3> <div class="summary" jstcache="0"> <!-- Note: intenti onally longer 80 columns --> <span jscontent="getModuleName() + '.'" class="subd ued" jstcache="23">chrome.windows.</span><span jscontent="name" jstcache="16">on FocusChanged</span><span class="subdued" jstcache="0">.addListener</span>(functi on(<span jscontent="getSignatureString(parameters)" jstcache="32">integer window Id</span>) <span class="subdued" jstcache="0">{...}</span>); </div> <div class=" description" jstcache="0"> <p class="todo" jsdisplay="!description" jstcache="28 ">Undocumented.</p> <p jsdisplay="description" jsvalues=".innerHTML:description" jstcache="29" style="display: none; "> A description from the json schema def o f the event goes here. </p> <!-- PARAMETERS --> <h4 jstcache="0">Parameters</h4> <dl jstcache="0"> <div jsselect="parameters" jstcache="35" jsinstance="*0"> <di v jstcache="0"> <dt jstcache="0"> <var jsdisplay="$this.name" jscontent="$this.n ame" jstcache="45">windowId</var> <em jstcache="0"> <!-- TYPE --> <div style="di splay:inline" jstcache="0"> ( <span class="optional" jsdisplay="optional" jstcac he="46" style="display: none; ">optional</span> <span id="typeTemplate" jstcache ="0"> <span jsdisplay="getTypeRef($this)" jstcache="47" style="display: none; "> <a jsvalues=".href: getTypeRefPage($this) + '#type-' + getTypeRef($this)" jscon tent="getTypeRef($this)" jstcache="49"> Type</a> </span> <span jsdisplay="!getTy peRef($this)" jstcache="48"> <span jsdisplay="isArray($this)" jstcache="50" styl e="display: none; "> array of <span jsselect="items" jstcache="52"><span transcl ude="typeTemplate" jstcache="53"></span></span> </span> <span jsdisplay="!isArra y($this)" jscontent="getTypeName($this)" jstcache="51">integer</span> </span> </ span> ) </div> </em> </dt> <dd class="todo" jsdisplay="!$this.description" jstca che="42"> Undocumented. </dd> <dd jsdisplay="$this.description" jsvalues=".inner HTML:$this.description" jstcache="43" style="display: none; "> Description of th is parameter from the json schema. </dd> <!-- OBJECT PROPERTIES --> <dd jsdispla y="shouldExpandObject($this)" jstcache="44" style="display: none; "> <dl jstcach e="0"> <div jsselect="getPropertyListFromObject($this)" jstcache="10"> <div tran sclude="valueTemplate" jstcache="17"> </div> </div> </dl> </dd> </div> </div> </ dl> </div> <!-- /decription --> </div> <!-- /apiItem --> </div> <!-- /apiGroup - -> <!-- TYPES --> <div jsdisplay="types &amp;&amp; types.length &gt; 0" class="a piGroup" jstcache="8"> <a name="#types" jstcache="0"></a> <h2 id="types" jstcach e="0">Types</h2> <!-- iterates over all types --> <div jsselect="types" class="a piItem" jstcache="13" jsinstance="*0"> <a jsvalues=".name:'type-' + id" jstcache ="20" name="type-Window"></a> <h3 jscontent="id" jstcache="21">Window</h3> <div jstcache="0"> <dt jstcache="0"> <var jsdisplay="$this.name" jscontent="$this.nam e" jstcache="45" style="display: none; ">windowId</var> <em jstcache="0"> <!-- T YPE --> <div style="display:inline" jstcache="0"> ( <span class="optional" jsdis play="optional" jstcache="46" style="display: none; ">optional</span> <span id=" typeTemplate" jstcache="0"> <span jsdisplay="getTypeRef($this)" jstcache="47" st yle="display: none; "> <a jsvalues=".href: getTypeRefPage($this) + '#type-' + ge tTypeRef($this)" jscontent="getTypeRef($this)" jstcache="49"> Type</a> </span> < span jsdisplay="!getTypeRef($this)" jstcache="48"> <span jsdisplay="isArray($thi s)" jstcache="50" style="display: none; "> array of <span jsselect="items" jstca che="52"><span transclude="typeTemplate" jstcache="53"></span></span> </span> <s pan jsdisplay="!isArray($this)" jscontent="getTypeName($this)" jstcache="51">obj ect</span> </span> </span> ) </div> </em> </dt> <dd class="todo" jsdisplay="!$th is.description" jstcache="42"> Undocumented. </dd> <dd jsdisplay="$this.descript ion" jsvalues=".innerHTML:$this.description" jstcache="43" style="display: none; "> Description of this parameter from the json schema. </dd> <!-- OBJECT PROPER TIES --> <dd jsdisplay="shouldExpandObject($this)" jstcache="44" style=""> <dl j stcache="0"> <div jsselect="getPropertyListFromObject($this)" jstcache="10" jsin stance="0"> <div jstcache="0"> <dt jstcache="0"> <var jsdisplay="$this.name" jsc ontent="$this.name" jstcache="45">id</var> <em jstcache="0"> <!-- TYPE --> <div style="display:inline" jstcache="0"> ( <span class="optional" jsdisplay="optiona l" jstcache="46" style="display: none; ">optional</span> <span id="typeTemplate" jstcache="0"> <span jsdisplay="getTypeRef($this)" jstcache="47" style="display: none; "> <a jsvalues=".href: getTypeRefPage($this) + '#type-' + getTypeRef($thi s)" jscontent="getTypeRef($this)" jstcache="49"> Type</a> </span> <span jsdispla y="!getTypeRef($this)" jstcache="48"> <span jsdisplay="isArray($this)" jstcache= "50" style="display: none; "> array of <span jsselect="items" jstcache="52"><spa n transclude="typeTemplate" jstcache="53"></span></span> </span> <span jsdisplay ="!isArray($this)" jscontent="getTypeName($this)" jstcache="51">integer</span> < /span> </span> ) </div> </em> </dt> <dd class="todo" jsdisplay="!$this.descripti on" jstcache="42"> Undocumented. </dd> <dd jsdisplay="$this.description" jsvalue s=".innerHTML:$this.description" jstcache="43" style="display: none; "> Descript ion of this parameter from the json schema. </dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="shouldExpandObject($this)" jstcache="44" style="display: none; "> <d l jstcache="0"> <div jsselect="getPropertyListFromObject($this)" jstcache="10"> <div transclude="valueTemplate" jstcache="17"> </div> </div> </dl> </dd> </div> </div><div jsselect="getPropertyListFromObject($this)" jstcache="10" jsinstance= "1"> <div jstcache="0"> <dt jstcache="0"> <var jsdisplay="$this.name" jscontent= "$this.name" jstcache="45">focused</var> <em jstcache="0"> <!-- TYPE --> <div st yle="display:inline" jstcache="0"> ( <span class="optional" jsdisplay="optional" jstcache="46" style="display: none; ">optional</span> <span id="typeTemplate" j stcache="0"> <span jsdisplay="getTypeRef($this)" jstcache="47" style="display: n one; "> <a jsvalues=".href: getTypeRefPage($this) + '#type-' + getTypeRef($this) " jscontent="getTypeRef($this)" jstcache="49"> Type</a> </span> <span jsdisplay= "!getTypeRef($this)" jstcache="48"> <span jsdisplay="isArray($this)" jstcache="5 0" style="display: none; "> array of <span jsselect="items" jstcache="52"><span transclude="typeTemplate" jstcache="53"></span></span> </span> <span jsdisplay=" !isArray($this)" jscontent="getTypeName($this)" jstcache="51">boolean</span> </s pan> </span> ) </div> </em> </dt> <dd class="todo" jsdisplay="!$this.description " jstcache="42"> Undocumented. </dd> <dd jsdisplay="$this.description" jsvalues= ".innerHTML:$this.description" jstcache="43" style="display: none; "> Descriptio n of this parameter from the json schema. </dd> <!-- OBJECT PROPERTIES --> <dd j sdisplay="shouldExpandObject($this)" jstcache="44" style="display: none; "> <dl jstcache="0"> <div jsselect="getPropertyListFromObject($this)" jstcache="10"> <d iv transclude="valueTemplate" jstcache="17"> </div> </div> </dl> </dd> </div> </ div><div jsselect="getPropertyListFromObject($this)" jstcache="10" jsinstance="2 "> <div jstcache="0"> <dt jstcache="0"> <var jsdisplay="$this.name" jscontent="$ this.name" jstcache="45">left</var> <em jstcache="0"> <!-- TYPE --> <div style=" display:inline" jstcache="0"> ( <span class="optional" jsdisplay="optional" jstc ache="46" style="display: none; ">optional</span> <span id="typeTemplate" jstcac he="0"> <span jsdisplay="getTypeRef($this)" jstcache="47" style="display: none; "> <a jsvalues=".href: getTypeRefPage($this) + '#type-' + getTypeRef($this)" jsc ontent="getTypeRef($this)" jstcache="49"> Type</a> </span> <span jsdisplay="!get TypeRef($this)" jstcache="48"> <span jsdisplay="isArray($this)" jstcache="50" st yle="display: none; "> array of <span jsselect="items" jstcache="52"><span trans clude="typeTemplate" jstcache="53"></span></span> </span> <span jsdisplay="!isAr ray($this)" jscontent="getTypeName($this)" jstcache="51">integer</span> </span> </span> ) </div> </em> </dt> <dd class="todo" jsdisplay="!$this.description" jst cache="42"> Undocumented. </dd> <dd jsdisplay="$this.description" jsvalues=".inn erHTML:$this.description" jstcache="43" style="display: none; "> Description of this parameter from the json schema. </dd> <!-- OBJECT PROPERTIES --> <dd jsdisp lay="shouldExpandObject($this)" jstcache="44" style="display: none; "> <dl jstca che="0"> <div jsselect="getPropertyListFromObject($this)" jstcache="10"> <div tr ansclude="valueTemplate" jstcache="17"> </div> </div> </dl> </dd> </div> </div>< div jsselect="getPropertyListFromObject($this)" jstcache="10" jsinstance="3"> <d iv jstcache="0"> <dt jstcache="0"> <var jsdisplay="$this.name" jscontent="$this. name" jstcache="45">top</var> <em jstcache="0"> <!-- TYPE --> <div style="displa y:inline" jstcache="0"> ( <span class="optional" jsdisplay="optional" jstcache=" 46" style="display: none; ">optional</span> <span id="typeTemplate" jstcache="0" > <span jsdisplay="getTypeRef($this)" jstcache="47" style="display: none; "> <a jsvalues=".href: getTypeRefPage($this) + '#type-' + getTypeRef($this)" jscontent ="getTypeRef($this)" jstcache="49"> Type</a> </span> <span jsdisplay="!getTypeRe f($this)" jstcache="48"> <span jsdisplay="isArray($this)" jstcache="50" style="d isplay: none; "> array of <span jsselect="items" jstcache="52"><span transclude= "typeTemplate" jstcache="53"></span></span> </span> <span jsdisplay="!isArray($t his)" jscontent="getTypeName($this)" jstcache="51">integer</span> </span> </span > ) </div> </em> </dt> <dd class="todo" jsdisplay="!$this.description" jstcache= "42"> Undocumented. </dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML :$this.description" jstcache="43" style="display: none; "> Description of this p arameter from the json schema. </dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="s houldExpandObject($this)" jstcache="44" style="display: none; "> <dl jstcache="0 "> <div jsselect="getPropertyListFromObject($this)" jstcache="10"> <div transclu de="valueTemplate" jstcache="17"> </div> </div> </dl> </dd> </div> </div><div js select="getPropertyListFromObject($this)" jstcache="10" jsinstance="4"> <div jst cache="0"> <dt jstcache="0"> <var jsdisplay="$this.name" jscontent="$this.name" jstcache="45">bottom</var> <em jstcache="0"> <!-- TYPE --> <div style="display:i nline" jstcache="0"> ( <span class="optional" jsdisplay="optional" jstcache="46" style="display: none; ">optional</span> <span id="typeTemplate" jstcache="0"> < span jsdisplay="getTypeRef($this)" jstcache="47" style="display: none; "> <a jsv alues=".href: getTypeRefPage($this) + '#type-' + getTypeRef($this)" jscontent="g etTypeRef($this)" jstcache="49"> Type</a> </span> <span jsdisplay="!getTypeRef($ this)" jstcache="48"> <span jsdisplay="isArray($this)" jstcache="50" style="disp lay: none; "> array of <span jsselect="items" jstcache="52"><span transclude="ty peTemplate" jstcache="53"></span></span> </span> <span jsdisplay="!isArray($this )" jscontent="getTypeName($this)" jstcache="51">integer</span> </span> </span> ) </div> </em> </dt> <dd class="todo" jsdisplay="!$this.description" jstcache="42 "> Undocumented. </dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML:$t his.description" jstcache="43" style="display: none; "> Description of this para meter from the json schema. </dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="shou ldExpandObject($this)" jstcache="44" style="display: none; "> <dl jstcache="0"> <div jsselect="getPropertyListFromObject($this)" jstcache="10"> <div transclude= "valueTemplate" jstcache="17"> </div> </div> </dl> </dd> </div> </div><div jssel ect="getPropertyListFromObject($this)" jstcache="10" jsinstance="5"> <div jstcac he="0"> <dt jstcache="0"> <var jsdisplay="$this.name" jscontent="$this.name" jst cache="45">right</var> <em jstcache="0"> <!-- TYPE --> <div style="display:inlin e" jstcache="0"> ( <span class="optional" jsdisplay="optional" jstcache="46" sty le="display: none; ">optional</span> <span id="typeTemplate" jstcache="0"> <span jsdisplay="getTypeRef($this)" jstcache="47" style="display: none; "> <a jsvalue s=".href: getTypeRefPage($this) + '#type-' + getTypeRef($this)" jscontent="getTy peRef($this)" jstcache="49"> Type</a> </span> <span jsdisplay="!getTypeRef($this )" jstcache="48"> <span jsdisplay="isArray($this)" jstcache="50" style="display: none; "> array of <span jsselect="items" jstcache="52"><span transclude="typeTe mplate" jstcache="53"></span></span> </span> <span jsdisplay="!isArray($this)" j scontent="getTypeName($this)" jstcache="51">integer</span> </span> </span> ) </d iv> </em> </dt> <dd class="todo" jsdisplay="!$this.description" jstcache="42"> U ndocumented. </dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this. description" jstcache="43" style="display: none; "> Description of this paramete r from the json schema. </dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="shouldEx pandObject($this)" jstcache="44" style="display: none; "> <dl jstcache="0"> <div jsselect="getPropertyListFromObject($this)" jstcache="10"> <div transclude="val ueTemplate" jstcache="17"> </div> </div> </dl> </dd> </div> </div><div jsselect= "getPropertyListFromObject($this)" jstcache="10" jsinstance="*6"> <div jstcache= "0"> <dt jstcache="0"> <var jsdisplay="$this.name" jscontent="$this.name" jstcac he="45">tabs</var> <em jstcache="0"> <!-- TYPE --> <div style="display:inline" j stcache="0"> ( <span class="optional" jsdisplay="optional" jstcache="46" style=" ">optional</span> <span id="typeTemplate" jstcache="0"> <span jsdisplay="getType Ref($this)" jstcache="47" style="display: none; "> <a jsvalues=".href: getTypeRe fPage($this) + '#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstca che="49"> Type</a> </span> <span jsdisplay="!getTypeRef($this)" jstcache="48"> < span jsdisplay="isArray($this)" jstcache="50" style=""> array of <span jsselect= "items" jstcache="52"><span jstcache="0"> <span jsdisplay="getTypeRef($this)" js tcache="47" style=""> <a jsvalues=".href: getTypeRefPage($this) + '#type-' + get TypeRef($this)" jscontent="getTypeRef($this)" jstcache="49" href="tabs.html#type -Tab">Tab</a> </span> <span jsdisplay="!getTypeRef($this)" jstcache="48" style=" display: none; "> <span jsdisplay="isArray($this)" jstcache="50" style="display: none; "> array of <span jsselect="items" jstcache="52"><span transclude="typeTe mplate" jstcache="53"></span></span> </span> <span jsdisplay="!isArray($this)" j scontent="getTypeName($this)" jstcache="51">integer</span> </span> </span></span > </span> <span jsdisplay="!isArray($this)" jscontent="getTypeName($this)" jstca che="51" style="display: none; ">integer</span> </span> </span> ) </div> </em> < /dt> <dd class="todo" jsdisplay="!$this.description" jstcache="42"> Undocumented . </dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.description " jstcache="43" style="display: none; "> Description of this parameter from the json schema. </dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="shouldExpandObject( $this)" jstcache="44" style="display: none; "> <dl jstcache="0"> <div jsselect=" getPropertyListFromObject($this)" jstcache="10"> <div transclude="valueTemplate" jstcache="17"> </div> </div> </dl> </dd> </div> </div> </dl> </dd> </div> </div > <!-- /apiItem --> </div> <!-- /apiGroup --> </div> <!-- /apiPage --> </div> <! -- /mainColumn --> </div> <!-- /pageContent --> <div id="pageFooter" --="" jstca che="0"> Copyright 2009. For terms of use, see the Chromium <a href="http://src. chromium.org/viewvc/chrome/trunk/src/LICENSE" jstcache="0">license</a>. </div> < !-- /pageFooter --> </div> <!-- /container --> </body></html> 1 <!DOCTYPE html><!-- This page is a placeholder for generated extensions api doc. Note: 1) The <head> information in this page is significant, should be uniform across api docs and should be edited only with knowledge of the templating mecha nism. 2) The <body> tag *must* retain id="body" 3) All <body>.innerHTML is gener eated as an rendering step. If viewed in a browser, it will be re-generated from the template, json schema and authored overview content. 4) The <body>.innerHTM L is also generated by an offline step so that this page may easily be indexed b y search engines. TODO(rafaelw): Abstract this into a "pageshell" that becomes t he single version of page template shell and the "instance" pages (bookmarks.htm l, etc...) can be generated with a build step. --><!-- <html> must retain id="te mplate --><html xmlns="http://www.w3.org/1999/xhtml" jstcache="0"><!-- <head> da ta is significant and loads the needed libraries and styles --><head jstcache="0 "> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" jstcache=" 0"> <title jscontent="pageTitle" jstcache="1">[object HTMLDivElement]</title> <l ink href="css/ApiRefStyles.css" rel="stylesheet" type="text/css" jstcache="0"> < script type="text/javascript" src="../../../third_party/jstemplate/jstemplate_co mpiled.js" jstcache="0"> </script> <script type="text/javascript" src="js/api_pa ge_generator.js" jstcache="0"></script> <script type="text/javascript" src="js/b ootstrap.js" jstcache="0"></script> </head><!-- <body> content is completely gen erated. Do not edit, as it will be and rewritten. --><body jstcache="0"> <div id ="container" jstcache="0"> <a name="top" jstcache="0"> </a> <!-- API HEADER --> <div id="pageHeader" jstcache="0"> <div id="searchbox" jstcache="0"> <form actio n="http://www.google.com/cse" id="cse-search-box" jstcache="0"> <div jstcache="0 "> <input type="hidden" name="cx" value="002967670403910741006:61_cvzfqtno" jstc ache="0"> <input type="hidden" name="ie" value="UTF-8" jstcache="0"> <input type ="text" name="q" size="31" jstcache="0"> <input type="submit" name="sa" value="S earch" jstcache="0"> </div> </form> <script type="text/javascript" src="http://w ww.google.com/jsapi" jstcache="0"></script> <script type="text/javascript" jstca che="0">google.load("elements", "1", {packages: "transliteration"});</script> <s cript type="text/javascript" src="http://www.google.com/coop/cse/t13n?form=cse-s earch-box&amp;t13n_langs=en" jstcache="0"></script> <script type="text/javascrip t" src="http://www.google.com/coop/cse/brand?form=cse-search-box&amp;lang=en" js tcache="0"></script> </div> <div id="pageTitle" jstcache="0"> <h1 jscontent="get PageTitle()" jstcache="2">chrome.windows API Reference</h1> </div> </div> <!-- / pageHeader --> <div id="pageContent" jstcache="0"> <!-- SIDENAV --> <div id="lef tNav" jstcache="0"> <ul jstcache="0"> <li jstcache="0"> <a href="index.html" jst cache="0">Home</a></li> <li jstcache="0"> <a href="getstarted.html" jstcache="0" >Get Started</a></li> <li jstcache="0"> <a href="overview.html" jstcache="0">Ove rview</a></li> <li jstcache="0">Reference <ul jstcache="0"> <li jstcache="0"><a href="manifest.html" jstcache="0">Manifest</a></li> <li jstcache="0"><a href="to olstrip.html" jstcache="0">Toolstrips</a></li> <li jstcache="0"><a href="pageAct ions.html" jstcache="0">Page Actions</a></li> <li jstcache="0"><a href="backgrou nd_pages.html" jstcache="0">Background Pages</a></li> <li jstcache="0"><a href=" content_scripts.html" jstcache="0">Content Scripts</a></li> <li jstcache="0"><a href="tabs.html" jstcache="0">Tabs</a></li> <li jstcache="0" class="leftNavSelec ted">Windows</li> <li jstcache="0"><a href="bookmarks.html" jstcache="0">Bookmar ks</a></li> <li jstcache="0"><a href="extension.html" jstcache="0">Extension</a> </li> <li jstcache="0"><a href="themes.html" jstcache="0">Themes</a></li> <li js tcache="0"><a href="npapi.html" jstcache="0">NPAPI Plugins</a></li> <li jstcache ="0"><a href="packaging.html" jstcache="0">Packaging</a></li> <li jstcache="0">< a href="autoupdate.html" jstcache="0">Autoupdate</a></li> </ul> </li> <li jstcac he="0">Samples <ul jstcache="0"> <li jstcache="0">[sample 1]</li> <li jstcache=" 0">[sample 2]</li> </ul> </li> </ul> </div> <div id="mainColumn" jstcache="0"> < !-- TABLE OF CONTENTS --> <div id="toc" jsdisplay="showPageTOC()" jstcache="3"> <p jstcache="0">Contents</p> <ol jstcache="0"> <li jsselect="getStaticTOC()" jst cache="9" jsinstance="*0" style="display: none; "> <a jscontent="name" jsvalues= ".href:'#' + href" jstcache="14">h2Name</a> <ol jstcache="0"> <li jsselect="$thi s.children" jstcache="22"> <a jscontent="name" jsvalues=".href:'#' + href" jstca che="14">h3Name</a> </li> </ol> </li> <div jsselect="apiDefinition" jstcache="4" > <li jsdisplay="$this.properties" jstcache="5" style="display: none; "> <a href ="#properties" jstcache="0">Properties</a> <ol jstcache="0"> <li jsselect="getPr opertyListFromObject($this)" jstcache="10"> <a jscontent="name" jsvalues=".href: '#property-' + name" href="#property-anchor" jstcache="38">propertyName</a> </li > </ol> </li> <li jsdisplay="functions &amp;&amp; functions.length &gt; 0" jstca che="6"> <a href="#methods" jstcache="0">Methods</a> <ol jstcache="0"> <li jssel ect="functions" jstcache="11" jsinstance="0"> <a jscontent="name" jsvalues=".hre f:'#method-' + name" href="#method-get" jstcache="39">get</a> </li><li jsselect= "functions" jstcache="11" jsinstance="1"> <a jscontent="name" jsvalues=".href:'# method-' + name" href="#method-getCurrent" jstcache="39">getCurrent</a> </li><li jsselect="functions" jstcache="11" jsinstance="2"> <a jscontent="name" jsvalues =".href:'#method-' + name" href="#method-getLastFocused" jstcache="39">getLastFo cused</a> </li><li jsselect="functions" jstcache="11" jsinstance="3"> <a jsconte nt="name" jsvalues=".href:'#method-' + name" href="#method-getAll" jstcache="39" >getAll</a> </li><li jsselect="functions" jstcache="11" jsinstance="4"> <a jscon tent="name" jsvalues=".href:'#method-' + name" href="#method-create" jstcache="3 9">create</a> </li><li jsselect="functions" jstcache="11" jsinstance="5"> <a jsc ontent="name" jsvalues=".href:'#method-' + name" href="#method-update" jstcache= "39">update</a> </li><li jsselect="functions" jstcache="11" jsinstance="*6"> <a jscontent="name" jsvalues=".href:'#method-' + name" href="#method-remove" jstcac he="39">remove</a> </li> </ol> </li> <li jsdisplay="events &amp;&amp; events.len gth &gt; 0" jstcache="7"> <a href="#events" jstcache="0">Events</a> <ol jstcache ="0"> <li jsselect="events" jstcache="12" jsinstance="0"> <a jscontent="name" js values=".href:'#event-' + name" href="#event-onCreated" jstcache="40">onCreated< /a> </li><li jsselect="events" jstcache="12" jsinstance="1"> <a jscontent="name" jsvalues=".href:'#event-' + name" href="#event-onRemoved" jstcache="40">onRemov ed</a> </li><li jsselect="events" jstcache="12" jsinstance="*2"> <a jscontent="n ame" jsvalues=".href:'#event-' + name" href="#event-onFocusChanged" jstcache="40 ">onFocusChanged</a> </li> </ol> </li> <li jsdisplay="types &amp;&amp; types.len gth &gt; 0" jstcache="8"> <a href="#types" jstcache="0">Types</a> <ol jstcache=" 0"> <li jsselect="types" jstcache="13" jsinstance="*0"> <a jscontent="id" jsvalu es=".href:'#type-' + id" href="#type-Window" jstcache="41">Window</a> </li> </ol > </li> </div> </ol> </div> <!-- /TABLE OF CONTENTS --> <!-- STATIC CONTENT PLAC EHOLDER --> <div id="static" jstcache="0"><!-- BEGIN AUTHORED CONTENT --> <p cla ss="todo" jstcache="0"> [PENDING: API Module Overview Goes Here] </p> <!-- END A UTHORED CONTENT --> </div> <!-- API PAGE --> <div class="apiPage" jsselect="apiD efinition" jstcache="4"> <!-- PROPERTIES --> <div jsdisplay="$this.properties" c lass="apiGroup" jstcache="5" style="display: none; "> <a name="#properties" jstc ache="0"></a> <h2 id="properties" jstcache="0">Properties</h2> <div jsselect="ge tPropertyListFromObject($this)" jstcache="10"> <a jsvalues=".name:'property-' + name" jstcache="15"></a> <h3 jscontent="name" jstcache="16">getLastError</h3> <d iv class="summary" jstcache="0"> <!-- Note: intentionally longer 80 columns --> <span jscontent="getModuleName() + '.'" jstcache="23">chrome.extension</span><sp an jscontent="$this.name" jstcache="24">lastError</span> </div> <div transclude= "valueTemplate" jstcache="17"> </div> </div> </div> <!-- /apiGroup --> <!-- METH ODS --> <div jsdisplay="functions &amp;&amp; functions.length &gt; 0" class="api Group" id="methods" jstcache="6"> <a name="#methods" jstcache="0"></a> <h2 jstca che="0">Methods</h2> <!-- iterates over all functions --> <div class="apiItem" j sselect="functions" jstcache="11" jsinstance="0"> <a jsvalues=".name:'method-' + name" jstcache="18" name="method-get"></a> <!-- method-anchor --> <h3 jscontent ="name" jstcache="16">get</h3> <div class="summary" jstcache="0"><span jsdisplay ="returns" jscontent="getTypeName(returns)" jstcache="25" style="display: none; ">void</span> <!-- Note: intentionally longer 80 columns --> <span jscontent="ge tFullyQualifiedFunctionName($this)" jstcache="26">chrome.windows.get</span>(<spa n jsselect="parameters" jsvalues="class:optional ? 'optional' : ''" jstcache="27 " jsinstance="0" class="null"><span jsdisplay="$index" jstcache="33" style="disp lay: none; ">, </span><span jscontent="getTypeName($this)" jstcache="34">integer </span> <var jstcache="0"><span jscontent="name" jstcache="16">windowId</span></ var></span><span jsselect="parameters" jsvalues="class:optional ? 'optional' : ' '" jstcache="27" jsinstance="*1" class="null"><span jsdisplay="$index" jstcache= "33">, </span><span jscontent="getTypeName($this)" jstcache="34">function</span> <var jstcache="0"><span jscontent="name" jstcache="16">callback</span></var></s pan>)</div> <div class="description" jstcache="0"> <p class="todo" jsdisplay="!d escription" jstcache="28" style="display: none; ">Undocumented.</p> <p jsdisplay ="description" jsvalues=".innerHTML:description" jstcache="29">Get window with g iven id.</p> <!-- PARAMETERS --> <h4 jstcache="0">Parameters</h4> <dl jstcache=" 0"> <div jsselect="parameters" jstcache="35" jsinstance="0"> <!-- VALUE: This is a subtemplate that is used elsewhere via jsTemplate *transclude* --> <div id="v alueTemplate" jstcache="0"> <dt jstcache="0"> <var jsdisplay="$this.name" jscont ent="$this.name" jstcache="45">windowId</var> <em jstcache="0"> <!-- TYPE --> <d iv style="display:inline" jstcache="0"> ( <span class="optional" jsdisplay="opti onal" jstcache="46" style="display: none; ">optional</span> <span id="typeTempla te" jstcache="0"> <span jsdisplay="getTypeRef($this)" jstcache="47" style="displ ay: none; "> <a jsvalues=".href: getTypeRefPage($this) + '#type-' + getTypeRef($ this)" jscontent="getTypeRef($this)" jstcache="49"> Type</a> </span> <span jsdis play="!getTypeRef($this)" jstcache="48"> <span jsdisplay="isArray($this)" jstcac he="50" style="display: none; "> array of <span jsselect="items" jstcache="52">< span transclude="typeTemplate" jstcache="53"></span></span> </span> <span jsdisp lay="!isArray($this)" jscontent="getTypeName($this)" jstcache="51">integer</span > </span> </span> ) </div> </em> </dt> <dd class="todo" jsdisplay="!$this.descri ption" jstcache="42"> Undocumented. </dd> <dd jsdisplay="$this.description" jsva lues=".innerHTML:$this.description" jstcache="43" style="display: none; "> Descr iption of this parameter from the json schema. </dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="shouldExpandObject($this)" jstcache="44" style="display: none; "> <dl jstcache="0"> <div jsselect="getPropertyListFromObject($this)" jstcache="10 "> <div transclude="valueTemplate" jstcache="17"> </div> </div> </dl> </dd> </di v> <!-- /VALUE --> </div><div jsselect="parameters" jstcache="35" jsinstance="*1 "> <!-- VALUE: This is a subtemplate that is used elsewhere via jsTemplate *tran sclude* --> <div id="valueTemplate" jstcache="0"> <dt jstcache="0"> <var jsdispl ay="$this.name" jscontent="$this.name" jstcache="45">callback</var> <em jstcache ="0"> <!-- TYPE --> <div style="display:inline" jstcache="0"> ( <span class="opt ional" jsdisplay="optional" jstcache="46" style="display: none; ">optional</span > <span id="typeTemplate" jstcache="0"> <span jsdisplay="getTypeRef($this)" jstc ache="47" style="display: none; "> <a jsvalues=".href: getTypeRefPage($this) + ' #type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="49"> Type</ a> </span> <span jsdisplay="!getTypeRef($this)" jstcache="48"> <span jsdisplay=" isArray($this)" jstcache="50" style="display: none; "> array of <span jsselect=" items" jstcache="52"><span transclude="typeTemplate" jstcache="53"></span></span > </span> <span jsdisplay="!isArray($this)" jscontent="getTypeName($this)" jstca che="51">function</span> </span> </span> ) </div> </em> </dt> <dd class="todo" j sdisplay="!$this.description" jstcache="42"> Undocumented. </dd> <dd jsdisplay=" $this.description" jsvalues=".innerHTML:$this.description" jstcache="43" style=" display: none; "> Description of this parameter from the json schema. </dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="shouldExpandObject($this)" jstcache="44" s tyle="display: none; "> <dl jstcache="0"> <div jsselect="getPropertyListFromObje ct($this)" jstcache="10"> <div transclude="valueTemplate" jstcache="17"> </div> </div> </dl> </dd> </div> <!-- /VALUE --> </div> </dl> <!-- RETURNS --> <h4 jsdi splay="returns" jstcache="30" style="display: none; ">Returns</h4> <dl jstcache= "0"> <div jsselect="returns" jstcache="36" style="display: none; "> <div transcl ude="valueTemplate" jstcache="17"> </div> </div> </dl> <!-- CALLBACK --> <div jsdisplay="hasCallback(parameters)" jstcache="31"> <div jsselect="getCallb ackParameters(parameters)" jstcache="37"> <h4 jstcache="0">Callback function</h4 > <p jstcache="0"> If you specify the <em jstcache="0">callback</em> parameter, it should specify a function that looks like this: </p> <!-- Note: intentionally longer 80 columns --> <pre jstcache="0">function(<span jscontent="getSignatureS tring(parameters)" jstcache="32">Window window</span>) <span class="subdued" jst cache="0">{...}</span>);</pre> <dl jstcache="0"> <div jsselect="parameters" jstc ache="35" jsinstance="*0"> <div jstcache="0"> <dt jstcache="0"> <var jsdisplay=" $this.name" jscontent="$this.name" jstcache="45">window</var> <em jstcache="0"> <!-- TYPE --> <div style="display:inline" jstcache="0"> ( <span class="optional" jsdisplay="optional" jstcache="46" style="display: none; ">optional</span> <spa n id="typeTemplate" jstcache="0"> <span jsdisplay="getTypeRef($this)" jstcache=" 47" style=""> <a jsvalues=".href: getTypeRefPage($this) + '#type-' + getTypeRef( $this)" jscontent="getTypeRef($this)" jstcache="49" href="windows.html#type-Wind ow">Window</a> </span> <span jsdisplay="!getTypeRef($this)" jstcache="48" style= "display: none; "> <span jsdisplay="isArray($this)" jstcache="50" style="display : none; "> array of <span jsselect="items" jstcache="52"><span transclude="typeT emplate" jstcache="53"></span></span> </span> <span jsdisplay="!isArray($this)" jscontent="getTypeName($this)" jstcache="51">integer</span> </span> </span> ) </ div> </em> </dt> <dd class="todo" jsdisplay="!$this.description" jstcache="42"> Undocumented. </dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this .description" jstcache="43" style="display: none; "> Description of this paramet er from the json schema. </dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="shouldE xpandObject($this)" jstcache="44" style="display: none; "> <dl jstcache="0"> <di v jsselect="getPropertyListFromObject($this)" jstcache="10"> <div transclude="va lueTemplate" jstcache="17"> </div> </div> </dl> </dd> </div> </div> </dl> </div> </div> </div> <!-- /description --> </div><div class="apiItem" jsselect="functi ons" jstcache="11" jsinstance="1"> <a jsvalues=".name:'method-' + name" jstcache ="18" name="method-getCurrent"></a> <!-- method-anchor --> <h3 jscontent="name" jstcache="16">getCurrent</h3> <div class="summary" jstcache="0"><span jsdisplay= "returns" jscontent="getTypeName(returns)" jstcache="25" style="display: none; " >void</span> <!-- Note: intentionally longer 80 columns --> <span jscontent="get FullyQualifiedFunctionName($this)" jstcache="26">chrome.windows.getCurrent</span >(<span jsselect="parameters" jsvalues="class:optional ? 'optional' : ''" jstcac he="27" jsinstance="*0" class="null"><span jsdisplay="$index" jstcache="33" styl e="display: none; ">, </span><span jscontent="getTypeName($this)" jstcache="34"> function</span> <var jstcache="0"><span jscontent="name" jstcache="16">callback< /span></var></span>)</div> <div class="description" jstcache="0"> <p class="todo " jsdisplay="!description" jstcache="28" style="display: none; ">Undocumented.</ p> <p jsdisplay="description" jsvalues=".innerHTML:description" jstcache="29">Ge t the window that is the container for the caller. i.e. the window containing th e toolstrip that makes the call.</p> <!-- PARAMETERS --> <h4 jstcache="0">Parame ters</h4> <dl jstcache="0"> <div jsselect="parameters" jstcache="35" jsinstance= "*0"> <!-- VALUE: This is a subtemplate that is used elsewhere via jsTemplate *t ransclude* --> <div id="valueTemplate" jstcache="0"> <dt jstcache="0"> <var jsdi splay="$this.name" jscontent="$this.name" jstcache="45">callback</var> <em jstca che="0"> <!-- TYPE --> <div style="display:inline" jstcache="0"> ( <span class=" optional" jsdisplay="optional" jstcache="46" style="display: none; ">optional</s pan> <span id="typeTemplate" jstcache="0"> <span jsdisplay="getTypeRef($this)" j stcache="47" style="display: none; "> <a jsvalues=".href: getTypeRefPage($this) + '#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="49"> Typ e</a> </span> <span jsdisplay="!getTypeRef($this)" jstcache="48"> <span jsdispla y="isArray($this)" jstcache="50" style="display: none; "> array of <span jsselec t="items" jstcache="52"><span transclude="typeTemplate" jstcache="53"></span></s pan> </span> <span jsdisplay="!isArray($this)" jscontent="getTypeName($this)" js tcache="51">function</span> </span> </span> ) </div> </em> </dt> <dd class="todo " jsdisplay="!$this.description" jstcache="42"> Undocumented. </dd> <dd jsdispla y="$this.description" jsvalues=".innerHTML:$this.description" jstcache="43" styl e="display: none; "> Description of this parameter from the json schema. </dd> < !-- OBJECT PROPERTIES --> <dd jsdisplay="shouldExpandObject($this)" jstcache="44 " style="display: none; "> <dl jstcache="0"> <div jsselect="getPropertyListFromO bject($this)" jstcache="10"> <div transclude="valueTemplate" jstcache="17"> </di v> </div> </dl> </dd> </div> <!-- /VALUE --> </div> </dl> <!-- RETURNS --> <h4 j sdisplay="returns" jstcache="30" style="display: none; ">Returns</h4> <dl jstcac he="0"> <div jsselect="returns" jstcache="36" style="display: none; "> <div tran sclude="valueTemplate" jstcache="17"> </div> </div> </dl> <!-- CALLBACK --> <div jsdisplay="hasCallback(parameters)" jstcache="31"> <div jsselect="getCallb ackParameters(parameters)" jstcache="37"> <h4 jstcache="0">Callback function</h4 > <p jstcache="0"> If you specify the <em jstcache="0">callback</em> parameter, it should specify a function that looks like this: </p> <!-- Note: intentionally longer 80 columns --> <pre jstcache="0">function(<span jscontent="getSignatureS tring(parameters)" jstcache="32">Window window</span>) <span class="subdued" jst cache="0">{...}</span>);</pre> <dl jstcache="0"> <div jsselect="parameters" jstc ache="35" jsinstance="*0"> <div jstcache="0"> <dt jstcache="0"> <var jsdisplay=" $this.name" jscontent="$this.name" jstcache="45">window</var> <em jstcache="0"> <!-- TYPE --> <div style="display:inline" jstcache="0"> ( <span class="optional" jsdisplay="optional" jstcache="46" style="display: none; ">optional</span> <spa n id="typeTemplate" jstcache="0"> <span jsdisplay="getTypeRef($this)" jstcache=" 47" style=""> <a jsvalues=".href: getTypeRefPage($this) + '#type-' + getTypeRef( $this)" jscontent="getTypeRef($this)" jstcache="49" href="windows.html#type-Wind ow">Window</a> </span> <span jsdisplay="!getTypeRef($this)" jstcache="48" style= "display: none; "> <span jsdisplay="isArray($this)" jstcache="50" style="display : none; "> array of <span jsselect="items" jstcache="52"><span transclude="typeT emplate" jstcache="53"></span></span> </span> <span jsdisplay="!isArray($this)" jscontent="getTypeName($this)" jstcache="51">integer</span> </span> </span> ) </ div> </em> </dt> <dd class="todo" jsdisplay="!$this.description" jstcache="42"> Undocumented. </dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this .description" jstcache="43" style="display: none; "> Description of this paramet er from the json schema. </dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="shouldE xpandObject($this)" jstcache="44" style="display: none; "> <dl jstcache="0"> <di v jsselect="getPropertyListFromObject($this)" jstcache="10"> <div transclude="va lueTemplate" jstcache="17"> </div> </div> </dl> </dd> </div> </div> </dl> </div> </div> </div> <!-- /description --> </div><div class="apiItem" jsselect="functi ons" jstcache="11" jsinstance="2"> <a jsvalues=".name:'method-' + name" jstcache ="18" name="method-getLastFocused"></a> <!-- method-anchor --> <h3 jscontent="na me" jstcache="16">getLastFocused</h3> <div class="summary" jstcache="0"><span js display="returns" jscontent="getTypeName(returns)" jstcache="25" style="display: none; ">void</span> <!-- Note: intentionally longer 80 columns --> <span jscont ent="getFullyQualifiedFunctionName($this)" jstcache="26">chrome.windows.getLastF ocused</span>(<span jsselect="parameters" jsvalues="class:optional ? 'optional' : ''" jstcache="27" jsinstance="*0" class="null"><span jsdisplay="$index" jstcac he="33" style="display: none; ">, </span><span jscontent="getTypeName($this)" js tcache="34">function</span> <var jstcache="0"><span jscontent="name" jstcache="1 6">callback</span></var></span>)</div> <div class="description" jstcache="0"> <p class="todo" jsdisplay="!description" jstcache="28" style="display: none; ">Und ocumented.</p> <p jsdisplay="description" jsvalues=".innerHTML:description" jstc ache="29">Get the window that was most recenly focused -- typically the window ' on top'.</p> <!-- PARAMETERS --> <h4 jstcache="0">Parameters</h4> <dl jstcache=" 0"> <div jsselect="parameters" jstcache="35" jsinstance="*0"> <!-- VALUE: This i s a subtemplate that is used elsewhere via jsTemplate *transclude* --> <div id=" valueTemplate" jstcache="0"> <dt jstcache="0"> <var jsdisplay="$this.name" jscon tent="$this.name" jstcache="45">callback</var> <em jstcache="0"> <!-- TYPE --> < div style="display:inline" jstcache="0"> ( <span class="optional" jsdisplay="opt ional" jstcache="46" style="display: none; ">optional</span> <span id="typeTempl ate" jstcache="0"> <span jsdisplay="getTypeRef($this)" jstcache="47" style="disp lay: none; "> <a jsvalues=".href: getTypeRefPage($this) + '#type-' + getTypeRef( $this)" jscontent="getTypeRef($this)" jstcache="49"> Type</a> </span> <span jsdi splay="!getTypeRef($this)" jstcache="48"> <span jsdisplay="isArray($this)" jstca che="50" style="display: none; "> array of <span jsselect="items" jstcache="52"> <span transclude="typeTemplate" jstcache="53"></span></span> </span> <span jsdis play="!isArray($this)" jscontent="getTypeName($this)" jstcache="51">function</sp an> </span> </span> ) </div> </em> </dt> <dd class="todo" jsdisplay="!$this.desc ription" jstcache="42"> Undocumented. </dd> <dd jsdisplay="$this.description" js values=".innerHTML:$this.description" jstcache="43" style="display: none; "> Des cription of this parameter from the json schema. </dd> <!-- OBJECT PROPERTIES -- > <dd jsdisplay="shouldExpandObject($this)" jstcache="44" style="display: none; "> <dl jstcache="0"> <div jsselect="getPropertyListFromObject($this)" jstcache=" 10"> <div transclude="valueTemplate" jstcache="17"> </div> </div> </dl> </dd> </ div> <!-- /VALUE --> </div> </dl> <!-- RETURNS --> <h4 jsdisplay="returns" jstca che="30" style="display: none; ">Returns</h4> <dl jstcache="0"> <div jsselect="r eturns" jstcache="36" style="display: none; "> <div transclude="valueTemplate" j stcache="17"> </div> </div> </dl> <!-- CALLBACK --> <div jsdisplay="hasCall back(parameters)" jstcache="31"> <div jsselect="getCallbackParameters(parameters )" jstcache="37"> <h4 jstcache="0">Callback function</h4> <p jstcache="0"> If yo u specify the <em jstcache="0">callback</em> parameter, it should specify a func tion that looks like this: </p> <!-- Note: intentionally longer 80 columns --> < pre jstcache="0">function(<span jscontent="getSignatureString(parameters)" jstca che="32">Window window</span>) <span class="subdued" jstcache="0">{...}</span>); </pre> <dl jstcache="0"> <div jsselect="parameters" jstcache="35" jsinstance="*0 "> <div jstcache="0"> <dt jstcache="0"> <var jsdisplay="$this.name" jscontent="$ this.name" jstcache="45">window</var> <em jstcache="0"> <!-- TYPE --> <div style ="display:inline" jstcache="0"> ( <span class="optional" jsdisplay="optional" js tcache="46" style="display: none; ">optional</span> <span id="typeTemplate" jstc ache="0"> <span jsdisplay="getTypeRef($this)" jstcache="47" style=""> <a jsvalue s=".href: getTypeRefPage($this) + '#type-' + getTypeRef($this)" jscontent="getTy peRef($this)" jstcache="49" href="windows.html#type-Window">Window</a> </span> < span jsdisplay="!getTypeRef($this)" jstcache="48" style="display: none; "> <span jsdisplay="isArray($this)" jstcache="50" style="display: none; "> array of <spa n jsselect="items" jstcache="52"><span transclude="typeTemplate" jstcache="53">< /span></span> </span> <span jsdisplay="!isArray($this)" jscontent="getTypeName($ this)" jstcache="51">integer</span> </span> </span> ) </div> </em> </dt> <dd cla ss="todo" jsdisplay="!$this.description" jstcache="42"> Undocumented. </dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.description" jstcache=" 43" style="display: none; "> Description of this parameter from the json schema. </dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="shouldExpandObject($this)" jstc ache="44" style="display: none; "> <dl jstcache="0"> <div jsselect="getPropertyL istFromObject($this)" jstcache="10"> <div transclude="valueTemplate" jstcache="1 7"> </div> </div> </dl> </dd> </div> </div> </dl> </div> </div> </div> <!-- /des cription --> </div><div class="apiItem" jsselect="functions" jstcache="11" jsins tance="3"> <a jsvalues=".name:'method-' + name" jstcache="18" name="method-getAl l"></a> <!-- method-anchor --> <h3 jscontent="name" jstcache="16">getAll</h3> <d iv class="summary" jstcache="0"><span jsdisplay="returns" jscontent="getTypeName (returns)" jstcache="25" style="display: none; ">void</span> <!-- Note: intentio nally longer 80 columns --> <span jscontent="getFullyQualifiedFunctionName($this )" jstcache="26">chrome.windows.getAll</span>(<span jsselect="parameters" jsvalu es="class:optional ? 'optional' : ''" jstcache="27" jsinstance="0" class="option al"><span jsdisplay="$index" jstcache="33" style="display: none; ">, </span><spa n jscontent="getTypeName($this)" jstcache="34">boolean</span> <var jstcache="0"> <span jscontent="name" jstcache="16">populate</span></var></span><span jsselect= "parameters" jsvalues="class:optional ? 'optional' : ''" jstcache="27" jsinstanc e="*1" class="null"><span jsdisplay="$index" jstcache="33">, </span><span jscont ent="getTypeName($this)" jstcache="34">function</span> <var jstcache="0"><span j scontent="name" jstcache="16">callback</span></var></span>)</div> <div class="de scription" jstcache="0"> <p class="todo" jsdisplay="!description" jstcache="28" style="display: none; ">Undocumented.</p> <p jsdisplay="description" jsvalues=". innerHTML:description" jstcache="29">Get all windows. If <var jstcache="0">popul ate</var> is true, each window object will have a <var jstcache="0">tabs</var> p roperty that contains a list of the Tab objects for that window.</p> <!-- PARAME TERS --> <h4 jstcache="0">Parameters</h4> <dl jstcache="0"> <div jsselect="param eters" jstcache="35" jsinstance="0"> <!-- VALUE: This is a subtemplate that is u sed elsewhere via jsTemplate *transclude* --> <div id="valueTemplate" jstcache=" 0"> <dt jstcache="0"> <var jsdisplay="$this.name" jscontent="$this.name" jstcach e="45">populate</var> <em jstcache="0"> <!-- TYPE --> <div style="display:inline " jstcache="0"> ( <span class="optional" jsdisplay="optional" jstcache="46">opti onal</span> <span id="typeTemplate" jstcache="0"> <span jsdisplay="getTypeRef($t his)" jstcache="47" style="display: none; "> <a jsvalues=".href: getTypeRefPage( $this) + '#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="4 9"> Type</a> </span> <span jsdisplay="!getTypeRef($this)" jstcache="48"> <span j sdisplay="isArray($this)" jstcache="50" style="display: none; "> array of <span jsselect="items" jstcache="52"><span transclude="typeTemplate" jstcache="53"></s pan></span> </span> <span jsdisplay="!isArray($this)" jscontent="getTypeName($th is)" jstcache="51">boolean</span> </span> </span> ) </div> </em> </dt> <dd class ="todo" jsdisplay="!$this.description" jstcache="42"> Undocumented. </dd> <dd js display="$this.description" jsvalues=".innerHTML:$this.description" jstcache="43 " style="display: none; "> Description of this parameter from the json schema. < /dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="shouldExpandObject($this)" jstcac he="44" style="display: none; "> <dl jstcache="0"> <div jsselect="getPropertyLis tFromObject($this)" jstcache="10"> <div transclude="valueTemplate" jstcache="17" > </div> </div> </dl> </dd> </div> <!-- /VALUE --> </div><div jsselect="paramete rs" jstcache="35" jsinstance="*1"> <!-- VALUE: This is a subtemplate that is use d elsewhere via jsTemplate *transclude* --> <div id="valueTemplate" jstcache="0" > <dt jstcache="0"> <var jsdisplay="$this.name" jscontent="$this.name" jstcache= "45">callback</var> <em jstcache="0"> <!-- TYPE --> <div style="display:inline" jstcache="0"> ( <span class="optional" jsdisplay="optional" jstcache="46" style= "display: none; ">optional</span> <span id="typeTemplate" jstcache="0"> <span js display="getTypeRef($this)" jstcache="47" style="display: none; "> <a jsvalues=" .href: getTypeRefPage($this) + '#type-' + getTypeRef($this)" jscontent="getTypeR ef($this)" jstcache="49"> Type</a> </span> <span jsdisplay="!getTypeRef($this)" jstcache="48"> <span jsdisplay="isArray($this)" jstcache="50" style="display: no ne; "> array of <span jsselect="items" jstcache="52"><span transclude="typeTempl ate" jstcache="53"></span></span> </span> <span jsdisplay="!isArray($this)" jsco ntent="getTypeName($this)" jstcache="51">function</span> </span> </span> ) </div > </em> </dt> <dd class="todo" jsdisplay="!$this.description" jstcache="42"> Und ocumented. </dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.de scription" jstcache="43" style="display: none; "> Description of this parameter from the json schema. </dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="shouldExpa ndObject($this)" jstcache="44" style="display: none; "> <dl jstcache="0"> <div j sselect="getPropertyListFromObject($this)" jstcache="10"> <div transclude="value Template" jstcache="17"> </div> </div> </dl> </dd> </div> <!-- /VALUE --> </div> </dl> <!-- RETURNS --> <h4 jsdisplay="returns" jstcache="30" style="display: no ne; ">Returns</h4> <dl jstcache="0"> <div jsselect="returns" jstcache="36" style ="display: none; "> <div transclude="valueTemplate" jstcache="17"> </div> </div> </dl> <!-- CALLBACK --> <div jsdisplay="hasCallback(parameters)" jstcac he="31"> <div jsselect="getCallbackParameters(parameters)" jstcache="37"> <h4 js tcache="0">Callback function</h4> <p jstcache="0"> If you specify the <em jstcac he="0">callback</em> parameter, it should specify a function that looks like thi s: </p> <!-- Note: intentionally longer 80 columns --> <pre jstcache="0">functio n(<span jscontent="getSignatureString(parameters)" jstcache="32">array of Window windows</span>) <span class="subdued" jstcache="0">{...}</span>);</pre> <dl jst cache="0"> <div jsselect="parameters" jstcache="35" jsinstance="*0"> <div jstcac he="0"> <dt jstcache="0"> <var jsdisplay="$this.name" jscontent="$this.name" jst cache="45">windows</var> <em jstcache="0"> <!-- TYPE --> <div style="display:inl ine" jstcache="0"> ( <span class="optional" jsdisplay="optional" jstcache="46" s tyle="display: none; ">optional</span> <span id="typeTemplate" jstcache="0"> <sp an jsdisplay="getTypeRef($this)" jstcache="47" style="display: none; "> <a jsval ues=".href: getTypeRefPage($this) + '#type-' + getTypeRef($this)" jscontent="get TypeRef($this)" jstcache="49"> Type</a> </span> <span jsdisplay="!getTypeRef($th is)" jstcache="48"> <span jsdisplay="isArray($this)" jstcache="50" style=""> arr ay of <span jsselect="items" jstcache="52"><span jstcache="0"> <span jsdisplay=" getTypeRef($this)" jstcache="47" style=""> <a jsvalues=".href: getTypeRefPage($t his) + '#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="49" href="windows.html#type-Window">Window</a> </span> <span jsdisplay="!getTypeRef ($this)" jstcache="48" style="display: none; "> <span jsdisplay="isArray($this)" jstcache="50" style="display: none; "> array of <span jsselect="items" jstcache ="52"><span transclude="typeTemplate" jstcache="53"></span></span> </span> <span jsdisplay="!isArray($this)" jscontent="getTypeName($this)" jstcache="51">intege r</span> </span> </span></span> </span> <span jsdisplay="!isArray($this)" jscont ent="getTypeName($this)" jstcache="51" style="display: none; ">integer</span> </ span> </span> ) </div> </em> </dt> <dd class="todo" jsdisplay="!$this.descriptio n" jstcache="42"> Undocumented. </dd> <dd jsdisplay="$this.description" jsvalues =".innerHTML:$this.description" jstcache="43" style="display: none; "> Descripti on of this parameter from the json schema. </dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="shouldExpandObject($this)" jstcache="44" style="display: none; "> <dl jstcache="0"> <div jsselect="getPropertyListFromObject($this)" jstcache="10"> < div transclude="valueTemplate" jstcache="17"> </div> </div> </dl> </dd> </div> < /div> </dl> </div> </div> </div> <!-- /description --> </div><div class="apiItem " jsselect="functions" jstcache="11" jsinstance="4"> <a jsvalues=".name:'method- ' + name" jstcache="18" name="method-create"></a> <!-- method-anchor --> <h3 jsc ontent="name" jstcache="16">create</h3> <div class="summary" jstcache="0"><span jsdisplay="returns" jscontent="getTypeName(returns)" jstcache="25" style="displa y: none; ">void</span> <!-- Note: intentionally longer 80 columns --> <span jsco ntent="getFullyQualifiedFunctionName($this)" jstcache="26">chrome.windows.create </span>(<span jsselect="parameters" jsvalues="class:optional ? 'optional' : ''" jstcache="27" jsinstance="0" class="optional"><span jsdisplay="$index" jstcache= "33" style="display: none; ">, </span><span jscontent="getTypeName($this)" jstca che="34">object</span> <var jstcache="0"><span jscontent="name" jstcache="16">cr eateData</span></var></span><span jsselect="parameters" jsvalues="class:optional ? 'optional' : ''" jstcache="27" jsinstance="*1" class="optional"><span jsdispl ay="$index" jstcache="33">, </span><span jscontent="getTypeName($this)" jstcache ="34">function</span> <var jstcache="0"><span jscontent="name" jstcache="16">cal lback</span></var></span>)</div> <div class="description" jstcache="0"> <p class ="todo" jsdisplay="!description" jstcache="28" style="display: none; ">Undocumen ted.</p> <p jsdisplay="description" jsvalues=".innerHTML:description" jstcache=" 29">Create (open) a new browser with any optional sizing, position or default ur l provided.</p> <!-- PARAMETERS --> <h4 jstcache="0">Parameters</h4> <dl jstcach e="0"> <div jsselect="parameters" jstcache="35" jsinstance="0"> <!-- VALUE: This is a subtemplate that is used elsewhere via jsTemplate *transclude* --> <div id ="valueTemplate" jstcache="0"> <dt jstcache="0"> <var jsdisplay="$this.name" jsc ontent="$this.name" jstcache="45">createData</var> <em jstcache="0"> <!-- TYPE - -> <div style="display:inline" jstcache="0"> ( <span class="optional" jsdisplay= "optional" jstcache="46">optional</span> <span id="typeTemplate" jstcache="0"> < span jsdisplay="getTypeRef($this)" jstcache="47" style="display: none; "> <a jsv alues=".href: getTypeRefPage($this) + '#type-' + getTypeRef($this)" jscontent="g etTypeRef($this)" jstcache="49"> Type</a> </span> <span jsdisplay="!getTypeRef($ this)" jstcache="48"> <span jsdisplay="isArray($this)" jstcache="50" style="disp lay: none; "> array of <span jsselect="items" jstcache="52"><span transclude="ty peTemplate" jstcache="53"></span></span> </span> <span jsdisplay="!isArray($this )" jscontent="getTypeName($this)" jstcache="51">object</span> </span> </span> ) </div> </em> </dt> <dd class="todo" jsdisplay="!$this.description" jstcache="42" > Undocumented. </dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML:$th is.description" jstcache="43" style="display: none; "> Description of this param eter from the json schema. </dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="shoul dExpandObject($this)" jstcache="44"> <dl jstcache="0"> <div jsselect="getPropert yListFromObject($this)" jstcache="10" jsinstance="0"> <div jstcache="0"> <dt jst cache="0"> <var jsdisplay="$this.name" jscontent="$this.name" jstcache="45">url< /var> <em jstcache="0"> <!-- TYPE --> <div style="display:inline" jstcache="0"> ( <span class="optional" jsdisplay="optional" jstcache="46" style="">optional</s pan> <span id="typeTemplate" jstcache="0"> <span jsdisplay="getTypeRef($this)" j stcache="47" style="display: none; "> <a jsvalues=".href: getTypeRefPage($this) + '#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="49"> Typ e</a> </span> <span jsdisplay="!getTypeRef($this)" jstcache="48"> <span jsdispla y="isArray($this)" jstcache="50" style="display: none; "> array of <span jsselec t="items" jstcache="52"><span transclude="typeTemplate" jstcache="53"></span></s pan> </span> <span jsdisplay="!isArray($this)" jscontent="getTypeName($this)" js tcache="51">string</span> </span> </span> ) </div> </em> </dt> <dd class="todo" jsdisplay="!$this.description" jstcache="42"> Undocumented. </dd> <dd jsdisplay= "$this.description" jsvalues=".innerHTML:$this.description" jstcache="43" style= "display: none; "> Description of this parameter from the json schema. </dd> <!- - OBJECT PROPERTIES --> <dd jsdisplay="shouldExpandObject($this)" jstcache="44" style="display: none; "> <dl jstcache="0"> <div jsselect="getPropertyListFromObj ect($this)" jstcache="10"> <div transclude="valueTemplate" jstcache="17"> </div> </div> </dl> </dd> </div> </div><div jsselect="getPropertyListFromObject($this) " jstcache="10" jsinstance="1"> <div jstcache="0"> <dt jstcache="0"> <var jsdisp lay="$this.name" jscontent="$this.name" jstcache="45">left</var> <em jstcache="0 "> <!-- TYPE --> <div style="display:inline" jstcache="0"> ( <span class="option al" jsdisplay="optional" jstcache="46" style="">optional</span> <span id="typeTe mplate" jstcache="0"> <span jsdisplay="getTypeRef($this)" jstcache="47" style="d isplay: none; "> <a jsvalues=".href: getTypeRefPage($this) + '#type-' + getTypeR ef($this)" jscontent="getTypeRef($this)" jstcache="49"> Type</a> </span> <span j sdisplay="!getTypeRef($this)" jstcache="48"> <span jsdisplay="isArray($this)" js tcache="50" style="display: none; "> array of <span jsselect="items" jstcache="5 2"><span transclude="typeTemplate" jstcache="53"></span></span> </span> <span js display="!isArray($this)" jscontent="getTypeName($this)" jstcache="51">integer</ span> </span> </span> ) </div> </em> </dt> <dd class="todo" jsdisplay="!$this.de scription" jstcache="42"> Undocumented. </dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.description" jstcache="43" style="display: none; "> D escription of this parameter from the json schema. </dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="shouldExpandObject($this)" jstcache="44" style="display: none ; "> <dl jstcache="0"> <div jsselect="getPropertyListFromObject($this)" jstcache ="10"> <div transclude="valueTemplate" jstcache="17"> </div> </div> </dl> </dd> </div> </div><div jsselect="getPropertyListFromObject($this)" jstcache="10" jsin stance="2"> <div jstcache="0"> <dt jstcache="0"> <var jsdisplay="$this.name" jsc ontent="$this.name" jstcache="45">top</var> <em jstcache="0"> <!-- TYPE --> <div style="display:inline" jstcache="0"> ( <span class="optional" jsdisplay="option al" jstcache="46" style="">optional</span> <span id="typeTemplate" jstcache="0"> <span jsdisplay="getTypeRef($this)" jstcache="47" style="display: none; "> <a j svalues=".href: getTypeRefPage($this) + '#type-' + getTypeRef($this)" jscontent= "getTypeRef($this)" jstcache="49"> Type</a> </span> <span jsdisplay="!getTypeRef ($this)" jstcache="48"> <span jsdisplay="isArray($this)" jstcache="50" style="di splay: none; "> array of <span jsselect="items" jstcache="52"><span transclude=" typeTemplate" jstcache="53"></span></span> </span> <span jsdisplay="!isArray($th is)" jscontent="getTypeName($this)" jstcache="51">integer</span> </span> </span> ) </div> </em> </dt> <dd class="todo" jsdisplay="!$this.description" jstcache=" 42"> Undocumented. </dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML: $this.description" jstcache="43" style="display: none; "> Description of this pa rameter from the json schema. </dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="sh ouldExpandObject($this)" jstcache="44" style="display: none; "> <dl jstcache="0" > <div jsselect="getPropertyListFromObject($this)" jstcache="10"> <div transclud e="valueTemplate" jstcache="17"> </div> </div> </dl> </dd> </div> </div><div jss elect="getPropertyListFromObject($this)" jstcache="10" jsinstance="3"> <div jstc ache="0"> <dt jstcache="0"> <var jsdisplay="$this.name" jscontent="$this.name" j stcache="45">width</var> <em jstcache="0"> <!-- TYPE --> <div style="display:inl ine" jstcache="0"> ( <span class="optional" jsdisplay="optional" jstcache="46" s tyle="">optional</span> <span id="typeTemplate" jstcache="0"> <span jsdisplay="g etTypeRef($this)" jstcache="47" style="display: none; "> <a jsvalues=".href: get TypeRefPage($this) + '#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="49"> Type</a> </span> <span jsdisplay="!getTypeRef($this)" jstcache=" 48"> <span jsdisplay="isArray($this)" jstcache="50" style="display: none; "> arr ay of <span jsselect="items" jstcache="52"><span transclude="typeTemplate" jstca che="53"></span></span> </span> <span jsdisplay="!isArray($this)" jscontent="get TypeName($this)" jstcache="51">integer</span> </span> </span> ) </div> </em> </d t> <dd class="todo" jsdisplay="!$this.description" jstcache="42"> Undocumented. </dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.description" jstcache="43" style="display: none; "> Description of this parameter from the js on schema. </dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="shouldExpandObject($t his)" jstcache="44" style="display: none; "> <dl jstcache="0"> <div jsselect="ge tPropertyListFromObject($this)" jstcache="10"> <div transclude="valueTemplate" j stcache="17"> </div> </div> </dl> </dd> </div> </div><div jsselect="getPropertyL istFromObject($this)" jstcache="10" jsinstance="*4"> <div jstcache="0"> <dt jstc ache="0"> <var jsdisplay="$this.name" jscontent="$this.name" jstcache="45">heigh t</var> <em jstcache="0"> <!-- TYPE --> <div style="display:inline" jstcache="0" > ( <span class="optional" jsdisplay="optional" jstcache="46" style="">optional< /span> <span id="typeTemplate" jstcache="0"> <span jsdisplay="getTypeRef($this)" jstcache="47" style="display: none; "> <a jsvalues=".href: getTypeRefPage($this ) + '#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="49"> T ype</a> </span> <span jsdisplay="!getTypeRef($this)" jstcache="48"> <span jsdisp lay="isArray($this)" jstcache="50" style="display: none; "> array of <span jssel ect="items" jstcache="52"><span transclude="typeTemplate" jstcache="53"></span>< /span> </span> <span jsdisplay="!isArray($this)" jscontent="getTypeName($this)" jstcache="51">integer</span> </span> </span> ) </div> </em> </dt> <dd class="tod o" jsdisplay="!$this.description" jstcache="42"> Undocumented. </dd> <dd jsdispl ay="$this.description" jsvalues=".innerHTML:$this.description" jstcache="43" sty le="display: none; "> Description of this parameter from the json schema. </dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="shouldExpandObject($this)" jstcache="4 4" style="display: none; "> <dl jstcache="0"> <div jsselect="getPropertyListFrom Object($this)" jstcache="10"> <div transclude="valueTemplate" jstcache="17"> </d iv> </div> </dl> </dd> </div> </div> </dl> </dd> </div> <!-- /VALUE --> </div><d iv jsselect="parameters" jstcache="35" jsinstance="*1"> <!-- VALUE: This is a su btemplate that is used elsewhere via jsTemplate *transclude* --> <div id="valueT emplate" jstcache="0"> <dt jstcache="0"> <var jsdisplay="$this.name" jscontent=" $this.name" jstcache="45">callback</var> <em jstcache="0"> <!-- TYPE --> <div st yle="display:inline" jstcache="0"> ( <span class="optional" jsdisplay="optional" jstcache="46">optional</span> <span id="typeTemplate" jstcache="0"> <span jsdis play="getTypeRef($this)" jstcache="47" style="display: none; "> <a jsvalues=".hr ef: getTypeRefPage($this) + '#type-' + getTypeRef($this)" jscontent="getTypeRef( $this)" jstcache="49"> Type</a> </span> <span jsdisplay="!getTypeRef($this)" jst cache="48"> <span jsdisplay="isArray($this)" jstcache="50" style="display: none; "> array of <span jsselect="items" jstcache="52"><span transclude="typeTemplate " jstcache="53"></span></span> </span> <span jsdisplay="!isArray($this)" jsconte nt="getTypeName($this)" jstcache="51">function</span> </span> </span> ) </div> < /em> </dt> <dd class="todo" jsdisplay="!$this.description" jstcache="42"> Undocu mented. </dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.descr iption" jstcache="43" style="display: none; "> Description of this parameter fro m the json schema. </dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="shouldExpandO bject($this)" jstcache="44" style="display: none; "> <dl jstcache="0"> <div jsse lect="getPropertyListFromObject($this)" jstcache="10"> <div transclude="valueTem plate" jstcache="17"> </div> </div> </dl> </dd> </div> <!-- /VALUE --> </div> </ dl> <!-- RETURNS --> <h4 jsdisplay="returns" jstcache="30" style="display: none; ">Returns</h4> <dl jstcache="0"> <div jsselect="returns" jstcache="36" style="d isplay: none; "> <div transclude="valueTemplate" jstcache="17"> </div> </div> </ dl> <!-- CALLBACK --> <div jsdisplay="hasCallback(parameters)" jstcache="31"> <div jsselect="getCallbackParameters(parameters)" jstcache="37"> <h4 jstcache=" 0">Callback function</h4> <p jstcache="0"> If you specify the <em jstcache="0">c allback</em> parameter, it should specify a function that looks like this: </p> <!-- Note: intentionally longer 80 columns --> <pre jstcache="0">function(<span jscontent="getSignatureString(parameters)" jstcache="32">Window window</span>) < span class="subdued" jstcache="0">{...}</span>);</pre> <dl jstcache="0"> <div js select="parameters" jstcache="35" jsinstance="*0"> <div jstcache="0"> <dt jstcac he="0"> <var jsdisplay="$this.name" jscontent="$this.name" jstcache="45">window< /var> <em jstcache="0"> <!-- TYPE --> <div style="display:inline" jstcache="0"> ( <span class="optional" jsdisplay="optional" jstcache="46" style="display: none ; ">optional</span> <span id="typeTemplate" jstcache="0"> <span jsdisplay="getTy peRef($this)" jstcache="47" style=""> <a jsvalues=".href: getTypeRefPage($this) + '#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="49" href ="windows.html#type-Window">Window</a> </span> <span jsdisplay="!getTypeRef($thi s)" jstcache="48" style="display: none; "> <span jsdisplay="isArray($this)" jstc ache="50" style="display: none; "> array of <span jsselect="items" jstcache="52" ><span transclude="typeTemplate" jstcache="53"></span></span> </span> <span jsdi splay="!isArray($this)" jscontent="getTypeName($this)" jstcache="51">integer</sp an> </span> </span> ) </div> </em> </dt> <dd class="todo" jsdisplay="!$this.desc ription" jstcache="42"> Undocumented. </dd> <dd jsdisplay="$this.description" js values=".innerHTML:$this.description" jstcache="43" style="display: none; "> Des cription of this parameter from the json schema. </dd> <!-- OBJECT PROPERTIES -- > <dd jsdisplay="shouldExpandObject($this)" jstcache="44" style="display: none; "> <dl jstcache="0"> <div jsselect="getPropertyListFromObject($this)" jstcache=" 10"> <div transclude="valueTemplate" jstcache="17"> </div> </div> </dl> </dd> </ div> </div> </dl> </div> </div> </div> <!-- /description --> </div><div class="a piItem" jsselect="functions" jstcache="11" jsinstance="5"> <a jsvalues=".name:'m ethod-' + name" jstcache="18" name="method-update"></a> <!-- method-anchor --> < h3 jscontent="name" jstcache="16">update</h3> <div class="summary" jstcache="0"> <span jsdisplay="returns" jscontent="getTypeName(returns)" jstcache="25" style=" display: none; ">void</span> <!-- Note: intentionally longer 80 columns --> <spa n jscontent="getFullyQualifiedFunctionName($this)" jstcache="26">chrome.windows. update</span>(<span jsselect="parameters" jsvalues="class:optional ? 'optional' : ''" jstcache="27" jsinstance="0" class="null"><span jsdisplay="$index" jstcach e="33" style="display: none; ">, </span><span jscontent="getTypeName($this)" jst cache="34">integer</span> <var jstcache="0"><span jscontent="name" jstcache="16" >windowId</span></var></span><span jsselect="parameters" jsvalues="class:optiona l ? 'optional' : ''" jstcache="27" jsinstance="1" class="null"><span jsdisplay=" $index" jstcache="33">, </span><span jscontent="getTypeName($this)" jstcache="34 ">object</span> <var jstcache="0"><span jscontent="name" jstcache="16">updateInf o</span></var></span><span jsselect="parameters" jsvalues="class:optional ? 'opt ional' : ''" jstcache="27" jsinstance="*2" class="optional"><span jsdisplay="$in dex" jstcache="33">, </span><span jscontent="getTypeName($this)" jstcache="34">f unction</span> <var jstcache="0"><span jscontent="name" jstcache="16">callback</ span></var></span>)</div> <div class="description" jstcache="0"> <p class="todo" jsdisplay="!description" jstcache="28">Undocumented.</p> <p jsdisplay="descript ion" jsvalues=".innerHTML:description" jstcache="29" style="display: none; "> A description from the json schema def of the function goes here. </p> <!-- PARAME TERS --> <h4 jstcache="0">Parameters</h4> <dl jstcache="0"> <div jsselect="param eters" jstcache="35" jsinstance="0"> <!-- VALUE: This is a subtemplate that is u sed elsewhere via jsTemplate *transclude* --> <div id="valueTemplate" jstcache=" 0"> <dt jstcache="0"> <var jsdisplay="$this.name" jscontent="$this.name" jstcach e="45">windowId</var> <em jstcache="0"> <!-- TYPE --> <div style="display:inline " jstcache="0"> ( <span class="optional" jsdisplay="optional" jstcache="46" styl e="display: none; ">optional</span> <span id="typeTemplate" jstcache="0"> <span jsdisplay="getTypeRef($this)" jstcache="47" style="display: none; "> <a jsvalues =".href: getTypeRefPage($this) + '#type-' + getTypeRef($this)" jscontent="getTyp eRef($this)" jstcache="49"> Type</a> </span> <span jsdisplay="!getTypeRef($this) " jstcache="48"> <span jsdisplay="isArray($this)" jstcache="50" style="display: none; "> array of <span jsselect="items" jstcache="52"><span transclude="typeTem plate" jstcache="53"></span></span> </span> <span jsdisplay="!isArray($this)" js content="getTypeName($this)" jstcache="51">integer</span> </span> </span> ) </di v> </em> </dt> <dd class="todo" jsdisplay="!$this.description" jstcache="42"> Un documented. </dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.d escription" jstcache="43" style="display: none; "> Description of this parameter from the json schema. </dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="shouldExp andObject($this)" jstcache="44" style="display: none; "> <dl jstcache="0"> <div jsselect="getPropertyListFromObject($this)" jstcache="10"> <div transclude="valu eTemplate" jstcache="17"> </div> </div> </dl> </dd> </div> <!-- /VALUE --> </div ><div jsselect="parameters" jstcache="35" jsinstance="1"> <!-- VALUE: This is a subtemplate that is used elsewhere via jsTemplate *transclude* --> <div id="valu eTemplate" jstcache="0"> <dt jstcache="0"> <var jsdisplay="$this.name" jscontent ="$this.name" jstcache="45">updateInfo</var> <em jstcache="0"> <!-- TYPE --> <di v style="display:inline" jstcache="0"> ( <span class="optional" jsdisplay="optio nal" jstcache="46" style="display: none; ">optional</span> <span id="typeTemplat e" jstcache="0"> <span jsdisplay="getTypeRef($this)" jstcache="47" style="displa y: none; "> <a jsvalues=".href: getTypeRefPage($this) + '#type-' + getTypeRef($t his)" jscontent="getTypeRef($this)" jstcache="49"> Type</a> </span> <span jsdisp lay="!getTypeRef($this)" jstcache="48"> <span jsdisplay="isArray($this)" jstcach e="50" style="display: none; "> array of <span jsselect="items" jstcache="52"><s pan transclude="typeTemplate" jstcache="53"></span></span> </span> <span jsdispl ay="!isArray($this)" jscontent="getTypeName($this)" jstcache="51">object</span> </span> </span> ) </div> </em> </dt> <dd class="todo" jsdisplay="!$this.descript ion" jstcache="42"> Undocumented. </dd> <dd jsdisplay="$this.description" jsvalu es=".innerHTML:$this.description" jstcache="43" style="display: none; "> Descrip tion of this parameter from the json schema. </dd> <!-- OBJECT PROPERTIES --> <d d jsdisplay="shouldExpandObject($this)" jstcache="44"> <dl jstcache="0"> <div js select="getPropertyListFromObject($this)" jstcache="10" jsinstance="0"> <div jst cache="0"> <dt jstcache="0"> <var jsdisplay="$this.name" jscontent="$this.name" jstcache="45">left</var> <em jstcache="0"> <!-- TYPE --> <div style="display:inl ine" jstcache="0"> ( <span class="optional" jsdisplay="optional" jstcache="46" s tyle="">optional</span> <span id="typeTemplate" jstcache="0"> <span jsdisplay="g etTypeRef($this)" jstcache="47" style="display: none; "> <a jsvalues=".href: get TypeRefPage($this) + '#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="49"> Type</a> </span> <span jsdisplay="!getTypeRef($this)" jstcache=" 48"> <span jsdisplay="isArray($this)" jstcache="50" style="display: none; "> arr ay of <span jsselect="items" jstcache="52"><span transclude="typeTemplate" jstca che="53"></span></span> </span> <span jsdisplay="!isArray($this)" jscontent="get TypeName($this)" jstcache="51">integer</span> </span> </span> ) </div> </em> </d t> <dd class="todo" jsdisplay="!$this.description" jstcache="42"> Undocumented. </dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.description" jstcache="43" style="display: none; "> Description of this parameter from the js on schema. </dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="shouldExpandObject($t his)" jstcache="44" style="display: none; "> <dl jstcache="0"> <div jsselect="ge tPropertyListFromObject($this)" jstcache="10"> <div transclude="valueTemplate" j stcache="17"> </div> </div> </dl> </dd> </div> </div><div jsselect="getPropertyL istFromObject($this)" jstcache="10" jsinstance="1"> <div jstcache="0"> <dt jstca che="0"> <var jsdisplay="$this.name" jscontent="$this.name" jstcache="45">top</v ar> <em jstcache="0"> <!-- TYPE --> <div style="display:inline" jstcache="0"> ( <span class="optional" jsdisplay="optional" jstcache="46" style="">optional</spa n> <span id="typeTemplate" jstcache="0"> <span jsdisplay="getTypeRef($this)" jst cache="47" style="display: none; "> <a jsvalues=".href: getTypeRefPage($this) + '#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="49"> Type< /a> </span> <span jsdisplay="!getTypeRef($this)" jstcache="48"> <span jsdisplay= "isArray($this)" jstcache="50" style="display: none; "> array of <span jsselect= "items" jstcache="52"><span transclude="typeTemplate" jstcache="53"></span></spa n> </span> <span jsdisplay="!isArray($this)" jscontent="getTypeName($this)" jstc ache="51">integer</span> </span> </span> ) </div> </em> </dt> <dd class="todo" j sdisplay="!$this.description" jstcache="42"> Undocumented. </dd> <dd jsdisplay=" $this.description" jsvalues=".innerHTML:$this.description" jstcache="43" style=" display: none; "> Description of this parameter from the json schema. </dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="shouldExpandObject($this)" jstcache="44" s tyle="display: none; "> <dl jstcache="0"> <div jsselect="getPropertyListFromObje ct($this)" jstcache="10"> <div transclude="valueTemplate" jstcache="17"> </div> </div> </dl> </dd> </div> </div><div jsselect="getPropertyListFromObject($this)" jstcache="10" jsinstance="2"> <div jstcache="0"> <dt jstcache="0"> <var jsdispl ay="$this.name" jscontent="$this.name" jstcache="45">width</var> <em jstcache="0 "> <!-- TYPE --> <div style="display:inline" jstcache="0"> ( <span class="option al" jsdisplay="optional" jstcache="46" style="">optional</span> <span id="typeTe mplate" jstcache="0"> <span jsdisplay="getTypeRef($this)" jstcache="47" style="d isplay: none; "> <a jsvalues=".href: getTypeRefPage($this) + '#type-' + getTypeR ef($this)" jscontent="getTypeRef($this)" jstcache="49"> Type</a> </span> <span j sdisplay="!getTypeRef($this)" jstcache="48"> <span jsdisplay="isArray($this)" js tcache="50" style="display: none; "> array of <span jsselect="items" jstcache="5 2"><span transclude="typeTemplate" jstcache="53"></span></span> </span> <span js display="!isArray($this)" jscontent="getTypeName($this)" jstcache="51">integer</ span> </span> </span> ) </div> </em> </dt> <dd class="todo" jsdisplay="!$this.de scription" jstcache="42"> Undocumented. </dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.description" jstcache="43" style="display: none; "> D escription of this parameter from the json schema. </dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="shouldExpandObject($this)" jstcache="44" style="display: none ; "> <dl jstcache="0"> <div jsselect="getPropertyListFromObject($this)" jstcache ="10"> <div transclude="valueTemplate" jstcache="17"> </div> </div> </dl> </dd> </div> </div><div jsselect="getPropertyListFromObject($this)" jstcache="10" jsin stance="*3"> <div jstcache="0"> <dt jstcache="0"> <var jsdisplay="$this.name" js content="$this.name" jstcache="45">height</var> <em jstcache="0"> <!-- TYPE --> <div style="display:inline" jstcache="0"> ( <span class="optional" jsdisplay="op tional" jstcache="46" style="">optional</span> <span id="typeTemplate" jstcache= "0"> <span jsdisplay="getTypeRef($this)" jstcache="47" style="display: none; "> <a jsvalues=".href: getTypeRefPage($this) + '#type-' + getTypeRef($this)" jscont ent="getTypeRef($this)" jstcache="49"> Type</a> </span> <span jsdisplay="!getTyp eRef($this)" jstcache="48"> <span jsdisplay="isArray($this)" jstcache="50" style ="display: none; "> array of <span jsselect="items" jstcache="52"><span transclu de="typeTemplate" jstcache="53"></span></span> </span> <span jsdisplay="!isArray ($this)" jscontent="getTypeName($this)" jstcache="51">integer</span> </span> </s pan> ) </div> </em> </dt> <dd class="todo" jsdisplay="!$this.description" jstcac he="42"> Undocumented. </dd> <dd jsdisplay="$this.description" jsvalues=".innerH TML:$this.description" jstcache="43" style="display: none; "> Description of thi s parameter from the json schema. </dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay ="shouldExpandObject($this)" jstcache="44" style="display: none; "> <dl jstcache ="0"> <div jsselect="getPropertyListFromObject($this)" jstcache="10"> <div trans clude="valueTemplate" jstcache="17"> </div> </div> </dl> </dd> </div> </div> </d l> </dd> </div> <!-- /VALUE --> </div><div jsselect="parameters" jstcache="35" j sinstance="*2"> <!-- VALUE: This is a subtemplate that is used elsewhere via jsT emplate *transclude* --> <div id="valueTemplate" jstcache="0"> <dt jstcache="0"> <var jsdisplay="$this.name" jscontent="$this.name" jstcache="45">callback</var> <em jstcache="0"> <!-- TYPE --> <div style="display:inline" jstcache="0"> ( <sp an class="optional" jsdisplay="optional" jstcache="46">optional</span> <span id= "typeTemplate" jstcache="0"> <span jsdisplay="getTypeRef($this)" jstcache="47" s tyle="display: none; "> <a jsvalues=".href: getTypeRefPage($this) + '#type-' + g etTypeRef($this)" jscontent="getTypeRef($this)" jstcache="49"> Type</a> </span> <span jsdisplay="!getTypeRef($this)" jstcache="48"> <span jsdisplay="isArray($th is)" jstcache="50" style="display: none; "> array of <span jsselect="items" jstc ache="52"><span transclude="typeTemplate" jstcache="53"></span></span> </span> < span jsdisplay="!isArray($this)" jscontent="getTypeName($this)" jstcache="51">fu nction</span> </span> </span> ) </div> </em> </dt> <dd class="todo" jsdisplay="! $this.description" jstcache="42"> Undocumented. </dd> <dd jsdisplay="$this.descr iption" jsvalues=".innerHTML:$this.description" jstcache="43" style="display: no ne; "> Description of this parameter from the json schema. </dd> <!-- OBJECT PRO PERTIES --> <dd jsdisplay="shouldExpandObject($this)" jstcache="44" style="displ ay: none; "> <dl jstcache="0"> <div jsselect="getPropertyListFromObject($this)" jstcache="10"> <div transclude="valueTemplate" jstcache="17"> </div> </div> </dl > </dd> </div> <!-- /VALUE --> </div> </dl> <!-- RETURNS --> <h4 jsdisplay="retu rns" jstcache="30" style="display: none; ">Returns</h4> <dl jstcache="0"> <div j sselect="returns" jstcache="36" style="display: none; "> <div transclude="valueT emplate" jstcache="17"> </div> </div> </dl> <!-- CALLBACK --> <div jsdisplay= "hasCallback(parameters)" jstcache="31"> <div jsselect="getCallbackParameters(pa rameters)" jstcache="37"> <h4 jstcache="0">Callback function</h4> <p jstcache="0 "> If you specify the <em jstcache="0">callback</em> parameter, it should specif y a function that looks like this: </p> <!-- Note: intentionally longer 80 colum ns --> <pre jstcache="0">function(<span jscontent="getSignatureString(parameters )" jstcache="32">Window window</span>) <span class="subdued" jstcache="0">{...}< /span>);</pre> <dl jstcache="0"> <div jsselect="parameters" jstcache="35" jsinst ance="*0"> <div jstcache="0"> <dt jstcache="0"> <var jsdisplay="$this.name" jsco ntent="$this.name" jstcache="45">window</var> <em jstcache="0"> <!-- TYPE --> <d iv style="display:inline" jstcache="0"> ( <span class="optional" jsdisplay="opti onal" jstcache="46" style="display: none; ">optional</span> <span id="typeTempla te" jstcache="0"> <span jsdisplay="getTypeRef($this)" jstcache="47" style=""> <a jsvalues=".href: getTypeRefPage($this) + '#type-' + getTypeRef($this)" jsconten t="getTypeRef($this)" jstcache="49" href="windows.html#type-Window">Window</a> < /span> <span jsdisplay="!getTypeRef($this)" jstcache="48" style="display: none; "> <span jsdisplay="isArray($this)" jstcache="50" style="display: none; "> array of <span jsselect="items" jstcache="52"><span transclude="typeTemplate" jstcach e="53"></span></span> </span> <span jsdisplay="!isArray($this)" jscontent="getTy peName($this)" jstcache="51">integer</span> </span> </span> ) </div> </em> </dt> <dd class="todo" jsdisplay="!$this.description" jstcache="42"> Undocumented. </ dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.description" js tcache="43" style="display: none; "> Description of this parameter from the json schema. </dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="shouldExpandObject($thi s)" jstcache="44" style="display: none; "> <dl jstcache="0"> <div jsselect="getP ropertyListFromObject($this)" jstcache="10"> <div transclude="valueTemplate" jst cache="17"> </div> </div> </dl> </dd> </div> </div> </dl> </div> </div> </div> < !-- /description --> </div><div class="apiItem" jsselect="functions" jstcache="1 1" jsinstance="*6"> <a jsvalues=".name:'method-' + name" jstcache="18" name="met hod-remove"></a> <!-- method-anchor --> <h3 jscontent="name" jstcache="16">remov e</h3> <div class="summary" jstcache="0"><span jsdisplay="returns" jscontent="ge tTypeName(returns)" jstcache="25" style="display: none; ">void</span> <!-- Note: intentionally longer 80 columns --> <span jscontent="getFullyQualifiedFunctionN ame($this)" jstcache="26">chrome.windows.remove</span>(<span jsselect="parameter s" jsvalues="class:optional ? 'optional' : ''" jstcache="27" jsinstance="0" clas s="null"><span jsdisplay="$index" jstcache="33" style="display: none; ">, </span ><span jscontent="getTypeName($this)" jstcache="34">integer</span> <var jstcache ="0"><span jscontent="name" jstcache="16">windowId</span></var></span><span jsse lect="parameters" jsvalues="class:optional ? 'optional' : ''" jstcache="27" jsin stance="*1" class="optional"><span jsdisplay="$index" jstcache="33">, </span><sp an jscontent="getTypeName($this)" jstcache="34">function</span> <var jstcache="0 "><span jscontent="name" jstcache="16">callback</span></var></span>)</div> <div class="description" jstcache="0"> <p class="todo" jsdisplay="!description" jstca che="28">Undocumented.</p> <p jsdisplay="description" jsvalues=".innerHTML:descr iption" jstcache="29" style="display: none; "> A description from the json schem a def of the function goes here. </p> <!-- PARAMETERS --> <h4 jstcache="0">Param eters</h4> <dl jstcache="0"> <div jsselect="parameters" jstcache="35" jsinstance ="0"> <!-- VALUE: This is a subtemplate that is used elsewhere via jsTemplate *t ransclude* --> <div id="valueTemplate" jstcache="0"> <dt jstcache="0"> <var jsdi splay="$this.name" jscontent="$this.name" jstcache="45">windowId</var> <em jstca che="0"> <!-- TYPE --> <div style="display:inline" jstcache="0"> ( <span class=" optional" jsdisplay="optional" jstcache="46" style="display: none; ">optional</s pan> <span id="typeTemplate" jstcache="0"> <span jsdisplay="getTypeRef($this)" j stcache="47" style="display: none; "> <a jsvalues=".href: getTypeRefPage($this) + '#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="49"> Typ e</a> </span> <span jsdisplay="!getTypeRef($this)" jstcache="48"> <span jsdispla y="isArray($this)" jstcache="50" style="display: none; "> array of <span jsselec t="items" jstcache="52"><span transclude="typeTemplate" jstcache="53"></span></s pan> </span> <span jsdisplay="!isArray($this)" jscontent="getTypeName($this)" js tcache="51">integer</span> </span> </span> ) </div> </em> </dt> <dd class="todo" jsdisplay="!$this.description" jstcache="42"> Undocumented. </dd> <dd jsdisplay ="$this.description" jsvalues=".innerHTML:$this.description" jstcache="43" style ="display: none; "> Description of this parameter from the json schema. </dd> <! -- OBJECT PROPERTIES --> <dd jsdisplay="shouldExpandObject($this)" jstcache="44" style="display: none; "> <dl jstcache="0"> <div jsselect="getPropertyListFromOb ject($this)" jstcache="10"> <div transclude="valueTemplate" jstcache="17"> </div > </div> </dl> </dd> </div> <!-- /VALUE --> </div><div jsselect="parameters" jst cache="35" jsinstance="*1"> <!-- VALUE: This is a subtemplate that is used elsew here via jsTemplate *transclude* --> <div id="valueTemplate" jstcache="0"> <dt j stcache="0"> <var jsdisplay="$this.name" jscontent="$this.name" jstcache="45">ca llback</var> <em jstcache="0"> <!-- TYPE --> <div style="display:inline" jstcach e="0"> ( <span class="optional" jsdisplay="optional" jstcache="46">optional</spa n> <span id="typeTemplate" jstcache="0"> <span jsdisplay="getTypeRef($this)" jst cache="47" style="display: none; "> <a jsvalues=".href: getTypeRefPage($this) + '#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="49"> Type< /a> </span> <span jsdisplay="!getTypeRef($this)" jstcache="48"> <span jsdisplay= "isArray($this)" jstcache="50" style="display: none; "> array of <span jsselect= "items" jstcache="52"><span transclude="typeTemplate" jstcache="53"></span></spa n> </span> <span jsdisplay="!isArray($this)" jscontent="getTypeName($this)" jstc ache="51">function</span> </span> </span> ) </div> </em> </dt> <dd class="todo" jsdisplay="!$this.description" jstcache="42"> Undocumented. </dd> <dd jsdisplay= "$this.description" jsvalues=".innerHTML:$this.description" jstcache="43" style= "display: none; "> Description of this parameter from the json schema. </dd> <!- - OBJECT PROPERTIES --> <dd jsdisplay="shouldExpandObject($this)" jstcache="44" style="display: none; "> <dl jstcache="0"> <div jsselect="getPropertyListFromObj ect($this)" jstcache="10"> <div transclude="valueTemplate" jstcache="17"> </div> </div> </dl> </dd> </div> <!-- /VALUE --> </div> </dl> <!-- RETURNS --> <h4 jsd isplay="returns" jstcache="30" style="display: none; ">Returns</h4> <dl jstcache ="0"> <div jsselect="returns" jstcache="36" style="display: none; "> <div transc lude="valueTemplate" jstcache="17"> </div> </div> </dl> <!-- CALLBACK --> <div jsdisplay="hasCallback(parameters)" jstcache="31"> <div jsselect="getCallb ackParameters(parameters)" jstcache="37"> <h4 jstcache="0">Callback function</h4 > <p jstcache="0"> If you specify the <em jstcache="0">callback</em> parameter, it should specify a function that looks like this: </p> <!-- Note: intentionally longer 80 columns --> <pre jstcache="0">function(<span jscontent="getSignatureS tring(parameters)" jstcache="32"></span>) <span class="subdued" jstcache="0">{.. .}</span>);</pre> <dl jstcache="0"> <div jsselect="parameters" jstcache="35" jsi nstance="*0" style="display: none; "> <div transclude="valueTemplate" jstcache=" 17"> </div> </div> </dl> </div> </div> </div> <!-- /description --> </div> <!-- /apiItem --> </div> <!-- /apiGroup --> <!-- EVENTS --> <div jsdisplay="events &a mp;&amp; events.length &gt; 0" class="apiGroup" jstcache="7"> <a name="#events" jstcache="0"></a> <h2 id="events" jstcache="0">Events</h2> <!-- iterates over al l events --> <div jsselect="events" class="apiItem" jstcache="12" jsinstance="0" > <a jsvalues=".name:'event-' + name" jstcache="19" name="event-onCreated"></a> <h3 jscontent="name" jstcache="16">onCreated</h3> <div class="summary" jstcache= "0"> <!-- Note: intentionally longer 80 columns --> <span jscontent="getModuleNa me() + '.'" class="subdued" jstcache="23">chrome.windows.</span><span jscontent= "name" jstcache="16">onCreated</span><span class="subdued" jstcache="0">.addList ener</span>(function(<span jscontent="getSignatureString(parameters)" jstcache=" 32">integer windowId</span>) <span class="subdued" jstcache="0">{...}</span>); < /div> <div class="description" jstcache="0"> <p class="todo" jsdisplay="!descrip tion" jstcache="28">Undocumented.</p> <p jsdisplay="description" jsvalues=".inne rHTML:description" jstcache="29" style="display: none; "> A description from the json schema def of the event goes here. </p> <!-- PARAMETERS --> <h4 jstcache=" 0">Parameters</h4> <dl jstcache="0"> <div jsselect="parameters" jstcache="35" js instance="*0"> <div jstcache="0"> <dt jstcache="0"> <var jsdisplay="$this.name" jscontent="$this.name" jstcache="45">windowId</var> <em jstcache="0"> <!-- TYPE --> <div style="display:inline" jstcache="0"> ( <span class="optional" jsdisplay ="optional" jstcache="46" style="display: none; ">optional</span> <span id="type Template" jstcache="0"> <span jsdisplay="getTypeRef($this)" jstcache="47" style= "display: none; "> <a jsvalues=".href: getTypeRefPage($this) + '#type-' + getTyp eRef($this)" jscontent="getTypeRef($this)" jstcache="49"> Type</a> </span> <span jsdisplay="!getTypeRef($this)" jstcache="48"> <span jsdisplay="isArray($this)" jstcache="50" style="display: none; "> array of <span jsselect="items" jstcache= "52"><span transclude="typeTemplate" jstcache="53"></span></span> </span> <span jsdisplay="!isArray($this)" jscontent="getTypeName($this)" jstcache="51">integer </span> </span> </span> ) </div> </em> </dt> <dd class="todo" jsdisplay="!$this. description" jstcache="42"> Undocumented. </dd> <dd jsdisplay="$this.description " jsvalues=".innerHTML:$this.description" jstcache="43" style="display: none; "> Description of this parameter from the json schema. </dd> <!-- OBJECT PROPERTIE S --> <dd jsdisplay="shouldExpandObject($this)" jstcache="44" style="display: no ne; "> <dl jstcache="0"> <div jsselect="getPropertyListFromObject($this)" jstcac he="10"> <div transclude="valueTemplate" jstcache="17"> </div> </div> </dl> </dd > </div> </div> </dl> </div> <!-- /decription --> </div><div jsselect="events" c lass="apiItem" jstcache="12" jsinstance="1"> <a jsvalues=".name:'event-' + name" jstcache="19" name="event-onRemoved"></a> <h3 jscontent="name" jstcache="16">on Removed</h3> <div class="summary" jstcache="0"> <!-- Note: intentionally longer 80 columns --> <span jscontent="getModuleName() + '.'" class="subdued" jstcache= "23">chrome.windows.</span><span jscontent="name" jstcache="16">onRemoved</span> <span class="subdued" jstcache="0">.addListener</span>(function(<span jscontent= "getSignatureString(parameters)" jstcache="32">integer windowId</span>) <span cl ass="subdued" jstcache="0">{...}</span>); </div> <div class="description" jstcac he="0"> <p class="todo" jsdisplay="!description" jstcache="28">Undocumented.</p> <p jsdisplay="description" jsvalues=".innerHTML:description" jstcache="29" styl e="display: none; "> A description from the json schema def of the event goes he re. </p> <!-- PARAMETERS --> <h4 jstcache="0">Parameters</h4> <dl jstcache="0"> <div jsselect="parameters" jstcache="35" jsinstance="*0"> <div jstcache="0"> <dt jstcache="0"> <var jsdisplay="$this.name" jscontent="$this.name" jstcache="45"> windowId</var> <em jstcache="0"> <!-- TYPE --> <div style="display:inline" jstca che="0"> ( <span class="optional" jsdisplay="optional" jstcache="46" style="disp lay: none; ">optional</span> <span id="typeTemplate" jstcache="0"> <span jsdispl ay="getTypeRef($this)" jstcache="47" style="display: none; "> <a jsvalues=".href : getTypeRefPage($this) + '#type-' + getTypeRef($this)" jscontent="getTypeRef($t his)" jstcache="49"> Type</a> </span> <span jsdisplay="!getTypeRef($this)" jstca che="48"> <span jsdisplay="isArray($this)" jstcache="50" style="display: none; " > array of <span jsselect="items" jstcache="52"><span transclude="typeTemplate" jstcache="53"></span></span> </span> <span jsdisplay="!isArray($this)" jscontent ="getTypeName($this)" jstcache="51">integer</span> </span> </span> ) </div> </em > </dt> <dd class="todo" jsdisplay="!$this.description" jstcache="42"> Undocumen ted. </dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.descript ion" jstcache="43" style="display: none; "> Description of this parameter from t he json schema. </dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="shouldExpandObje ct($this)" jstcache="44" style="display: none; "> <dl jstcache="0"> <div jsselec t="getPropertyListFromObject($this)" jstcache="10"> <div transclude="valueTempla te" jstcache="17"> </div> </div> </dl> </dd> </div> </div> </dl> </div> <!-- /de cription --> </div><div jsselect="events" class="apiItem" jstcache="12" jsinstan ce="*2"> <a jsvalues=".name:'event-' + name" jstcache="19" name="event-onFocusCh anged"></a> <h3 jscontent="name" jstcache="16">onFocusChanged</h3> <div class="s ummary" jstcache="0"> <!-- Note: intentionally longer 80 columns --> <span jscon tent="getModuleName() + '.'" class="subdued" jstcache="23">chrome.windows.</span ><span jscontent="name" jstcache="16">onFocusChanged</span><span class="subdued" jstcache="0">.addListener</span>(function(<span jscontent="getSignatureString(p arameters)" jstcache="32">integer windowId</span>) <span class="subdued" jstcach e="0">{...}</span>); </div> <div class="description" jstcache="0"> <p class="tod o" jsdisplay="!description" jstcache="28">Undocumented.</p> <p jsdisplay="descri ption" jsvalues=".innerHTML:description" jstcache="29" style="display: none; "> A description from the json schema def of the event goes here. </p> <!-- PARAMET ERS --> <h4 jstcache="0">Parameters</h4> <dl jstcache="0"> <div jsselect="parame ters" jstcache="35" jsinstance="*0"> <div jstcache="0"> <dt jstcache="0"> <var j sdisplay="$this.name" jscontent="$this.name" jstcache="45">windowId</var> <em js tcache="0"> <!-- TYPE --> <div style="display:inline" jstcache="0"> ( <span clas s="optional" jsdisplay="optional" jstcache="46" style="display: none; ">optional </span> <span id="typeTemplate" jstcache="0"> <span jsdisplay="getTypeRef($this) " jstcache="47" style="display: none; "> <a jsvalues=".href: getTypeRefPage($thi s) + '#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="49"> Type</a> </span> <span jsdisplay="!getTypeRef($this)" jstcache="48"> <span jsdis play="isArray($this)" jstcache="50" style="display: none; "> array of <span jsse lect="items" jstcache="52"><span transclude="typeTemplate" jstcache="53"></span> </span> </span> <span jsdisplay="!isArray($this)" jscontent="getTypeName($this)" jstcache="51">integer</span> </span> </span> ) </div> </em> </dt> <dd class="to do" jsdisplay="!$this.description" jstcache="42"> Undocumented. </dd> <dd jsdisp lay="$this.description" jsvalues=".innerHTML:$this.description" jstcache="43" st yle="display: none; "> Description of this parameter from the json schema. </dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="shouldExpandObject($this)" jstcache=" 44" style="display: none; "> <dl jstcache="0"> <div jsselect="getPropertyListFro mObject($this)" jstcache="10"> <div transclude="valueTemplate" jstcache="17"> </ div> </div> </dl> </dd> </div> </div> </dl> </div> <!-- /decription --> </div> < !-- /apiItem --> </div> <!-- /apiGroup --> <!-- TYPES --> <div jsdisplay="types &amp;&amp; types.length &gt; 0" class="apiGroup" jstcache="8"> <a name="#types" jstcache="0"></a> <h2 id="types" jstcache="0">Types</h2> <!-- iterates over all types --> <div jsselect="types" class="apiItem" jstcache="13" jsinstance="*0"> < a jsvalues=".name:'type-' + id" jstcache="20" name="type-Window"></a> <h3 jscont ent="id" jstcache="21">Window</h3> <div jstcache="0"> <dt jstcache="0"> <var jsd isplay="$this.name" jscontent="$this.name" jstcache="45" style="display: none; " >windowId</var> <em jstcache="0"> <!-- TYPE --> <div style="display:inline" jstc ache="0"> ( <span class="optional" jsdisplay="optional" jstcache="46" style="dis play: none; ">optional</span> <span id="typeTemplate" jstcache="0"> <span jsdisp lay="getTypeRef($this)" jstcache="47" style="display: none; "> <a jsvalues=".hre f: getTypeRefPage($this) + '#type-' + getTypeRef($this)" jscontent="getTypeRef($ this)" jstcache="49"> Type</a> </span> <span jsdisplay="!getTypeRef($this)" jstc ache="48"> <span jsdisplay="isArray($this)" jstcache="50" style="display: none; "> array of <span jsselect="items" jstcache="52"><span transclude="typeTemplate" jstcache="53"></span></span> </span> <span jsdisplay="!isArray($this)" jsconten t="getTypeName($this)" jstcache="51">object</span> </span> </span> ) </div> </em > </dt> <dd class="todo" jsdisplay="!$this.description" jstcache="42"> Undocumen ted. </dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.descript ion" jstcache="43" style="display: none; "> Description of this parameter from t he json schema. </dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="shouldExpandObje ct($this)" jstcache="44" style=""> <dl jstcache="0"> <div jsselect="getPropertyL istFromObject($this)" jstcache="10" jsinstance="0"> <div jstcache="0"> <dt jstca che="0"> <var jsdisplay="$this.name" jscontent="$this.name" jstcache="45">id</va r> <em jstcache="0"> <!-- TYPE --> <div style="display:inline" jstcache="0"> ( < span class="optional" jsdisplay="optional" jstcache="46" style="display: none; " >optional</span> <span id="typeTemplate" jstcache="0"> <span jsdisplay="getTypeR ef($this)" jstcache="47" style="display: none; "> <a jsvalues=".href: getTypeRef Page($this) + '#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcac he="49"> Type</a> </span> <span jsdisplay="!getTypeRef($this)" jstcache="48"> <s pan jsdisplay="isArray($this)" jstcache="50" style="display: none; "> array of < span jsselect="items" jstcache="52"><span transclude="typeTemplate" jstcache="53 "></span></span> </span> <span jsdisplay="!isArray($this)" jscontent="getTypeNam e($this)" jstcache="51">integer</span> </span> </span> ) </div> </em> </dt> <dd class="todo" jsdisplay="!$this.description" jstcache="42"> Undocumented. </dd> < dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.description" jstcach e="43" style="display: none; "> Description of this parameter from the json sche ma. </dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="shouldExpandObject($this)" j stcache="44" style="display: none; "> <dl jstcache="0"> <div jsselect="getProper tyListFromObject($this)" jstcache="10"> <div transclude="valueTemplate" jstcache ="17"> </div> </div> </dl> </dd> </div> </div><div jsselect="getPropertyListFrom Object($this)" jstcache="10" jsinstance="1"> <div jstcache="0"> <dt jstcache="0" > <var jsdisplay="$this.name" jscontent="$this.name" jstcache="45">focused</var> <em jstcache="0"> <!-- TYPE --> <div style="display:inline" jstcache="0"> ( <sp an class="optional" jsdisplay="optional" jstcache="46" style="display: none; ">o ptional</span> <span id="typeTemplate" jstcache="0"> <span jsdisplay="getTypeRef ($this)" jstcache="47" style="display: none; "> <a jsvalues=".href: getTypeRefPa ge($this) + '#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache ="49"> Type</a> </span> <span jsdisplay="!getTypeRef($this)" jstcache="48"> <spa n jsdisplay="isArray($this)" jstcache="50" style="display: none; "> array of <sp an jsselect="items" jstcache="52"><span transclude="typeTemplate" jstcache="53"> </span></span> </span> <span jsdisplay="!isArray($this)" jscontent="getTypeName( $this)" jstcache="51">boolean</span> </span> </span> ) </div> </em> </dt> <dd cl ass="todo" jsdisplay="!$this.description" jstcache="42"> Undocumented. </dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.description" jstcache= "43" style="display: none; "> Description of this parameter from the json schema . </dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="shouldExpandObject($this)" jst cache="44" style="display: none; "> <dl jstcache="0"> <div jsselect="getProperty ListFromObject($this)" jstcache="10"> <div transclude="valueTemplate" jstcache=" 17"> </div> </div> </dl> </dd> </div> </div><div jsselect="getPropertyListFromOb ject($this)" jstcache="10" jsinstance="2"> <div jstcache="0"> <dt jstcache="0"> <var jsdisplay="$this.name" jscontent="$this.name" jstcache="45">top</var> <em j stcache="0"> <!-- TYPE --> <div style="display:inline" jstcache="0"> ( <span cla ss="optional" jsdisplay="optional" jstcache="46" style="display: none; ">optiona l</span> <span id="typeTemplate" jstcache="0"> <span jsdisplay="getTypeRef($this )" jstcache="47" style="display: none; "> <a jsvalues=".href: getTypeRefPage($th is) + '#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="49"> Type</a> </span> <span jsdisplay="!getTypeRef($this)" jstcache="48"> <span jsdi splay="isArray($this)" jstcache="50" style="display: none; "> array of <span jss elect="items" jstcache="52"><span transclude="typeTemplate" jstcache="53"></span ></span> </span> <span jsdisplay="!isArray($this)" jscontent="getTypeName($this) " jstcache="51">integer</span> </span> </span> ) </div> </em> </dt> <dd class="t odo" jsdisplay="!$this.description" jstcache="42"> Undocumented. </dd> <dd jsdis play="$this.description" jsvalues=".innerHTML:$this.description" jstcache="43" s tyle="display: none; "> Description of this parameter from the json schema. </dd > <!-- OBJECT PROPERTIES --> <dd jsdisplay="shouldExpandObject($this)" jstcache= "44" style="display: none; "> <dl jstcache="0"> <div jsselect="getPropertyListFr omObject($this)" jstcache="10"> <div transclude="valueTemplate" jstcache="17"> < /div> </div> </dl> </dd> </div> </div><div jsselect="getPropertyListFromObject($ this)" jstcache="10" jsinstance="3"> <div jstcache="0"> <dt jstcache="0"> <var j sdisplay="$this.name" jscontent="$this.name" jstcache="45">left</var> <em jstcac he="0"> <!-- TYPE --> <div style="display:inline" jstcache="0"> ( <span class="o ptional" jsdisplay="optional" jstcache="46" style="display: none; ">optional</sp an> <span id="typeTemplate" jstcache="0"> <span jsdisplay="getTypeRef($this)" js tcache="47" style="display: none; "> <a jsvalues=".href: getTypeRefPage($this) + '#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="49"> Type </a> </span> <span jsdisplay="!getTypeRef($this)" jstcache="48"> <span jsdisplay ="isArray($this)" jstcache="50" style="display: none; "> array of <span jsselect ="items" jstcache="52"><span transclude="typeTemplate" jstcache="53"></span></sp an> </span> <span jsdisplay="!isArray($this)" jscontent="getTypeName($this)" jst cache="51">integer</span> </span> </span> ) </div> </em> </dt> <dd class="todo" jsdisplay="!$this.description" jstcache="42"> Undocumented. </dd> <dd jsdisplay= "$this.description" jsvalues=".innerHTML:$this.description" jstcache="43" style= "display: none; "> Description of this parameter from the json schema. </dd> <!- - OBJECT PROPERTIES --> <dd jsdisplay="shouldExpandObject($this)" jstcache="44" style="display: none; "> <dl jstcache="0"> <div jsselect="getPropertyListFromObj ect($this)" jstcache="10"> <div transclude="valueTemplate" jstcache="17"> </div> </div> </dl> </dd> </div> </div><div jsselect="getPropertyListFromObject($this) " jstcache="10" jsinstance="4"> <div jstcache="0"> <dt jstcache="0"> <var jsdisp lay="$this.name" jscontent="$this.name" jstcache="45">width</var> <em jstcache=" 0"> <!-- TYPE --> <div style="display:inline" jstcache="0"> ( <span class="optio nal" jsdisplay="optional" jstcache="46" style="display: none; ">optional</span> <span id="typeTemplate" jstcache="0"> <span jsdisplay="getTypeRef($this)" jstcac he="47" style="display: none; "> <a jsvalues=".href: getTypeRefPage($this) + '#t ype-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="49"> Type</a> </span> <span jsdisplay="!getTypeRef($this)" jstcache="48"> <span jsdisplay="is Array($this)" jstcache="50" style="display: none; "> array of <span jsselect="it ems" jstcache="52"><span transclude="typeTemplate" jstcache="53"></span></span> </span> <span jsdisplay="!isArray($this)" jscontent="getTypeName($this)" jstcach e="51">integer</span> </span> </span> ) </div> </em> </dt> <dd class="todo" jsdi splay="!$this.description" jstcache="42"> Undocumented. </dd> <dd jsdisplay="$th is.description" jsvalues=".innerHTML:$this.description" jstcache="43" style="dis play: none; "> Description of this parameter from the json schema. </dd> <!-- OB JECT PROPERTIES --> <dd jsdisplay="shouldExpandObject($this)" jstcache="44" styl e="display: none; "> <dl jstcache="0"> <div jsselect="getPropertyListFromObject( $this)" jstcache="10"> <div transclude="valueTemplate" jstcache="17"> </div> </d iv> </dl> </dd> </div> </div><div jsselect="getPropertyListFromObject($this)" js tcache="10" jsinstance="5"> <div jstcache="0"> <dt jstcache="0"> <var jsdisplay= "$this.name" jscontent="$this.name" jstcache="45">height</var> <em jstcache="0"> <!-- TYPE --> <div style="display:inline" jstcache="0"> ( <span class="optional " jsdisplay="optional" jstcache="46" style="display: none; ">optional</span> <sp an id="typeTemplate" jstcache="0"> <span jsdisplay="getTypeRef($this)" jstcache= "47" style="display: none; "> <a jsvalues=".href: getTypeRefPage($this) + '#type -' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="49"> Type</a> </ span> <span jsdisplay="!getTypeRef($this)" jstcache="48"> <span jsdisplay="isArr ay($this)" jstcache="50" style="display: none; "> array of <span jsselect="items " jstcache="52"><span transclude="typeTemplate" jstcache="53"></span></span> </s pan> <span jsdisplay="!isArray($this)" jscontent="getTypeName($this)" jstcache=" 51">integer</span> </span> </span> ) </div> </em> </dt> <dd class="todo" jsdispl ay="!$this.description" jstcache="42"> Undocumented. </dd> <dd jsdisplay="$this. description" jsvalues=".innerHTML:$this.description" jstcache="43" style="displa y: none; "> Description of this parameter from the json schema. </dd> <!-- OBJEC T PROPERTIES --> <dd jsdisplay="shouldExpandObject($this)" jstcache="44" style=" display: none; "> <dl jstcache="0"> <div jsselect="getPropertyListFromObject($th is)" jstcache="10"> <div transclude="valueTemplate" jstcache="17"> </div> </div> </dl> </dd> </div> </div><div jsselect="getPropertyListFromObject($this)" jstca che="10" jsinstance="*6"> <div jstcache="0"> <dt jstcache="0"> <var jsdisplay="$ this.name" jscontent="$this.name" jstcache="45">tabs</var> <em jstcache="0"> <!- - TYPE --> <div style="display:inline" jstcache="0"> ( <span class="optional" js display="optional" jstcache="46" style="">optional</span> <span id="typeTemplate " jstcache="0"> <span jsdisplay="getTypeRef($this)" jstcache="47" style="display : none; "> <a jsvalues=".href: getTypeRefPage($this) + '#type-' + getTypeRef($th is)" jscontent="getTypeRef($this)" jstcache="49"> Type</a> </span> <span jsdispl ay="!getTypeRef($this)" jstcache="48"> <span jsdisplay="isArray($this)" jstcache ="50" style=""> array of <span jsselect="items" jstcache="52"><span jstcache="0" > <span jsdisplay="getTypeRef($this)" jstcache="47" style=""> <a jsvalues=".href : getTypeRefPage($this) + '#type-' + getTypeRef($this)" jscontent="getTypeRef($t his)" jstcache="49" href="tabs.html#type-Tab">Tab</a> </span> <span jsdisplay="! getTypeRef($this)" jstcache="48" style="display: none; "> <span jsdisplay="isArr ay($this)" jstcache="50" style="display: none; "> array of <span jsselect="items " jstcache="52"><span transclude="typeTemplate" jstcache="53"></span></span> </s pan> <span jsdisplay="!isArray($this)" jscontent="getTypeName($this)" jstcache=" 51">integer</span> </span> </span></span> </span> <span jsdisplay="!isArray($thi s)" jscontent="getTypeName($this)" jstcache="51" style="display: none; ">integer </span> </span> </span> ) </div> </em> </dt> <dd class="todo" jsdisplay="!$this. description" jstcache="42"> Undocumented. </dd> <dd jsdisplay="$this.description " jsvalues=".innerHTML:$this.description" jstcache="43" style="display: none; "> Description of this parameter from the json schema. </dd> <!-- OBJECT PROPERTIE S --> <dd jsdisplay="shouldExpandObject($this)" jstcache="44" style="display: no ne; "> <dl jstcache="0"> <div jsselect="getPropertyListFromObject($this)" jstcac he="10"> <div transclude="valueTemplate" jstcache="17"> </div> </div> </dl> </dd > </div> </div> </dl> </dd> </div> </div> <!-- /apiItem --> </div> <!-- /apiGrou p --> </div> <!-- /apiPage --> </div> <!-- /mainColumn --> </div> <!-- /pageCont ent --> <div id="pageFooter" --="" jstcache="0"> Copyright 2009. For terms of us e, see the Chromium <a href="http://src.chromium.org/viewvc/chrome/trunk/src/LIC ENSE" jstcache="0">license</a>. </div> <!-- /pageFooter --> </div> <!-- /contain er --> </body></html>
OLDNEW
« no previous file with comments | « chrome/common/extensions/docs/tabs.html ('k') | chrome/renderer/extensions/bindings_utils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698