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

Side by Side Diff: chrome/common/extensions/docs/bookmarks.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
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.bookmarks API Reference</h1> </div> </div> <!-- /pageHeader --> <div id="pageContent" jstcache="0"> <!-- SIDENAV --> <div id="l eftNav" jstcache="0"> <ul jstcache="0"> <li jstcache="0"> <a href="index.html" j stcache="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">O verview</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=" toolstrip.html" jstcache="0">Toolstrips</a></li> <li jstcache="0"><a href="pageA ctions.html" jstcache="0">Page Actions</a></li> <li jstcache="0"><a href="backgr ound_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"><a href="windows. html" jstcache="0">Windows</a></li> <li jstcache="0" class="leftNavSelected">Boo kmarks</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"> <a jscontent="name" jsvalues=".href:'#' + href" jstca che="14" href="#H2-0">Description</a> <ol jstcache="0"> <li jsselect="$this.chil dren" jstcache="22" jsinstance="0"> <a jscontent="name" jsvalues=".href:'#' + hr ef" jstcache="14" href="#H3-1">Properties</a> </li><li jsselect="$this.children" jstcache="22" jsinstance="*1"> <a jscontent="name" jsvalues=".href:'#' + href" jstcache="14" href="#H3-2">Examples</a> </li> </ol> </li> <div jsselect="apiDefi nition" jstcache="4"> <li jsdisplay="$this.properties" jstcache="5" style="displ ay: none; "> <a href="#properties" jstcache="0">Properties</a> <ol jstcache="0"> <li jsselect="getPropertyListFromObject($this)" jstcache="10"> <a jscontent="na me" jsvalues=".href:'#property-' + name" href="#property-anchor" jstcache="38">p ropertyName</a> </li> </ol> </li> <li jsdisplay="functions &amp;&amp; functions. length &gt; 0" jstcache="6"> <a href="#methods" jstcache="0">Methods</a> <ol jst cache="0"> <li jsselect="functions" jstcache="11" jsinstance="0"> <a jscontent=" name" jsvalues=".href:'#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-getChildren" jstcache="39">ge tChildren</a> </li><li jsselect="functions" jstcache="11" jsinstance="2"> <a jsc ontent="name" jsvalues=".href:'#method-' + name" href="#method-getTree" jstcache ="39">getTree</a> </li><li jsselect="functions" jstcache="11" jsinstance="3"> <a jscontent="name" jsvalues=".href:'#method-' + name" href="#method-search" jstca che="39">search</a> </li><li jsselect="functions" jstcache="11" jsinstance="4"> <a jscontent="name" jsvalues=".href:'#method-' + name" href="#method-create" jst cache="39">create</a> </li><li jsselect="functions" jstcache="11" jsinstance="5" > <a jscontent="name" jsvalues=".href:'#method-' + name" href="#method-move" jst cache="39">move</a> </li><li jsselect="functions" jstcache="11" jsinstance="6"> <a jscontent="name" jsvalues=".href:'#method-' + name" href="#method-update" jst cache="39">update</a> </li><li jsselect="functions" jstcache="11" jsinstance="7" > <a jscontent="name" jsvalues=".href:'#method-' + name" href="#method-remove" j stcache="39">remove</a> </li><li jsselect="functions" jstcache="11" jsinstance=" *8"> <a jscontent="name" jsvalues=".href:'#method-' + name" href="#method-remove Tree" jstcache="39">removeTree</a> </li> </ol> </li> <li jsdisplay="events &amp; &amp; events.length &gt; 0" jstcache="7"> <a href="#events" jstcache="0">Events< /a> <ol jstcache="0"> <li jsselect="events" jstcache="12" jsinstance="0"> <a jsc ontent="name" jsvalues=".href:'#event-' + name" href="#event-onAdded" jstcache=" 40">onAdded</a> </li><li jsselect="events" jstcache="12" jsinstance="1"> <a jsco ntent="name" jsvalues=".href:'#event-' + name" href="#event-onRemoved" jstcache= "40">onRemoved</a> </li><li jsselect="events" jstcache="12" jsinstance="2"> <a j scontent="name" jsvalues=".href:'#event-' + name" href="#event-onChanged" jstcac he="40">onChanged</a> </li><li jsselect="events" jstcache="12" jsinstance="3"> < a jscontent="name" jsvalues=".href:'#event-' + name" href="#event-onMoved" jstca che="40">onMoved</a> </li><li jsselect="events" jstcache="12" jsinstance="*4"> < a jscontent="name" jsvalues=".href:'#event-' + name" href="#event-onChildrenReor dered" jstcache="40">onChildrenReordered</a> </li> </ol> </li> <li jsdisplay="ty pes &amp;&amp; types.length &gt; 0" jstcache="8"> <a href="#types" jstcache="0"> Types</a> <ol jstcache="0"> <li jsselect="types" jstcache="13" jsinstance="*0"> <a jscontent="id" jsvalues=".href:'#type-' + id" href="#type-BookmarkTreeNode" j stcache="41">BookmarkTreeNode</a> </li> </ol> </li> </div> </ol> </div> <!-- /TA BLE OF CONTENTS --> <!-- STATIC CONTENT PLACEHOLDER --> <div id="static" jstcach e="0"><!-- BEGIN AUTHORED CONTENT --> <p id="classSummary" jstcache="0"> Use the <code jstcache="0">chrome.bookmarks</code> API to create, organize, and otherwi se manipulate bookmarks. </p> <a name="H2-0" jstcache="0"></a><h2 id="descriptio n" jstcache="0">Description</h2> <p jstcache="0"> [PENDING: intro goes here...] </p> <p jstcache="0"> <em jstcache="0">Bookmark objects</em> are an important pa rt of the <code jstcache="0">chrome.bookmarks</code> API. Each bookmark object r epresents either a URL or a group of bookmarks, as you can see in the following figure. </p> <img alt="2 kinds of bookmark objects" width="415" height="123" src ="images/bookmarks.png" jstcache="0"> <a name="H3-1" jstcache="0"></a><h3 id="ov erview-properties" jstcache="0">Properties</h3> <p jstcache="0">Objects that rep resent bookmarks can have the following properties: </p> <dl jstcache="0"> <dt j stcache="0"> <code jstcache="0">id</code> </dt> <dd jstcache="0"> An integer ID that's unique for each bookmark. Don't save this ID in persistent storage; the I D for a particular bookmark might change the next time the browser is started. < /dd> <dt jstcache="0"> <code jstcache="0">title</code> </dt> <dd jstcache="0"> T he name of the bookmark. This is the user-visible string that describes the URL or group. </dd> <dt jstcache="0"> <code jstcache="0">parentId </code> <em jstcac he="0">(omitted for the root group)</em> </dt> <dd jstcache="0"> The ID of the g roup that this bookmark is in. </dd> <dt jstcache="0"> <code jstcache="0">index< /code> <em jstcache="0">(optional; omitted for the root group)</em> </dt> <dd js tcache="0"> The 0-based integer position of the bookmark within its group. </dd> <dt jstcache="0"> <code jstcache="0">url</code> <em jstcache="0">(omitted for g roups)</em> </dt> <dd jstcache="0"> The URL of the page that the bookmark points to. </dd> </dl> <a name="H3-2" jstcache="0"></a><h3 id="overview-examples" jstc ache="0">Examples</h3> <p jstcache="0"> The following code creates a bookmark gr oup with the title "Chromium bookmarks". The last argument defines a function to be executed after the folder is created. </p> <pre jstcache="0">chrome.bookmark s.create({'parentId': bookmarkBar.id, 'title': 'Chromium bookmarks'}, function(n ewFolder) {...}); </pre> <p jstcache="0"> The next snippet creates a bookmark po inting to the Chromium developer doc. Since nothing too bad will happen if creat ing the bookmark fails, this snippet doesn't bother to define a callback functio n. </p> <pre jstcache="0">chrome.bookmarks.create({'parentId': chromiumBookmarks .id, 'title': 'dev doc', 'url': 'http://dev.chromium.org'}); </pre> <p jstcache= "0"> Say you have bookmark hierarchy that looks like this:</p> <ul jstcache="0"> <li jstcache="0">Bookmarks</li> <ul jstcache="0"> <li jstcache="0">Google</li> <ul jstcache="0"> <li jstcache="0">Apps</li> <ul jstcache="0"> <li jstcache="0"> ...</li> <li jstcache="0">...</li> <li jstcache="0">...</li> </ul> <li jstcache= "0">Google homepage</li> </ul> <li jstcache="0">Example</li> </ul> </ul> <p jstc ache="0"> Here's how those bookmarks might be represented with bookmark objects: </p> <img alt="a hierarchy of bookmarks" width="522" height="594" src="images/bo okmarks-hierarchy.png" jstcache="0"> <p jstcache="0"> Here's some code you could use to create that hierarchy:</p> <pre class="example" jstcache="0">...code goe s here... </pre> <div class="exampleLink" jstcache="0"> <a href="http://www.goog le.com/url?q=http%3A%2F%2Fexample.com&amp;sa=D&amp;sntz=1&amp;usg=AFrqEzd0oeJ1qG wYPoKuq1dTesEchMDLIQ" jstcache="0">Full source code</a> | <a href="http://www.go ogle.com/url?q=http%3A%2F%2Fexample.com&amp;sa=D&amp;sntz=1&amp;usg=AFrqEzd0oeJ1 qGwYPoKuq1dTesEchMDLIQ" jstcache="0">Install extension</a> </div> <!-- END examp leLink --> <!-- END AUTHORED CONTENT --> </div> <!-- API PAGE --> <div class="ap iPage" jsselect="apiDefinition" jstcache="4"> <!-- PROPERTIES --> <div jsdisplay ="$this.properties" class="apiGroup" jstcache="5" style="display: none; "> <a na me="#properties" jstcache="0"></a> <h2 id="properties" jstcache="0">Properties</ h2> <div jsselect="getPropertyListFromObject($this)" jstcache="10"> <a jsvalues= ".name:'property-' + name" jstcache="15"></a> <h3 jscontent="name" jstcache="16" >getLastError</h3> <div class="summary" jstcache="0"> <!-- Note: intentionally l onger 80 columns --> <span jscontent="getModuleName() + '.'" jstcache="23">chrom e.extension</span><span jscontent="$this.name" jstcache="24">lastError</span> </ div> <div transclude="valueTemplate" jstcache="17"> </div> </div> </div> <!-- /a piGroup --> <!-- METHODS --> <div jsdisplay="functions &amp;&amp; functions.leng th &gt; 0" class="apiGroup" id="methods" jstcache="6"> <a name="#methods" jstcac he="0"></a> <h2 jstcache="0">Methods</h2> <!-- iterates over all functions --> < div class="apiItem" jsselect="functions" jstcache="11" jsinstance="0"> <a jsvalu es=".name:'method-' + name" jstcache="18" name="method-get"></a> <!-- method-anc hor --> <h3 jscontent="name" jstcache="16">get</h3> <div class="summary" jstcach e="0"><span jsdisplay="returns" jscontent="getTypeName(returns)" jstcache="25" s tyle="display: none; ">void</span> <!-- Note: intentionally longer 80 columns -- > <span jscontent="getFullyQualifiedFunctionName($this)" jstcache="26">chrome.bo okmarks.get</span>(<span jsselect="parameters" jsvalues="class:optional ? 'optio nal' : ''" jstcache="27" jsinstance="0" class="null"><span jsdisplay="$index" js tcache="33" style="display: none; ">, </span><span jscontent="getTypeName($this) " jstcache="34">string or array of string</span> <var jstcache="0"><span jsconte nt="name" jstcache="16">idOrIdList</span></var></span><span jsselect="parameters " jsvalues="class:optional ? 'optional' : ''" jstcache="27" jsinstance="*1" clas s="null"><span jsdisplay="$index" jstcache="33">, </span><span jscontent="getTyp eName($this)" jstcache="34">function</span> <var jstcache="0"><span jscontent="n ame" jstcache="16">callback</span></var></span>)</div> <div class="description" jstcache="0"> <p class="todo" jsdisplay="!description" jstcache="28" style="disp lay: none; ">Undocumented.</p> <p jsdisplay="description" jsvalues=".innerHTML:d escription" jstcache="29">Retrieves the specified BookmarkTreeNode(s).</p> <!-- PARAMETERS --> <h4 jstcache="0">Parameters</h4> <dl jstcache="0"> <div jsselect= "parameters" jstcache="35" jsinstance="0"> <!-- VALUE: This is a subtemplate tha t is used elsewhere via jsTemplate *transclude* --> <div id="valueTemplate" jstc ache="0"> <dt jstcache="0"> <var jsdisplay="$this.name" jscontent="$this.name" j stcache="45">idOrIdList</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">string or array of string</sp an> </span> </span> ) </div> </em> </dt> <dd class="todo" jsdisplay="!$this.desc ription" jstcache="42" style="display: none; "> Undocumented. </dd> <dd jsdispla y="$this.description" jsvalues=".innerHTML:$this.description" jstcache="43">A si ngle string-valued id, or an array of string-valued ids</dd> <!-- OBJECT PROPERT IES --> <dd jsdisplay="shouldExpandObject($this)" jstcache="44" style="display: none; "> <dl jstcache="0"> <div jsselect="getPropertyListFromObject($this)" jstc ache="10"> <div transclude="valueTemplate" jstcache="17"> </div> </div> </dl> </ dd> </div> <!-- /VALUE --> </div><div jsselect="parameters" jstcache="35" jsinst ance="*1"> <!-- VALUE: This is a subtemplate that is used elsewhere via jsTempla te *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 cl ass="optional" jsdisplay="optional" jstcache="46" style="display: none; ">option al</span> <span id="typeTemplate" jstcache="0"> <span jsdisplay="getTypeRef($thi s)" jstcache="47" style="display: none; "> <a jsvalues=".href: getTypeRefPage($t his) + '#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="49" > Type</a> </span> <span jsdisplay="!getTypeRef($this)" jstcache="48"> <span jsd isplay="isArray($this)" jstcache="50" style="display: none; "> array of <span js select="items" jstcache="52"><span transclude="typeTemplate" jstcache="53"></spa n></span> </span> <span jsdisplay="!isArray($this)" jscontent="getTypeName($this )" jstcache="51">function</span> </span> </span> ) </div> </em> </dt> <dd class= "todo" jsdisplay="!$this.description" jstcache="42"> Undocumented. </dd> <dd jsd isplay="$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)" jstcach e="44" style="display: none; "> <dl jstcache="0"> <div jsselect="getPropertyList FromObject($this)" jstcache="10"> <div transclude="valueTemplate" jstcache="17"> </div> </div> </dl> </dd> </div> <!-- /VALUE --> </div> </dl> <!-- RETURNS --> <h4 jsdisplay="returns" jstcache="30" style="display: none; ">Returns</h4> <dl j stcache="0"> <div jsselect="returns" jstcache="36" style="display: none; "> <div transclude="valueTemplate" jstcache="17"> </div> </div> </dl> <!-- CALLBACK --> <div jsdisplay="hasCallback(parameters)" jstcache="31"> <div jsselect=" getCallbackParameters(parameters)" jstcache="37"> <h4 jstcache="0">Callback func tion</h4> <p jstcache="0"> If you specify the <em jstcache="0">callback</em> par ameter, it should specify a function that looks like this: </p> <!-- Note: inten tionally longer 80 columns --> <pre jstcache="0">function(<span jscontent="getSi gnatureString(parameters)" jstcache="32">array of BookmarkTreeNode results</span >) <span class="subdued" jstcache="0">{...}</span>);</pre> <dl jstcache="0"> <di v jsselect="parameters" jstcache="35" jsinstance="*0"> <div jstcache="0"> <dt js tcache="0"> <var jsdisplay="$this.name" jscontent="$this.name" jstcache="45">res ults</var> <em jstcache="0"> <!-- TYPE --> <div style="display:inline" jstcache= "0"> ( <span class="optional" jsdisplay="optional" jstcache="46" style="display: none; ">optional</span> <span id="typeTemplate" jstcache="0"> <span jsdisplay=" getTypeRef($this)" jstcache="47" style="display: none; "> <a jsvalues=".href: ge tTypeRefPage($this) + '#type-' + getTypeRef($this)" jscontent="getTypeRef($this) " jstcache="49"> Type</a> </span> <span jsdisplay="!getTypeRef($this)" jstcache= "48"> <span jsdisplay="isArray($this)" jstcache="50" style=""> array of <span js select="items" jstcache="52"><span jstcache="0"> <span jsdisplay="getTypeRef($th is)" jstcache="47" style=""> <a jsvalues=".href: getTypeRefPage($this) + '#type- ' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="49" href="bookmar ks.html#type-BookmarkTreeNode">BookmarkTreeNode</a> </span> <span jsdisplay="!ge tTypeRef($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> </spa n> <span jsdisplay="!isArray($this)" jscontent="getTypeName($this)" jstcache="51 ">string or array of string</span> </span> </span></span> </span> <span jsdispla y="!isArray($this)" jscontent="getTypeName($this)" jstcache="51" style="display: none; ">string or array of string</span> </span> </span> ) </div> </em> </dt> < dd class="todo" jsdisplay="!$this.description" jstcache="42" style=""> Undocumen ted. </dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.descript ion" jstcache="43" style="display: none; ">A single string-valued id, or an arra y of string-valued ids</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> </div> </dl> </div> </ div> </div> <!-- /description --> </div><div class="apiItem" jsselect="functions " jstcache="11" jsinstance="1"> <a jsvalues=".name:'method-' + name" jstcache="1 8" name="method-getChildren"></a> <!-- method-anchor --> <h3 jscontent="name" js tcache="16">getChildren</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="getF ullyQualifiedFunctionName($this)" jstcache="26">chrome.bookmarks.getChildren</sp an>(<span jsselect="parameters" jsvalues="class:optional ? 'optional' : ''" jstc ache="27" jsinstance="0" class="null"><span jsdisplay="$index" jstcache="33" sty le="display: none; ">, </span><span jscontent="getTypeName($this)" jstcache="34" >string</span> <var jstcache="0"><span jscontent="name" jstcache="16">id</span>< /var></span><span jsselect="parameters" jsvalues="class:optional ? 'optional' : ''" jstcache="27" jsinstance="*1" class="null"><span jsdisplay="$index" jstcache ="33">, </span><span jscontent="getTypeName($this)" jstcache="34">function</span > <var jstcache="0"><span jscontent="name" jstcache="16">callback</span></var></ span>)</div> <div class="description" jstcache="0"> <p class="todo" jsdisplay="! description" jstcache="28" style="display: none; ">Undocumented.</p> <p jsdispla y="description" jsvalues=".innerHTML:description" jstcache="29">Retrieves the ch ildren of the specified BookmarkTreeNode id.</p> <!-- PARAMETERS --> <h4 jstcach e="0">Parameters</h4> <dl jstcache="0"> <div jsselect="parameters" jstcache="35" jsinstance="0"> <!-- VALUE: This is a subtemplate that is used elsewhere via js Template *transclude* --> <div id="valueTemplate" jstcache="0"> <dt jstcache="0" > <var jsdisplay="$this.name" jscontent="$this.name" jstcache="45">id</var> <em jstcache="0"> <!-- TYPE --> <div style="display:inline" jstcache="0"> ( <span cl ass="optional" jsdisplay="optional" jstcache="46" style="display: none; ">option al</span> <span id="typeTemplate" jstcache="0"> <span jsdisplay="getTypeRef($thi s)" jstcache="47" style="display: none; "> <a jsvalues=".href: getTypeRefPage($t his) + '#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="49" > Type</a> </span> <span jsdisplay="!getTypeRef($this)" jstcache="48"> <span jsd isplay="isArray($this)" jstcache="50" style="display: none; "> array of <span js select="items" jstcache="52"><span transclude="typeTemplate" jstcache="53"></spa n></span> </span> <span jsdisplay="!isArray($this)" jscontent="getTypeName($this )" jstcache="51">string</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> <!-- /VALUE --> </div><div jsselect="parameters" jstcache="35" jsinstance="*1"> <!-- VALUE: This is a subtemplate that is used e lsewhere via jsTemplate *transclude* --> <div id="valueTemplate" jstcache="0"> < dt jstcache="0"> <var jsdisplay="$this.name" jscontent="$this.name" jstcache="45 ">callback</var> <em jstcache="0"> <!-- TYPE --> <div style="display:inline" jst cache="0"> ( <span class="optional" jsdisplay="optional" jstcache="46" style="di splay: none; ">optional</span> <span id="typeTemplate" jstcache="0"> <span jsdis play="getTypeRef($this)" jstcache="47" style="display: none; "> <a jsvalues=".hr ef: getTypeRefPage($this) + '#type-' + getTypeRef($this)" jscontent="getTypeRef( $this)" jstcache="49"> Type</a> </span> <span jsdisplay="!getTypeRef($this)" jst cache="48"> <span jsdisplay="isArray($this)" jstcache="50" style="display: none; "> array of <span jsselect="items" jstcache="52"><span transclude="typeTemplate " jstcache="53"></span></span> </span> <span jsdisplay="!isArray($this)" jsconte nt="getTypeName($this)" jstcache="51">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">array of BookmarkTreeNo de results</span>) <span class="subdued" jstcache="0">{...}</span>);</pre> <dl j stcache="0"> <div jsselect="parameters" jstcache="35" jsinstance="*0"> <div jstc ache="0"> <dt jstcache="0"> <var jsdisplay="$this.name" jscontent="$this.name" j stcache="45">results</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=""> a rray of <span jsselect="items" jstcache="52"><span jstcache="0"> <span jsdisplay ="getTypeRef($this)" jstcache="47" style=""> <a jsvalues=".href: getTypeRefPage( $this) + '#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="4 9" href="bookmarks.html#type-BookmarkTreeNode">BookmarkTreeNode</a> </span> <spa n jsdisplay="!getTypeRef($this)" jstcache="48" style="display: none; "> <span js display="isArray($this)" jstcache="50" style="display: none; "> array of <span j sselect="items" jstcache="52"><span transclude="typeTemplate" jstcache="53"></sp an></span> </span> <span jsdisplay="!isArray($this)" jscontent="getTypeName($thi s)" jstcache="51">string or array of string</span> </span> </span></span> </span > <span jsdisplay="!isArray($this)" jscontent="getTypeName($this)" jstcache="51" style="display: none; ">string or array of string</span> </span> </span> ) </di v> </em> </dt> <dd class="todo" jsdisplay="!$this.description" jstcache="42" sty le=""> Undocumented. </dd> <dd jsdisplay="$this.description" jsvalues=".innerHTM L:$this.description" jstcache="43" style="display: none; ">A single string-value d id, or an array of string-valued ids</dd> <!-- OBJECT PROPERTIES --> <dd jsdis play="shouldExpandObject($this)" jstcache="44" style="display: none; "> <dl jstc ache="0"> <div jsselect="getPropertyListFromObject($this)" jstcache="10"> <div t ransclude="valueTemplate" jstcache="17"> </div> </div> </dl> </dd> </div> </div> </dl> </div> </div> </div> <!-- /description --> </div><div class="apiItem" jss elect="functions" jstcache="11" jsinstance="2"> <a jsvalues=".name:'method-' + n ame" jstcache="18" name="method-getTree"></a> <!-- method-anchor --> <h3 jsconte nt="name" jstcache="16">getTree</h3> <div class="summary" jstcache="0"><span jsd isplay="returns" jscontent="getTypeName(returns)" jstcache="25" style="display: none; ">void</span> <!-- Note: intentionally longer 80 columns --> <span jsconte nt="getFullyQualifiedFunctionName($this)" jstcache="26">chrome.bookmarks.getTree </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">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">Retrieves the entire Bookmarks hierarchy.</p> <!-- PARAMETERS --> <h4 jstcac he="0">Parameters</h4> <dl jstcache="0"> <div jsselect="parameters" jstcache="35 " jsinstance="*0"> <!-- VALUE: This is a subtemplate that is used elsewhere via jsTemplate *transclude* --> <div id="valueTemplate" jstcache="0"> <dt jstcache=" 0"> <var jsdisplay="$this.name" jscontent="$this.name" jstcache="45">callback</v ar> <em jstcache="0"> <!-- TYPE --> <div style="display:inline" jstcache="0"> ( <span class="optional" jsdisplay="optional" jstcache="46" style="display: none; ">optional</span> <span id="typeTemplate" jstcache="0"> <span jsdisplay="getType Ref($this)" jstcache="47" style="display: none; "> <a jsvalues=".href: getTypeRe fPage($this) + '#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstca che="49"> Type</a> </span> <span jsdisplay="!getTypeRef($this)" jstcache="48"> < span jsdisplay="isArray($this)" jstcache="50" style="display: none; "> array of <span jsselect="items" jstcache="52"><span transclude="typeTemplate" jstcache="5 3"></span></span> </span> <span jsdisplay="!isArray($this)" jscontent="getTypeNa me($this)" jstcache="51">function</span> </span> </span> ) </div> </em> </dt> <d d class="todo" jsdisplay="!$this.description" jstcache="42"> Undocumented. </dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.description" jstca che="43" style="display: none; "> Description of this parameter from the json sc hema. </dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="shouldExpandObject($this)" jstcache="44" style="display: none; "> <dl jstcache="0"> <div jsselect="getProp ertyListFromObject($this)" jstcache="10"> <div transclude="valueTemplate" jstcac he="17"> </div> </div> </dl> </dd> </div> <!-- /VALUE --> </div> </dl> <!-- RETU RNS --> <h4 jsdisplay="returns" jstcache="30" style="display: none; ">Returns</h 4> <dl jstcache="0"> <div jsselect="returns" jstcache="36" style="display: none; "> <div transclude="valueTemplate" jstcache="17"> </div> </div> </dl> <!-- CALL BACK --> <div jsdisplay="hasCallback(parameters)" jstcache="31"> <div js select="getCallbackParameters(parameters)" jstcache="37"> <h4 jstcache="0">Callb ack function</h4> <p jstcache="0"> If you specify the <em jstcache="0">callback< /em> parameter, it should specify a function that looks like this: </p> <!-- Not e: intentionally longer 80 columns --> <pre jstcache="0">function(<span jsconten t="getSignatureString(parameters)" jstcache="32">array of BookmarkTreeNode resul ts</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">results</var> <em jstcache="0"> <!-- TYPE --> <div style="display:inline" j stcache="0"> ( <span class="optional" jsdisplay="optional" jstcache="46" style=" display: none; ">optional</span> <span id="typeTemplate" jstcache="0"> <span jsd isplay="getTypeRef($this)" jstcache="47" style="display: none; "> <a jsvalues=". href: getTypeRefPage($this) + '#type-' + getTypeRef($this)" jscontent="getTypeRe f($this)" jstcache="49"> Type</a> </span> <span jsdisplay="!getTypeRef($this)" j stcache="48"> <span jsdisplay="isArray($this)" jstcache="50" style=""> array of <span jsselect="items" jstcache="52"><span jstcache="0"> <span jsdisplay="getTyp eRef($this)" jstcache="47" style=""> <a jsvalues=".href: getTypeRefPage($this) + '#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="49" href= "bookmarks.html#type-BookmarkTreeNode">BookmarkTreeNode</a> </span> <span jsdisp lay="!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></spa n> </span> <span jsdisplay="!isArray($this)" jscontent="getTypeName($this)" jstc ache="51">string or array of string</span> </span> </span></span> </span> <span jsdisplay="!isArray($this)" jscontent="getTypeName($this)" jstcache="51" style=" display: none; ">string or array of string</span> </span> </span> ) </div> </em> </dt> <dd class="todo" jsdisplay="!$this.description" jstcache="42" style=""> U ndocumented. </dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this. description" jstcache="43" style="display: none; ">A single string-valued id, or an array of string-valued ids</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> </dl> < /div> </div> </div> <!-- /description --> </div><div class="apiItem" jsselect="f unctions" jstcache="11" jsinstance="3"> <a jsvalues=".name:'method-' + name" jst cache="18" name="method-search"></a> <!-- method-anchor --> <h3 jscontent="name" jstcache="16">search</h3> <div class="summary" jstcache="0"><span jsdisplay="re turns" jscontent="getTypeName(returns)" jstcache="25" style="display: none; ">vo id</span> <!-- Note: intentionally longer 80 columns --> <span jscontent="getFul lyQualifiedFunctionName($this)" jstcache="26">chrome.bookmarks.search</span>(<sp an jsselect="parameters" jsvalues="class:optional ? 'optional' : ''" jstcache="2 7" jsinstance="0" class="null"><span jsdisplay="$index" jstcache="33" style="dis play: none; ">, </span><span jscontent="getTypeName($this)" jstcache="34">string </span> <var jstcache="0"><span jscontent="name" jstcache="16">query</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> <v ar jstcache="0"><span jscontent="name" jstcache="16">callback</span></var></span >)</div> <div class="description" jstcache="0"> <p class="todo" jsdisplay="!desc ription" jstcache="28" style="display: none; ">Undocumented.</p> <p jsdisplay="d escription" jsvalues=".innerHTML:description" jstcache="29">Seaches for Bookmark TreeNodes matching the given query.</p> <!-- PARAMETERS --> <h4 jstcache="0">Par ameters</h4> <dl jstcache="0"> <div jsselect="parameters" jstcache="35" jsinstan ce="0"> <!-- VALUE: This is a subtemplate that is used elsewhere via jsTemplate *transclude* --> <div id="valueTemplate" jstcache="0"> <dt jstcache="0"> <var js display="$this.name" jscontent="$this.name" jstcache="45">query</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">string</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><div jsselect="parameters" jstca che="35" jsinstance="*1"> <!-- VALUE: This is a subtemplate that is used elsewhe re via jsTemplate *transclude* --> <div id="valueTemplate" jstcache="0"> <dt jst cache="0"> <var jsdisplay="$this.name" jscontent="$this.name" jstcache="45">call back</var> <em jstcache="0"> <!-- TYPE --> <div style="display:inline" jstcache= "0"> ( <span class="optional" jsdisplay="optional" jstcache="46" style="display: none; ">optional</span> <span id="typeTemplate" jstcache="0"> <span jsdisplay=" getTypeRef($this)" jstcache="47" style="display: none; "> <a jsvalues=".href: ge tTypeRefPage($this) + '#type-' + getTypeRef($this)" jscontent="getTypeRef($this) " jstcache="49"> Type</a> </span> <span jsdisplay="!getTypeRef($this)" jstcache= "48"> <span jsdisplay="isArray($this)" jstcache="50" style="display: none; "> ar ray of <span jsselect="items" jstcache="52"><span transclude="typeTemplate" jstc ache="53"></span></span> </span> <span jsdisplay="!isArray($this)" jscontent="ge tTypeName($this)" jstcache="51">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=" getPropertyListFromObject($this)" jstcache="10"> <div transclude="valueTemplate" jstcache="17"> </div> </div> </dl> </dd> </div> <!-- /VALUE --> </div> </dl> <! -- RETURNS --> <h4 jsdisplay="returns" jstcache="30" style="display: none; ">Ret urns</h4> <dl jstcache="0"> <div jsselect="returns" jstcache="36" style="display : none; "> <div transclude="valueTemplate" jstcache="17"> </div> </div> </dl> <! -- CALLBACK --> <div jsdisplay="hasCallback(parameters)" jstcache="31"> <div js select="getCallbackParameters(parameters)" jstcache="37"> <h4 jstcache="0">Callb ack function</h4> <p jstcache="0"> If you specify the <em jstcache="0">callback< /em> parameter, it should specify a function that looks like this: </p> <!-- Not e: intentionally longer 80 columns --> <pre jstcache="0">function(<span jsconten t="getSignatureString(parameters)" jstcache="32">array of BookmarkTreeNode resul ts</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">results</var> <em jstcache="0"> <!-- TYPE --> <div style="display:inline" j stcache="0"> ( <span class="optional" jsdisplay="optional" jstcache="46" style=" display: none; ">optional</span> <span id="typeTemplate" jstcache="0"> <span jsd isplay="getTypeRef($this)" jstcache="47" style="display: none; "> <a jsvalues=". href: getTypeRefPage($this) + '#type-' + getTypeRef($this)" jscontent="getTypeRe f($this)" jstcache="49"> Type</a> </span> <span jsdisplay="!getTypeRef($this)" j stcache="48"> <span jsdisplay="isArray($this)" jstcache="50" style=""> array of <span jsselect="items" jstcache="52"><span jstcache="0"> <span jsdisplay="getTyp eRef($this)" jstcache="47" style=""> <a jsvalues=".href: getTypeRefPage($this) + '#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="49" href= "bookmarks.html#type-BookmarkTreeNode">BookmarkTreeNode</a> </span> <span jsdisp lay="!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></spa n> </span> <span jsdisplay="!isArray($this)" jscontent="getTypeName($this)" jstc ache="51">string or array of string</span> </span> </span></span> </span> <span jsdisplay="!isArray($this)" jscontent="getTypeName($this)" jstcache="51" style=" display: none; ">string or array of string</span> </span> </span> ) </div> </em> </dt> <dd class="todo" jsdisplay="!$this.description" jstcache="42" style=""> U ndocumented. </dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this. description" jstcache="43" style="display: none; ">A single string-valued id, or an array of string-valued ids</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> </dl> < /div> </div> </div> <!-- /description --> </div><div class="apiItem" jsselect="f unctions" jstcache="11" jsinstance="4"> <a jsvalues=".name:'method-' + name" jst cache="18" name="method-create"></a> <!-- method-anchor --> <h3 jscontent="name" jstcache="16">create</h3> <div class="summary" jstcache="0"><span jsdisplay="re turns" jscontent="getTypeName(returns)" jstcache="25" style="display: none; ">vo id</span> <!-- Note: intentionally longer 80 columns --> <span jscontent="getFul lyQualifiedFunctionName($this)" jstcache="26">chrome.bookmarks.create</span>(<sp an jsselect="parameters" jsvalues="class:optional ? 'optional' : ''" jstcache="2 7" jsinstance="0" class="null"><span jsdisplay="$index" jstcache="33" style="dis play: none; ">, </span><span jscontent="getTypeName($this)" jstcache="34">object </span> <var jstcache="0"><span jscontent="name" jstcache="16">bookmark</span></ var></span><span jsselect="parameters" jsvalues="class:optional ? 'optional' : ' '" jstcache="27" jsinstance="*1" class="optional"><span jsdisplay="$index" jstca che="33">, </span><span jscontent="getTypeName($this)" jstcache="34">function</s pan> <var jstcache="0"><span jscontent="name" jstcache="16">callback</span></var ></span>)</div> <div class="description" jstcache="0"> <p class="todo" jsdisplay ="!description" jstcache="28">Undocumented.</p> <p jsdisplay="description" jsval ues=".innerHTML:description" jstcache="29" style="display: none; "> A descriptio n from the json schema def of the function goes here. </p> <!-- PARAMETERS --> < h4 jstcache="0">Parameters</h4> <dl jstcache="0"> <div jsselect="parameters" jst cache="35" jsinstance="0"> <!-- VALUE: This is a subtemplate that is used elsewh ere via jsTemplate *transclude* --> <div id="valueTemplate" jstcache="0"> <dt js tcache="0"> <var jsdisplay="$this.name" jscontent="$this.name" jstcache="45">boo kmark</var> <em jstcache="0"> <!-- TYPE --> <div style="display:inline" jstcache ="0"> ( <span class="optional" jsdisplay="optional" jstcache="46" style="display : none; ">optional</span> <span id="typeTemplate" jstcache="0"> <span jsdisplay= "getTypeRef($this)" jstcache="47" style="display: none; "> <a jsvalues=".href: g etTypeRefPage($this) + '#type-' + getTypeRef($this)" jscontent="getTypeRef($this )" jstcache="49"> Type</a> </span> <span jsdisplay="!getTypeRef($this)" jstcache ="48"> <span jsdisplay="isArray($this)" jstcache="50" style="display: none; "> a rray of <span jsselect="items" jstcache="52"><span transclude="typeTemplate" jst cache="53"></span></span> </span> <span jsdisplay="!isArray($this)" jscontent="g etTypeName($this)" jstcache="51">object</span> </span> </span> ) </div> </em> </ dt> <dd class="todo" jsdisplay="!$this.description" jstcache="42"> Undocumented. </dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.description" jstcache="43" style="display: none; "> Description of this parameter from the j son schema. </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 jsdisplay="$this.name" jscontent="$this.name" jstcache="45">parentId</var> <em jstcache="0"> <!-- TYPE --> <div style="display:inline" jstcache="0"> ( <span cl ass="optional" jsdisplay="optional" jstcache="46" style="display: none; ">option al</span> <span id="typeTemplate" jstcache="0"> <span jsdisplay="getTypeRef($thi s)" jstcache="47" style="display: none; "> <a jsvalues=".href: getTypeRefPage($t his) + '#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="49" > Type</a> </span> <span jsdisplay="!getTypeRef($this)" jstcache="48"> <span jsd isplay="isArray($this)" jstcache="50" style="display: none; "> array of <span js select="items" jstcache="52"><span transclude="typeTemplate" jstcache="53"></spa n></span> </span> <span jsdisplay="!isArray($this)" jscontent="getTypeName($this )" jstcache="51">string</span> </span> </span> ) </div> </em> </dt> <dd class="t odo" jsdisplay="!$this.description" jstcache="42" style=""> Undocumented. </dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.description" jstcac he="43" style="display: none; ">A single string-valued id, or an array of string -valued ids</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">index< /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">integer</span> </span> </span> ) </div> </em> </dt> <dd class="todo" jsdisplay="!$this.description" jstcache="42" style=""> Undocumented. </dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.description" jstcache=" 43" style="display: none; ">A single string-valued id, or an array of string-val ued ids</dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="shouldExpandObject($this) " jstcache="44" style="display: none; "> <dl jstcache="0"> <div jsselect="getPro pertyListFromObject($this)" jstcache="10"> <div transclude="valueTemplate" jstca che="17"> </div> </div> </dl> </dd> </div> </div><div jsselect="getPropertyListF romObject($this)" jstcache="10" jsinstance="2"> <div jstcache="0"> <dt jstcache= "0"> <var jsdisplay="$this.name" jscontent="$this.name" jstcache="45">title</var > <em jstcache="0"> <!-- TYPE --> <div style="display:inline" jstcache="0"> ( <s pan class="optional" jsdisplay="optional" jstcache="46" style="">optional</span> <span id="typeTemplate" jstcache="0"> <span jsdisplay="getTypeRef($this)" jstca che="47" style="display: none; "> <a jsvalues=".href: getTypeRefPage($this) + '# type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="49"> Type</a > </span> <span jsdisplay="!getTypeRef($this)" jstcache="48"> <span jsdisplay="i sArray($this)" jstcache="50" style="display: none; "> array of <span jsselect="i tems" jstcache="52"><span transclude="typeTemplate" jstcache="53"></span></span> </span> <span jsdisplay="!isArray($this)" jscontent="getTypeName($this)" jstcac he="51">string</span> </span> </span> ) </div> </em> </dt> <dd class="todo" jsdi splay="!$this.description" jstcache="42" style=""> Undocumented. </dd> <dd jsdis play="$this.description" jsvalues=".innerHTML:$this.description" jstcache="43" s tyle="display: none; ">A single string-valued id, or an array of string-valued i ds</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="*3"> <div jstcache="0"> <dt jstcache="0"> <var jsdisplay="$this.name" jscontent="$this.name" jstcache="45">url</var> <em jstcache="0"> <!-- TYPE --> <div style="display:inline" jstcache="0"> ( <span cl ass="optional" jsdisplay="optional" jstcache="46" style="">optional</span> <span id="typeTemplate" jstcache="0"> <span jsdisplay="getTypeRef($this)" jstcache="4 7" style="display: none; "> <a jsvalues=".href: getTypeRefPage($this) + '#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="49"> Type</a> </sp an> <span jsdisplay="!getTypeRef($this)" jstcache="48"> <span jsdisplay="isArray ($this)" jstcache="50" style="display: none; "> array of <span jsselect="items" jstcache="52"><span transclude="typeTemplate" jstcache="53"></span></span> </spa n> <span jsdisplay="!isArray($this)" jscontent="getTypeName($this)" jstcache="51 ">string</span> </span> </span> ) </div> </em> </dt> <dd class="todo" jsdisplay= "!$this.description" jstcache="42" style=""> Undocumented. </dd> <dd jsdisplay=" $this.description" jsvalues=".innerHTML:$this.description" jstcache="43" style=" display: none; ">A single string-valued id, or an array of string-valued ids</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> </dl> </dd> </div> <!-- /VALUE --> </div> <div jsselect="parameters" jstcache="35" jsinstance="*1"> <!-- VALUE: This is a subtemplate that is used elsewhere via jsTemplate *transclude* --> <div id="valu eTemplate" jstcache="0"> <dt jstcache="0"> <var jsdisplay="$this.name" jscontent ="$this.name" jstcache="45">callback</var> <em jstcache="0"> <!-- TYPE --> <div style="display:inline" jstcache="0"> ( <span class="optional" jsdisplay="optiona l" jstcache="46">optional</span> <span id="typeTemplate" jstcache="0"> <span jsd isplay="getTypeRef($this)" jstcache="47" style="display: none; "> <a jsvalues=". href: getTypeRefPage($this) + '#type-' + getTypeRef($this)" jscontent="getTypeRe f($this)" jstcache="49"> Type</a> </span> <span jsdisplay="!getTypeRef($this)" j stcache="48"> <span jsdisplay="isArray($this)" jstcache="50" style="display: non e; "> array of <span jsselect="items" jstcache="52"><span transclude="typeTempla te" jstcache="53"></span></span> </span> <span jsdisplay="!isArray($this)" jscon tent="getTypeName($this)" jstcache="51">function</span> </span> </span> ) </div> </em> </dt> <dd class="todo" jsdisplay="!$this.description" jstcache="42"> Undo cumented. </dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.des cription" jstcache="43" style="display: none; "> Description of this parameter f rom the json schema. </dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="shouldExpan dObject($this)" jstcache="44" style="display: none; "> <dl jstcache="0"> <div js select="getPropertyListFromObject($this)" jstcache="10"> <div transclude="valueT emplate" jstcache="17"> </div> </div> </dl> </dd> </div> <!-- /VALUE --> </div> </dl> <!-- RETURNS --> <h4 jsdisplay="returns" jstcache="30" style="display: non e; ">Returns</h4> <dl jstcache="0"> <div jsselect="returns" jstcache="36" style= "display: none; "> <div transclude="valueTemplate" jstcache="17"> </div> </div> </dl> <!-- CALLBACK --> <div jsdisplay="hasCallback(parameters)" jstcache="31"> <div jsselect="getCallbackParameters(parameters)" jstcache="37"> <h4 jstcache=" 0">Callback function</h4> <p jstcache="0"> If you specify the <em jstcache="0">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">BookmarkTreeNode result </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="4 5">result</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=""> <a jsvalues=".href: getTypeRefPa ge($this) + '#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache ="49" href="bookmarks.html#type-BookmarkTreeNode">BookmarkTreeNode</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">string or array of string</span> </span> </span> ) </div> < /em> </dt> <dd class="todo" jsdisplay="!$this.description" jstcache="42" style=" "> Undocumented. </dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML:$t his.description" jstcache="43" style="display: none; ">A single string-valued id , or an array of string-valued ids</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> </div> </div> </div> <!-- /description --> </div><div class="apiItem" jsselec t="functions" jstcache="11" jsinstance="5"> <a jsvalues=".name:'method-' + name" jstcache="18" name="method-move"></a> <!-- method-anchor --> <h3 jscontent="nam e" jstcache="16">move</h3> <div class="summary" jstcache="0"><span jsdisplay="re turns" jscontent="getTypeName(returns)" jstcache="25" style="display: none; ">vo id</span> <!-- Note: intentionally longer 80 columns --> <span jscontent="getFul lyQualifiedFunctionName($this)" jstcache="26">chrome.bookmarks.move</span>(<span jsselect="parameters" jsvalues="class:optional ? 'optional' : ''" jstcache="27" jsinstance="0" class="null"><span jsdisplay="$index" jstcache="33" style="displ ay: none; ">, </span><span jscontent="getTypeName($this)" jstcache="34">string</ span> <var jstcache="0"><span jscontent="name" jstcache="16">id</span></var></sp an><span jsselect="parameters" jsvalues="class:optional ? 'optional' : ''" jstca che="27" jsinstance="1" class="null"><span jsdisplay="$index" jstcache="33">, </ span><span jscontent="getTypeName($this)" jstcache="34">object</span> <var jstca che="0"><span jscontent="name" jstcache="16">destination</span></var></span><spa n jsselect="parameters" jsvalues="class:optional ? 'optional' : ''" jstcache="27 " jsinstance="*2" class="optional"><span jsdisplay="$index" jstcache="33">, </sp an><span jscontent="getTypeName($this)" jstcache="34">function</span> <var jstca che="0"><span jscontent="name" jstcache="16">callback</span></var></span>)</div> <div class="description" jstcache="0"> <p class="todo" jsdisplay="!description" jstcache="28" style="display: none; ">Undocumented.</p> <p jsdisplay="descripti on" jsvalues=".innerHTML:description" jstcache="29">Moves the specified Bookmark TreeNode to the provided location.</p> <!-- PARAMETERS --> <h4 jstcache="0">Para meters</h4> <dl jstcache="0"> <div jsselect="parameters" jstcache="35" jsinstanc e="0"> <!-- VALUE: This is a subtemplate that is used elsewhere via jsTemplate * transclude* --> <div id="valueTemplate" jstcache="0"> <dt jstcache="0"> <var jsd isplay="$this.name" jscontent="$this.name" jstcache="45">id</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">string</span> </span> </span> ) </div> </em> </dt> <dd class="todo" jsdis play="!$this.description" jstcache="42"> Undocumented. </dd> <dd jsdisplay="$thi s.description" jsvalues=".innerHTML:$this.description" jstcache="43" style="disp lay: none; "> Description of this parameter from the json schema. </dd> <!-- OBJ ECT 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> </di v> </dl> </dd> </div> <!-- /VALUE --> </div><div jsselect="parameters" jstcache= "35" jsinstance="1"> <!-- VALUE: This is a subtemplate that is used elsewhere vi a jsTemplate *transclude* --> <div id="valueTemplate" jstcache="0"> <dt jstcache ="0"> <var jsdisplay="$this.name" jscontent="$this.name" jstcache="45">destinati on</var> <em jstcache="0"> <!-- TYPE --> <div style="display:inline" jstcache="0 "> ( <span class="optional" jsdisplay="optional" jstcache="46" style="display: n one; ">optional</span> <span id="typeTemplate" jstcache="0"> <span jsdisplay="ge tTypeRef($this)" jstcache="47" style="display: none; "> <a jsvalues=".href: getT ypeRefPage($this) + '#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="49"> Type</a> </span> <span jsdisplay="!getTypeRef($this)" jstcache="4 8"> <span jsdisplay="isArray($this)" jstcache="50" style="display: none; "> arra y of <span jsselect="items" jstcache="52"><span transclude="typeTemplate" jstcac he="53"></span></span> </span> <span jsdisplay="!isArray($this)" jscontent="getT ypeName($this)" jstcache="51">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" js tcache="43" style="display: none; "> Description of this parameter from the json schema. </dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="shouldExpandObject($thi s)" jstcache="44"> <dl jstcache="0"> <div jsselect="getPropertyListFromObject($t his)" jstcache="10" jsinstance="0"> <div jstcache="0"> <dt jstcache="0"> <var js display="$this.name" jscontent="$this.name" jstcache="45">parentId</var> <em jst cache="0"> <!-- TYPE --> <div style="display:inline" jstcache="0"> ( <span class ="optional" jsdisplay="optional" jstcache="46" style="display: none; ">optional< /span> <span id="typeTemplate" jstcache="0"> <span jsdisplay="getTypeRef($this)" jstcache="47" style="display: none; "> <a jsvalues=".href: getTypeRefPage($this ) + '#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="49"> T ype</a> </span> <span jsdisplay="!getTypeRef($this)" jstcache="48"> <span jsdisp lay="isArray($this)" jstcache="50" style="display: none; "> array of <span jssel ect="items" jstcache="52"><span transclude="typeTemplate" jstcache="53"></span>< /span> </span> <span jsdisplay="!isArray($this)" jscontent="getTypeName($this)" jstcache="51">string</span> </span> </span> ) </div> </em> </dt> <dd class="todo " jsdisplay="!$this.description" jstcache="42" style=""> Undocumented. </dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.description" jstcache= "43" style="display: none; ">A single string-valued id, or an array of string-va lued ids</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="*1"> <div jstcache="0"> <dt jstcach e="0"> <var jsdisplay="$this.name" jscontent="$this.name" jstcache="45">index</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" style=""> Undocumented. </dd> <dd js display="$this.description" jsvalues=".innerHTML:$this.description" jstcache="43 " style="display: none; ">A single string-valued id, or an array of string-value d ids</dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="shouldExpandObject($this)" jstcache="44" style="display: none; "> <dl jstcache="0"> <div jsselect="getPrope rtyListFromObject($this)" jstcache="10"> <div transclude="valueTemplate" jstcach e="17"> </div> </div> </dl> </dd> </div> </div> </dl> </dd> </div> <!-- /VALUE - -> </div><div jsselect="parameters" jstcache="35" jsinstance="*2"> <!-- VALUE: T his is a subtemplate that is used elsewhere via jsTemplate *transclude* --> <div id="valueTemplate" jstcache="0"> <dt jstcache="0"> <var jsdisplay="$this.name" jscontent="$this.name" jstcache="45">callback</var> <em jstcache="0"> <!-- TYPE --> <div style="display:inline" jstcache="0"> ( <span class="optional" jsdisplay ="optional" jstcache="46">optional</span> <span id="typeTemplate" jstcache="0"> <span jsdisplay="getTypeRef($this)" jstcache="47" style="display: none; "> <a 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">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 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> <!-- /VALUE -- > </div> </dl> <!-- RETURNS --> <h4 jsdisplay="returns" jstcache="30" style="dis play: none; ">Returns</h4> <dl jstcache="0"> <div jsselect="returns" jstcache="3 6" style="display: none; "> <div transclude="valueTemplate" jstcache="17"> </div > </div> </dl> <!-- CALLBACK --> <div jsdisplay="hasCallback(parameters) " jstcache="31"> <div jsselect="getCallbackParameters(parameters)" jstcache="37" > <h4 jstcache="0">Callback function</h4> <p jstcache="0"> If you specify the <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><div class="apiItem" jsselect="functions" jstc ache="11" jsinstance="6"> <a jsvalues=".name:'method-' + name" jstcache="18" nam e="method-update"></a> <!-- method-anchor --> <h3 jscontent="name" jstcache="16" >update</h3> <div class="summary" jstcache="0"><span jsdisplay="returns" jsconte nt="getTypeName(returns)" jstcache="25" style="display: none; ">void</span> <!-- Note: intentionally longer 80 columns --> <span jscontent="getFullyQualifiedFun ctionName($this)" jstcache="26">chrome.bookmarks.update</span>(<span jsselect="p arameters" 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">string</span> <var j stcache="0"><span jscontent="name" jstcache="16">id</span></var></span><span jss elect="parameters" jsvalues="class:optional ? 'optional' : ''" jstcache="27" jsi nstance="1" class="null"><span jsdisplay="$index" jstcache="33">, </span><span j scontent="getTypeName($this)" jstcache="34">object</span> <var jstcache="0"><spa n jscontent="name" jstcache="16">changes</span></var></span><span jsselect="para meters" jsvalues="class:optional ? 'optional' : ''" jstcache="27" jsinstance="*2 " class="optional"><span jsdisplay="$index" jstcache="33">, </span><span jsconte nt="getTypeName($this)" jstcache="34">function</span> <var jstcache="0"><span js content="name" jstcache="16">callback</span></var></span>)</div> <div class="des cription" jstcache="0"> <p class="todo" jsdisplay="!description" jstcache="28">U ndocumented.</p> <p jsdisplay="description" jsvalues=".innerHTML:description" js tcache="29" style="display: none; "> A description from the json schema def of t he 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="$th is.name" jscontent="$this.name" jstcache="45">id</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">stri ng</span> </span> </span> ) </div> </em> </dt> <dd class="todo" jsdisplay="!$thi s.description" jstcache="42"> Undocumented. </dd> <dd jsdisplay="$this.descripti on" jsvalues=".innerHTML:$this.description" jstcache="43" style="display: none; "> Description of this parameter from the json schema. </dd> <!-- OBJECT PROPERT IES --> <dd jsdisplay="shouldExpandObject($this)" jstcache="44" style="display: none; "> <dl jstcache="0"> <div jsselect="getPropertyListFromObject($this)" jstc ache="10"> <div transclude="valueTemplate" jstcache="17"> </div> </div> </dl> </ dd> </div> <!-- /VALUE --> </div><div jsselect="parameters" jstcache="35" jsinst ance="1"> <!-- VALUE: This is a subtemplate that is used elsewhere via jsTemplat e *transclude* --> <div id="valueTemplate" jstcache="0"> <dt jstcache="0"> <var jsdisplay="$this.name" jscontent="$this.name" jstcache="45">changes</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">object</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"> <dl jstcache="0"> <div jsselect="getPropertyListFromObject($this)" jstcache= "10" jsinstance="*0"> <div jstcache="0"> <dt jstcache="0"> <var jsdisplay="$this .name" jscontent="$this.name" jstcache="45">title</var> <em jstcache="0"> <!-- T YPE --> <div style="display:inline" jstcache="0"> ( <span class="optional" jsdis play="optional" jstcache="46" style="">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">string</span> </sp an> </span> ) </div> </em> </dt> <dd class="todo" jsdisplay="!$this.description" jstcache="42" style=""> Undocumented. </dd> <dd jsdisplay="$this.description" j svalues=".innerHTML:$this.description" jstcache="43" style="display: none; ">A s ingle string-valued id, or an array of string-valued ids</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> </dd> </div> <!-- /VALUE --> </div><div jsselect="param eters" jstcache="35" jsinstance="*2"> <!-- VALUE: This is a subtemplate that is used elsewhere via jsTemplate *transclude* --> <div id="valueTemplate" jstcache= "0"> <dt jstcache="0"> <var jsdisplay="$this.name" jscontent="$this.name" jstcac he="45">callback</var> <em jstcache="0"> <!-- TYPE --> <div style="display:inlin e" jstcache="0"> ( <span class="optional" jsdisplay="optional" jstcache="46">opt ional</span> <span id="typeTemplate" jstcache="0"> <span jsdisplay="getTypeRef($ this)" jstcache="47" style="display: none; "> <a jsvalues=".href: getTypeRefPage ($this) + '#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache=" 49"> Type</a> </span> <span jsdisplay="!getTypeRef($this)" jstcache="48"> <span jsdisplay="isArray($this)" jstcache="50" style="display: none; "> array of <span jsselect="items" jstcache="52"><span transclude="typeTemplate" jstcache="53"></ span></span> </span> <span jsdisplay="!isArray($this)" jscontent="getTypeName($t his)" jstcache="51">function</span> </span> </span> ) </div> </em> </dt> <dd cla ss="todo" jsdisplay="!$this.description" jstcache="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> <!-- /VALUE --> </div> </dl> <!-- RETURNS - -> <h4 jsdisplay="returns" jstcache="30" style="display: none; ">Returns</h4> <d l jstcache="0"> <div jsselect="returns" jstcache="36" style="display: none; "> < div transclude="valueTemplate" jstcache="17"> </div> </div> </dl> <!-- CALLBACK --> <div jsdisplay="hasCallback(parameters)" jstcache="31"> <div jsselect=" getCallbackParameters(parameters)" jstcache="37"> <h4 jstcache="0">Callback func tion</h4> <p jstcache="0"> If you specify the <em jstcache="0">callback</em> par ameter, it should specify a function that looks like this: </p> <!-- Note: inten tionally longer 80 columns --> <pre jstcache="0">function(<span jscontent="getSi gnatureString(parameters)" jstcache="32">BookmarkTreeNode result</span>) <span c lass="subdued" jstcache="0">{...}</span>);</pre> <dl jstcache="0"> <div jsselect ="parameters" jstcache="35" jsinstance="*0"> <div jstcache="0"> <dt jstcache="0" > <var jsdisplay="$this.name" jscontent="$this.name" jstcache="45">result</var> <em jstcache="0"> <!-- TYPE --> <div style="display:inline" jstcache="0"> ( <spa n class="optional" jsdisplay="optional" jstcache="46" style="display: none; ">op tional</span> <span id="typeTemplate" jstcache="0"> <span jsdisplay="getTypeRef( $this)" jstcache="47" style=""> <a jsvalues=".href: getTypeRefPage($this) + '#ty pe-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="49" href="book marks.html#type-BookmarkTreeNode">BookmarkTreeNode</a> </span> <span jsdisplay=" !getTypeRef($this)" jstcache="48" style="display: none; "> <span jsdisplay="isAr ray($this)" jstcache="50" style="display: none; "> array of <span jsselect="item s" jstcache="52"><span transclude="typeTemplate" jstcache="53"></span></span> </ span> <span jsdisplay="!isArray($this)" jscontent="getTypeName($this)" jstcache= "51">string or array of string</span> </span> </span> ) </div> </em> </dt> <dd c lass="todo" jsdisplay="!$this.description" jstcache="42" style=""> Undocumented. </dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.description" jstcache="43" style="display: none; ">A single string-valued id, or an array of string-valued ids</dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="shouldExpandOb ject($this)" jstcache="44" style="display: none; "> <dl jstcache="0"> <div jssel ect="getPropertyListFromObject($this)" jstcache="10"> <div transclude="valueTemp late" jstcache="17"> </div> </div> </dl> </dd> </div> </div> </dl> </div> </div> </div> <!-- /description --> </div><div class="apiItem" jsselect="functions" js tcache="11" jsinstance="7"> <a jsvalues=".name:'method-' + name" jstcache="18" n ame="method-remove"></a> <!-- method-anchor --> <h3 jscontent="name" jstcache="1 6">remove</h3> <div class="summary" jstcache="0"><span jsdisplay="returns" jscon tent="getTypeName(returns)" jstcache="25" style="display: none; ">void</span> <! -- Note: intentionally longer 80 columns --> <span jscontent="getFullyQualifiedF unctionName($this)" jstcache="26">chrome.bookmarks.remove</span>(<span jsselect= "parameters" jsvalues="class:optional ? 'optional' : ''" jstcache="27" jsinstanc e="0" class="null"><span jsdisplay="$index" jstcache="33" style="display: none; ">, </span><span jscontent="getTypeName($this)" jstcache="34">string</span> <var jstcache="0"><span jscontent="name" jstcache="16">id</span></var></span><span j sselect="parameters" jsvalues="class:optional ? 'optional' : ''" jstcache="27" j sinstance="*1" class="optional"><span jsdisplay="$index" jstcache="33">, </span> <span jscontent="getTypeName($this)" jstcache="34">function</span> <var jstcache ="0"><span jscontent="name" jstcache="16">callback</span></var></span>)</div> <d iv class="description" jstcache="0"> <p class="todo" jsdisplay="!description" js tcache="28">Undocumented.</p> <p jsdisplay="description" jsvalues=".innerHTML:de scription" jstcache="29" style="display: none; "> A description from the json sc hema def of the function goes here. </p> <!-- PARAMETERS --> <h4 jstcache="0">Pa rameters</h4> <dl jstcache="0"> <div jsselect="parameters" jstcache="35" jsinsta nce="0"> <!-- VALUE: This is a subtemplate that is used elsewhere via jsTemplate *transclude* --> <div id="valueTemplate" jstcache="0"> <dt jstcache="0"> <var j sdisplay="$this.name" jscontent="$this.name" jstcache="45">id</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">string</span> </span> </span> ) </div> </em> </dt> <dd class="todo" jsd isplay="!$this.description" jstcache="42"> Undocumented. </dd> <dd jsdisplay="$t his.description" jsvalues=".innerHTML:$this.description" jstcache="43" style="di splay: none; "> Description of this parameter from the json schema. </dd> <!-- O BJECT PROPERTIES --> <dd jsdisplay="shouldExpandObject($this)" jstcache="44" sty le="display: none; "> <dl jstcache="0"> <div jsselect="getPropertyListFromObject ($this)" jstcache="10"> <div transclude="valueTemplate" jstcache="17"> </div> </ div> </dl> </dd> </div> <!-- /VALUE --> </div><div jsselect="parameters" jstcach e="35" jsinstance="*1"> <!-- VALUE: This is a subtemplate that is used elsewhere via jsTemplate *transclude* --> <div id="valueTemplate" jstcache="0"> <dt jstca che="0"> <var jsdisplay="$this.name" jscontent="$this.name" jstcache="45">callba ck</var> <em jstcache="0"> <!-- TYPE --> <div style="display:inline" jstcache="0 "> ( <span class="optional" jsdisplay="optional" jstcache="46">optional</span> < span id="typeTemplate" jstcache="0"> <span jsdisplay="getTypeRef($this)" jstcach e="47" style="display: none; "> <a jsvalues=".href: getTypeRefPage($this) + '#ty pe-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="49"> Type</a> </span> <span jsdisplay="!getTypeRef($this)" jstcache="48"> <span jsdisplay="isA rray($this)" jstcache="50" style="display: none; "> array of <span jsselect="ite ms" jstcache="52"><span transclude="typeTemplate" jstcache="53"></span></span> < /span> <span jsdisplay="!isArray($this)" jscontent="getTypeName($this)" jstcache ="51">function</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> <!-- /VALUE --> </div> </dl> <!-- RETURNS --> <h4 jsdispl ay="returns" jstcache="30" style="display: none; ">Returns</h4> <dl jstcache="0" > <div jsselect="returns" jstcache="36" style="display: none; "> <div transclude ="valueTemplate" jstcache="17"> </div> </div> </dl> <!-- CALLBACK --> <div js display="hasCallback(parameters)" jstcache="31"> <div jsselect="getCallbackParam eters(parameters)" jstcache="37"> <h4 jstcache="0">Callback function</h4> <p jst cache="0"> If you specify the <em jstcache="0">callback</em> parameter, it shoul d specify a function that looks like this: </p> <!-- Note: intentionally longer 80 columns --> <pre jstcache="0">function(<span jscontent="getSignatureString(pa rameters)" jstcache="32"></span>) <span class="subdued" jstcache="0">{...}</span >);</pre> <dl jstcache="0"> <div jsselect="parameters" jstcache="35" jsinstance= "*0" style="display: none; "> <div transclude="valueTemplate" jstcache="17"> </d iv> </div> </dl> </div> </div> </div> <!-- /description --> </div><div class="ap iItem" jsselect="functions" jstcache="11" jsinstance="*8"> <a jsvalues=".name:'m ethod-' + name" jstcache="18" name="method-removeTree"></a> <!-- method-anchor - -> <h3 jscontent="name" jstcache="16">removeTree</h3> <div class="summary" jstca che="0"><span jsdisplay="returns" jscontent="getTypeName(returns)" jstcache="25" style="display: none; ">void</span> <!-- Note: intentionally longer 80 columns --> <span jscontent="getFullyQualifiedFunctionName($this)" jstcache="26">chrome. bookmarks.removeTree</span>(<span jsselect="parameters" jsvalues="class:optional ? 'optional' : ''" jstcache="27" jsinstance="0" class="null"><span jsdisplay="$ index" jstcache="33" style="display: none; ">, </span><span jscontent="getTypeNa me($this)" jstcache="34">string</span> <var jstcache="0"><span jscontent="name" jstcache="16">id</span></var></span><span jsselect="parameters" jsvalues="class: optional ? 'optional' : ''" jstcache="27" jsinstance="*1" class="optional"><span jsdisplay="$index" jstcache="33">, </span><span jscontent="getTypeName($this)" jstcache="34">function</span> <var jstcache="0"><span jscontent="name" jstcache= "16">callback</span></var></span>)</div> <div class="description" jstcache="0"> <p class="todo" jsdisplay="!description" jstcache="28">Undocumented.</p> <p jsdi splay="description" jsvalues=".innerHTML:description" jstcache="29" style="displ ay: none; "> A description from the json schema def of the function goes here. < /p> <!-- PARAMETERS --> <h4 jstcache="0">Parameters</h4> <dl jstcache="0"> <div jsselect="parameters" jstcache="35" jsinstance="0"> <!-- VALUE: This is a subtem plate that is used elsewhere via jsTemplate *transclude* --> <div id="valueTempl ate" jstcache="0"> <dt jstcache="0"> <var jsdisplay="$this.name" jscontent="$thi s.name" jstcache="45">id</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">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 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><div jsselect="parameters" jstcache="35" jsinstance="*1"> <!-- VALUE: T his is a subtemplate that is used elsewhere via jsTemplate *transclude* --> <div id="valueTemplate" jstcache="0"> <dt jstcache="0"> <var jsdisplay="$this.name" jscontent="$this.name" jstcache="45">callback</var> <em jstcache="0"> <!-- TYPE --> <div style="display:inline" jstcache="0"> ( <span class="optional" jsdisplay ="optional" jstcache="46">optional</span> <span id="typeTemplate" jstcache="0"> <span jsdisplay="getTypeRef($this)" jstcache="47" style="display: none; "> <a 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">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 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> <!-- /VALUE -- > </div> </dl> <!-- RETURNS --> <h4 jsdisplay="returns" jstcache="30" style="dis play: none; ">Returns</h4> <dl jstcache="0"> <div jsselect="returns" jstcache="3 6" style="display: none; "> <div transclude="valueTemplate" jstcache="17"> </div > </div> </dl> <!-- CALLBACK --> <div jsdisplay="hasCallback(parameters) " jstcache="31"> <div jsselect="getCallbackParameters(parameters)" jstcache="37" > <h4 jstcache="0">Callback function</h4> <p jstcache="0"> If you specify the <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-onAdded"></a> <h3 jscontent="name" jstcache="16">onAdded </h3> <div class="summary" jstcache="0"> <!-- Note: intentionally longer 80 colu mns --> <span jscontent="getModuleName() + '.'" class="subdued" jstcache="23">ch rome.bookmarks.</span><span jscontent="name" jstcache="16">onAdded</span><span c lass="subdued" jstcache="0">.addListener</span>(function(<span jscontent="getSig natureString(parameters)" jstcache="32">string id, BookmarkTreeNode bookmark</sp an>) <span class="subdued" jstcache="0">{...}</span>); </div> <div class="descri ption" jstcache="0"> <p class="todo" jsdisplay="!description" jstcache="28">Undo cumented.</p> <p jsdisplay="description" jsvalues=".innerHTML:description" jstca che="29" style="display: none; "> A description from the json schema def of the event goes here. </p> <!-- PARAMETERS --> <h4 jstcache="0">Parameters</h4> <dl j stcache="0"> <div jsselect="parameters" jstcache="35" jsinstance="0"> <div jstca che="0"> <dt jstcache="0"> <var jsdisplay="$this.name" jscontent="$this.name" js tcache="45">id</var> <em jstcache="0"> <!-- TYPE --> <div style="display:inline" jstcache="0"> ( <span class="optional" jsdisplay="optional" jstcache="46" style ="display: none; ">optional</span> <span id="typeTemplate" jstcache="0"> <span j sdisplay="getTypeRef($this)" jstcache="47" style="display: none; "> <a jsvalues= ".href: getTypeRefPage($this) + '#type-' + getTypeRef($this)" jscontent="getType Ref($this)" jstcache="49"> Type</a> </span> <span jsdisplay="!getTypeRef($this)" jstcache="48"> <span jsdisplay="isArray($this)" jstcache="50" style="display: n one; "> array of <span jsselect="items" jstcache="52"><span transclude="typeTemp late" jstcache="53"></span></span> </span> <span jsdisplay="!isArray($this)" jsc ontent="getTypeName($this)" jstcache="51">string</span> </span> </span> ) </div> </em> </dt> <dd class="todo" jsdisplay="!$this.description" jstcache="42" style =""> Undocumented. </dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML: $this.description" jstcache="43" style="display: none; ">A single string-valued id, or an array of string-valued ids</dd> <!-- OBJECT PROPERTIES --> <dd jsdispl ay="shouldExpandObject($this)" jstcache="44" style="display: none; "> <dl jstcac he="0"> <div jsselect="getPropertyListFromObject($this)" jstcache="10"> <div tra nsclude="valueTemplate" jstcache="17"> </div> </div> </dl> </dd> </div> </div><d iv jsselect="parameters" jstcache="35" jsinstance="*1"> <div jstcache="0"> <dt j stcache="0"> <var jsdisplay="$this.name" jscontent="$this.name" jstcache="45">bo okmark</var> <em jstcache="0"> <!-- TYPE --> <div style="display:inline" jstcach e="0"> ( <span class="optional" jsdisplay="optional" jstcache="46" style="displa y: none; ">optional</span> <span id="typeTemplate" jstcache="0"> <span jsdisplay ="getTypeRef($this)" jstcache="47" style=""> <a jsvalues=".href: getTypeRefPage( $this) + '#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="4 9" href="bookmarks.html#type-BookmarkTreeNode">BookmarkTreeNode</a> </span> <spa n jsdisplay="!getTypeRef($this)" jstcache="48" style="display: none; "> <span js display="isArray($this)" jstcache="50" style="display: none; "> array of <span j sselect="items" jstcache="52"><span transclude="typeTemplate" jstcache="53"></sp an></span> </span> <span jsdisplay="!isArray($this)" jscontent="getTypeName($thi s)" jstcache="51">string or array of string</span> </span> </span> ) </div> </em > </dt> <dd class="todo" jsdisplay="!$this.description" jstcache="42" style=""> Undocumented. </dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this .description" jstcache="43" style="display: none; ">A single string-valued id, o r an array of string-valued ids</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> </div> <!-- /decription --> </div><div jsselect="events" class="apiItem" jstcach e="12" jsinstance="1"> <a jsvalues=".name:'event-' + name" jstcache="19" name="e vent-onRemoved"></a> <h3 jscontent="name" jstcache="16">onRemoved</h3> <div clas s="summary" jstcache="0"> <!-- Note: intentionally longer 80 columns --> <span j scontent="getModuleName() + '.'" class="subdued" jstcache="23">chrome.bookmarks. </span><span jscontent="name" jstcache="16">onRemoved</span><span class="subdued " jstcache="0">.addListener</span>(function(<span jscontent="getSignatureString( parameters)" jstcache="32">string id, object removeInfo</span>) <span class="sub dued" jstcache="0">{...}</span>); </div> <div class="description" jstcache="0"> <p class="todo" jsdisplay="!description" jstcache="28">Undocumented.</p> <p jsdi splay="description" jsvalues=".innerHTML:description" jstcache="29" style="displ ay: none; "> A description from the json schema def of the event goes here. </p> <!-- PARAMETERS --> <h4 jstcache="0">Parameters</h4> <dl jstcache="0"> <div jss elect="parameters" jstcache="35" jsinstance="0"> <div jstcache="0"> <dt jstcache ="0"> <var jsdisplay="$this.name" jscontent="$this.name" jstcache="45">id</var> <em jstcache="0"> <!-- TYPE --> <div style="display:inline" jstcache="0"> ( <spa n class="optional" jsdisplay="optional" jstcache="46" style="display: none; ">op tional</span> <span id="typeTemplate" jstcache="0"> <span jsdisplay="getTypeRef( $this)" jstcache="47" style="display: none; "> <a jsvalues=".href: getTypeRefPag e($this) + '#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache= "49"> Type</a> </span> <span jsdisplay="!getTypeRef($this)" jstcache="48"> <span jsdisplay="isArray($this)" jstcache="50" style="display: none; "> array of <spa n jsselect="items" jstcache="52"><span transclude="typeTemplate" jstcache="53">< /span></span> </span> <span jsdisplay="!isArray($this)" jscontent="getTypeName($ this)" jstcache="51">string</span> </span> </span> ) </div> </em> </dt> <dd clas s="todo" jsdisplay="!$this.description" jstcache="42" style=""> Undocumented. </ dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.description" js tcache="43" style="display: none; ">A single string-valued id, or an array of st ring-valued ids</dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="shouldExpandObjec t($this)" jstcache="44" style="display: none; "> <dl jstcache="0"> <div jsselect ="getPropertyListFromObject($this)" jstcache="10"> <div transclude="valueTemplat e" jstcache="17"> </div> </div> </dl> </dd> </div> </div><div jsselect="paramete rs" jstcache="35" jsinstance="*1"> <div jstcache="0"> <dt jstcache="0"> <var jsd isplay="$this.name" jscontent="$this.name" jstcache="45">removeInfo</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">object</span> </span> </span> ) </div> </em> </dt> <dd class="tod o" jsdisplay="!$this.description" jstcache="42" style=""> Undocumented. </dd> <d d jsdisplay="$this.description" jsvalues=".innerHTML:$this.description" jstcache ="43" style="display: none; ">A single string-valued id, or an array of string-v alued ids</dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="shouldExpandObject($thi s)" jstcache="44" style=""> <dl jstcache="0"> <div jsselect="getPropertyListFrom Object($this)" jstcache="10" jsinstance="0"> <div jstcache="0"> <dt jstcache="0" > <var jsdisplay="$this.name" jscontent="$this.name" jstcache="45">parentId</var > <em jstcache="0"> <!-- TYPE --> <div style="display:inline" jstcache="0"> ( <s pan class="optional" jsdisplay="optional" jstcache="46" style="display: none; "> optional</span> <span id="typeTemplate" jstcache="0"> <span jsdisplay="getTypeRe f($this)" jstcache="47" style="display: none; "> <a jsvalues=".href: getTypeRefP age($this) + '#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcach e="49"> Type</a> </span> <span jsdisplay="!getTypeRef($this)" jstcache="48"> <sp an jsdisplay="isArray($this)" jstcache="50" style="display: none; "> array of <s pan jsselect="items" jstcache="52"><span transclude="typeTemplate" jstcache="53" ></span></span> </span> <span jsdisplay="!isArray($this)" jscontent="getTypeName ($this)" jstcache="51">integer</span> </span> </span> ) </div> </em> </dt> <dd c lass="todo" jsdisplay="!$this.description" jstcache="42" style=""> Undocumented. </dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.description" jstcache="43" style="display: none; ">A single string-valued id, or an array of string-valued ids</dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="shouldExpandOb ject($this)" jstcache="44" style="display: none; "> <dl jstcache="0"> <div jssel ect="getPropertyListFromObject($this)" jstcache="10"> <div transclude="valueTemp late" jstcache="17"> </div> </div> </dl> </dd> </div> </div><div jsselect="getPr opertyListFromObject($this)" jstcache="10" jsinstance="*1"> <div jstcache="0"> < dt jstcache="0"> <var jsdisplay="$this.name" jscontent="$this.name" jstcache="45 ">index</var> <em jstcache="0"> <!-- TYPE --> <div style="display:inline" jstcac he="0"> ( <span class="optional" jsdisplay="optional" jstcache="46" style="displ ay: none; ">optional</span> <span id="typeTemplate" jstcache="0"> <span jsdispla y="getTypeRef($this)" jstcache="47" style="display: none; "> <a jsvalues=".href: getTypeRefPage($this) + '#type-' + getTypeRef($this)" jscontent="getTypeRef($th is)" jstcache="49"> Type</a> </span> <span jsdisplay="!getTypeRef($this)" jstcac he="48"> <span jsdisplay="isArray($this)" jstcache="50" style="display: none; "> array of <span jsselect="items" jstcache="52"><span transclude="typeTemplate" j stcache="53"></span></span> </span> <span jsdisplay="!isArray($this)" jscontent= "getTypeName($this)" jstcache="51">integer</span> </span> </span> ) </div> </em> </dt> <dd class="todo" jsdisplay="!$this.description" jstcache="42" style=""> U ndocumented. </dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this. description" jstcache="43" style="display: none; ">A single string-valued id, or an array of string-valued ids</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> </dl> < /dd> </div> </div> </dl> </div> <!-- /decription --> </div><div jsselect="events " class="apiItem" jstcache="12" jsinstance="2"> <a jsvalues=".name:'event-' + na me" jstcache="19" name="event-onChanged"></a> <h3 jscontent="name" jstcache="16" >onChanged</h3> <div class="summary" jstcache="0"> <!-- Note: intentionally long er 80 columns --> <span jscontent="getModuleName() + '.'" class="subdued" jstcac he="23">chrome.bookmarks.</span><span jscontent="name" jstcache="16">onChanged</ span><span class="subdued" jstcache="0">.addListener</span>(function(<span jscon tent="getSignatureString(parameters)" jstcache="32">string id, object changeInfo </span>) <span class="subdued" jstcache="0">{...}</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 event goes here. </p> <!-- PARAMETERS --> <h4 jstcache="0">Parameters</h4> < dl jstcache="0"> <div jsselect="parameters" jstcache="35" jsinstance="0"> <div j stcache="0"> <dt jstcache="0"> <var jsdisplay="$this.name" jscontent="$this.name " jstcache="45">id</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="displa y: none; "> array of <span jsselect="items" jstcache="52"><span transclude="type Template" jstcache="53"></span></span> </span> <span jsdisplay="!isArray($this)" jscontent="getTypeName($this)" jstcache="51">string</span> </span> </span> ) </ div> </em> </dt> <dd class="todo" jsdisplay="!$this.description" jstcache="42" s tyle=""> Undocumented. </dd> <dd jsdisplay="$this.description" jsvalues=".innerH TML:$this.description" jstcache="43" style="display: none; ">A single string-val ued id, or an array of string-valued ids</dd> <!-- OBJECT PROPERTIES --> <dd jsd isplay="shouldExpandObject($this)" jstcache="44" style="display: none; "> <dl js tcache="0"> <div jsselect="getPropertyListFromObject($this)" jstcache="10"> <div transclude="valueTemplate" jstcache="17"> </div> </div> </dl> </dd> </div> </di v><div jsselect="parameters" jstcache="35" jsinstance="*1"> <div jstcache="0"> < dt jstcache="0"> <var jsdisplay="$this.name" jscontent="$this.name" jstcache="45 ">changeInfo</var> <em jstcache="0"> <!-- TYPE --> <div style="display:inline" j stcache="0"> ( <span class="optional" jsdisplay="optional" jstcache="46" style=" display: none; ">optional</span> <span id="typeTemplate" jstcache="0"> <span jsd isplay="getTypeRef($this)" jstcache="47" style="display: none; "> <a jsvalues=". href: getTypeRefPage($this) + '#type-' + getTypeRef($this)" jscontent="getTypeRe f($this)" jstcache="49"> Type</a> </span> <span jsdisplay="!getTypeRef($this)" j stcache="48"> <span jsdisplay="isArray($this)" jstcache="50" style="display: non e; "> array of <span jsselect="items" jstcache="52"><span transclude="typeTempla te" jstcache="53"></span></span> </span> <span jsdisplay="!isArray($this)" jscon tent="getTypeName($this)" jstcache="51">object</span> </span> </span> ) </div> < /em> </dt> <dd class="todo" jsdisplay="!$this.description" jstcache="42" style=" "> Undocumented. </dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML:$t his.description" jstcache="43" style="display: none; ">A single string-valued id , or an array of string-valued ids</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> </div> <!-- /decription --> </div><div jsselect="events" class="apiItem" jstc ache="12" jsinstance="3"> <a jsvalues=".name:'event-' + name" jstcache="19" name ="event-onMoved"></a> <h3 jscontent="name" jstcache="16">onMoved</h3> <div class ="summary" jstcache="0"> <!-- Note: intentionally longer 80 columns --> <span js content="getModuleName() + '.'" class="subdued" jstcache="23">chrome.bookmarks.< /span><span jscontent="name" jstcache="16">onMoved</span><span class="subdued" j stcache="0">.addListener</span>(function(<span jscontent="getSignatureString(par ameters)" jstcache="32">string id, object moveInfo</span>) <span class="subdued" jstcache="0">{...}</span>); </div> <div class="description" jstcache="0"> <p cl ass="todo" jsdisplay="!description" jstcache="28">Undocumented.</p> <p jsdisplay ="description" jsvalues=".innerHTML:description" jstcache="29" style="display: n one; "> 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" jsinstance="0"> <div jstcache="0"> <dt jstcache="0"> <var jsdisplay="$this.name" jscontent="$this.name" jstcache="45">id</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">string</span> </span> </span> ) </div> </em> </dt> <dd class="to do" jsdisplay="!$this.description" jstcache="42" style=""> Undocumented. </dd> < dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.description" jstcach e="43" style="display: none; ">A single string-valued id, or an array of string- valued ids</dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="shouldExpandObject($th is)" jstcache="44" style="display: none; "> <dl jstcache="0"> <div jsselect="get PropertyListFromObject($this)" jstcache="10"> <div transclude="valueTemplate" js tcache="17"> </div> </div> </dl> </dd> </div> </div><div jsselect="parameters" j stcache="35" jsinstance="*1"> <div jstcache="0"> <dt jstcache="0"> <var jsdispla y="$this.name" jscontent="$this.name" jstcache="45">moveInfo</var> <em jstcache= "0"> <!-- TYPE --> <div style="display:inline" jstcache="0"> ( <span class="opti onal" jsdisplay="optional" jstcache="46" style="display: none; ">optional</span> <span id="typeTemplate" jstcache="0"> <span jsdisplay="getTypeRef($this)" jstca che="47" style="display: none; "> <a jsvalues=".href: getTypeRefPage($this) + '# type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="49"> Type</a > </span> <span jsdisplay="!getTypeRef($this)" jstcache="48"> <span jsdisplay="i sArray($this)" jstcache="50" style="display: none; "> array of <span jsselect="i tems" jstcache="52"><span transclude="typeTemplate" jstcache="53"></span></span> </span> <span jsdisplay="!isArray($this)" jscontent="getTypeName($this)" jstcac he="51">object</span> </span> </span> ) </div> </em> </dt> <dd class="todo" jsdi splay="!$this.description" jstcache="42" style=""> Undocumented. </dd> <dd jsdis play="$this.description" jsvalues=".innerHTML:$this.description" jstcache="43" s tyle="display: none; ">A single string-valued id, or an array of string-valued i ds</dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="shouldExpandObject($this)" jst cache="44" style=""> <dl jstcache="0"> <div jsselect="getPropertyListFromObject( $this)" jstcache="10" jsinstance="0"> <div jstcache="0"> <dt jstcache="0"> <var jsdisplay="$this.name" jscontent="$this.name" jstcache="45">parentId</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" style=""> Undocumented. </dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.description" jstcac he="43" style="display: none; ">A single string-valued id, or an array of string -valued ids</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">index< /var> <em jstcache="0"> <!-- TYPE --> <div style="display:inline" jstcache="0"> ( <span class="optional" jsdisplay="optional" jstcache="46" style="display: none ; ">optional</span> <span id="typeTemplate" jstcache="0"> <span jsdisplay="getTy peRef($this)" jstcache="47" style="display: none; "> <a jsvalues=".href: getType RefPage($this) + '#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jst cache="49"> Type</a> </span> <span jsdisplay="!getTypeRef($this)" jstcache="48"> <span jsdisplay="isArray($this)" jstcache="50" style="display: none; "> array o f <span jsselect="items" jstcache="52"><span transclude="typeTemplate" jstcache= "53"></span></span> </span> <span jsdisplay="!isArray($this)" jscontent="getType Name($this)" jstcache="51">integer</span> </span> </span> ) </div> </em> </dt> < dd class="todo" jsdisplay="!$this.description" jstcache="42" style=""> Undocumen ted. </dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.descript ion" jstcache="43" style="display: none; ">A single string-valued id, or an arra y of string-valued ids</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> </div><div jsselect="g etPropertyListFromObject($this)" jstcache="10" jsinstance="2"> <div jstcache="0" > <dt jstcache="0"> <var jsdisplay="$this.name" jscontent="$this.name" jstcache= "45">oldParentId</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" st yle=""> Undocumented. </dd> <dd jsdisplay="$this.description" jsvalues=".innerHT ML:$this.description" jstcache="43" style="display: none; ">A single string-valu ed id, or an array of string-valued ids</dd> <!-- OBJECT PROPERTIES --> <dd jsdi splay="shouldExpandObject($this)" jstcache="44" style="display: none; "> <dl jst cache="0"> <div jsselect="getPropertyListFromObject($this)" jstcache="10"> <div transclude="valueTemplate" jstcache="17"> </div> </div> </dl> </dd> </div> </div ><div jsselect="getPropertyListFromObject($this)" jstcache="10" jsinstance="*3"> <div jstcache="0"> <dt jstcache="0"> <var jsdisplay="$this.name" jscontent="$th is.name" jstcache="45">oldIndex</var> <em jstcache="0"> <!-- TYPE --> <div style ="display:inline" jstcache="0"> ( <span class="optional" jsdisplay="optional" js tcache="46" style="display: none; ">optional</span> <span id="typeTemplate" jstc ache="0"> <span jsdisplay="getTypeRef($this)" jstcache="47" style="display: none ; "> <a jsvalues=".href: getTypeRefPage($this) + '#type-' + getTypeRef($this)" j scontent="getTypeRef($this)" jstcache="49"> Type</a> </span> <span jsdisplay="!g etTypeRef($this)" jstcache="48"> <span jsdisplay="isArray($this)" jstcache="50" style="display: none; "> array of <span jsselect="items" jstcache="52"><span tra nsclude="typeTemplate" jstcache="53"></span></span> </span> <span jsdisplay="!is Array($this)" jscontent="getTypeName($this)" jstcache="51">integer</span> </span > </span> ) </div> </em> </dt> <dd class="todo" jsdisplay="!$this.description" j stcache="42" style=""> Undocumented. </dd> <dd jsdisplay="$this.description" jsv alues=".innerHTML:$this.description" jstcache="43" style="display: none; ">A sin gle string-valued id, or an array of string-valued ids</dd> <!-- OBJECT PROPERTI ES --> <dd jsdisplay="shouldExpandObject($this)" jstcache="44" style="display: n one; "> <dl jstcache="0"> <div jsselect="getPropertyListFromObject($this)" jstca che="10"> <div transclude="valueTemplate" jstcache="17"> </div> </div> </dl> </d d> </div> </div> </dl> </dd> </div> </div> </dl> </div> <!-- /decription --> </d iv><div jsselect="events" class="apiItem" jstcache="12" jsinstance="*4"> <a jsva lues=".name:'event-' + name" jstcache="19" name="event-onChildrenReordered"></a> <h3 jscontent="name" jstcache="16">onChildrenReordered</h3> <div class="summary " jstcache="0"> <!-- Note: intentionally longer 80 columns --> <span jscontent=" getModuleName() + '.'" class="subdued" jstcache="23">chrome.bookmarks.</span><sp an jscontent="name" jstcache="16">onChildrenReordered</span><span class="subdued " jstcache="0">.addListener</span>(function(<span jscontent="getSignatureString( parameters)" jstcache="32">string id, arary childIds</span>) <span class="subdue d" jstcache="0">{...}</span>); </div> <div class="description" jstcache="0"> <p class="todo" jsdisplay="!description" jstcache="28">Undocumented.</p> <p jsdispl ay="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"> <div jssele ct="parameters" jstcache="35" jsinstance="0"> <div jstcache="0"> <dt jstcache="0 "> <var jsdisplay="$this.name" jscontent="$this.name" jstcache="45">id</var> <em jstcache="0"> <!-- TYPE --> <div style="display:inline" jstcache="0"> ( <span c lass="optional" jsdisplay="optional" jstcache="46" style="display: none; ">optio nal</span> <span id="typeTemplate" jstcache="0"> <span jsdisplay="getTypeRef($th is)" jstcache="47" style="display: none; "> <a jsvalues=".href: getTypeRefPage($ this) + '#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="49 "> Type</a> </span> <span jsdisplay="!getTypeRef($this)" jstcache="48"> <span js display="isArray($this)" jstcache="50" style="display: none; "> array of <span j sselect="items" jstcache="52"><span transclude="typeTemplate" jstcache="53"></sp an></span> </span> <span jsdisplay="!isArray($this)" jscontent="getTypeName($thi s)" jstcache="51">string</span> </span> </span> ) </div> </em> </dt> <dd class=" todo" jsdisplay="!$this.description" jstcache="42" style=""> Undocumented. </dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.description" jstca che="43" style="display: none; ">A single string-valued id, or an array of strin g-valued ids</dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="shouldExpandObject($ this)" jstcache="44" style="display: none; "> <dl jstcache="0"> <div jsselect="g etPropertyListFromObject($this)" jstcache="10"> <div transclude="valueTemplate" jstcache="17"> </div> </div> </dl> </dd> </div> </div><div jsselect="parameters" jstcache="35" jsinstance="*1"> <div jstcache="0"> <dt jstcache="0"> <var jsdisp lay="$this.name" jscontent="$this.name" jstcache="45">childIds</var> <em jstcach e="0"> <!-- TYPE --> <div style="display:inline" jstcache="0"> ( <span class="op tional" jsdisplay="optional" jstcache="46" style="display: none; ">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">arary</span> </span> </span> ) </div> </em> </dt> <dd class="todo" jsd isplay="!$this.description" jstcache="42" style=""> Undocumented. </dd> <dd jsdi splay="$this.description" jsvalues=".innerHTML:$this.description" jstcache="43" style="display: none; ">A single string-valued id, or an array of string-valued ids</dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="shouldExpandObject($this)" js tcache="44" style="display: none; "> <dl jstcache="0"> <div jsselect="getPropert yListFromObject($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 o ver all types --> <div jsselect="types" class="apiItem" jstcache="13" jsinstance ="*0"> <a jsvalues=".name:'type-' + id" jstcache="20" name="type-BookmarkTreeNod e"></a> <h3 jscontent="id" jstcache="21">BookmarkTreeNode</h3> <div jstcache="0" > <dt jstcache="0"> <var jsdisplay="$this.name" jscontent="$this.name" jstcache= "45" style="display: none; ">idOrIdList</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">object</span> </span> </span> ) </div> </em> </dt> <dd class="todo" jsdisplay="!$this.descrip tion" jstcache="42" style=""> Undocumented. </dd> <dd jsdisplay="$this.descripti on" jsvalues=".innerHTML:$this.description" jstcache="43" style="display: none; ">A single string-valued id, or an array of string-valued ids</dd> <!-- OBJECT P ROPERTIES --> <dd jsdisplay="shouldExpandObject($this)" jstcache="44" style=""> <dl jstcache="0"> <div jsselect="getPropertyListFromObject($this)" jstcache="10" jsinstance="0"> <div jstcache="0"> <dt jstcache="0"> <var jsdisplay="$this.name " jscontent="$this.name" jstcache="45">id</var> <em jstcache="0"> <!-- TYPE --> <div style="display:inline" jstcache="0"> ( <span class="optional" jsdisplay="op tional" jstcache="46" style="display: none; ">optional</span> <span id="typeTemp late" jstcache="0"> <span jsdisplay="getTypeRef($this)" jstcache="47" style="dis play: none; "> <a jsvalues=".href: getTypeRefPage($this) + '#type-' + getTypeRef ($this)" jscontent="getTypeRef($this)" jstcache="49"> Type</a> </span> <span jsd isplay="!getTypeRef($this)" jstcache="48"> <span jsdisplay="isArray($this)" jstc ache="50" style="display: none; "> array of <span jsselect="items" jstcache="52" ><span transclude="typeTemplate" jstcache="53"></span></span> </span> <span jsdi splay="!isArray($this)" jscontent="getTypeName($this)" jstcache="51">integer</sp an> </span> </span> ) </div> </em> </dt> <dd class="todo" jsdisplay="!$this.desc ription" jstcache="42" style=""> Undocumented. </dd> <dd jsdisplay="$this.descri ption" jsvalues=".innerHTML:$this.description" jstcache="43" style="display: non e; ">A single string-valued id, or an array of string-valued ids</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="1"> <div jstcache="0"> <dt jstcache="0"> <var jsdisplay="$t his.name" jscontent="$this.name" jstcache="45">index</var> <em jstcache="0"> <!- - TYPE --> <div style="display:inline" jstcache="0"> ( <span class="optional" js display="optional" jstcache="46" style="display: none; ">optional</span> <span i d="typeTemplate" jstcache="0"> <span jsdisplay="getTypeRef($this)" jstcache="47" style="display: none; "> <a jsvalues=".href: getTypeRefPage($this) + '#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="49"> Type</a> </span > <span jsdisplay="!getTypeRef($this)" jstcache="48"> <span jsdisplay="isArray($ this)" jstcache="50" style="display: none; "> array of <span jsselect="items" js tcache="52"><span transclude="typeTemplate" jstcache="53"></span></span> </span> <span jsdisplay="!isArray($this)" jscontent="getTypeName($this)" jstcache="51"> integer</span> </span> </span> ) </div> </em> </dt> <dd class="todo" jsdisplay=" !$this.description" jstcache="42" style=""> Undocumented. </dd> <dd jsdisplay="$ this.description" jsvalues=".innerHTML:$this.description" jstcache="43" style="d isplay: none; ">A single string-valued id, or an array of string-valued ids</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><div jsselect="getPropertyListFromObject($t his)" jstcache="10" jsinstance="2"> <div jstcache="0"> <dt jstcache="0"> <var js display="$this.name" jscontent="$this.name" jstcache="45">windowId</var> <em jst cache="0"> <!-- TYPE --> <div style="display:inline" jstcache="0"> ( <span class ="optional" jsdisplay="optional" jstcache="46" style="display: none; ">optional< /span> <span id="typeTemplate" jstcache="0"> <span jsdisplay="getTypeRef($this)" jstcache="47" style="display: none; "> <a jsvalues=".href: getTypeRefPage($this ) + '#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="49"> T ype</a> </span> <span jsdisplay="!getTypeRef($this)" jstcache="48"> <span jsdisp lay="isArray($this)" jstcache="50" style="display: none; "> array of <span jssel ect="items" jstcache="52"><span transclude="typeTemplate" jstcache="53"></span>< /span> </span> <span jsdisplay="!isArray($this)" jscontent="getTypeName($this)" jstcache="51">integer</span> </span> </span> ) </div> </em> </dt> <dd class="tod o" jsdisplay="!$this.description" jstcache="42" style=""> Undocumented. </dd> <d d jsdisplay="$this.description" jsvalues=".innerHTML:$this.description" jstcache ="43" style="display: none; ">A single string-valued id, or an array of string-v alued ids</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><div jsselect="getPropertyLis tFromObject($this)" jstcache="10" jsinstance="3"> <div jstcache="0"> <dt jstcach e="0"> <var jsdisplay="$this.name" jscontent="$this.name" jstcache="45">selected </var> <em jstcache="0"> <!-- TYPE --> <div style="display:inline" jstcache="0"> ( <span class="optional" jsdisplay="optional" jstcache="46" style="display: non e; ">optional</span> <span id="typeTemplate" jstcache="0"> <span jsdisplay="getT ypeRef($this)" jstcache="47" style="display: none; "> <a jsvalues=".href: getTyp eRefPage($this) + '#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" js tcache="49"> Type</a> </span> <span jsdisplay="!getTypeRef($this)" jstcache="48" > <span jsdisplay="isArray($this)" jstcache="50" style="display: none; "> array of <span jsselect="items" jstcache="52"><span transclude="typeTemplate" jstcache ="53"></span></span> </span> <span jsdisplay="!isArray($this)" jscontent="getTyp eName($this)" jstcache="51">boolean</span> </span> </span> ) </div> </em> </dt> <dd class="todo" jsdisplay="!$this.description" jstcache="42" style=""> Undocume nted. </dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.descrip tion" jstcache="43" style="display: none; ">A single string-valued id, or an arr ay of string-valued ids</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> </div><div jsselect=" getPropertyListFromObject($this)" jstcache="10" jsinstance="4"> <div jstcache="0 "> <dt jstcache="0"> <var jsdisplay="$this.name" jscontent="$this.name" jstcache ="45">url</var> <em jstcache="0"> <!-- TYPE --> <div style="display:inline" 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">string</span> </span> </span> ) </div> </em > </dt> <dd class="todo" jsdisplay="!$this.description" jstcache="42" style=""> Undocumented. </dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this .description" jstcache="43" style="display: none; ">A single string-valued id, o r an array of string-valued ids</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="5"> <div jst cache="0"> <dt jstcache="0"> <var jsdisplay="$this.name" jscontent="$this.name" jstcache="45">title</var> <em jstcache="0"> <!-- TYPE --> <div style="display:in line" 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: 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">string</span> </span> </span> ) </div> </em> </d t> <dd class="todo" jsdisplay="!$this.description" jstcache="42" style=""> Undoc umented. </dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.desc ription" jstcache="43" style="display: none; ">A single string-valued id, or an array of string-valued ids</dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="should ExpandObject($this)" jstcache="44" style="display: none; "> <dl jstcache="0"> <d iv jsselect="getPropertyListFromObject($this)" jstcache="10"> <div transclude="v alueTemplate" jstcache="17"> </div> </div> </dl> </dd> </div> </div><div jsselec t="getPropertyListFromObject($this)" jstcache="10" jsinstance="*6"> <div jstcach e="0"> <dt jstcache="0"> <var jsdisplay="$this.name" jscontent="$this.name" jstc ache="45">favIconUrl</var> <em jstcache="0"> <!-- TYPE --> <div style="display:i nline" jstcache="0"> ( <span class="optional" jsdisplay="optional" jstcache="46" style="">optional</span> <span id="typeTemplate" jstcache="0"> <span jsdisplay= "getTypeRef($this)" jstcache="47" style="display: none; "> <a jsvalues=".href: g etTypeRefPage($this) + '#type-' + getTypeRef($this)" jscontent="getTypeRef($this )" jstcache="49"> Type</a> </span> <span jsdisplay="!getTypeRef($this)" jstcache ="48"> <span jsdisplay="isArray($this)" jstcache="50" style="display: none; "> a rray of <span jsselect="items" jstcache="52"><span transclude="typeTemplate" jst cache="53"></span></span> </span> <span jsdisplay="!isArray($this)" jscontent="g etTypeName($this)" jstcache="51">string</span> </span> </span> ) </div> </em> </ dt> <dd class="todo" jsdisplay="!$this.description" jstcache="42" style=""> Undo cumented. </dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.des cription" jstcache="43" style="display: none; ">A single string-valued id, or an array of string-valued ids</dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="shoul dExpandObject($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="pageFoote r" --="" jstcache="0"> Copyright 2009. For terms of use, see the Chromium <a hre f="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.bookmarks API Reference</h1> </div> </div> <!-- /pageHeader --> <div id="pageContent" jstcache="0"> <!-- SIDENAV --> <div id="l eftNav" jstcache="0"> <ul jstcache="0"> <li jstcache="0"> <a href="index.html" j stcache="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">O verview</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=" toolstrip.html" jstcache="0">Toolstrips</a></li> <li jstcache="0"><a href="pageA ctions.html" jstcache="0">Page Actions</a></li> <li jstcache="0"><a href="backgr ound_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"><a href="windows. html" jstcache="0">Windows</a></li> <li jstcache="0" class="leftNavSelected">Boo kmarks</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"> <a jscontent="name" jsvalues=".href:'#' + href" jstca che="14" href="#H2-0">Description</a> <ol jstcache="0"> <li jsselect="$this.chil dren" jstcache="22" jsinstance="0"> <a jscontent="name" jsvalues=".href:'#' + hr ef" jstcache="14" href="#H3-1">Properties</a> </li><li jsselect="$this.children" jstcache="22" jsinstance="*1"> <a jscontent="name" jsvalues=".href:'#' + href" jstcache="14" href="#H3-2">Examples</a> </li> </ol> </li> <div jsselect="apiDefi nition" jstcache="4"> <li jsdisplay="$this.properties" jstcache="5" style="displ ay: none; "> <a href="#properties" jstcache="0">Properties</a> <ol jstcache="0"> <li jsselect="getPropertyListFromObject($this)" jstcache="10"> <a jscontent="na me" jsvalues=".href:'#property-' + name" href="#property-anchor" jstcache="38">p ropertyName</a> </li> </ol> </li> <li jsdisplay="functions &amp;&amp; functions. length &gt; 0" jstcache="6"> <a href="#methods" jstcache="0">Methods</a> <ol jst cache="0"> <li jsselect="functions" jstcache="11" jsinstance="0"> <a jscontent=" name" jsvalues=".href:'#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-getChildren" jstcache="39">ge tChildren</a> </li><li jsselect="functions" jstcache="11" jsinstance="2"> <a jsc ontent="name" jsvalues=".href:'#method-' + name" href="#method-getTree" jstcache ="39">getTree</a> </li><li jsselect="functions" jstcache="11" jsinstance="3"> <a jscontent="name" jsvalues=".href:'#method-' + name" href="#method-search" jstca che="39">search</a> </li><li jsselect="functions" jstcache="11" jsinstance="4"> <a jscontent="name" jsvalues=".href:'#method-' + name" href="#method-create" jst cache="39">create</a> </li><li jsselect="functions" jstcache="11" jsinstance="5" > <a jscontent="name" jsvalues=".href:'#method-' + name" href="#method-move" jst cache="39">move</a> </li><li jsselect="functions" jstcache="11" jsinstance="6"> <a jscontent="name" jsvalues=".href:'#method-' + name" href="#method-update" jst cache="39">update</a> </li><li jsselect="functions" jstcache="11" jsinstance="7" > <a jscontent="name" jsvalues=".href:'#method-' + name" href="#method-remove" j stcache="39">remove</a> </li><li jsselect="functions" jstcache="11" jsinstance=" *8"> <a jscontent="name" jsvalues=".href:'#method-' + name" href="#method-remove Tree" jstcache="39">removeTree</a> </li> </ol> </li> <li jsdisplay="events &amp; &amp; events.length &gt; 0" jstcache="7"> <a href="#events" jstcache="0">Events< /a> <ol jstcache="0"> <li jsselect="events" jstcache="12" jsinstance="0"> <a jsc ontent="name" jsvalues=".href:'#event-' + name" href="#event-onAdded" jstcache=" 40">onAdded</a> </li><li jsselect="events" jstcache="12" jsinstance="1"> <a jsco ntent="name" jsvalues=".href:'#event-' + name" href="#event-onRemoved" jstcache= "40">onRemoved</a> </li><li jsselect="events" jstcache="12" jsinstance="2"> <a j scontent="name" jsvalues=".href:'#event-' + name" href="#event-onChanged" jstcac he="40">onChanged</a> </li><li jsselect="events" jstcache="12" jsinstance="3"> < a jscontent="name" jsvalues=".href:'#event-' + name" href="#event-onMoved" jstca che="40">onMoved</a> </li><li jsselect="events" jstcache="12" jsinstance="*4"> < a jscontent="name" jsvalues=".href:'#event-' + name" href="#event-onChildrenReor dered" jstcache="40">onChildrenReordered</a> </li> </ol> </li> <li jsdisplay="ty pes &amp;&amp; types.length &gt; 0" jstcache="8"> <a href="#types" jstcache="0"> Types</a> <ol jstcache="0"> <li jsselect="types" jstcache="13" jsinstance="*0"> <a jscontent="id" jsvalues=".href:'#type-' + id" href="#type-BookmarkTreeNode" j stcache="41">BookmarkTreeNode</a> </li> </ol> </li> </div> </ol> </div> <!-- /TA BLE OF CONTENTS --> <!-- STATIC CONTENT PLACEHOLDER --> <div id="static" jstcach e="0"><!-- BEGIN AUTHORED CONTENT --> <p id="classSummary" jstcache="0"> Use the <code jstcache="0">chrome.bookmarks</code> API to create, organize, and otherwi se manipulate bookmarks. </p> <a name="H2-0" jstcache="0"></a><h2 id="descriptio n" jstcache="0">Description</h2> <p jstcache="0"> [PENDING: intro goes here...] </p> <p jstcache="0"> <em jstcache="0">Bookmark objects</em> are an important pa rt of the <code jstcache="0">chrome.bookmarks</code> API. Each bookmark object r epresents either a URL or a group of bookmarks, as you can see in the following figure. </p> <img alt="2 kinds of bookmark objects" width="415" height="123" src ="images/bookmarks.png" jstcache="0"> <a name="H3-1" jstcache="0"></a><h3 id="ov erview-properties" jstcache="0">Properties</h3> <p jstcache="0">Objects that rep resent bookmarks can have the following properties: </p> <dl jstcache="0"> <dt j stcache="0"> <code jstcache="0">id</code> </dt> <dd jstcache="0"> An integer ID that's unique for each bookmark. Don't save this ID in persistent storage; the I D for a particular bookmark might change the next time the browser is started. < /dd> <dt jstcache="0"> <code jstcache="0">title</code> </dt> <dd jstcache="0"> T he name of the bookmark. This is the user-visible string that describes the URL or group. </dd> <dt jstcache="0"> <code jstcache="0">parentId </code> <em jstcac he="0">(omitted for the root group)</em> </dt> <dd jstcache="0"> The ID of the g roup that this bookmark is in. </dd> <dt jstcache="0"> <code jstcache="0">index< /code> <em jstcache="0">(optional; omitted for the root group)</em> </dt> <dd js tcache="0"> The 0-based integer position of the bookmark within its group. </dd> <dt jstcache="0"> <code jstcache="0">url</code> <em jstcache="0">(omitted for g roups)</em> </dt> <dd jstcache="0"> The URL of the page that the bookmark points to. </dd> </dl> <a name="H3-2" jstcache="0"></a><h3 id="overview-examples" jstc ache="0">Examples</h3> <p jstcache="0"> The following code creates a bookmark gr oup with the title "Chromium bookmarks". The last argument defines a function to be executed after the folder is created. </p> <pre jstcache="0">chrome.bookmark s.create({'parentId': bookmarkBar.id, 'title': 'Chromium bookmarks'}, function(n ewFolder) {...}); </pre> <p jstcache="0"> The next snippet creates a bookmark po inting to the Chromium developer doc. Since nothing too bad will happen if creat ing the bookmark fails, this snippet doesn't bother to define a callback functio n. </p> <pre jstcache="0">chrome.bookmarks.create({'parentId': chromiumBookmarks .id, 'title': 'dev doc', 'url': 'http://dev.chromium.org'}); </pre> <p jstcache= "0"> Say you have bookmark hierarchy that looks like this:</p> <ul jstcache="0"> <li jstcache="0">Bookmarks</li> <ul jstcache="0"> <li jstcache="0">Google</li> <ul jstcache="0"> <li jstcache="0">Apps</li> <ul jstcache="0"> <li jstcache="0"> ...</li> <li jstcache="0">...</li> <li jstcache="0">...</li> </ul> <li jstcache= "0">Google homepage</li> </ul> <li jstcache="0">Example</li> </ul> </ul> <p jstc ache="0"> Here's how those bookmarks might be represented with bookmark objects: </p> <img alt="a hierarchy of bookmarks" width="522" height="594" src="images/bo okmarks-hierarchy.png" jstcache="0"> <p jstcache="0"> Here's some code you could use to create that hierarchy:</p> <pre class="example" jstcache="0">...code goe s here... </pre> <div class="exampleLink" jstcache="0"> <a href="http://www.goog le.com/url?q=http%3A%2F%2Fexample.com&amp;sa=D&amp;sntz=1&amp;usg=AFrqEzd0oeJ1qG wYPoKuq1dTesEchMDLIQ" jstcache="0">Full source code</a> | <a href="http://www.go ogle.com/url?q=http%3A%2F%2Fexample.com&amp;sa=D&amp;sntz=1&amp;usg=AFrqEzd0oeJ1 qGwYPoKuq1dTesEchMDLIQ" jstcache="0">Install extension</a> </div> <!-- END examp leLink --> <!-- END AUTHORED CONTENT --> </div> <!-- API PAGE --> <div class="ap iPage" jsselect="apiDefinition" jstcache="4"> <!-- PROPERTIES --> <div jsdisplay ="$this.properties" class="apiGroup" jstcache="5" style="display: none; "> <a na me="#properties" jstcache="0"></a> <h2 id="properties" jstcache="0">Properties</ h2> <div jsselect="getPropertyListFromObject($this)" jstcache="10"> <a jsvalues= ".name:'property-' + name" jstcache="15"></a> <h3 jscontent="name" jstcache="16" >getLastError</h3> <div class="summary" jstcache="0"> <!-- Note: intentionally l onger 80 columns --> <span jscontent="getModuleName() + '.'" jstcache="23">chrom e.extension</span><span jscontent="$this.name" jstcache="24">lastError</span> </ div> <div transclude="valueTemplate" jstcache="17"> </div> </div> </div> <!-- /a piGroup --> <!-- METHODS --> <div jsdisplay="functions &amp;&amp; functions.leng th &gt; 0" class="apiGroup" id="methods" jstcache="6"> <a name="#methods" jstcac he="0"></a> <h2 jstcache="0">Methods</h2> <!-- iterates over all functions --> < div class="apiItem" jsselect="functions" jstcache="11" jsinstance="0"> <a jsvalu es=".name:'method-' + name" jstcache="18" name="method-get"></a> <!-- method-anc hor --> <h3 jscontent="name" jstcache="16">get</h3> <div class="summary" jstcach e="0"><span jsdisplay="returns" jscontent="getTypeName(returns)" jstcache="25" s tyle="display: none; ">void</span> <!-- Note: intentionally longer 80 columns -- > <span jscontent="getFullyQualifiedFunctionName($this)" jstcache="26">chrome.bo okmarks.get</span>(<span jsselect="parameters" jsvalues="class:optional ? 'optio nal' : ''" jstcache="27" jsinstance="0" class="null"><span jsdisplay="$index" js tcache="33" style="display: none; ">, </span><span jscontent="getTypeName($this) " jstcache="34">string or array of string</span> <var jstcache="0"><span jsconte nt="name" jstcache="16">idOrIdList</span></var></span><span jsselect="parameters " jsvalues="class:optional ? 'optional' : ''" jstcache="27" jsinstance="*1" clas s="null"><span jsdisplay="$index" jstcache="33">, </span><span jscontent="getTyp eName($this)" jstcache="34">function</span> <var jstcache="0"><span jscontent="n ame" jstcache="16">callback</span></var></span>)</div> <div class="description" jstcache="0"> <p class="todo" jsdisplay="!description" jstcache="28" style="disp lay: none; ">Undocumented.</p> <p jsdisplay="description" jsvalues=".innerHTML:d escription" jstcache="29">Retrieves the specified BookmarkTreeNode(s).</p> <!-- PARAMETERS --> <h4 jstcache="0">Parameters</h4> <dl jstcache="0"> <div jsselect= "parameters" jstcache="35" jsinstance="0"> <!-- VALUE: This is a subtemplate tha t is used elsewhere via jsTemplate *transclude* --> <div id="valueTemplate" jstc ache="0"> <dt jstcache="0"> <var jsdisplay="$this.name" jscontent="$this.name" j stcache="45">idOrIdList</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">string or array of string</sp an> </span> </span> ) </div> </em> </dt> <dd class="todo" jsdisplay="!$this.desc ription" jstcache="42" style="display: none; "> Undocumented. </dd> <dd jsdispla y="$this.description" jsvalues=".innerHTML:$this.description" jstcache="43">A si ngle string-valued id, or an array of string-valued ids</dd> <!-- OBJECT PROPERT IES --> <dd jsdisplay="shouldExpandObject($this)" jstcache="44" style="display: none; "> <dl jstcache="0"> <div jsselect="getPropertyListFromObject($this)" jstc ache="10"> <div transclude="valueTemplate" jstcache="17"> </div> </div> </dl> </ dd> </div> <!-- /VALUE --> </div><div jsselect="parameters" jstcache="35" jsinst ance="*1"> <!-- VALUE: This is a subtemplate that is used elsewhere via jsTempla te *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 cl ass="optional" jsdisplay="optional" jstcache="46" style="display: none; ">option al</span> <span id="typeTemplate" jstcache="0"> <span jsdisplay="getTypeRef($thi s)" jstcache="47" style="display: none; "> <a jsvalues=".href: getTypeRefPage($t his) + '#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="49" > Type</a> </span> <span jsdisplay="!getTypeRef($this)" jstcache="48"> <span jsd isplay="isArray($this)" jstcache="50" style="display: none; "> array of <span js select="items" jstcache="52"><span transclude="typeTemplate" jstcache="53"></spa n></span> </span> <span jsdisplay="!isArray($this)" jscontent="getTypeName($this )" jstcache="51">function</span> </span> </span> ) </div> </em> </dt> <dd class= "todo" jsdisplay="!$this.description" jstcache="42"> Undocumented. </dd> <dd jsd isplay="$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)" jstcach e="44" style="display: none; "> <dl jstcache="0"> <div jsselect="getPropertyList FromObject($this)" jstcache="10"> <div transclude="valueTemplate" jstcache="17"> </div> </div> </dl> </dd> </div> <!-- /VALUE --> </div> </dl> <!-- RETURNS --> <h4 jsdisplay="returns" jstcache="30" style="display: none; ">Returns</h4> <dl j stcache="0"> <div jsselect="returns" jstcache="36" style="display: none; "> <div transclude="valueTemplate" jstcache="17"> </div> </div> </dl> <!-- CALLBACK --> <div jsdisplay="hasCallback(parameters)" jstcache="31"> <div jsselect=" getCallbackParameters(parameters)" jstcache="37"> <h4 jstcache="0">Callback func tion</h4> <p jstcache="0"> If you specify the <em jstcache="0">callback</em> par ameter, it should specify a function that looks like this: </p> <!-- Note: inten tionally longer 80 columns --> <pre jstcache="0">function(<span jscontent="getSi gnatureString(parameters)" jstcache="32">array of BookmarkTreeNode results</span >) <span class="subdued" jstcache="0">{...}</span>);</pre> <dl jstcache="0"> <di v jsselect="parameters" jstcache="35" jsinstance="*0"> <div jstcache="0"> <dt js tcache="0"> <var jsdisplay="$this.name" jscontent="$this.name" jstcache="45">res ults</var> <em jstcache="0"> <!-- TYPE --> <div style="display:inline" jstcache= "0"> ( <span class="optional" jsdisplay="optional" jstcache="46" style="display: none; ">optional</span> <span id="typeTemplate" jstcache="0"> <span jsdisplay=" getTypeRef($this)" jstcache="47" style="display: none; "> <a jsvalues=".href: ge tTypeRefPage($this) + '#type-' + getTypeRef($this)" jscontent="getTypeRef($this) " jstcache="49"> Type</a> </span> <span jsdisplay="!getTypeRef($this)" jstcache= "48"> <span jsdisplay="isArray($this)" jstcache="50" style=""> array of <span js select="items" jstcache="52"><span jstcache="0"> <span jsdisplay="getTypeRef($th is)" jstcache="47" style=""> <a jsvalues=".href: getTypeRefPage($this) + '#type- ' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="49" href="bookmar ks.html#type-BookmarkTreeNode">BookmarkTreeNode</a> </span> <span jsdisplay="!ge tTypeRef($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> </spa n> <span jsdisplay="!isArray($this)" jscontent="getTypeName($this)" jstcache="51 ">string or array of string</span> </span> </span></span> </span> <span jsdispla y="!isArray($this)" jscontent="getTypeName($this)" jstcache="51" style="display: none; ">string or array of string</span> </span> </span> ) </div> </em> </dt> < dd class="todo" jsdisplay="!$this.description" jstcache="42" style=""> Undocumen ted. </dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.descript ion" jstcache="43" style="display: none; ">A single string-valued id, or an arra y of string-valued ids</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> </div> </dl> </div> </ div> </div> <!-- /description --> </div><div class="apiItem" jsselect="functions " jstcache="11" jsinstance="1"> <a jsvalues=".name:'method-' + name" jstcache="1 8" name="method-getChildren"></a> <!-- method-anchor --> <h3 jscontent="name" js tcache="16">getChildren</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="getF ullyQualifiedFunctionName($this)" jstcache="26">chrome.bookmarks.getChildren</sp an>(<span jsselect="parameters" jsvalues="class:optional ? 'optional' : ''" jstc ache="27" jsinstance="0" class="null"><span jsdisplay="$index" jstcache="33" sty le="display: none; ">, </span><span jscontent="getTypeName($this)" jstcache="34" >string</span> <var jstcache="0"><span jscontent="name" jstcache="16">id</span>< /var></span><span jsselect="parameters" jsvalues="class:optional ? 'optional' : ''" jstcache="27" jsinstance="*1" class="null"><span jsdisplay="$index" jstcache ="33">, </span><span jscontent="getTypeName($this)" jstcache="34">function</span > <var jstcache="0"><span jscontent="name" jstcache="16">callback</span></var></ span>)</div> <div class="description" jstcache="0"> <p class="todo" jsdisplay="! description" jstcache="28" style="display: none; ">Undocumented.</p> <p jsdispla y="description" jsvalues=".innerHTML:description" jstcache="29">Retrieves the ch ildren of the specified BookmarkTreeNode id.</p> <!-- PARAMETERS --> <h4 jstcach e="0">Parameters</h4> <dl jstcache="0"> <div jsselect="parameters" jstcache="35" jsinstance="0"> <!-- VALUE: This is a subtemplate that is used elsewhere via js Template *transclude* --> <div id="valueTemplate" jstcache="0"> <dt jstcache="0" > <var jsdisplay="$this.name" jscontent="$this.name" jstcache="45">id</var> <em jstcache="0"> <!-- TYPE --> <div style="display:inline" jstcache="0"> ( <span cl ass="optional" jsdisplay="optional" jstcache="46" style="display: none; ">option al</span> <span id="typeTemplate" jstcache="0"> <span jsdisplay="getTypeRef($thi s)" jstcache="47" style="display: none; "> <a jsvalues=".href: getTypeRefPage($t his) + '#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="49" > Type</a> </span> <span jsdisplay="!getTypeRef($this)" jstcache="48"> <span jsd isplay="isArray($this)" jstcache="50" style="display: none; "> array of <span js select="items" jstcache="52"><span transclude="typeTemplate" jstcache="53"></spa n></span> </span> <span jsdisplay="!isArray($this)" jscontent="getTypeName($this )" jstcache="51">string</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> <!-- /VALUE --> </div><div jsselect="parameters" jstcache="35" jsinstance="*1"> <!-- VALUE: This is a subtemplate that is used e lsewhere via jsTemplate *transclude* --> <div id="valueTemplate" jstcache="0"> < dt jstcache="0"> <var jsdisplay="$this.name" jscontent="$this.name" jstcache="45 ">callback</var> <em jstcache="0"> <!-- TYPE --> <div style="display:inline" jst cache="0"> ( <span class="optional" jsdisplay="optional" jstcache="46" style="di splay: none; ">optional</span> <span id="typeTemplate" jstcache="0"> <span jsdis play="getTypeRef($this)" jstcache="47" style="display: none; "> <a jsvalues=".hr ef: getTypeRefPage($this) + '#type-' + getTypeRef($this)" jscontent="getTypeRef( $this)" jstcache="49"> Type</a> </span> <span jsdisplay="!getTypeRef($this)" jst cache="48"> <span jsdisplay="isArray($this)" jstcache="50" style="display: none; "> array of <span jsselect="items" jstcache="52"><span transclude="typeTemplate " jstcache="53"></span></span> </span> <span jsdisplay="!isArray($this)" jsconte nt="getTypeName($this)" jstcache="51">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">array of BookmarkTreeNo de results</span>) <span class="subdued" jstcache="0">{...}</span>);</pre> <dl j stcache="0"> <div jsselect="parameters" jstcache="35" jsinstance="*0"> <div jstc ache="0"> <dt jstcache="0"> <var jsdisplay="$this.name" jscontent="$this.name" j stcache="45">results</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=""> a rray of <span jsselect="items" jstcache="52"><span jstcache="0"> <span jsdisplay ="getTypeRef($this)" jstcache="47" style=""> <a jsvalues=".href: getTypeRefPage( $this) + '#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="4 9" href="bookmarks.html#type-BookmarkTreeNode">BookmarkTreeNode</a> </span> <spa n jsdisplay="!getTypeRef($this)" jstcache="48" style="display: none; "> <span js display="isArray($this)" jstcache="50" style="display: none; "> array of <span j sselect="items" jstcache="52"><span transclude="typeTemplate" jstcache="53"></sp an></span> </span> <span jsdisplay="!isArray($this)" jscontent="getTypeName($thi s)" jstcache="51">string or array of string</span> </span> </span></span> </span > <span jsdisplay="!isArray($this)" jscontent="getTypeName($this)" jstcache="51" style="display: none; ">string or array of string</span> </span> </span> ) </di v> </em> </dt> <dd class="todo" jsdisplay="!$this.description" jstcache="42" sty le=""> Undocumented. </dd> <dd jsdisplay="$this.description" jsvalues=".innerHTM L:$this.description" jstcache="43" style="display: none; ">A single string-value d id, or an array of string-valued ids</dd> <!-- OBJECT PROPERTIES --> <dd jsdis play="shouldExpandObject($this)" jstcache="44" style="display: none; "> <dl jstc ache="0"> <div jsselect="getPropertyListFromObject($this)" jstcache="10"> <div t ransclude="valueTemplate" jstcache="17"> </div> </div> </dl> </dd> </div> </div> </dl> </div> </div> </div> <!-- /description --> </div><div class="apiItem" jss elect="functions" jstcache="11" jsinstance="2"> <a jsvalues=".name:'method-' + n ame" jstcache="18" name="method-getTree"></a> <!-- method-anchor --> <h3 jsconte nt="name" jstcache="16">getTree</h3> <div class="summary" jstcache="0"><span jsd isplay="returns" jscontent="getTypeName(returns)" jstcache="25" style="display: none; ">void</span> <!-- Note: intentionally longer 80 columns --> <span jsconte nt="getFullyQualifiedFunctionName($this)" jstcache="26">chrome.bookmarks.getTree </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">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">Retrieves the entire Bookmarks hierarchy.</p> <!-- PARAMETERS --> <h4 jstcac he="0">Parameters</h4> <dl jstcache="0"> <div jsselect="parameters" jstcache="35 " jsinstance="*0"> <!-- VALUE: This is a subtemplate that is used elsewhere via jsTemplate *transclude* --> <div id="valueTemplate" jstcache="0"> <dt jstcache=" 0"> <var jsdisplay="$this.name" jscontent="$this.name" jstcache="45">callback</v ar> <em jstcache="0"> <!-- TYPE --> <div style="display:inline" jstcache="0"> ( <span class="optional" jsdisplay="optional" jstcache="46" style="display: none; ">optional</span> <span id="typeTemplate" jstcache="0"> <span jsdisplay="getType Ref($this)" jstcache="47" style="display: none; "> <a jsvalues=".href: getTypeRe fPage($this) + '#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstca che="49"> Type</a> </span> <span jsdisplay="!getTypeRef($this)" jstcache="48"> < span jsdisplay="isArray($this)" jstcache="50" style="display: none; "> array of <span jsselect="items" jstcache="52"><span transclude="typeTemplate" jstcache="5 3"></span></span> </span> <span jsdisplay="!isArray($this)" jscontent="getTypeNa me($this)" jstcache="51">function</span> </span> </span> ) </div> </em> </dt> <d d class="todo" jsdisplay="!$this.description" jstcache="42"> Undocumented. </dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.description" jstca che="43" style="display: none; "> Description of this parameter from the json sc hema. </dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="shouldExpandObject($this)" jstcache="44" style="display: none; "> <dl jstcache="0"> <div jsselect="getProp ertyListFromObject($this)" jstcache="10"> <div transclude="valueTemplate" jstcac he="17"> </div> </div> </dl> </dd> </div> <!-- /VALUE --> </div> </dl> <!-- RETU RNS --> <h4 jsdisplay="returns" jstcache="30" style="display: none; ">Returns</h 4> <dl jstcache="0"> <div jsselect="returns" jstcache="36" style="display: none; "> <div transclude="valueTemplate" jstcache="17"> </div> </div> </dl> <!-- CALL BACK --> <div jsdisplay="hasCallback(parameters)" jstcache="31"> <div js select="getCallbackParameters(parameters)" jstcache="37"> <h4 jstcache="0">Callb ack function</h4> <p jstcache="0"> If you specify the <em jstcache="0">callback< /em> parameter, it should specify a function that looks like this: </p> <!-- Not e: intentionally longer 80 columns --> <pre jstcache="0">function(<span jsconten t="getSignatureString(parameters)" jstcache="32">array of BookmarkTreeNode resul ts</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">results</var> <em jstcache="0"> <!-- TYPE --> <div style="display:inline" j stcache="0"> ( <span class="optional" jsdisplay="optional" jstcache="46" style=" display: none; ">optional</span> <span id="typeTemplate" jstcache="0"> <span jsd isplay="getTypeRef($this)" jstcache="47" style="display: none; "> <a jsvalues=". href: getTypeRefPage($this) + '#type-' + getTypeRef($this)" jscontent="getTypeRe f($this)" jstcache="49"> Type</a> </span> <span jsdisplay="!getTypeRef($this)" j stcache="48"> <span jsdisplay="isArray($this)" jstcache="50" style=""> array of <span jsselect="items" jstcache="52"><span jstcache="0"> <span jsdisplay="getTyp eRef($this)" jstcache="47" style=""> <a jsvalues=".href: getTypeRefPage($this) + '#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="49" href= "bookmarks.html#type-BookmarkTreeNode">BookmarkTreeNode</a> </span> <span jsdisp lay="!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></spa n> </span> <span jsdisplay="!isArray($this)" jscontent="getTypeName($this)" jstc ache="51">string or array of string</span> </span> </span></span> </span> <span jsdisplay="!isArray($this)" jscontent="getTypeName($this)" jstcache="51" style=" display: none; ">string or array of string</span> </span> </span> ) </div> </em> </dt> <dd class="todo" jsdisplay="!$this.description" jstcache="42" style=""> U ndocumented. </dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this. description" jstcache="43" style="display: none; ">A single string-valued id, or an array of string-valued ids</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> </dl> < /div> </div> </div> <!-- /description --> </div><div class="apiItem" jsselect="f unctions" jstcache="11" jsinstance="3"> <a jsvalues=".name:'method-' + name" jst cache="18" name="method-search"></a> <!-- method-anchor --> <h3 jscontent="name" jstcache="16">search</h3> <div class="summary" jstcache="0"><span jsdisplay="re turns" jscontent="getTypeName(returns)" jstcache="25" style="display: none; ">vo id</span> <!-- Note: intentionally longer 80 columns --> <span jscontent="getFul lyQualifiedFunctionName($this)" jstcache="26">chrome.bookmarks.search</span>(<sp an jsselect="parameters" jsvalues="class:optional ? 'optional' : ''" jstcache="2 7" jsinstance="0" class="null"><span jsdisplay="$index" jstcache="33" style="dis play: none; ">, </span><span jscontent="getTypeName($this)" jstcache="34">string </span> <var jstcache="0"><span jscontent="name" jstcache="16">query</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> <v ar jstcache="0"><span jscontent="name" jstcache="16">callback</span></var></span >)</div> <div class="description" jstcache="0"> <p class="todo" jsdisplay="!desc ription" jstcache="28" style="display: none; ">Undocumented.</p> <p jsdisplay="d escription" jsvalues=".innerHTML:description" jstcache="29">Seaches for Bookmark TreeNodes matching the given query.</p> <!-- PARAMETERS --> <h4 jstcache="0">Par ameters</h4> <dl jstcache="0"> <div jsselect="parameters" jstcache="35" jsinstan ce="0"> <!-- VALUE: This is a subtemplate that is used elsewhere via jsTemplate *transclude* --> <div id="valueTemplate" jstcache="0"> <dt jstcache="0"> <var js display="$this.name" jscontent="$this.name" jstcache="45">query</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">string</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><div jsselect="parameters" jstca che="35" jsinstance="*1"> <!-- VALUE: This is a subtemplate that is used elsewhe re via jsTemplate *transclude* --> <div id="valueTemplate" jstcache="0"> <dt jst cache="0"> <var jsdisplay="$this.name" jscontent="$this.name" jstcache="45">call back</var> <em jstcache="0"> <!-- TYPE --> <div style="display:inline" jstcache= "0"> ( <span class="optional" jsdisplay="optional" jstcache="46" style="display: none; ">optional</span> <span id="typeTemplate" jstcache="0"> <span jsdisplay=" getTypeRef($this)" jstcache="47" style="display: none; "> <a jsvalues=".href: ge tTypeRefPage($this) + '#type-' + getTypeRef($this)" jscontent="getTypeRef($this) " jstcache="49"> Type</a> </span> <span jsdisplay="!getTypeRef($this)" jstcache= "48"> <span jsdisplay="isArray($this)" jstcache="50" style="display: none; "> ar ray of <span jsselect="items" jstcache="52"><span transclude="typeTemplate" jstc ache="53"></span></span> </span> <span jsdisplay="!isArray($this)" jscontent="ge tTypeName($this)" jstcache="51">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=" getPropertyListFromObject($this)" jstcache="10"> <div transclude="valueTemplate" jstcache="17"> </div> </div> </dl> </dd> </div> <!-- /VALUE --> </div> </dl> <! -- RETURNS --> <h4 jsdisplay="returns" jstcache="30" style="display: none; ">Ret urns</h4> <dl jstcache="0"> <div jsselect="returns" jstcache="36" style="display : none; "> <div transclude="valueTemplate" jstcache="17"> </div> </div> </dl> <! -- CALLBACK --> <div jsdisplay="hasCallback(parameters)" jstcache="31"> <div js select="getCallbackParameters(parameters)" jstcache="37"> <h4 jstcache="0">Callb ack function</h4> <p jstcache="0"> If you specify the <em jstcache="0">callback< /em> parameter, it should specify a function that looks like this: </p> <!-- Not e: intentionally longer 80 columns --> <pre jstcache="0">function(<span jsconten t="getSignatureString(parameters)" jstcache="32">array of BookmarkTreeNode resul ts</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">results</var> <em jstcache="0"> <!-- TYPE --> <div style="display:inline" j stcache="0"> ( <span class="optional" jsdisplay="optional" jstcache="46" style=" display: none; ">optional</span> <span id="typeTemplate" jstcache="0"> <span jsd isplay="getTypeRef($this)" jstcache="47" style="display: none; "> <a jsvalues=". href: getTypeRefPage($this) + '#type-' + getTypeRef($this)" jscontent="getTypeRe f($this)" jstcache="49"> Type</a> </span> <span jsdisplay="!getTypeRef($this)" j stcache="48"> <span jsdisplay="isArray($this)" jstcache="50" style=""> array of <span jsselect="items" jstcache="52"><span jstcache="0"> <span jsdisplay="getTyp eRef($this)" jstcache="47" style=""> <a jsvalues=".href: getTypeRefPage($this) + '#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="49" href= "bookmarks.html#type-BookmarkTreeNode">BookmarkTreeNode</a> </span> <span jsdisp lay="!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></spa n> </span> <span jsdisplay="!isArray($this)" jscontent="getTypeName($this)" jstc ache="51">string or array of string</span> </span> </span></span> </span> <span jsdisplay="!isArray($this)" jscontent="getTypeName($this)" jstcache="51" style=" display: none; ">string or array of string</span> </span> </span> ) </div> </em> </dt> <dd class="todo" jsdisplay="!$this.description" jstcache="42" style=""> U ndocumented. </dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this. description" jstcache="43" style="display: none; ">A single string-valued id, or an array of string-valued ids</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> </dl> < /div> </div> </div> <!-- /description --> </div><div class="apiItem" jsselect="f unctions" jstcache="11" jsinstance="4"> <a jsvalues=".name:'method-' + name" jst cache="18" name="method-create"></a> <!-- method-anchor --> <h3 jscontent="name" jstcache="16">create</h3> <div class="summary" jstcache="0"><span jsdisplay="re turns" jscontent="getTypeName(returns)" jstcache="25" style="display: none; ">vo id</span> <!-- Note: intentionally longer 80 columns --> <span jscontent="getFul lyQualifiedFunctionName($this)" jstcache="26">chrome.bookmarks.create</span>(<sp an jsselect="parameters" jsvalues="class:optional ? 'optional' : ''" jstcache="2 7" jsinstance="0" class="null"><span jsdisplay="$index" jstcache="33" style="dis play: none; ">, </span><span jscontent="getTypeName($this)" jstcache="34">object </span> <var jstcache="0"><span jscontent="name" jstcache="16">bookmark</span></ var></span><span jsselect="parameters" jsvalues="class:optional ? 'optional' : ' '" jstcache="27" jsinstance="*1" class="optional"><span jsdisplay="$index" jstca che="33">, </span><span jscontent="getTypeName($this)" jstcache="34">function</s pan> <var jstcache="0"><span jscontent="name" jstcache="16">callback</span></var ></span>)</div> <div class="description" jstcache="0"> <p class="todo" jsdisplay ="!description" jstcache="28">Undocumented.</p> <p jsdisplay="description" jsval ues=".innerHTML:description" jstcache="29" style="display: none; "> A descriptio n from the json schema def of the function goes here. </p> <!-- PARAMETERS --> < h4 jstcache="0">Parameters</h4> <dl jstcache="0"> <div jsselect="parameters" jst cache="35" jsinstance="0"> <!-- VALUE: This is a subtemplate that is used elsewh ere via jsTemplate *transclude* --> <div id="valueTemplate" jstcache="0"> <dt js tcache="0"> <var jsdisplay="$this.name" jscontent="$this.name" jstcache="45">boo kmark</var> <em jstcache="0"> <!-- TYPE --> <div style="display:inline" jstcache ="0"> ( <span class="optional" jsdisplay="optional" jstcache="46" style="display : none; ">optional</span> <span id="typeTemplate" jstcache="0"> <span jsdisplay= "getTypeRef($this)" jstcache="47" style="display: none; "> <a jsvalues=".href: g etTypeRefPage($this) + '#type-' + getTypeRef($this)" jscontent="getTypeRef($this )" jstcache="49"> Type</a> </span> <span jsdisplay="!getTypeRef($this)" jstcache ="48"> <span jsdisplay="isArray($this)" jstcache="50" style="display: none; "> a rray of <span jsselect="items" jstcache="52"><span transclude="typeTemplate" jst cache="53"></span></span> </span> <span jsdisplay="!isArray($this)" jscontent="g etTypeName($this)" jstcache="51">object</span> </span> </span> ) </div> </em> </ dt> <dd class="todo" jsdisplay="!$this.description" jstcache="42"> Undocumented. </dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.description" jstcache="43" style="display: none; "> Description of this parameter from the j son schema. </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 jsdisplay="$this.name" jscontent="$this.name" jstcache="45">parentId</var> <em jstcache="0"> <!-- TYPE --> <div style="display:inline" jstcache="0"> ( <span cl ass="optional" jsdisplay="optional" jstcache="46" style="display: none; ">option al</span> <span id="typeTemplate" jstcache="0"> <span jsdisplay="getTypeRef($thi s)" jstcache="47" style="display: none; "> <a jsvalues=".href: getTypeRefPage($t his) + '#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="49" > Type</a> </span> <span jsdisplay="!getTypeRef($this)" jstcache="48"> <span jsd isplay="isArray($this)" jstcache="50" style="display: none; "> array of <span js select="items" jstcache="52"><span transclude="typeTemplate" jstcache="53"></spa n></span> </span> <span jsdisplay="!isArray($this)" jscontent="getTypeName($this )" jstcache="51">string</span> </span> </span> ) </div> </em> </dt> <dd class="t odo" jsdisplay="!$this.description" jstcache="42" style=""> Undocumented. </dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.description" jstcac he="43" style="display: none; ">A single string-valued id, or an array of string -valued ids</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">index< /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">integer</span> </span> </span> ) </div> </em> </dt> <dd class="todo" jsdisplay="!$this.description" jstcache="42" style=""> Undocumented. </dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.description" jstcache=" 43" style="display: none; ">A single string-valued id, or an array of string-val ued ids</dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="shouldExpandObject($this) " jstcache="44" style="display: none; "> <dl jstcache="0"> <div jsselect="getPro pertyListFromObject($this)" jstcache="10"> <div transclude="valueTemplate" jstca che="17"> </div> </div> </dl> </dd> </div> </div><div jsselect="getPropertyListF romObject($this)" jstcache="10" jsinstance="2"> <div jstcache="0"> <dt jstcache= "0"> <var jsdisplay="$this.name" jscontent="$this.name" jstcache="45">title</var > <em jstcache="0"> <!-- TYPE --> <div style="display:inline" jstcache="0"> ( <s pan class="optional" jsdisplay="optional" jstcache="46" style="">optional</span> <span id="typeTemplate" jstcache="0"> <span jsdisplay="getTypeRef($this)" jstca che="47" style="display: none; "> <a jsvalues=".href: getTypeRefPage($this) + '# type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="49"> Type</a > </span> <span jsdisplay="!getTypeRef($this)" jstcache="48"> <span jsdisplay="i sArray($this)" jstcache="50" style="display: none; "> array of <span jsselect="i tems" jstcache="52"><span transclude="typeTemplate" jstcache="53"></span></span> </span> <span jsdisplay="!isArray($this)" jscontent="getTypeName($this)" jstcac he="51">string</span> </span> </span> ) </div> </em> </dt> <dd class="todo" jsdi splay="!$this.description" jstcache="42" style=""> Undocumented. </dd> <dd jsdis play="$this.description" jsvalues=".innerHTML:$this.description" jstcache="43" s tyle="display: none; ">A single string-valued id, or an array of string-valued i ds</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="*3"> <div jstcache="0"> <dt jstcache="0"> <var jsdisplay="$this.name" jscontent="$this.name" jstcache="45">url</var> <em jstcache="0"> <!-- TYPE --> <div style="display:inline" jstcache="0"> ( <span cl ass="optional" jsdisplay="optional" jstcache="46" style="">optional</span> <span id="typeTemplate" jstcache="0"> <span jsdisplay="getTypeRef($this)" jstcache="4 7" style="display: none; "> <a jsvalues=".href: getTypeRefPage($this) + '#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="49"> Type</a> </sp an> <span jsdisplay="!getTypeRef($this)" jstcache="48"> <span jsdisplay="isArray ($this)" jstcache="50" style="display: none; "> array of <span jsselect="items" jstcache="52"><span transclude="typeTemplate" jstcache="53"></span></span> </spa n> <span jsdisplay="!isArray($this)" jscontent="getTypeName($this)" jstcache="51 ">string</span> </span> </span> ) </div> </em> </dt> <dd class="todo" jsdisplay= "!$this.description" jstcache="42" style=""> Undocumented. </dd> <dd jsdisplay=" $this.description" jsvalues=".innerHTML:$this.description" jstcache="43" style=" display: none; ">A single string-valued id, or an array of string-valued ids</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> </dl> </dd> </div> <!-- /VALUE --> </div> <div jsselect="parameters" jstcache="35" jsinstance="*1"> <!-- VALUE: This is a subtemplate that is used elsewhere via jsTemplate *transclude* --> <div id="valu eTemplate" jstcache="0"> <dt jstcache="0"> <var jsdisplay="$this.name" jscontent ="$this.name" jstcache="45">callback</var> <em jstcache="0"> <!-- TYPE --> <div style="display:inline" jstcache="0"> ( <span class="optional" jsdisplay="optiona l" jstcache="46">optional</span> <span id="typeTemplate" jstcache="0"> <span jsd isplay="getTypeRef($this)" jstcache="47" style="display: none; "> <a jsvalues=". href: getTypeRefPage($this) + '#type-' + getTypeRef($this)" jscontent="getTypeRe f($this)" jstcache="49"> Type</a> </span> <span jsdisplay="!getTypeRef($this)" j stcache="48"> <span jsdisplay="isArray($this)" jstcache="50" style="display: non e; "> array of <span jsselect="items" jstcache="52"><span transclude="typeTempla te" jstcache="53"></span></span> </span> <span jsdisplay="!isArray($this)" jscon tent="getTypeName($this)" jstcache="51">function</span> </span> </span> ) </div> </em> </dt> <dd class="todo" jsdisplay="!$this.description" jstcache="42"> Undo cumented. </dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.des cription" jstcache="43" style="display: none; "> Description of this parameter f rom the json schema. </dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="shouldExpan dObject($this)" jstcache="44" style="display: none; "> <dl jstcache="0"> <div js select="getPropertyListFromObject($this)" jstcache="10"> <div transclude="valueT emplate" jstcache="17"> </div> </div> </dl> </dd> </div> <!-- /VALUE --> </div> </dl> <!-- RETURNS --> <h4 jsdisplay="returns" jstcache="30" style="display: non e; ">Returns</h4> <dl jstcache="0"> <div jsselect="returns" jstcache="36" style= "display: none; "> <div transclude="valueTemplate" jstcache="17"> </div> </div> </dl> <!-- CALLBACK --> <div jsdisplay="hasCallback(parameters)" jstcache="31"> <div jsselect="getCallbackParameters(parameters)" jstcache="37"> <h4 jstcache=" 0">Callback function</h4> <p jstcache="0"> If you specify the <em jstcache="0">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">BookmarkTreeNode result </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="4 5">result</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=""> <a jsvalues=".href: getTypeRefPa ge($this) + '#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache ="49" href="bookmarks.html#type-BookmarkTreeNode">BookmarkTreeNode</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">string or array of string</span> </span> </span> ) </div> < /em> </dt> <dd class="todo" jsdisplay="!$this.description" jstcache="42" style=" "> Undocumented. </dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML:$t his.description" jstcache="43" style="display: none; ">A single string-valued id , or an array of string-valued ids</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> </div> </div> </div> <!-- /description --> </div><div class="apiItem" jsselec t="functions" jstcache="11" jsinstance="5"> <a jsvalues=".name:'method-' + name" jstcache="18" name="method-move"></a> <!-- method-anchor --> <h3 jscontent="nam e" jstcache="16">move</h3> <div class="summary" jstcache="0"><span jsdisplay="re turns" jscontent="getTypeName(returns)" jstcache="25" style="display: none; ">vo id</span> <!-- Note: intentionally longer 80 columns --> <span jscontent="getFul lyQualifiedFunctionName($this)" jstcache="26">chrome.bookmarks.move</span>(<span jsselect="parameters" jsvalues="class:optional ? 'optional' : ''" jstcache="27" jsinstance="0" class="null"><span jsdisplay="$index" jstcache="33" style="displ ay: none; ">, </span><span jscontent="getTypeName($this)" jstcache="34">string</ span> <var jstcache="0"><span jscontent="name" jstcache="16">id</span></var></sp an><span jsselect="parameters" jsvalues="class:optional ? 'optional' : ''" jstca che="27" jsinstance="1" class="null"><span jsdisplay="$index" jstcache="33">, </ span><span jscontent="getTypeName($this)" jstcache="34">object</span> <var jstca che="0"><span jscontent="name" jstcache="16">destination</span></var></span><spa n jsselect="parameters" jsvalues="class:optional ? 'optional' : ''" jstcache="27 " jsinstance="*2" class="optional"><span jsdisplay="$index" jstcache="33">, </sp an><span jscontent="getTypeName($this)" jstcache="34">function</span> <var jstca che="0"><span jscontent="name" jstcache="16">callback</span></var></span>)</div> <div class="description" jstcache="0"> <p class="todo" jsdisplay="!description" jstcache="28" style="display: none; ">Undocumented.</p> <p jsdisplay="descripti on" jsvalues=".innerHTML:description" jstcache="29">Moves the specified Bookmark TreeNode to the provided location.</p> <!-- PARAMETERS --> <h4 jstcache="0">Para meters</h4> <dl jstcache="0"> <div jsselect="parameters" jstcache="35" jsinstanc e="0"> <!-- VALUE: This is a subtemplate that is used elsewhere via jsTemplate * transclude* --> <div id="valueTemplate" jstcache="0"> <dt jstcache="0"> <var jsd isplay="$this.name" jscontent="$this.name" jstcache="45">id</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">string</span> </span> </span> ) </div> </em> </dt> <dd class="todo" jsdis play="!$this.description" jstcache="42"> Undocumented. </dd> <dd jsdisplay="$thi s.description" jsvalues=".innerHTML:$this.description" jstcache="43" style="disp lay: none; "> Description of this parameter from the json schema. </dd> <!-- OBJ ECT 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> </di v> </dl> </dd> </div> <!-- /VALUE --> </div><div jsselect="parameters" jstcache= "35" jsinstance="1"> <!-- VALUE: This is a subtemplate that is used elsewhere vi a jsTemplate *transclude* --> <div id="valueTemplate" jstcache="0"> <dt jstcache ="0"> <var jsdisplay="$this.name" jscontent="$this.name" jstcache="45">destinati on</var> <em jstcache="0"> <!-- TYPE --> <div style="display:inline" jstcache="0 "> ( <span class="optional" jsdisplay="optional" jstcache="46" style="display: n one; ">optional</span> <span id="typeTemplate" jstcache="0"> <span jsdisplay="ge tTypeRef($this)" jstcache="47" style="display: none; "> <a jsvalues=".href: getT ypeRefPage($this) + '#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="49"> Type</a> </span> <span jsdisplay="!getTypeRef($this)" jstcache="4 8"> <span jsdisplay="isArray($this)" jstcache="50" style="display: none; "> arra y of <span jsselect="items" jstcache="52"><span transclude="typeTemplate" jstcac he="53"></span></span> </span> <span jsdisplay="!isArray($this)" jscontent="getT ypeName($this)" jstcache="51">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" js tcache="43" style="display: none; "> Description of this parameter from the json schema. </dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="shouldExpandObject($thi s)" jstcache="44"> <dl jstcache="0"> <div jsselect="getPropertyListFromObject($t his)" jstcache="10" jsinstance="0"> <div jstcache="0"> <dt jstcache="0"> <var js display="$this.name" jscontent="$this.name" jstcache="45">parentId</var> <em jst cache="0"> <!-- TYPE --> <div style="display:inline" jstcache="0"> ( <span class ="optional" jsdisplay="optional" jstcache="46" style="display: none; ">optional< /span> <span id="typeTemplate" jstcache="0"> <span jsdisplay="getTypeRef($this)" jstcache="47" style="display: none; "> <a jsvalues=".href: getTypeRefPage($this ) + '#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="49"> T ype</a> </span> <span jsdisplay="!getTypeRef($this)" jstcache="48"> <span jsdisp lay="isArray($this)" jstcache="50" style="display: none; "> array of <span jssel ect="items" jstcache="52"><span transclude="typeTemplate" jstcache="53"></span>< /span> </span> <span jsdisplay="!isArray($this)" jscontent="getTypeName($this)" jstcache="51">string</span> </span> </span> ) </div> </em> </dt> <dd class="todo " jsdisplay="!$this.description" jstcache="42" style=""> Undocumented. </dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.description" jstcache= "43" style="display: none; ">A single string-valued id, or an array of string-va lued ids</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="*1"> <div jstcache="0"> <dt jstcach e="0"> <var jsdisplay="$this.name" jscontent="$this.name" jstcache="45">index</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" style=""> Undocumented. </dd> <dd js display="$this.description" jsvalues=".innerHTML:$this.description" jstcache="43 " style="display: none; ">A single string-valued id, or an array of string-value d ids</dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="shouldExpandObject($this)" jstcache="44" style="display: none; "> <dl jstcache="0"> <div jsselect="getPrope rtyListFromObject($this)" jstcache="10"> <div transclude="valueTemplate" jstcach e="17"> </div> </div> </dl> </dd> </div> </div> </dl> </dd> </div> <!-- /VALUE - -> </div><div jsselect="parameters" jstcache="35" jsinstance="*2"> <!-- VALUE: T his is a subtemplate that is used elsewhere via jsTemplate *transclude* --> <div id="valueTemplate" jstcache="0"> <dt jstcache="0"> <var jsdisplay="$this.name" jscontent="$this.name" jstcache="45">callback</var> <em jstcache="0"> <!-- TYPE --> <div style="display:inline" jstcache="0"> ( <span class="optional" jsdisplay ="optional" jstcache="46">optional</span> <span id="typeTemplate" jstcache="0"> <span jsdisplay="getTypeRef($this)" jstcache="47" style="display: none; "> <a 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">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 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> <!-- /VALUE -- > </div> </dl> <!-- RETURNS --> <h4 jsdisplay="returns" jstcache="30" style="dis play: none; ">Returns</h4> <dl jstcache="0"> <div jsselect="returns" jstcache="3 6" style="display: none; "> <div transclude="valueTemplate" jstcache="17"> </div > </div> </dl> <!-- CALLBACK --> <div jsdisplay="hasCallback(parameters) " jstcache="31"> <div jsselect="getCallbackParameters(parameters)" jstcache="37" > <h4 jstcache="0">Callback function</h4> <p jstcache="0"> If you specify the <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><div class="apiItem" jsselect="functions" jstc ache="11" jsinstance="6"> <a jsvalues=".name:'method-' + name" jstcache="18" nam e="method-update"></a> <!-- method-anchor --> <h3 jscontent="name" jstcache="16" >update</h3> <div class="summary" jstcache="0"><span jsdisplay="returns" jsconte nt="getTypeName(returns)" jstcache="25" style="display: none; ">void</span> <!-- Note: intentionally longer 80 columns --> <span jscontent="getFullyQualifiedFun ctionName($this)" jstcache="26">chrome.bookmarks.update</span>(<span jsselect="p arameters" 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">string</span> <var j stcache="0"><span jscontent="name" jstcache="16">id</span></var></span><span jss elect="parameters" jsvalues="class:optional ? 'optional' : ''" jstcache="27" jsi nstance="1" class="null"><span jsdisplay="$index" jstcache="33">, </span><span j scontent="getTypeName($this)" jstcache="34">object</span> <var jstcache="0"><spa n jscontent="name" jstcache="16">changes</span></var></span><span jsselect="para meters" jsvalues="class:optional ? 'optional' : ''" jstcache="27" jsinstance="*2 " class="optional"><span jsdisplay="$index" jstcache="33">, </span><span jsconte nt="getTypeName($this)" jstcache="34">function</span> <var jstcache="0"><span js content="name" jstcache="16">callback</span></var></span>)</div> <div class="des cription" jstcache="0"> <p class="todo" jsdisplay="!description" jstcache="28">U ndocumented.</p> <p jsdisplay="description" jsvalues=".innerHTML:description" js tcache="29" style="display: none; "> A description from the json schema def of t he 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="$th is.name" jscontent="$this.name" jstcache="45">id</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">stri ng</span> </span> </span> ) </div> </em> </dt> <dd class="todo" jsdisplay="!$thi s.description" jstcache="42"> Undocumented. </dd> <dd jsdisplay="$this.descripti on" jsvalues=".innerHTML:$this.description" jstcache="43" style="display: none; "> Description of this parameter from the json schema. </dd> <!-- OBJECT PROPERT IES --> <dd jsdisplay="shouldExpandObject($this)" jstcache="44" style="display: none; "> <dl jstcache="0"> <div jsselect="getPropertyListFromObject($this)" jstc ache="10"> <div transclude="valueTemplate" jstcache="17"> </div> </div> </dl> </ dd> </div> <!-- /VALUE --> </div><div jsselect="parameters" jstcache="35" jsinst ance="1"> <!-- VALUE: This is a subtemplate that is used elsewhere via jsTemplat e *transclude* --> <div id="valueTemplate" jstcache="0"> <dt jstcache="0"> <var jsdisplay="$this.name" jscontent="$this.name" jstcache="45">changes</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">object</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"> <dl jstcache="0"> <div jsselect="getPropertyListFromObject($this)" jstcache= "10" jsinstance="*0"> <div jstcache="0"> <dt jstcache="0"> <var jsdisplay="$this .name" jscontent="$this.name" jstcache="45">title</var> <em jstcache="0"> <!-- T YPE --> <div style="display:inline" jstcache="0"> ( <span class="optional" jsdis play="optional" jstcache="46" style="">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">string</span> </sp an> </span> ) </div> </em> </dt> <dd class="todo" jsdisplay="!$this.description" jstcache="42" style=""> Undocumented. </dd> <dd jsdisplay="$this.description" j svalues=".innerHTML:$this.description" jstcache="43" style="display: none; ">A s ingle string-valued id, or an array of string-valued ids</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> </dd> </div> <!-- /VALUE --> </div><div jsselect="param eters" jstcache="35" jsinstance="*2"> <!-- VALUE: This is a subtemplate that is used elsewhere via jsTemplate *transclude* --> <div id="valueTemplate" jstcache= "0"> <dt jstcache="0"> <var jsdisplay="$this.name" jscontent="$this.name" jstcac he="45">callback</var> <em jstcache="0"> <!-- TYPE --> <div style="display:inlin e" jstcache="0"> ( <span class="optional" jsdisplay="optional" jstcache="46">opt ional</span> <span id="typeTemplate" jstcache="0"> <span jsdisplay="getTypeRef($ this)" jstcache="47" style="display: none; "> <a jsvalues=".href: getTypeRefPage ($this) + '#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache=" 49"> Type</a> </span> <span jsdisplay="!getTypeRef($this)" jstcache="48"> <span jsdisplay="isArray($this)" jstcache="50" style="display: none; "> array of <span jsselect="items" jstcache="52"><span transclude="typeTemplate" jstcache="53"></ span></span> </span> <span jsdisplay="!isArray($this)" jscontent="getTypeName($t his)" jstcache="51">function</span> </span> </span> ) </div> </em> </dt> <dd cla ss="todo" jsdisplay="!$this.description" jstcache="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> <!-- /VALUE --> </div> </dl> <!-- RETURNS - -> <h4 jsdisplay="returns" jstcache="30" style="display: none; ">Returns</h4> <d l jstcache="0"> <div jsselect="returns" jstcache="36" style="display: none; "> < div transclude="valueTemplate" jstcache="17"> </div> </div> </dl> <!-- CALLBACK --> <div jsdisplay="hasCallback(parameters)" jstcache="31"> <div jsselect=" getCallbackParameters(parameters)" jstcache="37"> <h4 jstcache="0">Callback func tion</h4> <p jstcache="0"> If you specify the <em jstcache="0">callback</em> par ameter, it should specify a function that looks like this: </p> <!-- Note: inten tionally longer 80 columns --> <pre jstcache="0">function(<span jscontent="getSi gnatureString(parameters)" jstcache="32">BookmarkTreeNode result</span>) <span c lass="subdued" jstcache="0">{...}</span>);</pre> <dl jstcache="0"> <div jsselect ="parameters" jstcache="35" jsinstance="*0"> <div jstcache="0"> <dt jstcache="0" > <var jsdisplay="$this.name" jscontent="$this.name" jstcache="45">result</var> <em jstcache="0"> <!-- TYPE --> <div style="display:inline" jstcache="0"> ( <spa n class="optional" jsdisplay="optional" jstcache="46" style="display: none; ">op tional</span> <span id="typeTemplate" jstcache="0"> <span jsdisplay="getTypeRef( $this)" jstcache="47" style=""> <a jsvalues=".href: getTypeRefPage($this) + '#ty pe-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="49" href="book marks.html#type-BookmarkTreeNode">BookmarkTreeNode</a> </span> <span jsdisplay=" !getTypeRef($this)" jstcache="48" style="display: none; "> <span jsdisplay="isAr ray($this)" jstcache="50" style="display: none; "> array of <span jsselect="item s" jstcache="52"><span transclude="typeTemplate" jstcache="53"></span></span> </ span> <span jsdisplay="!isArray($this)" jscontent="getTypeName($this)" jstcache= "51">string or array of string</span> </span> </span> ) </div> </em> </dt> <dd c lass="todo" jsdisplay="!$this.description" jstcache="42" style=""> Undocumented. </dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.description" jstcache="43" style="display: none; ">A single string-valued id, or an array of string-valued ids</dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="shouldExpandOb ject($this)" jstcache="44" style="display: none; "> <dl jstcache="0"> <div jssel ect="getPropertyListFromObject($this)" jstcache="10"> <div transclude="valueTemp late" jstcache="17"> </div> </div> </dl> </dd> </div> </div> </dl> </div> </div> </div> <!-- /description --> </div><div class="apiItem" jsselect="functions" js tcache="11" jsinstance="7"> <a jsvalues=".name:'method-' + name" jstcache="18" n ame="method-remove"></a> <!-- method-anchor --> <h3 jscontent="name" jstcache="1 6">remove</h3> <div class="summary" jstcache="0"><span jsdisplay="returns" jscon tent="getTypeName(returns)" jstcache="25" style="display: none; ">void</span> <! -- Note: intentionally longer 80 columns --> <span jscontent="getFullyQualifiedF unctionName($this)" jstcache="26">chrome.bookmarks.remove</span>(<span jsselect= "parameters" jsvalues="class:optional ? 'optional' : ''" jstcache="27" jsinstanc e="0" class="null"><span jsdisplay="$index" jstcache="33" style="display: none; ">, </span><span jscontent="getTypeName($this)" jstcache="34">string</span> <var jstcache="0"><span jscontent="name" jstcache="16">id</span></var></span><span j sselect="parameters" jsvalues="class:optional ? 'optional' : ''" jstcache="27" j sinstance="*1" class="optional"><span jsdisplay="$index" jstcache="33">, </span> <span jscontent="getTypeName($this)" jstcache="34">function</span> <var jstcache ="0"><span jscontent="name" jstcache="16">callback</span></var></span>)</div> <d iv class="description" jstcache="0"> <p class="todo" jsdisplay="!description" js tcache="28">Undocumented.</p> <p jsdisplay="description" jsvalues=".innerHTML:de scription" jstcache="29" style="display: none; "> A description from the json sc hema def of the function goes here. </p> <!-- PARAMETERS --> <h4 jstcache="0">Pa rameters</h4> <dl jstcache="0"> <div jsselect="parameters" jstcache="35" jsinsta nce="0"> <!-- VALUE: This is a subtemplate that is used elsewhere via jsTemplate *transclude* --> <div id="valueTemplate" jstcache="0"> <dt jstcache="0"> <var j sdisplay="$this.name" jscontent="$this.name" jstcache="45">id</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">string</span> </span> </span> ) </div> </em> </dt> <dd class="todo" jsd isplay="!$this.description" jstcache="42"> Undocumented. </dd> <dd jsdisplay="$t his.description" jsvalues=".innerHTML:$this.description" jstcache="43" style="di splay: none; "> Description of this parameter from the json schema. </dd> <!-- O BJECT PROPERTIES --> <dd jsdisplay="shouldExpandObject($this)" jstcache="44" sty le="display: none; "> <dl jstcache="0"> <div jsselect="getPropertyListFromObject ($this)" jstcache="10"> <div transclude="valueTemplate" jstcache="17"> </div> </ div> </dl> </dd> </div> <!-- /VALUE --> </div><div jsselect="parameters" jstcach e="35" jsinstance="*1"> <!-- VALUE: This is a subtemplate that is used elsewhere via jsTemplate *transclude* --> <div id="valueTemplate" jstcache="0"> <dt jstca che="0"> <var jsdisplay="$this.name" jscontent="$this.name" jstcache="45">callba ck</var> <em jstcache="0"> <!-- TYPE --> <div style="display:inline" jstcache="0 "> ( <span class="optional" jsdisplay="optional" jstcache="46">optional</span> < span id="typeTemplate" jstcache="0"> <span jsdisplay="getTypeRef($this)" jstcach e="47" style="display: none; "> <a jsvalues=".href: getTypeRefPage($this) + '#ty pe-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="49"> Type</a> </span> <span jsdisplay="!getTypeRef($this)" jstcache="48"> <span jsdisplay="isA rray($this)" jstcache="50" style="display: none; "> array of <span jsselect="ite ms" jstcache="52"><span transclude="typeTemplate" jstcache="53"></span></span> < /span> <span jsdisplay="!isArray($this)" jscontent="getTypeName($this)" jstcache ="51">function</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> <!-- /VALUE --> </div> </dl> <!-- RETURNS --> <h4 jsdispl ay="returns" jstcache="30" style="display: none; ">Returns</h4> <dl jstcache="0" > <div jsselect="returns" jstcache="36" style="display: none; "> <div transclude ="valueTemplate" jstcache="17"> </div> </div> </dl> <!-- CALLBACK --> <div js display="hasCallback(parameters)" jstcache="31"> <div jsselect="getCallbackParam eters(parameters)" jstcache="37"> <h4 jstcache="0">Callback function</h4> <p jst cache="0"> If you specify the <em jstcache="0">callback</em> parameter, it shoul d specify a function that looks like this: </p> <!-- Note: intentionally longer 80 columns --> <pre jstcache="0">function(<span jscontent="getSignatureString(pa rameters)" jstcache="32"></span>) <span class="subdued" jstcache="0">{...}</span >);</pre> <dl jstcache="0"> <div jsselect="parameters" jstcache="35" jsinstance= "*0" style="display: none; "> <div transclude="valueTemplate" jstcache="17"> </d iv> </div> </dl> </div> </div> </div> <!-- /description --> </div><div class="ap iItem" jsselect="functions" jstcache="11" jsinstance="*8"> <a jsvalues=".name:'m ethod-' + name" jstcache="18" name="method-removeTree"></a> <!-- method-anchor - -> <h3 jscontent="name" jstcache="16">removeTree</h3> <div class="summary" jstca che="0"><span jsdisplay="returns" jscontent="getTypeName(returns)" jstcache="25" style="display: none; ">void</span> <!-- Note: intentionally longer 80 columns --> <span jscontent="getFullyQualifiedFunctionName($this)" jstcache="26">chrome. bookmarks.removeTree</span>(<span jsselect="parameters" jsvalues="class:optional ? 'optional' : ''" jstcache="27" jsinstance="0" class="null"><span jsdisplay="$ index" jstcache="33" style="display: none; ">, </span><span jscontent="getTypeNa me($this)" jstcache="34">string</span> <var jstcache="0"><span jscontent="name" jstcache="16">id</span></var></span><span jsselect="parameters" jsvalues="class: optional ? 'optional' : ''" jstcache="27" jsinstance="*1" class="optional"><span jsdisplay="$index" jstcache="33">, </span><span jscontent="getTypeName($this)" jstcache="34">function</span> <var jstcache="0"><span jscontent="name" jstcache= "16">callback</span></var></span>)</div> <div class="description" jstcache="0"> <p class="todo" jsdisplay="!description" jstcache="28">Undocumented.</p> <p jsdi splay="description" jsvalues=".innerHTML:description" jstcache="29" style="displ ay: none; "> A description from the json schema def of the function goes here. < /p> <!-- PARAMETERS --> <h4 jstcache="0">Parameters</h4> <dl jstcache="0"> <div jsselect="parameters" jstcache="35" jsinstance="0"> <!-- VALUE: This is a subtem plate that is used elsewhere via jsTemplate *transclude* --> <div id="valueTempl ate" jstcache="0"> <dt jstcache="0"> <var jsdisplay="$this.name" jscontent="$thi s.name" jstcache="45">id</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">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 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><div jsselect="parameters" jstcache="35" jsinstance="*1"> <!-- VALUE: T his is a subtemplate that is used elsewhere via jsTemplate *transclude* --> <div id="valueTemplate" jstcache="0"> <dt jstcache="0"> <var jsdisplay="$this.name" jscontent="$this.name" jstcache="45">callback</var> <em jstcache="0"> <!-- TYPE --> <div style="display:inline" jstcache="0"> ( <span class="optional" jsdisplay ="optional" jstcache="46">optional</span> <span id="typeTemplate" jstcache="0"> <span jsdisplay="getTypeRef($this)" jstcache="47" style="display: none; "> <a 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">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 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> <!-- /VALUE -- > </div> </dl> <!-- RETURNS --> <h4 jsdisplay="returns" jstcache="30" style="dis play: none; ">Returns</h4> <dl jstcache="0"> <div jsselect="returns" jstcache="3 6" style="display: none; "> <div transclude="valueTemplate" jstcache="17"> </div > </div> </dl> <!-- CALLBACK --> <div jsdisplay="hasCallback(parameters) " jstcache="31"> <div jsselect="getCallbackParameters(parameters)" jstcache="37" > <h4 jstcache="0">Callback function</h4> <p jstcache="0"> If you specify the <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-onAdded"></a> <h3 jscontent="name" jstcache="16">onAdded </h3> <div class="summary" jstcache="0"> <!-- Note: intentionally longer 80 colu mns --> <span jscontent="getModuleName() + '.'" class="subdued" jstcache="23">ch rome.bookmarks.</span><span jscontent="name" jstcache="16">onAdded</span><span c lass="subdued" jstcache="0">.addListener</span>(function(<span jscontent="getSig natureString(parameters)" jstcache="32">string id, BookmarkTreeNode bookmark</sp an>) <span class="subdued" jstcache="0">{...}</span>); </div> <div class="descri ption" jstcache="0"> <p class="todo" jsdisplay="!description" jstcache="28">Undo cumented.</p> <p jsdisplay="description" jsvalues=".innerHTML:description" jstca che="29" style="display: none; "> A description from the json schema def of the event goes here. </p> <!-- PARAMETERS --> <h4 jstcache="0">Parameters</h4> <dl j stcache="0"> <div jsselect="parameters" jstcache="35" jsinstance="0"> <div jstca che="0"> <dt jstcache="0"> <var jsdisplay="$this.name" jscontent="$this.name" js tcache="45">id</var> <em jstcache="0"> <!-- TYPE --> <div style="display:inline" jstcache="0"> ( <span class="optional" jsdisplay="optional" jstcache="46" style ="display: none; ">optional</span> <span id="typeTemplate" jstcache="0"> <span j sdisplay="getTypeRef($this)" jstcache="47" style="display: none; "> <a jsvalues= ".href: getTypeRefPage($this) + '#type-' + getTypeRef($this)" jscontent="getType Ref($this)" jstcache="49"> Type</a> </span> <span jsdisplay="!getTypeRef($this)" jstcache="48"> <span jsdisplay="isArray($this)" jstcache="50" style="display: n one; "> array of <span jsselect="items" jstcache="52"><span transclude="typeTemp late" jstcache="53"></span></span> </span> <span jsdisplay="!isArray($this)" jsc ontent="getTypeName($this)" jstcache="51">string</span> </span> </span> ) </div> </em> </dt> <dd class="todo" jsdisplay="!$this.description" jstcache="42" style =""> Undocumented. </dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML: $this.description" jstcache="43" style="display: none; ">A single string-valued id, or an array of string-valued ids</dd> <!-- OBJECT PROPERTIES --> <dd jsdispl ay="shouldExpandObject($this)" jstcache="44" style="display: none; "> <dl jstcac he="0"> <div jsselect="getPropertyListFromObject($this)" jstcache="10"> <div tra nsclude="valueTemplate" jstcache="17"> </div> </div> </dl> </dd> </div> </div><d iv jsselect="parameters" jstcache="35" jsinstance="*1"> <div jstcache="0"> <dt j stcache="0"> <var jsdisplay="$this.name" jscontent="$this.name" jstcache="45">bo okmark</var> <em jstcache="0"> <!-- TYPE --> <div style="display:inline" jstcach e="0"> ( <span class="optional" jsdisplay="optional" jstcache="46" style="displa y: none; ">optional</span> <span id="typeTemplate" jstcache="0"> <span jsdisplay ="getTypeRef($this)" jstcache="47" style=""> <a jsvalues=".href: getTypeRefPage( $this) + '#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="4 9" href="bookmarks.html#type-BookmarkTreeNode">BookmarkTreeNode</a> </span> <spa n jsdisplay="!getTypeRef($this)" jstcache="48" style="display: none; "> <span js display="isArray($this)" jstcache="50" style="display: none; "> array of <span j sselect="items" jstcache="52"><span transclude="typeTemplate" jstcache="53"></sp an></span> </span> <span jsdisplay="!isArray($this)" jscontent="getTypeName($thi s)" jstcache="51">string or array of string</span> </span> </span> ) </div> </em > </dt> <dd class="todo" jsdisplay="!$this.description" jstcache="42" style=""> Undocumented. </dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this .description" jstcache="43" style="display: none; ">A single string-valued id, o r an array of string-valued ids</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> </div> <!-- /decription --> </div><div jsselect="events" class="apiItem" jstcach e="12" jsinstance="1"> <a jsvalues=".name:'event-' + name" jstcache="19" name="e vent-onRemoved"></a> <h3 jscontent="name" jstcache="16">onRemoved</h3> <div clas s="summary" jstcache="0"> <!-- Note: intentionally longer 80 columns --> <span j scontent="getModuleName() + '.'" class="subdued" jstcache="23">chrome.bookmarks. </span><span jscontent="name" jstcache="16">onRemoved</span><span class="subdued " jstcache="0">.addListener</span>(function(<span jscontent="getSignatureString( parameters)" jstcache="32">string id, object removeInfo</span>) <span class="sub dued" jstcache="0">{...}</span>); </div> <div class="description" jstcache="0"> <p class="todo" jsdisplay="!description" jstcache="28">Undocumented.</p> <p jsdi splay="description" jsvalues=".innerHTML:description" jstcache="29" style="displ ay: none; "> A description from the json schema def of the event goes here. </p> <!-- PARAMETERS --> <h4 jstcache="0">Parameters</h4> <dl jstcache="0"> <div jss elect="parameters" jstcache="35" jsinstance="0"> <div jstcache="0"> <dt jstcache ="0"> <var jsdisplay="$this.name" jscontent="$this.name" jstcache="45">id</var> <em jstcache="0"> <!-- TYPE --> <div style="display:inline" jstcache="0"> ( <spa n class="optional" jsdisplay="optional" jstcache="46" style="display: none; ">op tional</span> <span id="typeTemplate" jstcache="0"> <span jsdisplay="getTypeRef( $this)" jstcache="47" style="display: none; "> <a jsvalues=".href: getTypeRefPag e($this) + '#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache= "49"> Type</a> </span> <span jsdisplay="!getTypeRef($this)" jstcache="48"> <span jsdisplay="isArray($this)" jstcache="50" style="display: none; "> array of <spa n jsselect="items" jstcache="52"><span transclude="typeTemplate" jstcache="53">< /span></span> </span> <span jsdisplay="!isArray($this)" jscontent="getTypeName($ this)" jstcache="51">string</span> </span> </span> ) </div> </em> </dt> <dd clas s="todo" jsdisplay="!$this.description" jstcache="42" style=""> Undocumented. </ dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.description" js tcache="43" style="display: none; ">A single string-valued id, or an array of st ring-valued ids</dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="shouldExpandObjec t($this)" jstcache="44" style="display: none; "> <dl jstcache="0"> <div jsselect ="getPropertyListFromObject($this)" jstcache="10"> <div transclude="valueTemplat e" jstcache="17"> </div> </div> </dl> </dd> </div> </div><div jsselect="paramete rs" jstcache="35" jsinstance="*1"> <div jstcache="0"> <dt jstcache="0"> <var jsd isplay="$this.name" jscontent="$this.name" jstcache="45">removeInfo</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">object</span> </span> </span> ) </div> </em> </dt> <dd class="tod o" jsdisplay="!$this.description" jstcache="42" style=""> Undocumented. </dd> <d d jsdisplay="$this.description" jsvalues=".innerHTML:$this.description" jstcache ="43" style="display: none; ">A single string-valued id, or an array of string-v alued ids</dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="shouldExpandObject($thi s)" jstcache="44" style=""> <dl jstcache="0"> <div jsselect="getPropertyListFrom Object($this)" jstcache="10" jsinstance="0"> <div jstcache="0"> <dt jstcache="0" > <var jsdisplay="$this.name" jscontent="$this.name" jstcache="45">parentId</var > <em jstcache="0"> <!-- TYPE --> <div style="display:inline" jstcache="0"> ( <s pan class="optional" jsdisplay="optional" jstcache="46" style="display: none; "> optional</span> <span id="typeTemplate" jstcache="0"> <span jsdisplay="getTypeRe f($this)" jstcache="47" style="display: none; "> <a jsvalues=".href: getTypeRefP age($this) + '#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcach e="49"> Type</a> </span> <span jsdisplay="!getTypeRef($this)" jstcache="48"> <sp an jsdisplay="isArray($this)" jstcache="50" style="display: none; "> array of <s pan jsselect="items" jstcache="52"><span transclude="typeTemplate" jstcache="53" ></span></span> </span> <span jsdisplay="!isArray($this)" jscontent="getTypeName ($this)" jstcache="51">string</span> </span> </span> ) </div> </em> </dt> <dd cl ass="todo" jsdisplay="!$this.description" jstcache="42" style=""> Undocumented. </dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.description" jstcache="43" style="display: none; ">A single string-valued id, or an array of string-valued ids</dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="shouldExpandObj ect($this)" jstcache="44" style="display: none; "> <dl jstcache="0"> <div jssele ct="getPropertyListFromObject($this)" jstcache="10"> <div transclude="valueTempl ate" jstcache="17"> </div> </div> </dl> </dd> </div> </div><div jsselect="getPro pertyListFromObject($this)" jstcache="10" jsinstance="*1"> <div jstcache="0"> <d t jstcache="0"> <var jsdisplay="$this.name" jscontent="$this.name" jstcache="45" >index</var> <em jstcache="0"> <!-- TYPE --> <div style="display:inline" jstcach e="0"> ( <span class="optional" jsdisplay="optional" jstcache="46" style="displa y: none; ">optional</span> <span id="typeTemplate" jstcache="0"> <span jsdisplay ="getTypeRef($this)" jstcache="47" style="display: none; "> <a jsvalues=".href: getTypeRefPage($this) + '#type-' + getTypeRef($this)" jscontent="getTypeRef($thi s)" jstcache="49"> Type</a> </span> <span jsdisplay="!getTypeRef($this)" jstcach e="48"> <span jsdisplay="isArray($this)" jstcache="50" style="display: none; "> array of <span jsselect="items" jstcache="52"><span transclude="typeTemplate" js tcache="53"></span></span> </span> <span jsdisplay="!isArray($this)" jscontent=" getTypeName($this)" jstcache="51">integer</span> </span> </span> ) </div> </em> </dt> <dd class="todo" jsdisplay="!$this.description" jstcache="42" style=""> Un documented. </dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.d escription" jstcache="43" style="display: none; ">A single string-valued id, or an array of string-valued ids</dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="sho uldExpandObject($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> </dl> </div> <!-- /decription --> </div><div jsselect="events" class="apiItem" jstcache="12" jsinstance="2"> <a jsvalues=".name:'event-' + nam e" jstcache="19" name="event-onChanged"></a> <h3 jscontent="name" jstcache="16"> onChanged</h3> <div class="summary" jstcache="0"> <!-- Note: intentionally longe r 80 columns --> <span jscontent="getModuleName() + '.'" class="subdued" jstcach e="23">chrome.bookmarks.</span><span jscontent="name" jstcache="16">onChanged</s pan><span class="subdued" jstcache="0">.addListener</span>(function(<span jscont ent="getSignatureString(parameters)" jstcache="32">string id, object changeInfo< /span>) <span class="subdued" jstcache="0">{...}</span>); </div> <div class="des cription" jstcache="0"> <p class="todo" jsdisplay="!description" jstcache="28">U ndocumented.</p> <p jsdisplay="description" jsvalues=".innerHTML:description" js tcache="29" style="display: none; "> A description from the json schema def of t he event goes here. </p> <!-- PARAMETERS --> <h4 jstcache="0">Parameters</h4> <d l jstcache="0"> <div jsselect="parameters" jstcache="35" jsinstance="0"> <div js tcache="0"> <dt jstcache="0"> <var jsdisplay="$this.name" jscontent="$this.name" jstcache="45">id</var> <em jstcache="0"> <!-- TYPE --> <div style="display:inli ne" jstcache="0"> ( <span class="optional" jsdisplay="optional" jstcache="46" st yle="display: none; ">optional</span> <span id="typeTemplate" jstcache="0"> <spa n jsdisplay="getTypeRef($this)" jstcache="47" style="display: none; "> <a jsvalu es=".href: getTypeRefPage($this) + '#type-' + getTypeRef($this)" jscontent="getT ypeRef($this)" jstcache="49"> Type</a> </span> <span jsdisplay="!getTypeRef($thi s)" jstcache="48"> <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">string</span> </span> </span> ) </d iv> </em> </dt> <dd class="todo" jsdisplay="!$this.description" jstcache="42" st yle=""> Undocumented. </dd> <dd jsdisplay="$this.description" jsvalues=".innerHT ML:$this.description" jstcache="43" style="display: none; ">A single string-valu ed id, or an array of string-valued ids</dd> <!-- OBJECT PROPERTIES --> <dd jsdi splay="shouldExpandObject($this)" jstcache="44" style="display: none; "> <dl jst cache="0"> <div jsselect="getPropertyListFromObject($this)" jstcache="10"> <div transclude="valueTemplate" jstcache="17"> </div> </div> </dl> </dd> </div> </div ><div jsselect="parameters" jstcache="35" jsinstance="*1"> <div jstcache="0"> <d t jstcache="0"> <var jsdisplay="$this.name" jscontent="$this.name" jstcache="45" >changeInfo</var> <em jstcache="0"> <!-- TYPE --> <div style="display:inline" js tcache="0"> ( <span class="optional" jsdisplay="optional" jstcache="46" style="d isplay: none; ">optional</span> <span id="typeTemplate" jstcache="0"> <span jsdi splay="getTypeRef($this)" jstcache="47" style="display: none; "> <a jsvalues=".h ref: getTypeRefPage($this) + '#type-' + getTypeRef($this)" jscontent="getTypeRef ($this)" jstcache="49"> Type</a> </span> <span jsdisplay="!getTypeRef($this)" js tcache="48"> <span jsdisplay="isArray($this)" jstcache="50" style="display: none ; "> array of <span jsselect="items" jstcache="52"><span transclude="typeTemplat e" jstcache="53"></span></span> </span> <span jsdisplay="!isArray($this)" jscont ent="getTypeName($this)" jstcache="51">object</span> </span> </span> ) </div> </ em> </dt> <dd class="todo" jsdisplay="!$this.description" jstcache="42" style="" > Undocumented. </dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML:$th is.description" jstcache="43" style="display: none; ">A single string-valued id, or an array of string-valued ids</dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay= "shouldExpandObject($this)" jstcache="44" style=""> <dl jstcache="0"> <div jssel ect="getPropertyListFromObject($this)" jstcache="10" jsinstance="*0"> <div jstca che="0"> <dt jstcache="0"> <var jsdisplay="$this.name" jscontent="$this.name" js tcache="45">title</var> <em jstcache="0"> <!-- TYPE --> <div style="display:inli ne" jstcache="0"> ( <span class="optional" jsdisplay="optional" jstcache="46" st yle="display: none; ">optional</span> <span id="typeTemplate" jstcache="0"> <spa n jsdisplay="getTypeRef($this)" jstcache="47" style="display: none; "> <a jsvalu es=".href: getTypeRefPage($this) + '#type-' + getTypeRef($this)" jscontent="getT ypeRef($this)" jstcache="49"> Type</a> </span> <span jsdisplay="!getTypeRef($thi s)" jstcache="48"> <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">string</span> </span> </span> ) </d iv> </em> </dt> <dd class="todo" jsdisplay="!$this.description" jstcache="42" st yle=""> Undocumented. </dd> <dd jsdisplay="$this.description" jsvalues=".innerHT ML:$this.description" jstcache="43" style="display: none; ">A single string-valu ed id, or an array of string-valued ids</dd> <!-- OBJECT PROPERTIES --> <dd jsdi splay="shouldExpandObject($this)" jstcache="44" style="display: none; "> <dl jst cache="0"> <div jsselect="getPropertyListFromObject($this)" jstcache="10"> <div transclude="valueTemplate" jstcache="17"> </div> </div> </dl> </dd> </div> </div > </dl> </dd> </div> </div> </dl> </div> <!-- /decription --> </div><div jsselec t="events" class="apiItem" jstcache="12" jsinstance="3"> <a jsvalues=".name:'eve nt-' + name" jstcache="19" name="event-onMoved"></a> <h3 jscontent="name" jstcac he="16">onMoved</h3> <div class="summary" jstcache="0"> <!-- Note: intentionally longer 80 columns --> <span jscontent="getModuleName() + '.'" class="subdued" j stcache="23">chrome.bookmarks.</span><span jscontent="name" jstcache="16">onMove d</span><span class="subdued" jstcache="0">.addListener</span>(function(<span js content="getSignatureString(parameters)" jstcache="32">string id, object moveInf o</span>) <span class="subdued" jstcache="0">{...}</span>); </div> <div class="d escription" 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"> <div jsselect="parameters" jstcache="35" jsinstance="0"> <div jstcache="0"> <dt jstcache="0"> <var jsdisplay="$this.name" jscontent="$this.nam e" jstcache="45">id</var> <em jstcache="0"> <!-- TYPE --> <div style="display:in line" jstcache="0"> ( <span class="optional" jsdisplay="optional" jstcache="46" style="display: none; ">optional</span> <span id="typeTemplate" jstcache="0"> <s pan jsdisplay="getTypeRef($this)" jstcache="47" style="display: none; "> <a jsva lues=".href: getTypeRefPage($this) + '#type-' + getTypeRef($this)" jscontent="ge tTypeRef($this)" jstcache="49"> Type</a> </span> <span jsdisplay="!getTypeRef($t his)" jstcache="48"> <span jsdisplay="isArray($this)" jstcache="50" style="displ ay: none; "> array of <span jsselect="items" jstcache="52"><span transclude="typ eTemplate" jstcache="53"></span></span> </span> <span jsdisplay="!isArray($this) " jscontent="getTypeName($this)" jstcache="51">string</span> </span> </span> ) < /div> </em> </dt> <dd class="todo" jsdisplay="!$this.description" jstcache="42" style=""> Undocumented. </dd> <dd jsdisplay="$this.description" jsvalues=".inner HTML:$this.description" jstcache="43" style="display: none; ">A single string-va lued id, or an array of string-valued ids</dd> <!-- OBJECT PROPERTIES --> <dd js display="shouldExpandObject($this)" jstcache="44" style="display: none; "> <dl j stcache="0"> <div jsselect="getPropertyListFromObject($this)" jstcache="10"> <di v transclude="valueTemplate" jstcache="17"> </div> </div> </dl> </dd> </div> </d iv><div jsselect="parameters" jstcache="35" jsinstance="*1"> <div jstcache="0"> <dt jstcache="0"> <var jsdisplay="$this.name" jscontent="$this.name" jstcache="4 5">moveInfo</var> <em jstcache="0"> <!-- TYPE --> <div style="display:inline" js tcache="0"> ( <span class="optional" jsdisplay="optional" jstcache="46" style="d isplay: none; ">optional</span> <span id="typeTemplate" jstcache="0"> <span jsdi splay="getTypeRef($this)" jstcache="47" style="display: none; "> <a jsvalues=".h ref: getTypeRefPage($this) + '#type-' + getTypeRef($this)" jscontent="getTypeRef ($this)" jstcache="49"> Type</a> </span> <span jsdisplay="!getTypeRef($this)" js tcache="48"> <span jsdisplay="isArray($this)" jstcache="50" style="display: none ; "> array of <span jsselect="items" jstcache="52"><span transclude="typeTemplat e" jstcache="53"></span></span> </span> <span jsdisplay="!isArray($this)" jscont ent="getTypeName($this)" jstcache="51">object</span> </span> </span> ) </div> </ em> </dt> <dd class="todo" jsdisplay="!$this.description" jstcache="42" style="" > Undocumented. </dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML:$th is.description" jstcache="43" style="display: none; ">A single string-valued id, or an array of string-valued ids</dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay= "shouldExpandObject($this)" jstcache="44" style=""> <dl jstcache="0"> <div jssel ect="getPropertyListFromObject($this)" jstcache="10" jsinstance="0"> <div jstcac he="0"> <dt jstcache="0"> <var jsdisplay="$this.name" jscontent="$this.name" jst cache="45">parentId</var> <em jstcache="0"> <!-- TYPE --> <div style="display:in line" jstcache="0"> ( <span class="optional" jsdisplay="optional" jstcache="46" style="display: none; ">optional</span> <span id="typeTemplate" jstcache="0"> <s pan jsdisplay="getTypeRef($this)" jstcache="47" style="display: none; "> <a jsva lues=".href: getTypeRefPage($this) + '#type-' + getTypeRef($this)" jscontent="ge tTypeRef($this)" jstcache="49"> Type</a> </span> <span jsdisplay="!getTypeRef($t his)" jstcache="48"> <span jsdisplay="isArray($this)" jstcache="50" style="displ ay: none; "> array of <span jsselect="items" jstcache="52"><span transclude="typ eTemplate" jstcache="53"></span></span> </span> <span jsdisplay="!isArray($this) " jscontent="getTypeName($this)" jstcache="51">string</span> </span> </span> ) < /div> </em> </dt> <dd class="todo" jsdisplay="!$this.description" jstcache="42" style=""> Undocumented. </dd> <dd jsdisplay="$this.description" jsvalues=".inner HTML:$this.description" jstcache="43" style="display: none; ">A single string-va lued id, or an array of string-valued ids</dd> <!-- OBJECT PROPERTIES --> <dd js display="shouldExpandObject($this)" jstcache="44" style="display: none; "> <dl j stcache="0"> <div jsselect="getPropertyListFromObject($this)" jstcache="10"> <di v transclude="valueTemplate" jstcache="17"> </div> </div> </dl> </dd> </div> </d iv><div jsselect="getPropertyListFromObject($this)" jstcache="10" jsinstance="1" > <div jstcache="0"> <dt jstcache="0"> <var jsdisplay="$this.name" jscontent="$t his.name" jstcache="45">index</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" style=""> Undocumented. </dd> <dd jsdisplay="$this.description" jsval ues=".innerHTML:$this.description" jstcache="43" style="display: none; ">A singl e string-valued id, or an array of string-valued ids</dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="shouldExpandObject($this)" jstcache="44" style="display: non e; "> <dl jstcache="0"> <div jsselect="getPropertyListFromObject($this)" jstcach e="10"> <div transclude="valueTemplate" jstcache="17"> </div> </div> </dl> </dd> </div> </div><div jsselect="getPropertyListFromObject($this)" jstcache="10" jsi nstance="2"> <div jstcache="0"> <dt jstcache="0"> <var jsdisplay="$this.name" js content="$this.name" jstcache="45">oldParentId</var> <em jstcache="0"> <!-- TYPE --> <div style="display:inline" jstcache="0"> ( <span class="optional" jsdispla y="optional" jstcache="46" style="display: none; ">optional</span> <span id="typ eTemplate" jstcache="0"> <span jsdisplay="getTypeRef($this)" jstcache="47" style ="display: none; "> <a jsvalues=".href: getTypeRefPage($this) + '#type-' + getTy peRef($this)" jscontent="getTypeRef($this)" jstcache="49"> Type</a> </span> <spa n jsdisplay="!getTypeRef($this)" jstcache="48"> <span jsdisplay="isArray($this)" jstcache="50" style="display: none; "> array of <span jsselect="items" jstcache ="52"><span transclude="typeTemplate" jstcache="53"></span></span> </span> <span jsdisplay="!isArray($this)" jscontent="getTypeName($this)" jstcache="51">string </span> </span> </span> ) </div> </em> </dt> <dd class="todo" jsdisplay="!$this. description" jstcache="42" style=""> Undocumented. </dd> <dd jsdisplay="$this.de scription" jsvalues=".innerHTML:$this.description" jstcache="43" style="display: none; ">A single string-valued id, or an array of string-valued ids</dd> <!-- O BJECT PROPERTIES --> <dd jsdisplay="shouldExpandObject($this)" jstcache="44" sty le="display: none; "> <dl jstcache="0"> <div jsselect="getPropertyListFromObject ($this)" jstcache="10"> <div transclude="valueTemplate" jstcache="17"> </div> </ div> </dl> </dd> </div> </div><div jsselect="getPropertyListFromObject($this)" j stcache="10" jsinstance="*3"> <div jstcache="0"> <dt jstcache="0"> <var jsdispla y="$this.name" jscontent="$this.name" jstcache="45">oldIndex</var> <em jstcache= "0"> <!-- TYPE --> <div style="display:inline" jstcache="0"> ( <span class="opti onal" jsdisplay="optional" jstcache="46" style="display: none; ">optional</span> <span id="typeTemplate" jstcache="0"> <span jsdisplay="getTypeRef($this)" jstca che="47" style="display: none; "> <a jsvalues=".href: getTypeRefPage($this) + '# type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="49"> Type</a > </span> <span jsdisplay="!getTypeRef($this)" jstcache="48"> <span jsdisplay="i sArray($this)" jstcache="50" style="display: none; "> array of <span jsselect="i tems" jstcache="52"><span transclude="typeTemplate" jstcache="53"></span></span> </span> <span jsdisplay="!isArray($this)" jscontent="getTypeName($this)" jstcac he="51">integer</span> </span> </span> ) </div> </em> </dt> <dd class="todo" jsd isplay="!$this.description" jstcache="42" style=""> Undocumented. </dd> <dd jsdi splay="$this.description" jsvalues=".innerHTML:$this.description" jstcache="43" style="display: none; ">A single string-valued id, or an array of string-valued ids</dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="shouldExpandObject($this)" js tcache="44" style="display: none; "> <dl jstcache="0"> <div jsselect="getPropert yListFromObject($this)" jstcache="10"> <div transclude="valueTemplate" jstcache= "17"> </div> </div> </dl> </dd> </div> </div> </dl> </dd> </div> </div> </dl> </ div> <!-- /decription --> </div><div jsselect="events" class="apiItem" jstcache= "12" jsinstance="*4"> <a jsvalues=".name:'event-' + name" jstcache="19" name="ev ent-onChildrenReordered"></a> <h3 jscontent="name" jstcache="16">onChildrenReord ered</h3> <div class="summary" jstcache="0"> <!-- Note: intentionally longer 80 columns --> <span jscontent="getModuleName() + '.'" class="subdued" jstcache="23 ">chrome.bookmarks.</span><span jscontent="name" jstcache="16">onChildrenReorder ed</span><span class="subdued" jstcache="0">.addListener</span>(function(<span j scontent="getSignatureString(parameters)" jstcache="32">string id, array of stri ng childIds</span>) <span class="subdued" jstcache="0">{...}</span>); </div> <di v class="description" jstcache="0"> <p class="todo" jsdisplay="!description" jst cache="28">Undocumented.</p> <p jsdisplay="description" jsvalues=".innerHTML:des cription" jstcache="29" style="display: none; "> A description from the json sch ema def of the event goes here. </p> <!-- PARAMETERS --> <h4 jstcache="0">Parame ters</h4> <dl jstcache="0"> <div jsselect="parameters" jstcache="35" jsinstance= "0"> <div jstcache="0"> <dt jstcache="0"> <var jsdisplay="$this.name" jscontent= "$this.name" jstcache="45">id</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">string</span> </span> < /span> ) </div> </em> </dt> <dd class="todo" jsdisplay="!$this.description" jstc ache="42" style=""> Undocumented. </dd> <dd jsdisplay="$this.description" jsvalu es=".innerHTML:$this.description" jstcache="43" style="display: none; ">A single string-valued id, or an array of string-valued ids</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="parameters" jstcache="35" jsinstance="*1"> <div jstc ache="0"> <dt jstcache="0"> <var jsdisplay="$this.name" jscontent="$this.name" j stcache="45">childIds</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 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=""> array of <span jsselect="items" jstcache="52"><span jstcache="0"> <span jsdispla y="getTypeRef($this)" jstcache="47" style="display: none; "> <a jsvalues=".href: getTypeRefPage($this) + '#type-' + getTypeRef($this)" jscontent="getTypeRef($th is)" jstcache="49"> Type</a> </span> <span jsdisplay="!getTypeRef($this)" jstcac he="48"> <span jsdisplay="isArray($this)" jstcache="50" style="display: none; "> array of <span jsselect="items" jstcache="52"><span transclude="typeTemplate" j stcache="53"></span></span> </span> <span jsdisplay="!isArray($this)" jscontent= "getTypeName($this)" jstcache="51">string</span> </span> </span></span> </span> <span jsdisplay="!isArray($this)" jscontent="getTypeName($this)" jstcache="51" s tyle="display: none; ">string or array of string</span> </span> </span> ) </div> </em> </dt> <dd class="todo" jsdisplay="!$this.description" jstcache="42" style =""> Undocumented. </dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML: $this.description" jstcache="43" style="display: none; ">A single string-valued id, or an array of string-valued ids</dd> <!-- OBJECT PROPERTIES --> <dd jsdispl ay="shouldExpandObject($this)" jstcache="44" style="display: none; "> <dl jstcac he="0"> <div jsselect="getPropertyListFromObject($this)" jstcache="10"> <div tra nsclude="valueTemplate" jstcache="17"> </div> </div> </dl> </dd> </div> </div> < /dl> </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" jstcac he="0">Types</h2> <!-- iterates over all types --> <div jsselect="types" class=" apiItem" jstcache="13" jsinstance="*0"> <a jsvalues=".name:'type-' + id" jstcach e="20" name="type-BookmarkTreeNode"></a> <h3 jscontent="id" jstcache="21">Bookma rkTreeNode</h3> <div jstcache="0"> <dt jstcache="0"> <var jsdisplay="$this.name" jscontent="$this.name" jstcache="45" style="display: none; ">idOrIdList</var> < em jstcache="0"> <!-- TYPE --> <div style="display:inline" jstcache="0"> ( <span class="optional" jsdisplay="optional" jstcache="46" style="display: none; ">opt ional</span> <span id="typeTemplate" jstcache="0"> <span jsdisplay="getTypeRef($ this)" jstcache="47" style="display: none; "> <a jsvalues=".href: getTypeRefPage ($this) + '#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache=" 49"> Type</a> </span> <span jsdisplay="!getTypeRef($this)" jstcache="48"> <span jsdisplay="isArray($this)" jstcache="50" style="display: none; "> array of <span jsselect="items" jstcache="52"><span transclude="typeTemplate" jstcache="53"></ span></span> </span> <span jsdisplay="!isArray($this)" jscontent="getTypeName($t his)" jstcache="51">object</span> </span> </span> ) </div> </em> </dt> <dd class ="todo" jsdisplay="!$this.description" jstcache="42" style=""> Undocumented. </d d> <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.description" jst cache="43" style="display: none; ">A single string-valued id, or an array of str ing-valued ids</dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="shouldExpandObject ($this)" jstcache="44" style=""> <dl jstcache="0"> <div jsselect="getPropertyLis tFromObject($this)" jstcache="10" jsinstance="0"> <div jstcache="0"> <dt jstcach e="0"> <var jsdisplay="$this.name" jscontent="$this.name" jstcache="45">id</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">string</span> </span> </span> ) </div> </em> </dt> <dd cla ss="todo" jsdisplay="!$this.description" jstcache="42" style=""> Undocumented. < /dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.description" j stcache="43" style="display: none; ">A single string-valued id, or an array of s tring-valued ids</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><div jsselect="getProp ertyListFromObject($this)" jstcache="10" jsinstance="1"> <div jstcache="0"> <dt jstcache="0"> <var jsdisplay="$this.name" jscontent="$this.name" jstcache="45">p arentId</var> <em jstcache="0"> <!-- TYPE --> <div style="display:inline" jstcac he="0"> ( <span class="optional" jsdisplay="optional" jstcache="46" style="">opt ional</span> <span id="typeTemplate" jstcache="0"> <span jsdisplay="getTypeRef($ this)" jstcache="47" style="display: none; "> <a jsvalues=".href: getTypeRefPage ($this) + '#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache=" 49"> Type</a> </span> <span jsdisplay="!getTypeRef($this)" jstcache="48"> <span jsdisplay="isArray($this)" jstcache="50" style="display: none; "> array of <span jsselect="items" jstcache="52"><span transclude="typeTemplate" jstcache="53"></ span></span> </span> <span jsdisplay="!isArray($this)" jscontent="getTypeName($t his)" jstcache="51">string</span> </span> </span> ) </div> </em> </dt> <dd class ="todo" jsdisplay="!$this.description" jstcache="42" style=""> Undocumented. </d d> <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.description" jst cache="43" style="display: none; ">A single string-valued id, or an array of str ing-valued ids</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="getProper tyListFromObject($this)" jstcache="10" jsinstance="2"> <div jstcache="0"> <dt js tcache="0"> <var jsdisplay="$this.name" jscontent="$this.name" jstcache="45">ind ex</var> <em jstcache="0"> <!-- TYPE --> <div style="display:inline" jstcache="0 "> ( <span class="optional" jsdisplay="optional" jstcache="46" style="">optional </span> <span id="typeTemplate" jstcache="0"> <span jsdisplay="getTypeRef($this) " jstcache="47" style="display: none; "> <a jsvalues=".href: getTypeRefPage($thi s) + '#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="49"> Type</a> </span> <span jsdisplay="!getTypeRef($this)" jstcache="48"> <span jsdis play="isArray($this)" jstcache="50" style="display: none; "> array of <span jsse lect="items" jstcache="52"><span transclude="typeTemplate" jstcache="53"></span> </span> </span> <span jsdisplay="!isArray($this)" jscontent="getTypeName($this)" jstcache="51">string</span> </span> </span> ) </div> </em> </dt> <dd class="tod o" jsdisplay="!$this.description" jstcache="42" style=""> Undocumented. </dd> <d d jsdisplay="$this.description" jsvalues=".innerHTML:$this.description" jstcache ="43" style="display: none; ">A single string-valued id, or an array of string-v alued ids</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><div jsselect="getPropertyLis tFromObject($this)" jstcache="10" jsinstance="3"> <div jstcache="0"> <dt jstcach e="0"> <var jsdisplay="$this.name" jscontent="$this.name" jstcache="45">url</var > <em jstcache="0"> <!-- TYPE --> <div style="display:inline" jstcache="0"> ( <s pan class="optional" jsdisplay="optional" jstcache="46" style="">optional</span> <span id="typeTemplate" jstcache="0"> <span jsdisplay="getTypeRef($this)" jstca che="47" style="display: none; "> <a jsvalues=".href: getTypeRefPage($this) + '# type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="49"> Type</a > </span> <span jsdisplay="!getTypeRef($this)" jstcache="48"> <span jsdisplay="i sArray($this)" jstcache="50" style="display: none; "> array of <span jsselect="i tems" jstcache="52"><span transclude="typeTemplate" jstcache="53"></span></span> </span> <span jsdisplay="!isArray($this)" jscontent="getTypeName($this)" jstcac he="51">string</span> </span> </span> ) </div> </em> </dt> <dd class="todo" jsdi splay="!$this.description" jstcache="42" style=""> Undocumented. </dd> <dd jsdis play="$this.description" jsvalues=".innerHTML:$this.description" jstcache="43" s tyle="display: none; ">A single string-valued id, or an array of string-valued i ds</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="4"> <div jstcache="0"> <dt jstcache="0"> <var jsdisplay="$this.name" jscontent="$this.name" jstcache="45">title</var> <em jstcache="0"> <!-- TYPE --> <div style="display:inline" jstcache="0"> ( <span c lass="optional" jsdisplay="optional" jstcache="46" style="display: none; ">optio nal</span> <span id="typeTemplate" jstcache="0"> <span jsdisplay="getTypeRef($th is)" jstcache="47" style="display: none; "> <a jsvalues=".href: getTypeRefPage($ this) + '#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="49 "> Type</a> </span> <span jsdisplay="!getTypeRef($this)" jstcache="48"> <span js display="isArray($this)" jstcache="50" style="display: none; "> array of <span j sselect="items" jstcache="52"><span transclude="typeTemplate" jstcache="53"></sp an></span> </span> <span jsdisplay="!isArray($this)" jscontent="getTypeName($thi s)" jstcache="51">string</span> </span> </span> ) </div> </em> </dt> <dd class=" todo" jsdisplay="!$this.description" jstcache="42" style=""> Undocumented. </dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.description" jstca che="43" style="display: none; ">A single string-valued id, or an array of strin g-valued ids</dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="shouldExpandObject($ this)" jstcache="44" style="display: none; "> <dl jstcache="0"> <div jsselect="g etPropertyListFromObject($this)" jstcache="10"> <div transclude="valueTemplate" jstcache="17"> </div> </div> </dl> </dd> </div> </div><div jsselect="getProperty ListFromObject($this)" jstcache="10" jsinstance="5"> <div jstcache="0"> <dt jstc ache="0"> <var jsdisplay="$this.name" jscontent="$this.name" jstcache="45">dateA dded</var> <em jstcache="0"> <!-- TYPE --> <div style="display:inline" jstcache= "0"> ( <span class="optional" jsdisplay="optional" jstcache="46" style="">option al</span> <span id="typeTemplate" jstcache="0"> <span jsdisplay="getTypeRef($thi s)" jstcache="47" style="display: none; "> <a jsvalues=".href: getTypeRefPage($t his) + '#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcache="49" > Type</a> </span> <span jsdisplay="!getTypeRef($this)" jstcache="48"> <span jsd isplay="isArray($this)" jstcache="50" style="display: none; "> array of <span js select="items" jstcache="52"><span transclude="typeTemplate" jstcache="53"></spa n></span> </span> <span jsdisplay="!isArray($this)" jscontent="getTypeName($this )" jstcache="51">number</span> </span> </span> ) </div> </em> </dt> <dd class="t odo" jsdisplay="!$this.description" jstcache="42" style=""> Undocumented. </dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.description" jstcac he="43" style="display: none; ">A single string-valued id, or an array of string -valued ids</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="6"> <div jstcache="0"> <dt jstca che="0"> <var jsdisplay="$this.name" jscontent="$this.name" jstcache="45">dateGr oupModified</var> <em jstcache="0"> <!-- TYPE --> <div style="display:inline" js tcache="0"> ( <span class="optional" jsdisplay="optional" jstcache="46" style="" >optional</span> <span id="typeTemplate" jstcache="0"> <span jsdisplay="getTypeR ef($this)" jstcache="47" style="display: none; "> <a jsvalues=".href: getTypeRef Page($this) + '#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcac he="49"> Type</a> </span> <span jsdisplay="!getTypeRef($this)" jstcache="48"> <s pan jsdisplay="isArray($this)" jstcache="50" style="display: none; "> array of < span jsselect="items" jstcache="52"><span transclude="typeTemplate" jstcache="53 "></span></span> </span> <span jsdisplay="!isArray($this)" jscontent="getTypeNam e($this)" jstcache="51">number</span> </span> </span> ) </div> </em> </dt> <dd c lass="todo" jsdisplay="!$this.description" jstcache="42" style=""> Undocumented. </dd> <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.description" jstcache="43" style="display: none; ">A single string-valued id, or an array of string-valued ids</dd> <!-- OBJECT PROPERTIES --> <dd jsdisplay="shouldExpandOb ject($this)" jstcache="44" style="display: none; "> <dl jstcache="0"> <div jssel ect="getPropertyListFromObject($this)" jstcache="10"> <div transclude="valueTemp late" jstcache="17"> </div> </div> </dl> </dd> </div> </div><div jsselect="getPr opertyListFromObject($this)" jstcache="10" jsinstance="*7"> <div jstcache="0"> < dt jstcache="0"> <var jsdisplay="$this.name" jscontent="$this.name" jstcache="45 ">children</var> <em jstcache="0"> <!-- TYPE --> <div style="display:inline" jst cache="0"> ( <span class="optional" jsdisplay="optional" jstcache="46" style=""> optional</span> <span id="typeTemplate" jstcache="0"> <span jsdisplay="getTypeRe f($this)" jstcache="47" style="display: none; "> <a jsvalues=".href: getTypeRefP age($this) + '#type-' + getTypeRef($this)" jscontent="getTypeRef($this)" jstcach e="49"> Type</a> </span> <span jsdisplay="!getTypeRef($this)" jstcache="48"> <sp an jsdisplay="isArray($this)" jstcache="50" style=""> array of <span jsselect="i tems" jstcache="52"><span jstcache="0"> <span jsdisplay="getTypeRef($this)" jstc ache="47" style=""> <a jsvalues=".href: getTypeRefPage($this) + '#type-' + getTy peRef($this)" jscontent="getTypeRef($this)" jstcache="49" href="bookmarks.html#t ype-BookmarkTreeNode">BookmarkTreeNode</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">string or array of string</span> </span> </span></span> </span> <span jsdisplay="!isArr ay($this)" jscontent="getTypeName($this)" jstcache="51" style="display: none; "> string or array of string</span> </span> </span> ) </div> </em> </dt> <dd class= "todo" jsdisplay="!$this.description" jstcache="42" style=""> Undocumented. </dd > <dd jsdisplay="$this.description" jsvalues=".innerHTML:$this.description" jstc ache="43" style="display: none; ">A single string-valued id, or an array of stri ng-valued ids</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>
OLDNEW
« no previous file with comments | « chrome/common/extensions/api/extension_api.json ('k') | chrome/common/extensions/docs/tabs.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698