1 <!DOCTYPE html><!-- This page is a placeholder for generated extensions api doc. Note: 2 1) The <head> information in this page is significant, should be uniform 3 across api docs and should be edited only with knowledge of the 4 templating mechanism. 5 3) All <body>.innerHTML is genereated as an rendering step. If viewed in a 6 browser, it will be re-generated from the template, json schema and 7 authored overview content. 8 4) The <body>.innerHTML is also generated by an offline step so that this 9 page may easily be indexed by search engines. 10 --><html xmlns="http://www.w3.org/1999/xhtml"><head> 11 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> 12 <link href="css/ApiRefStyles.css" rel="stylesheet" type="text/css"> 13 <link href="css/print.css" rel="stylesheet" type="text/css" media="print"> 14 <script type="text/javascript" src="../../../third_party/jstemplate/jstemplate_compiled.js"> 15 </script> 16 <script type="text/javascript" src="js/api_page_generator.js"></script> 17 <script type="text/javascript" src="js/bootstrap.js"></script> 18 <script type="text/javascript" src="js/sidebar.js"></script> 19 <title>Management - Google Chrome Extensions - Google Code</title></head> 20 <body> <div id="gc-container" class="labs"> 21 <div id="devModeWarning"> 22 You are viewing extension docs in chrome via the 'file:' scheme: are you expecting to see local changes when you refresh? You'll need run chrome with --allow-file-access-from-files. 23 </div> 24 <!-- SUBTEMPLATES: DO NOT MOVE FROM THIS LOCATION --> 25 <!-- In particular, sub-templates that recurse, must be used by allowing 26 jstemplate to make a copy of the template in this section which 27 are not operated on by way of the jsskip="true" --> 28 <div style="display:none"> 29 30 <!-- VALUE --> 31 <div id="valueTemplate"> 32 <dt> 33 <var>paramName</var> 34 <em> 35 36 <!-- TYPE --> 37 <div style="display:inline"> 38 ( 39 <span class="optional">optional</span> 40 <span class="enum">enumerated</span> 41 <span id="typeTemplate"> 42 <span> 43 <a> Type</a> 44 </span> 45 <span> 46 <span> 47 array of <span><span></span></span> 48 </span> 49 <span>paramType</span> 50 <span></span> 51 </span> 52 </span> 53 ) 54 </div> 55 56 </em> 57 </dt> 58 <dd class="todo"> 59 Undocumented. 60 </dd> 61 <dd> 62 Description of this parameter from the json schema. 63 </dd> 64 <dd> 65 This parameter was added in version 66 <b><span></span></b>. 67 You must omit this parameter in earlier versions, 68 and you may omit it in any version. If you require this 69 parameter, the manifest key 70 <a href="manifest.html#minimum_chrome_version">minimum_chrome_version</a> 71 can ensure that your extension won't be run in an earlier browser version. 72 </dd> 73 74 <!-- OBJECT PROPERTIES --> 75 <dd> 76 <dl> 77 <div> 78 <div> 79 </div> 80 </div> 81 </dl> 82 </dd> 83 84 <!-- OBJECT METHODS --> 85 <dd> 86 <div></div> 87 </dd> 88 89 <!-- OBJECT EVENT FIELDS --> 90 <dd> 91 <div></div> 92 </dd> 93 94 <!-- FUNCTION PARAMETERS --> 95 <dd> 96 <div></div> 97 </dd> 98 99 </div> <!-- /VALUE --> 100 101 <div id="functionParametersTemplate"> 102 <h5>Parameters</h5> 103 <dl> 104 <div> 105 <div> 106 </div> 107 </div> 108 </dl> 109 </div> 110 </div> <!-- /SUBTEMPLATES --> 111 112 <a id="top"></a> 113 <div id="skipto"> 114 <a href="#gc-pagecontent">Skip to page content</a> 115 <a href="#gc-toc">Skip to main navigation</a> 116 </div> 117 <!-- API HEADER --> 118 <table id="header" width="100%" cellspacing="0" border="0"> 119 <tbody><tr> 120 <td valign="middle"><a href="http://code.google.com/"><img src="images/code_labs_logo.gif" height="43" width="161" alt="Google Code Labs" style="border:0; margin:0;"></a></td> 121 <td valign="middle" width="100%" style="padding-left:0.6em;"> 122 <form action="http://www.google.com/cse" id="cse" style="margin-top:0.5em"> 123 <div id="gsc-search-box"> 124 <input type="hidden" name="cx" value="002967670403910741006:61_cvzfqtno"> 125 <input type="hidden" name="ie" value="UTF-8"> 126 <input type="text" name="q" value="" size="55"> 127 <input class="gsc-search-button" type="submit" name="sa" value="Search"> 128 <br> 129 <span class="greytext">e.g. "page action" or "tabs"</span> 130 </div> 131 </form> 132 133 <script type="text/javascript" src="http://www.google.com/jsapi"></script> 134 <script type="text/javascript">google.load("elements", "1", {packages: "transliteration"});</script> 135 <script type="text/javascript" src="http://www.google.com/coop/cse/t13n?form=cse&t13n_langs=en"></script> 136 <script type="text/javascript" src="http://www.google.com/coop/cse/brand?form=cse&lang=en"></script> 137 </td> 138 </tr> 139 </tbody></table> 140 141 <div id="codesiteContent" class=""> 142 143 <a id="gc-topnav-anchor"></a> 144 <div id="gc-topnav"> 145 <h1>Google Chrome Extensions (<a href="http://code.google.com/labs/">Labs</a>)</h1> 146 <ul id="home" class="gc-topnav-tabs"> 147 <li id="home_link"> 148 <a href="index.html" title="Google Chrome Extensions home page">Home</a> 149 </li> 150 <li id="docs_link"> 151 <a href="docs.html" title="Official Google Chrome Extensions documentation">Docs</a> 152 </li> 153 <li id="faq_link"> 154 <a href="faq.html" title="Answers to frequently asked questions about Google Chrome Extensions">FAQ</a> 155 </li> 156 <li id="samples_link"> 157 <a href="samples.html" title="Sample extensions (with source code)">Samples</a> 158 </li> 159 <li id="group_link"> 160 <a href="http://groups.google.com/a/chromium.org/group/chromium-extensions" title="Google Chrome Extensions developer forum">Group</a> 161 </li> 162 </ul> 163 </div> <!-- end gc-topnav --> 164 165 <div class="g-section g-tpl-170"> 166 <!-- SIDENAV --> 167 <div class="g-unit g-first" id="gc-toc"> 168 <ul> 169 <li><a href="getstarted.html">Getting Started</a></li> 170 <li><a href="overview.html">Overview</a></li> 171 <li><a href="whats_new.html">What's New?</a></li> 172 <li><h2><a href="devguide.html">Developer's Guide</a></h2> 173 <ul> 174 <li>Browser UI 175 <ul> 176 <li><a href="browserAction.html">Browser Actions</a></li> 177 <li><a href="contextMenus.html">Context Menus</a></li> 178 <li><a href="notifications.html">Desktop Notifications</a></li> 179 <li><a href="omnibox.html">Omnibox</a></li> 180 <li><a href="options.html">Options Pages</a></li> 181 <li><a href="override.html">Override Pages</a></li> 182 <li><a href="pageAction.html">Page Actions</a></li> 183 </ul> 184 </li> 185 <li>Browser Interaction 186 <ul> 187 <li><a href="bookmarks.html">Bookmarks</a></li> 188 <li><a href="cookies.html">Cookies</a></li> 189 <li><a href="events.html">Events</a></li> 190 <li><a href="history.html">History</a></li> 191 <li class="leftNavSelected">Management</li> 192 <li><a href="tabs.html">Tabs</a></li> 193 <li><a href="windows.html">Windows</a></li> 194 </ul> 195 </li> 196 <li>Implementation 197 <ul> 198 <li><a href="a11y.html">Accessibility</a></li> 199 <li><a href="background_pages.html">Background Pages</a></li> 200 <li><a href="content_scripts.html">Content Scripts</a></li> 201 <li><a href="xhr.html">Cross-Origin XHR</a></li> 202 <li><a href="idle.html">Idle</a></li> 203 <li><a href="i18n.html">Internationalization</a></li> 204 <li><a href="messaging.html">Message Passing</a></li> 205 <li><a href="npapi.html">NPAPI Plugins</a></li> 206 </ul> 207 </li> 208 <li>Finishing 209 <ul> 210 <li><a href="hosting.html">Hosting</a></li> 211 <li><a href="external_extensions.html">Other Deployment Options</a></li> 212 </ul> 213 </li> 214 </ul> 215 </li> 216 <li><h2><a href="apps.html">Packaged Apps</a></h2></li> 217 <li><h2><a href="tutorials.html">Tutorials</a></h2> 218 <ul> 219 <li><a href="tut_debugging.html">Debugging</a></li> 220 <li><a href="tut_analytics.html">Google Analytics</a></li> 221 <li><a href="tut_oauth.html">OAuth</a></li> 222 </ul> 223 </li> 224 <li><h2>Reference</h2> 225 <ul> 226 <li>Formats 227 <ul> 228 <li><a href="manifest.html">Manifest Files</a></li> 229 <li><a href="match_patterns.html">Match Patterns</a></li> 230 </ul> 231 </li> 232 <li><a href="permission_warnings.html">Permission Warnings</a></li> 233 <li><a href="api_index.html">chrome.* APIs</a></li> 234 <li><a href="api_other.html">Other APIs</a></li> 235 </ul> 236 </li> 237 <li><h2><a href="samples.html">Samples</a></h2></li> 238 <div class="line"> </div> 239 <li><h2>More</h2> 240 <ul> 241 <li><a href="http://code.google.com/chrome/webstore/docs/index.html">Chrome Web Store</a></li> 242 <li><a href="http://code.google.com/chrome/apps/docs/developers_guide.html">Hosted Apps</a></li> 243 <li><a href="themes.html">Themes</a></li> 244 </ul> 245 </li> 246 </ul> 247 </div> 248 <script> 249 initToggles(); 250 </script> 251 252 <div class="g-unit" id="gc-pagecontent"> 253 <div id="pageTitle"> 254 <h1 class="page_title">Management</h1> 255 </div> 256 <!-- TABLE OF CONTENTS --> 257 <div id="toc"> 258 <h2>Contents</h2> 259 <ol> 260 <li> 261 <a href="#manifest">Manifest</a> 262 <ol> 263 <li style="display: none; "> 264 <a>h3Name</a> 265 </li> 266 </ol> 267 </li> 268 <li> 269 <a href="#apiReference">API reference: chrome.management</a> 270 <ol> 271 <li style="display: none; "> 272 <a href="#properties">Properties</a> 273 <ol> 274 <li> 275 <a href="#property-anchor">propertyName</a> 276 </li> 277 </ol> 278 </li> 279 <li> 280 <a href="#global-methods">Methods</a> 281 <ol> 282 <li> 283 <a href="#method-get">get</a> 284 </li><li> 285 <a href="#method-getAll">getAll</a> 286 </li><li> 287 <a href="#method-launchApp">launchApp</a> 288 </li><li> 289 <a href="#method-setEnabled">setEnabled</a> 290 </li><li> 291 <a href="#method-uninstall">uninstall</a> 292 </li> 293 </ol> 294 </li> 295 <li> 296 <a href="#global-events">Events</a> 297 <ol> 298 <li> 299 <a href="#event-onDisabled">onDisabled</a> 300 </li><li> 301 <a href="#event-onEnabled">onEnabled</a> 302 </li><li> 303 <a href="#event-onInstalled">onInstalled</a> 304 </li><li> 305 <a href="#event-onUninstalled">onUninstalled</a> 306 </li> 307 </ol> 308 </li> 309 <li> 310 <a href="#types">Types</a> 311 <ol> 312 <li> 313 <a href="#type-IconInfo">IconInfo</a> 314 </li><li> 315 <a href="#type-ExtensionInfo">ExtensionInfo</a> 316 </li> 317 </ol> 318 </li> 319 </ol> 320 </li> 321 </ol> 322 </div> 323 <!-- /TABLE OF CONTENTS --> 324 325 <!-- Standard content lead-in for experimental API pages --> 326 <p id="classSummary" style="display: none; "> 327 For information on how to use experimental APIs, see the <a href="experimental.html">chrome.experimental.* APIs</a> page. 328 </p> 329 330 <!-- STATIC CONTENT PLACEHOLDER --> 331 <div id="static"><div id="pageData-name" class="pageData">Management</div> 332 333 <!-- BEGIN AUTHORED CONTENT --> 334 <p id="classSummary"> 335 The <code>chrome.management</code> module provides ways to manage the list of extensions/apps that are installed and running. It is particularly useful for extensions that <a href="override.html">override</a> the built-in New Tab page. 336 </p> 337 338 <h2 id="manifest">Manifest</h2> 339 340 <p>You must declare the "management" permission 341 in the <a href="manifest.html">extension manifest</a> 342 to use the management API. 343 For example:</p> 344 <pre>{ 345 "name": "My extension", 346 ... 347 <b>"permissions": [ 348 "management" 349 ]</b>, 350 ... 351 }</pre> 352 353 <!-- END AUTHORED CONTENT --> 354 </div> 355 356 <!-- API PAGE --> 357 <div class="apiPage"> 358 <a name="apiReference"></a> 359 <h2>API reference: chrome.management</h2> 360 361 <!-- PROPERTIES --> 362 <div class="apiGroup" style="display: none; "> 363 <a name="properties"></a> 364 <h3 id="properties">Properties</h3> 365 366 <div> 367 <a></a> 368 <h4>getLastError</h4> 369 <div class="summary"> 370 <!-- Note: intentionally longer 80 columns --> 371 <span>chrome.extension</span><span>lastError</span> 372 </div> 373 <div> 374 </div> 375 </div> 376 377 </div> <!-- /apiGroup --> 378 379 <!-- METHODS --> 380 <div id="methodsTemplate" class="apiGroup"> 381 <a name="global-methods"></a> 382 <h3>Methods</h3> 383 384 <!-- iterates over all functions --> 385 <div class="apiItem"> 386 <a name="method-get"></a> <!-- method-anchor --> 387 <h4>get</h4> 388 389 <div class="summary"><span style="display: none; ">void</span> 390 <!-- Note: intentionally longer 80 columns --> 391 <span>chrome.management.get</span>(<span class="null"><span style="display: none; ">, </span><span>string</span> 392 <var><span>id</span></var></span><span class="optional"><span>, </span><span>function</span> 393 <var><span>callback</span></var></span>)</div> 394 395 <div class="description"> 396 <p class="todo" style="display: none; ">Undocumented.</p> 397 <p>Return information about the installed extension or app that has the given ID.</p> 398 399 <!-- PARAMETERS --> 400 <h4>Parameters</h4> 401 <dl> 402 <div> 403 <div> 404 <dt> 405 <var>id</var> 406 <em> 407 408 <!-- TYPE --> 409 <div style="display:inline"> 410 ( 411 <span class="optional" style="display: none; ">optional</span> 412 <span class="enum" style="display: none; ">enumerated</span> 413 <span id="typeTemplate"> 414 <span style="display: none; "> 415 <a> Type</a> 416 </span> 417 <span> 418 <span style="display: none; "> 419 array of <span><span></span></span> 420 </span> 421 <span>string</span> 422 <span style="display: none; "></span> 423 </span> 424 </span> 425 ) 426 </div> 427 428 </em> 429 </dt> 430 <dd class="todo" style="display: none; "> 431 Undocumented. 432 </dd> 433 <dd>The ID from an item of <a href="management.html#type-ExtensionInfo">ExtensionInfo</a>.</dd> 434 <dd style="display: none; "> 435 This parameter was added in version 436 <b><span></span></b>. 437 You must omit this parameter in earlier versions, 438 and you may omit it in any version. If you require this 439 parameter, the manifest key 440 <a href="manifest.html#minimum_chrome_version">minimum_chrome_version</a> 441 can ensure that your extension won't be run in an earlier browser version. 442 </dd> 443 444 <!-- OBJECT PROPERTIES --> 445 <dd style="display: none; "> 446 <dl> 447 <div> 448 <div> 449 </div> 450 </div> 451 </dl> 452 </dd> 453 454 <!-- OBJECT METHODS --> 455 <dd style="display: none; "> 456 <div></div> 457 </dd> 458 459 <!-- OBJECT EVENT FIELDS --> 460 <dd style="display: none; "> 461 <div></div> 462 </dd> 463 464 <!-- FUNCTION PARAMETERS --> 465 <dd style="display: none; "> 466 <div></div> 467 </dd> 468 469 </div> 470 </div><div> 471 <div> 472 <dt> 473 <var>callback</var> 474 <em> 475 476 <!-- TYPE --> 477 <div style="display:inline"> 478 ( 479 <span class="optional">optional</span> 480 <span class="enum" style="display: none; ">enumerated</span> 481 <span id="typeTemplate"> 482 <span style="display: none; "> 483 <a> Type</a> 484 </span> 485 <span> 486 <span style="display: none; "> 487 array of <span><span></span></span> 488 </span> 489 <span>function</span> 490 <span style="display: none; "></span> 491 </span> 492 </span> 493 ) 494 </div> 495 496 </em> 497 </dt> 498 <dd class="todo"> 499 Undocumented. 500 </dd> 501 <dd style="display: none; "> 502 Description of this parameter from the json schema. 503 </dd> 504 <dd style="display: none; "> 505 This parameter was added in version 506 <b><span></span></b>. 507 You must omit this parameter in earlier versions, 508 and you may omit it in any version. If you require this 509 parameter, the manifest key 510 <a href="manifest.html#minimum_chrome_version">minimum_chrome_version</a> 511 can ensure that your extension won't be run in an earlier browser version. 512 </dd> 513 514 <!-- OBJECT PROPERTIES --> 515 <dd style="display: none; "> 516 <dl> 517 <div> 518 <div> 519 </div> 520 </div> 521 </dl> 522 </dd> 523 524 <!-- OBJECT METHODS --> 525 <dd style="display: none; "> 526 <div></div> 527 </dd> 528 529 <!-- OBJECT EVENT FIELDS --> 530 <dd style="display: none; "> 531 <div></div> 532 </dd> 533 534 <!-- FUNCTION PARAMETERS --> 535 <dd style="display: none; "> 536 <div></div> 537 </dd> 538 539 </div> 540 </div> 541 </dl> 542 543 <!-- RETURNS --> 544 <h4 style="display: none; ">Returns</h4> 545 <dl> 546 <div style="display: none; "> 547 <div> 548 </div> 549 </div> 550 </dl> 551 552 <!-- CALLBACK --> 553 <div> 554 <div> 555 <h4>Callback function</h4> 556 <p style="display: none; "> 557 The callback <em>parameter</em> should specify a function 558 that looks like this: 559 </p> 560 <p> 561 If you specify the <em>callback</em> parameter, it should 562 specify a function that looks like this: 563 </p> 564 565 <!-- Note: intentionally longer 80 columns --> 566 <pre>function(<span>ExtensionInfo result</span>) <span class="subdued">{...}</span>;</pre> 567 <dl> 568 <div> 569 <div> 570 <dt> 571 <var>result</var> 572 <em> 573 574 <!-- TYPE --> 575 <div style="display:inline"> 576 ( 577 <span class="optional" style="display: none; ">optional</span> 578 <span class="enum" style="display: none; ">enumerated</span> 579 <span id="typeTemplate"> 580 <span> 581 <a href="management.html#type-ExtensionInfo">ExtensionInfo</a> 582 </span> 583 <span style="display: none; "> 584 <span> 585 array of <span><span></span></span> 586 </span> 587 <span>paramType</span> 588 <span></span> 589 </span> 590 </span> 591 ) 592 </div> 593 594 </em> 595 </dt> 596 <dd class="todo"> 597 Undocumented. 598 </dd> 599 <dd style="display: none; "> 600 Description of this parameter from the json schema. 601 </dd> 602 <dd style="display: none; "> 603 This parameter was added in version 604 <b><span></span></b>. 605 You must omit this parameter in earlier versions, 606 and you may omit it in any version. If you require this 607 parameter, the manifest key 608 <a href="manifest.html#minimum_chrome_version">minimum_chrome_version</a> 609 can ensure that your extension won't be run in an earlier browser version. 610 </dd> 611 612 <!-- OBJECT PROPERTIES --> 613 <dd style="display: none; "> 614 <dl> 615 <div> 616 <div> 617 </div> 618 </div> 619 </dl> 620 </dd> 621 622 <!-- OBJECT METHODS --> 623 <dd style="display: none; "> 624 <div></div> 625 </dd> 626 627 <!-- OBJECT EVENT FIELDS --> 628 <dd style="display: none; "> 629 <div></div> 630 </dd> 631 632 <!-- FUNCTION PARAMETERS --> 633 <dd style="display: none; "> 634 <div></div> 635 </dd> 636 637 </div> 638 </div> 639 </dl> 640 </div> 641 </div> 642 643 <!-- MIN_VERSION --> 644 <p style="display: none; "> 645 This function was added in version <b><span></span></b>. 646 If you require this function, the manifest key 647 <a href="manifest.html#minimum_chrome_version">minimum_chrome_version</a> 648 can ensure that your extension won't be run in an earlier browser version. 649 </p> 650 </div> <!-- /description --> 651 652 </div><div class="apiItem"> 653 <a name="method-getAll"></a> <!-- method-anchor --> 654 <h4>getAll</h4> 655 656 <div class="summary"><span style="display: none; ">void</span> 657 <!-- Note: intentionally longer 80 columns --> 658 <span>chrome.management.getAll</span>(<span class="optional"><span style="display: none; ">, </span><span>function</span> 659 <var><span>callback</span></var></span>)</div> 660 661 <div class="description"> 662 <p class="todo" style="display: none; ">Undocumented.</p> 663 <p>Returns a list of information about installed extensions and apps.</p> 664 665 <!-- PARAMETERS --> 666 <h4>Parameters</h4> 667 <dl> 668 <div> 669 <div> 670 <dt> 671 <var>callback</var> 672 <em> 673 674 <!-- TYPE --> 675 <div style="display:inline"> 676 ( 677 <span class="optional">optional</span> 678 <span class="enum" style="display: none; ">enumerated</span> 679 <span id="typeTemplate"> 680 <span style="display: none; "> 681 <a> Type</a> 682 </span> 683 <span> 684 <span style="display: none; "> 685 array of <span><span></span></span> 686 </span> 687 <span>function</span> 688 <span style="display: none; "></span> 689 </span> 690 </span> 691 ) 692 </div> 693 694 </em> 695 </dt> 696 <dd class="todo"> 697 Undocumented. 698 </dd> 699 <dd style="display: none; "> 700 Description of this parameter from the json schema. 701 </dd> 702 <dd style="display: none; "> 703 This parameter was added in version 704 <b><span></span></b>. 705 You must omit this parameter in earlier versions, 706 and you may omit it in any version. If you require this 707 parameter, the manifest key 708 <a href="manifest.html#minimum_chrome_version">minimum_chrome_version</a> 709 can ensure that your extension won't be run in an earlier browser version. 710 </dd> 711 712 <!-- OBJECT PROPERTIES --> 713 <dd style="display: none; "> 714 <dl> 715 <div> 716 <div> 717 </div> 718 </div> 719 </dl> 720 </dd> 721 722 <!-- OBJECT METHODS --> 723 <dd style="display: none; "> 724 <div></div> 725 </dd> 726 727 <!-- OBJECT EVENT FIELDS --> 728 <dd style="display: none; "> 729 <div></div> 730 </dd> 731 732 <!-- FUNCTION PARAMETERS --> 733 <dd style="display: none; "> 734 <div></div> 735 </dd> 736 737 </div> 738 </div> 739 </dl> 740 741 <!-- RETURNS --> 742 <h4 style="display: none; ">Returns</h4> 743 <dl> 744 <div style="display: none; "> 745 <div> 746 </div> 747 </div> 748 </dl> 749 750 <!-- CALLBACK --> 751 <div> 752 <div> 753 <h4>Callback function</h4> 754 <p style="display: none; "> 755 The callback <em>parameter</em> should specify a function 756 that looks like this: 757 </p> 758 <p> 759 If you specify the <em>callback</em> parameter, it should 760 specify a function that looks like this: 761 </p> 762 763 <!-- Note: intentionally longer 80 columns --> 764 <pre>function(<span>array of ExtensionInfo result</span>) <span class="subdued">{...}</span>;</pre> 765 <dl> 766 <div> 767 <div> 768 <dt> 769 <var>result</var> 770 <em> 771 772 <!-- TYPE --> 773 <div style="display:inline"> 774 ( 775 <span class="optional" style="display: none; ">optional</span> 776 <span class="enum" style="display: none; ">enumerated</span> 777 <span id="typeTemplate"> 778 <span style="display: none; "> 779 <a> Type</a> 780 </span> 781 <span> 782 <span> 783 array of <span><span> 784 <span> 785 <a href="management.html#type-ExtensionInfo">ExtensionInfo</a> 786 </span> 787 <span style="display: none; "> 788 <span> 789 array of <span><span></span></span> 790 </span> 791 <span>paramType</span> 792 <span></span> 793 </span> 794 </span></span> 795 </span> 796 <span style="display: none; ">paramType</span> 797 <span style="display: none; "></span> 798 </span> 799 </span> 800 ) 801 </div> 802 803 </em> 804 </dt> 805 <dd class="todo"> 806 Undocumented. 807 </dd> 808 <dd style="display: none; "> 809 Description of this parameter from the json schema. 810 </dd> 811 <dd style="display: none; "> 812 This parameter was added in version 813 <b><span></span></b>. 814 You must omit this parameter in earlier versions, 815 and you may omit it in any version. If you require this 816 parameter, the manifest key 817 <a href="manifest.html#minimum_chrome_version">minimum_chrome_version</a> 818 can ensure that your extension won't be run in an earlier browser version. 819 </dd> 820 821 <!-- OBJECT PROPERTIES --> 822 <dd style="display: none; "> 823 <dl> 824 <div> 825 <div> 826 </div> 827 </div> 828 </dl> 829 </dd> 830 831 <!-- OBJECT METHODS --> 832 <dd style="display: none; "> 833 <div></div> 834 </dd> 835 836 <!-- OBJECT EVENT FIELDS --> 837 <dd style="display: none; "> 838 <div></div> 839 </dd> 840 841 <!-- FUNCTION PARAMETERS --> 842 <dd style="display: none; "> 843 <div></div> 844 </dd> 845 846 </div> 847 </div> 848 </dl> 849 </div> 850 </div> 851 852 <!-- MIN_VERSION --> 853 <p style="display: none; "> 854 This function was added in version <b><span></span></b>. 855 If you require this function, the manifest key 856 <a href="manifest.html#minimum_chrome_version">minimum_chrome_version</a> 857 can ensure that your extension won't be run in an earlier browser version. 858 </p> 859 </div> <!-- /description --> 860 861 </div><div class="apiItem"> 862 <a name="method-launchApp"></a> <!-- method-anchor --> 863 <h4>launchApp</h4> 864 865 <div class="summary"><span style="display: none; ">void</span> 866 <!-- Note: intentionally longer 80 columns --> 867 <span>chrome.management.launchApp</span>(<span class="null"><span style="display: none; ">, </span><span>string</span> 868 <var><span>id</span></var></span><span class="optional"><span>, </span><span>function</span> 869 <var><span>callback</span></var></span>)</div> 870 871 <div class="description"> 872 <p class="todo" style="display: none; ">Undocumented.</p> 873 <p>Launches an application.</p> 874 875 <!-- PARAMETERS --> 876 <h4>Parameters</h4> 877 <dl> 878 <div> 879 <div> 880 <dt> 881 <var>id</var> 882 <em> 883 884 <!-- TYPE --> 885 <div style="display:inline"> 886 ( 887 <span class="optional" style="display: none; ">optional</span> 888 <span class="enum" style="display: none; ">enumerated</span> 889 <span id="typeTemplate"> 890 <span style="display: none; "> 891 <a> Type</a> 892 </span> 893 <span> 894 <span style="display: none; "> 895 array of <span><span></span></span> 896 </span> 897 <span>string</span> 898 <span style="display: none; "></span> 899 </span> 900 </span> 901 ) 902 </div> 903 904 </em> 905 </dt> 906 <dd class="todo" style="display: none; "> 907 Undocumented. 908 </dd> 909 <dd>The extension id of the application.</dd> 910 <dd style="display: none; "> 911 This parameter was added in version 912 <b><span></span></b>. 913 You must omit this parameter in earlier versions, 914 and you may omit it in any version. If you require this 915 parameter, the manifest key 916 <a href="manifest.html#minimum_chrome_version">minimum_chrome_version</a> 917 can ensure that your extension won't be run in an earlier browser version. 918 </dd> 919 920 <!-- OBJECT PROPERTIES --> 921 <dd style="display: none; "> 922 <dl> 923 <div> 924 <div> 925 </div> 926 </div> 927 </dl> 928 </dd> 929 930 <!-- OBJECT METHODS --> 931 <dd style="display: none; "> 932 <div></div> 933 </dd> 934 935 <!-- OBJECT EVENT FIELDS --> 936 <dd style="display: none; "> 937 <div></div> 938 </dd> 939 940 <!-- FUNCTION PARAMETERS --> 941 <dd style="display: none; "> 942 <div></div> 943 </dd> 944 945 </div> 946 </div><div> 947 <div> 948 <dt> 949 <var>callback</var> 950 <em> 951 952 <!-- TYPE --> 953 <div style="display:inline"> 954 ( 955 <span class="optional">optional</span> 956 <span class="enum" style="display: none; ">enumerated</span> 957 <span id="typeTemplate"> 958 <span style="display: none; "> 959 <a> Type</a> 960 </span> 961 <span> 962 <span style="display: none; "> 963 array of <span><span></span></span> 964 </span> 965 <span>function</span> 966 <span style="display: none; "></span> 967 </span> 968 </span> 969 ) 970 </div> 971 972 </em> 973 </dt> 974 <dd class="todo"> 975 Undocumented. 976 </dd> 977 <dd style="display: none; "> 978 Description of this parameter from the json schema. 979 </dd> 980 <dd style="display: none; "> 981 This parameter was added in version 982 <b><span></span></b>. 983 You must omit this parameter in earlier versions, 984 and you may omit it in any version. If you require this 985 parameter, the manifest key 986 <a href="manifest.html#minimum_chrome_version">minimum_chrome_version</a> 987 can ensure that your extension won't be run in an earlier browser version. 988 </dd> 989 990 <!-- OBJECT PROPERTIES --> 991 <dd style="display: none; "> 992 <dl> 993 <div> 994 <div> 995 </div> 996 </div> 997 </dl> 998 </dd> 999 1000 <!-- OBJECT METHODS --> 1001 <dd style="display: none; "> 1002 <div></div> 1003 </dd> 1004 1005 <!-- OBJECT EVENT FIELDS --> 1006 <dd style="display: none; "> 1007 <div></div> 1008 </dd> 1009 1010 <!-- FUNCTION PARAMETERS --> 1011 <dd style="display: none; "> 1012 <div></div> 1013 </dd> 1014 1015 </div> 1016 </div> 1017 </dl> 1018 1019 <!-- RETURNS --> 1020 <h4 style="display: none; ">Returns</h4> 1021 <dl> 1022 <div style="display: none; "> 1023 <div> 1024 </div> 1025 </div> 1026 </dl> 1027 1028 <!-- CALLBACK --> 1029 <div> 1030 <div> 1031 <h4>Callback function</h4> 1032 <p style="display: none; "> 1033 The callback <em>parameter</em> should specify a function 1034 that looks like this: 1035 </p> 1036 <p> 1037 If you specify the <em>callback</em> parameter, it should 1038 specify a function that looks like this: 1039 </p> 1040 1041 <!-- Note: intentionally longer 80 columns --> 1042 <pre>function(<span></span>) <span class="subdued">{...}</span>;</pre> 1043 <dl> 1044 <div style="display: none; "> 1045 <div> 1046 </div> 1047 </div> 1048 </dl> 1049 </div> 1050 </div> 1051 1052 <!-- MIN_VERSION --> 1053 <p style="display: none; "> 1054 This function was added in version <b><span></span></b>. 1055 If you require this function, the manifest key 1056 <a href="manifest.html#minimum_chrome_version">minimum_chrome_version</a> 1057 can ensure that your extension won't be run in an earlier browser version. 1058 </p> 1059 </div> <!-- /description --> 1060 1061 </div><div class="apiItem"> 1062 <a name="method-setEnabled"></a> <!-- method-anchor --> 1063 <h4>setEnabled</h4> 1064 1065 <div class="summary"><span style="display: none; ">void</span> 1066 <!-- Note: intentionally longer 80 columns --> 1067 <span>chrome.management.setEnabled</span>(<span class="null"><span style="display: none; ">, </span><span>string</span> 1068 <var><span>id</span></var></span><span class="null"><span>, </span><span>boolean</span> 1069 <var><span>enabled</span></var></span><span class="optional"><span>, </span><span>function</span> 1070 <var><span>callback</span></var></span>)</div> 1071 1072 <div class="description"> 1073 <p class="todo" style="display: none; ">Undocumented.</p> 1074 <p>Enable or disable an app or extension.</p> 1075 1076 <!-- PARAMETERS --> 1077 <h4>Parameters</h4> 1078 <dl> 1079 <div> 1080 <div> 1081 <dt> 1082 <var>id</var> 1083 <em> 1084 1085 <!-- TYPE --> 1086 <div style="display:inline"> 1087 ( 1088 <span class="optional" style="display: none; ">optional</span> 1089 <span class="enum" style="display: none; ">enumerated</span> 1090 <span id="typeTemplate"> 1091 <span style="display: none; "> 1092 <a> Type</a> 1093 </span> 1094 <span> 1095 <span style="display: none; "> 1096 array of <span><span></span></span> 1097 </span> 1098 <span>string</span> 1099 <span style="display: none; "></span> 1100 </span> 1101 </span> 1102 ) 1103 </div> 1104 1105 </em> 1106 </dt> 1107 <dd class="todo" style="display: none; "> 1108 Undocumented. 1109 </dd> 1110 <dd>This should be the id from an item of <a href="management.html#type-ExtensionInfo">ExtensionInfo</a>.</dd> 1111 <dd style="display: none; "> 1112 This parameter was added in version 1113 <b><span></span></b>. 1114 You must omit this parameter in earlier versions, 1115 and you may omit it in any version. If you require this 1116 parameter, the manifest key 1117 <a href="manifest.html#minimum_chrome_version">minimum_chrome_version</a> 1118 can ensure that your extension won't be run in an earlier browser version. 1119 </dd> 1120 1121 <!-- OBJECT PROPERTIES --> 1122 <dd style="display: none; "> 1123 <dl> 1124 <div> 1125 <div> 1126 </div> 1127 </div> 1128 </dl> 1129 </dd> 1130 1131 <!-- OBJECT METHODS --> 1132 <dd style="display: none; "> 1133 <div></div> 1134 </dd> 1135 1136 <!-- OBJECT EVENT FIELDS --> 1137 <dd style="display: none; "> 1138 <div></div> 1139 </dd> 1140 1141 <!-- FUNCTION PARAMETERS --> 1142 <dd style="display: none; "> 1143 <div></div> 1144 </dd> 1145 1146 </div> 1147 </div><div> 1148 <div> 1149 <dt> 1150 <var>enabled</var> 1151 <em> 1152 1153 <!-- TYPE --> 1154 <div style="display:inline"> 1155 ( 1156 <span class="optional" style="display: none; ">optional</span> 1157 <span class="enum" style="display: none; ">enumerated</span> 1158 <span id="typeTemplate"> 1159 <span style="display: none; "> 1160 <a> Type</a> 1161 </span> 1162 <span> 1163 <span style="display: none; "> 1164 array of <span><span></span></span> 1165 </span> 1166 <span>boolean</span> 1167 <span style="display: none; "></span> 1168 </span> 1169 </span> 1170 ) 1171 </div> 1172 1173 </em> 1174 </dt> 1175 <dd class="todo" style="display: none; "> 1176 Undocumented. 1177 </dd> 1178 <dd>Whether this item should be enabled or disabled.</dd> 1179 <dd style="display: none; "> 1180 This parameter was added in version 1181 <b><span></span></b>. 1182 You must omit this parameter in earlier versions, 1183 and you may omit it in any version. If you require this 1184 parameter, the manifest key 1185 <a href="manifest.html#minimum_chrome_version">minimum_chrome_version</a> 1186 can ensure that your extension won't be run in an earlier browser version. 1187 </dd> 1188 1189 <!-- OBJECT PROPERTIES --> 1190 <dd style="display: none; "> 1191 <dl> 1192 <div> 1193 <div> 1194 </div> 1195 </div> 1196 </dl> 1197 </dd> 1198 1199 <!-- OBJECT METHODS --> 1200 <dd style="display: none; "> 1201 <div></div> 1202 </dd> 1203 1204 <!-- OBJECT EVENT FIELDS --> 1205 <dd style="display: none; "> 1206 <div></div> 1207 </dd> 1208 1209 <!-- FUNCTION PARAMETERS --> 1210 <dd style="display: none; "> 1211 <div></div> 1212 </dd> 1213 1214 </div> 1215 </div><div> 1216 <div> 1217 <dt> 1218 <var>callback</var> 1219 <em> 1220 1221 <!-- TYPE --> 1222 <div style="display:inline"> 1223 ( 1224 <span class="optional">optional</span> 1225 <span class="enum" style="display: none; ">enumerated</span> 1226 <span id="typeTemplate"> 1227 <span style="display: none; "> 1228 <a> Type</a> 1229 </span> 1230 <span> 1231 <span style="display: none; "> 1232 array of <span><span></span></span> 1233 </span> 1234 <span>function</span> 1235 <span style="display: none; "></span> 1236 </span> 1237 </span> 1238 ) 1239 </div> 1240 1241 </em> 1242 </dt> 1243 <dd class="todo"> 1244 Undocumented. 1245 </dd> 1246 <dd style="display: none; "> 1247 Description of this parameter from the json schema. 1248 </dd> 1249 <dd style="display: none; "> 1250 This parameter was added in version 1251 <b><span></span></b>. 1252 You must omit this parameter in earlier versions, 1253 and you may omit it in any version. If you require this 1254 parameter, the manifest key 1255 <a href="manifest.html#minimum_chrome_version">minimum_chrome_version</a> 1256 can ensure that your extension won't be run in an earlier browser version. 1257 </dd> 1258 1259 <!-- OBJECT PROPERTIES --> 1260 <dd style="display: none; "> 1261 <dl> 1262 <div> 1263 <div> 1264 </div> 1265 </div> 1266 </dl> 1267 </dd> 1268 1269 <!-- OBJECT METHODS --> 1270 <dd style="display: none; "> 1271 <div></div> 1272 </dd> 1273 1274 <!-- OBJECT EVENT FIELDS --> 1275 <dd style="display: none; "> 1276 <div></div> 1277 </dd> 1278 1279 <!-- FUNCTION PARAMETERS --> 1280 <dd style="display: none; "> 1281 <div></div> 1282 </dd> 1283 1284 </div> 1285 </div> 1286 </dl> 1287 1288 <!-- RETURNS --> 1289 <h4 style="display: none; ">Returns</h4> 1290 <dl> 1291 <div style="display: none; "> 1292 <div> 1293 </div> 1294 </div> 1295 </dl> 1296 1297 <!-- CALLBACK --> 1298 <div> 1299 <div> 1300 <h4>Callback function</h4> 1301 <p style="display: none; "> 1302 The callback <em>parameter</em> should specify a function 1303 that looks like this: 1304 </p> 1305 <p> 1306 If you specify the <em>callback</em> parameter, it should 1307 specify a function that looks like this: 1308 </p> 1309 1310 <!-- Note: intentionally longer 80 columns --> 1311 <pre>function(<span></span>) <span class="subdued">{...}</span>;</pre> 1312 <dl> 1313 <div style="display: none; "> 1314 <div> 1315 </div> 1316 </div> 1317 </dl> 1318 </div> 1319 </div> 1320 1321 <!-- MIN_VERSION --> 1322 <p style="display: none; "> 1323 This function was added in version <b><span></span></b>. 1324 If you require this function, the manifest key 1325 <a href="manifest.html#minimum_chrome_version">minimum_chrome_version</a> 1326 can ensure that your extension won't be run in an earlier browser version. 1327 </p> 1328 </div> <!-- /description --> 1329 1330 </div><div class="apiItem"> 1331 <a name="method-uninstall"></a> <!-- method-anchor --> 1332 <h4>uninstall</h4> 1333 1334 <div class="summary"><span style="display: none; ">void</span> 1335 <!-- Note: intentionally longer 80 columns --> 1336 <span>chrome.management.uninstall</span>(<span class="null"><span style="display: none; ">, </span><span>string</span> 1337 <var><span>id</span></var></span><span class="optional"><span>, </span><span>function</span> 1338 <var><span>callback</span></var></span>)</div> 1339 1340 <div class="description"> 1341 <p class="todo" style="display: none; ">Undocumented.</p> 1342 <p>Uninstall a currently installed app or extension.</p> 1343 1344 <!-- PARAMETERS --> 1345 <h4>Parameters</h4> 1346 <dl> 1347 <div> 1348 <div> 1349 <dt> 1350 <var>id</var> 1351 <em> 1352 1353 <!-- TYPE --> 1354 <div style="display:inline"> 1355 ( 1356 <span class="optional" style="display: none; ">optional</span> 1357 <span class="enum" style="display: none; ">enumerated</span> 1358 <span id="typeTemplate"> 1359 <span style="display: none; "> 1360 <a> Type</a> 1361 </span> 1362 <span> 1363 <span style="display: none; "> 1364 array of <span><span></span></span> 1365 </span> 1366 <span>string</span> 1367 <span style="display: none; "></span> 1368 </span> 1369 </span> 1370 ) 1371 </div> 1372 1373 </em> 1374 </dt> 1375 <dd class="todo" style="display: none; "> 1376 Undocumented. 1377 </dd> 1378 <dd>This should be the id from an item of <a href="management.html#type-ExtensionInfo">ExtensionInfo</a>.</dd> 1379 <dd style="display: none; "> 1380 This parameter was added in version 1381 <b><span></span></b>. 1382 You must omit this parameter in earlier versions, 1383 and you may omit it in any version. If you require this 1384 parameter, the manifest key 1385 <a href="manifest.html#minimum_chrome_version">minimum_chrome_version</a> 1386 can ensure that your extension won't be run in an earlier browser version. 1387 </dd> 1388 1389 <!-- OBJECT PROPERTIES --> 1390 <dd style="display: none; "> 1391 <dl> 1392 <div> 1393 <div> 1394 </div> 1395 </div> 1396 </dl> 1397 </dd> 1398 1399 <!-- OBJECT METHODS --> 1400 <dd style="display: none; "> 1401 <div></div> 1402 </dd> 1403 1404 <!-- OBJECT EVENT FIELDS --> 1405 <dd style="display: none; "> 1406 <div></div> 1407 </dd> 1408 1409 <!-- FUNCTION PARAMETERS --> 1410 <dd style="display: none; "> 1411 <div></div> 1412 </dd> 1413 1414 </div> 1415 </div><div> 1416 <div> 1417 <dt> 1418 <var>callback</var> 1419 <em> 1420 1421 <!-- TYPE --> 1422 <div style="display:inline"> 1423 ( 1424 <span class="optional">optional</span> 1425 <span class="enum" style="display: none; ">enumerated</span> 1426 <span id="typeTemplate"> 1427 <span style="display: none; "> 1428 <a> Type</a> 1429 </span> 1430 <span> 1431 <span style="display: none; "> 1432 array of <span><span></span></span> 1433 </span> 1434 <span>function</span> 1435 <span style="display: none; "></span> 1436 </span> 1437 </span> 1438 ) 1439 </div> 1440 1441 </em> 1442 </dt> 1443 <dd class="todo"> 1444 Undocumented. 1445 </dd> 1446 <dd style="display: none; "> 1447 Description of this parameter from the json schema. 1448 </dd> 1449 <dd style="display: none; "> 1450 This parameter was added in version 1451 <b><span></span></b>. 1452 You must omit this parameter in earlier versions, 1453 and you may omit it in any version. If you require this 1454 parameter, the manifest key 1455 <a href="manifest.html#minimum_chrome_version">minimum_chrome_version</a> 1456 can ensure that your extension won't be run in an earlier browser version. 1457 </dd> 1458 1459 <!-- OBJECT PROPERTIES --> 1460 <dd style="display: none; "> 1461 <dl> 1462 <div> 1463 <div> 1464 </div> 1465 </div> 1466 </dl> 1467 </dd> 1468 1469 <!-- OBJECT METHODS --> 1470 <dd style="display: none; "> 1471 <div></div> 1472 </dd> 1473 1474 <!-- OBJECT EVENT FIELDS --> 1475 <dd style="display: none; "> 1476 <div></div> 1477 </dd> 1478 1479 <!-- FUNCTION PARAMETERS --> 1480 <dd style="display: none; "> 1481 <div></div> 1482 </dd> 1483 1484 </div> 1485 </div> 1486 </dl> 1487 1488 <!-- RETURNS --> 1489 <h4 style="display: none; ">Returns</h4> 1490 <dl> 1491 <div style="display: none; "> 1492 <div> 1493 </div> 1494 </div> 1495 </dl> 1496 1497 <!-- CALLBACK --> 1498 <div> 1499 <div> 1500 <h4>Callback function</h4> 1501 <p style="display: none; "> 1502 The callback <em>parameter</em> should specify a function 1503 that looks like this: 1504 </p> 1505 <p> 1506 If you specify the <em>callback</em> parameter, it should 1507 specify a function that looks like this: 1508 </p> 1509 1510 <!-- Note: intentionally longer 80 columns --> 1511 <pre>function(<span></span>) <span class="subdued">{...}</span>;</pre> 1512 <dl> 1513 <div style="display: none; "> 1514 <div> 1515 </div> 1516 </div> 1517 </dl> 1518 </div> 1519 </div> 1520 1521 <!-- MIN_VERSION --> 1522 <p style="display: none; "> 1523 This function was added in version <b><span></span></b>. 1524 If you require this function, the manifest key 1525 <a href="manifest.html#minimum_chrome_version">minimum_chrome_version</a> 1526 can ensure that your extension won't be run in an earlier browser version. 1527 </p> 1528 </div> <!-- /description --> 1529 1530 </div> <!-- /apiItem --> 1531 1532 </div> <!-- /apiGroup --> 1533 1534 <!-- EVENTS --> 1535 <div id="eventsTemplate" class="apiGroup"> 1536 <a name="global-events"></a> 1537 <h3>Events</h3> 1538 <!-- iterates over all events --> 1539 <div class="apiItem"> 1540 <a name="event-onDisabled"></a> 1541 <h4>onDisabled</h4> 1542 1543 <div class="summary"> 1544 <!-- Note: intentionally longer 80 columns --> 1545 <span class="subdued">chrome.management.</span><span>onDisabled</span><span class="subdued">.addListener</span>(function(<span>ExtensionInfo info</span>) <span class="subdued">{...}</span>); 1546 </div> 1547 1548 <div class="description"> 1549 <p class="todo" style="display: none; ">Undocumented.</p> 1550 <p>Fired when an app or extension has been disabled</p> 1551 1552 <!-- PARAMETERS --> 1553 <div> 1554 <h4>Parameters</h4> 1555 <dl> 1556 <div> 1557 <div> 1558 <dt> 1559 <var>info</var> 1560 <em> 1561 1562 <!-- TYPE --> 1563 <div style="display:inline"> 1564 ( 1565 <span class="optional" style="display: none; ">optional</span> 1566 <span class="enum" style="display: none; ">enumerated</span> 1567 <span id="typeTemplate"> 1568 <span> 1569 <a href="management.html#type-ExtensionInfo">ExtensionInfo</a> 1570 </span> 1571 <span style="display: none; "> 1572 <span> 1573 array of <span><span></span></span> 1574 </span> 1575 <span>paramType</span> 1576 <span></span> 1577 </span> 1578 </span> 1579 ) 1580 </div> 1581 1582 </em> 1583 </dt> 1584 <dd class="todo"> 1585 Undocumented. 1586 </dd> 1587 <dd style="display: none; "> 1588 Description of this parameter from the json schema. 1589 </dd> 1590 <dd style="display: none; "> 1591 This parameter was added in version 1592 <b><span></span></b>. 1593 You must omit this parameter in earlier versions, 1594 and you may omit it in any version. If you require this 1595 parameter, the manifest key 1596 <a href="manifest.html#minimum_chrome_version">minimum_chrome_version</a> 1597 can ensure that your extension won't be run in an earlier browser version. 1598 </dd> 1599 1600 <!-- OBJECT PROPERTIES --> 1601 <dd style="display: none; "> 1602 <dl> 1603 <div> 1604 <div> 1605 </div> 1606 </div> 1607 </dl> 1608 </dd> 1609 1610 <!-- OBJECT METHODS --> 1611 <dd style="display: none; "> 1612 <div></div> 1613 </dd> 1614 1615 <!-- OBJECT EVENT FIELDS --> 1616 <dd style="display: none; "> 1617 <div></div> 1618 </dd> 1619 1620 <!-- FUNCTION PARAMETERS --> 1621 <dd style="display: none; "> 1622 <div></div> 1623 </dd> 1624 1625 </div> 1626 </div> 1627 </dl> 1628 </div> 1629 </div> <!-- /decription --> 1630 1631 </div><div class="apiItem"> 1632 <a name="event-onEnabled"></a> 1633 <h4>onEnabled</h4> 1634 1635 <div class="summary"> 1636 <!-- Note: intentionally longer 80 columns --> 1637 <span class="subdued">chrome.management.</span><span>onEnabled</span><span class="subdued">.addListener</span>(function(<span>ExtensionInfo info</span>) <span class="subdued">{...}</span>); 1638 </div> 1639 1640 <div class="description"> 1641 <p class="todo" style="display: none; ">Undocumented.</p> 1642 <p>Fired when an app or extension has been enabled.</p> 1643 1644 <!-- PARAMETERS --> 1645 <div> 1646 <h4>Parameters</h4> 1647 <dl> 1648 <div> 1649 <div> 1650 <dt> 1651 <var>info</var> 1652 <em> 1653 1654 <!-- TYPE --> 1655 <div style="display:inline"> 1656 ( 1657 <span class="optional" style="display: none; ">optional</span> 1658 <span class="enum" style="display: none; ">enumerated</span> 1659 <span id="typeTemplate"> 1660 <span> 1661 <a href="management.html#type-ExtensionInfo">ExtensionInfo</a> 1662 </span> 1663 <span style="display: none; "> 1664 <span> 1665 array of <span><span></span></span> 1666 </span> 1667 <span>paramType</span> 1668 <span></span> 1669 </span> 1670 </span> 1671 ) 1672 </div> 1673 1674 </em> 1675 </dt> 1676 <dd class="todo"> 1677 Undocumented. 1678 </dd> 1679 <dd style="display: none; "> 1680 Description of this parameter from the json schema. 1681 </dd> 1682 <dd style="display: none; "> 1683 This parameter was added in version 1684 <b><span></span></b>. 1685 You must omit this parameter in earlier versions, 1686 and you may omit it in any version. If you require this 1687 parameter, the manifest key 1688 <a href="manifest.html#minimum_chrome_version">minimum_chrome_version</a> 1689 can ensure that your extension won't be run in an earlier browser version. 1690 </dd> 1691 1692 <!-- OBJECT PROPERTIES --> 1693 <dd style="display: none; "> 1694 <dl> 1695 <div> 1696 <div> 1697 </div> 1698 </div> 1699 </dl> 1700 </dd> 1701 1702 <!-- OBJECT METHODS --> 1703 <dd style="display: none; "> 1704 <div></div> 1705 </dd> 1706 1707 <!-- OBJECT EVENT FIELDS --> 1708 <dd style="display: none; "> 1709 <div></div> 1710 </dd> 1711 1712 <!-- FUNCTION PARAMETERS --> 1713 <dd style="display: none; "> 1714 <div></div> 1715 </dd> 1716 1717 </div> 1718 </div> 1719 </dl> 1720 </div> 1721 </div> <!-- /decription --> 1722 1723 </div><div class="apiItem"> 1724 <a name="event-onInstalled"></a> 1725 <h4>onInstalled</h4> 1726 1727 <div class="summary"> 1728 <!-- Note: intentionally longer 80 columns --> 1729 <span class="subdued">chrome.management.</span><span>onInstalled</span><span class="subdued">.addListener</span>(function(<span>ExtensionInfo info</span>) <span class="subdued">{...}</span>); 1730 </div> 1731 1732 <div class="description"> 1733 <p class="todo" style="display: none; ">Undocumented.</p> 1734 <p>Fired when an app or extension has been installed.</p> 1735 1736 <!-- PARAMETERS --> 1737 <div> 1738 <h4>Parameters</h4> 1739 <dl> 1740 <div> 1741 <div> 1742 <dt> 1743 <var>info</var> 1744 <em> 1745 1746 <!-- TYPE --> 1747 <div style="display:inline"> 1748 ( 1749 <span class="optional" style="display: none; ">optional</span> 1750 <span class="enum" style="display: none; ">enumerated</span> 1751 <span id="typeTemplate"> 1752 <span> 1753 <a href="management.html#type-ExtensionInfo">ExtensionInfo</a> 1754 </span> 1755 <span style="display: none; "> 1756 <span> 1757 array of <span><span></span></span> 1758 </span> 1759 <span>paramType</span> 1760 <span></span> 1761 </span> 1762 </span> 1763 ) 1764 </div> 1765 1766 </em> 1767 </dt> 1768 <dd class="todo"> 1769 Undocumented. 1770 </dd> 1771 <dd style="display: none; "> 1772 Description of this parameter from the json schema. 1773 </dd> 1774 <dd style="display: none; "> 1775 This parameter was added in version 1776 <b><span></span></b>. 1777 You must omit this parameter in earlier versions, 1778 and you may omit it in any version. If you require this 1779 parameter, the manifest key 1780 <a href="manifest.html#minimum_chrome_version">minimum_chrome_version</a> 1781 can ensure that your extension won't be run in an earlier browser version. 1782 </dd> 1783 1784 <!-- OBJECT PROPERTIES --> 1785 <dd style="display: none; "> 1786 <dl> 1787 <div> 1788 <div> 1789 </div> 1790 </div> 1791 </dl> 1792 </dd> 1793 1794 <!-- OBJECT METHODS --> 1795 <dd style="display: none; "> 1796 <div></div> 1797 </dd> 1798 1799 <!-- OBJECT EVENT FIELDS --> 1800 <dd style="display: none; "> 1801 <div></div> 1802 </dd> 1803 1804 <!-- FUNCTION PARAMETERS --> 1805 <dd style="display: none; "> 1806 <div></div> 1807 </dd> 1808 1809 </div> 1810 </div> 1811 </dl> 1812 </div> 1813 </div> <!-- /decription --> 1814 1815 </div><div class="apiItem"> 1816 <a name="event-onUninstalled"></a> 1817 <h4>onUninstalled</h4> 1818 1819 <div class="summary"> 1820 <!-- Note: intentionally longer 80 columns --> 1821 <span class="subdued">chrome.management.</span><span>onUninstalled</span><span class="subdued">.addListener</span>(function(<span>string id</span>) <span class="subdued">{...}</span>); 1822 </div> 1823 1824 <div class="description"> 1825 <p class="todo" style="display: none; ">Undocumented.</p> 1826 <p>Fired when an app or extension has been uninstalled.</p> 1827 1828 <!-- PARAMETERS --> 1829 <div> 1830 <h4>Parameters</h4> 1831 <dl> 1832 <div> 1833 <div> 1834 <dt> 1835 <var>id</var> 1836 <em> 1837 1838 <!-- TYPE --> 1839 <div style="display:inline"> 1840 ( 1841 <span class="optional" style="display: none; ">optional</span> 1842 <span class="enum" style="display: none; ">enumerated</span> 1843 <span id="typeTemplate"> 1844 <span style="display: none; "> 1845 <a> Type</a> 1846 </span> 1847 <span> 1848 <span style="display: none; "> 1849 array of <span><span></span></span> 1850 </span> 1851 <span>string</span> 1852 <span style="display: none; "></span> 1853 </span> 1854 </span> 1855 ) 1856 </div> 1857 1858 </em> 1859 </dt> 1860 <dd class="todo" style="display: none; "> 1861 Undocumented. 1862 </dd> 1863 <dd>The id of the extension or app that was uninstalled.</dd> 1864 <dd style="display: none; "> 1865 This parameter was added in version 1866 <b><span></span></b>. 1867 You must omit this parameter in earlier versions, 1868 and you may omit it in any version. If you require this 1869 parameter, the manifest key 1870 <a href="manifest.html#minimum_chrome_version">minimum_chrome_version</a> 1871 can ensure that your extension won't be run in an earlier browser version. 1872 </dd> 1873 1874 <!-- OBJECT PROPERTIES --> 1875 <dd style="display: none; "> 1876 <dl> 1877 <div> 1878 <div> 1879 </div> 1880 </div> 1881 </dl> 1882 </dd> 1883 1884 <!-- OBJECT METHODS --> 1885 <dd style="display: none; "> 1886 <div></div> 1887 </dd> 1888 1889 <!-- OBJECT EVENT FIELDS --> 1890 <dd style="display: none; "> 1891 <div></div> 1892 </dd> 1893 1894 <!-- FUNCTION PARAMETERS --> 1895 <dd style="display: none; "> 1896 <div></div> 1897 </dd> 1898 1899 </div> 1900 </div> 1901 </dl> 1902 </div> 1903 </div> <!-- /decription --> 1904 1905 </div> <!-- /apiItem --> 1906 1907 </div> <!-- /apiGroup --> 1908 1909 <!-- TYPES --> 1910 <div class="apiGroup"> 1911 <a name="types"></a> 1912 <h3 id="types">Types</h3> 1913 1914 <!-- iterates over all types --> 1915 <div class="apiItem"> 1916 <a name="type-IconInfo"></a> 1917 <h4>IconInfo</h4> 1918 1919 <div> 1920 <dt> 1921 <var style="display: none; ">paramName</var> 1922 <em> 1923 1924 <!-- TYPE --> 1925 <div style="display:inline"> 1926 ( 1927 <span class="optional" style="display: none; ">optional</span> 1928 <span class="enum" style="display: none; ">enumerated</span> 1929 <span id="typeTemplate"> 1930 <span style="display: none; "> 1931 <a> Type</a> 1932 </span> 1933 <span> 1934 <span style="display: none; "> 1935 array of <span><span></span></span> 1936 </span> 1937 <span>object</span> 1938 <span style="display: none; "></span> 1939 </span> 1940 </span> 1941 ) 1942 </div> 1943 1944 </em> 1945 </dt> 1946 <dd class="todo" style="display: none; "> 1947 Undocumented. 1948 </dd> 1949 <dd>Information about an icon belonging to an extension or app.</dd> 1950 <dd style="display: none; "> 1951 This parameter was added in version 1952 <b><span></span></b>. 1953 You must omit this parameter in earlier versions, 1954 and you may omit it in any version. If you require this 1955 parameter, the manifest key 1956 <a href="manifest.html#minimum_chrome_version">minimum_chrome_version</a> 1957 can ensure that your extension won't be run in an earlier browser version. 1958 </dd> 1959 1960 <!-- OBJECT PROPERTIES --> 1961 <dd> 1962 <dl> 1963 <div> 1964 <div> 1965 <dt> 1966 <var>size</var> 1967 <em> 1968 1969 <!-- TYPE --> 1970 <div style="display:inline"> 1971 ( 1972 <span class="optional" style="display: none; ">optional</span> 1973 <span class="enum" style="display: none; ">enumerated</span> 1974 <span id="typeTemplate"> 1975 <span style="display: none; "> 1976 <a> Type</a> 1977 </span> 1978 <span> 1979 <span style="display: none; "> 1980 array of <span><span></span></span> 1981 </span> 1982 <span>integer</span> 1983 <span style="display: none; "></span> 1984 </span> 1985 </span> 1986 ) 1987 </div> 1988 1989 </em> 1990 </dt> 1991 <dd class="todo" style="display: none; "> 1992 Undocumented. 1993 </dd> 1994 <dd>A number representing the width and height of the icon. Likely values include (but are not limited to) 128, 48, 24, and 16.</dd> 1995 <dd style="display: none; "> 1996 This parameter was added in version 1997 <b><span></span></b>. 1998 You must omit this parameter in earlier versions, 1999 and you may omit it in any version. If you require this 2000 parameter, the manifest key 2001 <a href="manifest.html#minimum_chrome_version">minimum_chrome_version</a> 2002 can ensure that your extension won't be run in an earlier browser version. 2003 </dd> 2004 2005 <!-- OBJECT PROPERTIES --> 2006 <dd style="display: none; "> 2007 <dl> 2008 <div> 2009 <div> 2010 </div> 2011 </div> 2012 </dl> 2013 </dd> 2014 2015 <!-- OBJECT METHODS --> 2016 <dd style="display: none; "> 2017 <div></div> 2018 </dd> 2019 2020 <!-- OBJECT EVENT FIELDS --> 2021 <dd style="display: none; "> 2022 <div></div> 2023 </dd> 2024 2025 <!-- FUNCTION PARAMETERS --> 2026 <dd style="display: none; "> 2027 <div></div> 2028 </dd> 2029 2030 </div> 2031 </div><div> 2032 <div> 2033 <dt> 2034 <var>url</var> 2035 <em> 2036 2037 <!-- TYPE --> 2038 <div style="display:inline"> 2039 ( 2040 <span class="optional" style="display: none; ">optional</span> 2041 <span class="enum" style="display: none; ">enumerated</span> 2042 <span id="typeTemplate"> 2043 <span style="display: none; "> 2044 <a> Type</a> 2045 </span> 2046 <span> 2047 <span style="display: none; "> 2048 array of <span><span></span></span> 2049 </span> 2050 <span>string</span> 2051 <span style="display: none; "></span> 2052 </span> 2053 </span> 2054 ) 2055 </div> 2056 2057 </em> 2058 </dt> 2059 <dd class="todo" style="display: none; "> 2060 Undocumented. 2061 </dd> 2062 <dd>The URL for this icon image. To display a grayscale version of the icon (to indicate that an extension is disabled, for example), append <code>?grayscale=true</code> to the URL.</dd> 2063 <dd style="display: none; "> 2064 This parameter was added in version 2065 <b><span></span></b>. 2066 You must omit this parameter in earlier versions, 2067 and you may omit it in any version. If you require this 2068 parameter, the manifest key 2069 <a href="manifest.html#minimum_chrome_version">minimum_chrome_version</a> 2070 can ensure that your extension won't be run in an earlier browser version. 2071 </dd> 2072 2073 <!-- OBJECT PROPERTIES --> 2074 <dd style="display: none; "> 2075 <dl> 2076 <div> 2077 <div> 2078 </div> 2079 </div> 2080 </dl> 2081 </dd> 2082 2083 <!-- OBJECT METHODS --> 2084 <dd style="display: none; "> 2085 <div></div> 2086 </dd> 2087 2088 <!-- OBJECT EVENT FIELDS --> 2089 <dd style="display: none; "> 2090 <div></div> 2091 </dd> 2092 2093 <!-- FUNCTION PARAMETERS --> 2094 <dd style="display: none; "> 2095 <div></div> 2096 </dd> 2097 2098 </div> 2099 </div> 2100 </dl> 2101 </dd> 2102 2103 <!-- OBJECT METHODS --> 2104 <dd style="display: none; "> 2105 <div></div> 2106 </dd> 2107 2108 <!-- OBJECT EVENT FIELDS --> 2109 <dd style="display: none; "> 2110 <div></div> 2111 </dd> 2112 2113 <!-- FUNCTION PARAMETERS --> 2114 <dd style="display: none; "> 2115 <div></div> 2116 </dd> 2117 2118 </div> 2119 2120 </div><div class="apiItem"> 2121 <a name="type-ExtensionInfo"></a> 2122 <h4>ExtensionInfo</h4> 2123 2124 <div> 2125 <dt> 2126 <var style="display: none; ">paramName</var> 2127 <em> 2128 2129 <!-- TYPE --> 2130 <div style="display:inline"> 2131 ( 2132 <span class="optional" style="display: none; ">optional</span> 2133 <span class="enum" style="display: none; ">enumerated</span> 2134 <span id="typeTemplate"> 2135 <span style="display: none; "> 2136 <a> Type</a> 2137 </span> 2138 <span> 2139 <span style="display: none; "> 2140 array of <span><span></span></span> 2141 </span> 2142 <span>object</span> 2143 <span style="display: none; "></span> 2144 </span> 2145 </span> 2146 ) 2147 </div> 2148 2149 </em> 2150 </dt> 2151 <dd class="todo" style="display: none; "> 2152 Undocumented. 2153 </dd> 2154 <dd>Information about an installed extension or app.</dd> 2155 <dd style="display: none; "> 2156 This parameter was added in version 2157 <b><span></span></b>. 2158 You must omit this parameter in earlier versions, 2159 and you may omit it in any version. If you require this 2160 parameter, the manifest key 2161 <a href="manifest.html#minimum_chrome_version">minimum_chrome_version</a> 2162 can ensure that your extension won't be run in an earlier browser version. 2163 </dd> 2164 2165 <!-- OBJECT PROPERTIES --> 2166 <dd> 2167 <dl> 2168 <div> 2169 <div> 2170 <dt> 2171 <var>id</var> 2172 <em> 2173 2174 <!-- TYPE --> 2175 <div style="display:inline"> 2176 ( 2177 <span class="optional" style="display: none; ">optional</span> 2178 <span class="enum" style="display: none; ">enumerated</span> 2179 <span id="typeTemplate"> 2180 <span style="display: none; "> 2181 <a> Type</a> 2182 </span> 2183 <span> 2184 <span style="display: none; "> 2185 array of <span><span></span></span> 2186 </span> 2187 <span>string</span> 2188 <span style="display: none; "></span> 2189 </span> 2190 </span> 2191 ) 2192 </div> 2193 2194 </em> 2195 </dt> 2196 <dd class="todo" style="display: none; "> 2197 Undocumented. 2198 </dd> 2199 <dd>The extension's unique identifier.</dd> 2200 <dd style="display: none; "> 2201 This parameter was added in version 2202 <b><span></span></b>. 2203 You must omit this parameter in earlier versions, 2204 and you may omit it in any version. If you require this 2205 parameter, the manifest key 2206 <a href="manifest.html#minimum_chrome_version">minimum_chrome_version</a> 2207 can ensure that your extension won't be run in an earlier browser version. 2208 </dd> 2209 2210 <!-- OBJECT PROPERTIES --> 2211 <dd style="display: none; "> 2212 <dl> 2213 <div> 2214 <div> 2215 </div> 2216 </div> 2217 </dl> 2218 </dd> 2219 2220 <!-- OBJECT METHODS --> 2221 <dd style="display: none; "> 2222 <div></div> 2223 </dd> 2224 2225 <!-- OBJECT EVENT FIELDS --> 2226 <dd style="display: none; "> 2227 <div></div> 2228 </dd> 2229 2230 <!-- FUNCTION PARAMETERS --> 2231 <dd style="display: none; "> 2232 <div></div> 2233 </dd> 2234 2235 </div> 2236 </div><div> 2237 <div> 2238 <dt> 2239 <var>name</var> 2240 <em> 2241 2242 <!-- TYPE --> 2243 <div style="display:inline"> 2244 ( 2245 <span class="optional" style="display: none; ">optional</span> 2246 <span class="enum" style="display: none; ">enumerated</span> 2247 <span id="typeTemplate"> 2248 <span style="display: none; "> 2249 <a> Type</a> 2250 </span> 2251 <span> 2252 <span style="display: none; "> 2253 array of <span><span></span></span> 2254 </span> 2255 <span>string</span> 2256 <span style="display: none; "></span> 2257 </span> 2258 </span> 2259 ) 2260 </div> 2261 2262 </em> 2263 </dt> 2264 <dd class="todo" style="display: none; "> 2265 Undocumented. 2266 </dd> 2267 <dd>The name of this extension or app.</dd> 2268 <dd style="display: none; "> 2269 This parameter was added in version 2270 <b><span></span></b>. 2271 You must omit this parameter in earlier versions, 2272 and you may omit it in any version. If you require this 2273 parameter, the manifest key 2274 <a href="manifest.html#minimum_chrome_version">minimum_chrome_version</a> 2275 can ensure that your extension won't be run in an earlier browser version. 2276 </dd> 2277 2278 <!-- OBJECT PROPERTIES --> 2279 <dd style="display: none; "> 2280 <dl> 2281 <div> 2282 <div> 2283 </div> 2284 </div> 2285 </dl> 2286 </dd> 2287 2288 <!-- OBJECT METHODS --> 2289 <dd style="display: none; "> 2290 <div></div> 2291 </dd> 2292 2293 <!-- OBJECT EVENT FIELDS --> 2294 <dd style="display: none; "> 2295 <div></div> 2296 </dd> 2297 2298 <!-- FUNCTION PARAMETERS --> 2299 <dd style="display: none; "> 2300 <div></div> 2301 </dd> 2302 2303 </div> 2304 </div><div> 2305 <div> 2306 <dt> 2307 <var>description</var> 2308 <em> 2309 2310 <!-- TYPE --> 2311 <div style="display:inline"> 2312 ( 2313 <span class="optional" style="display: none; ">optional</span> 2314 <span class="enum" style="display: none; ">enumerated</span> 2315 <span id="typeTemplate"> 2316 <span style="display: none; "> 2317 <a> Type</a> 2318 </span> 2319 <span> 2320 <span style="display: none; "> 2321 array of <span><span></span></span> 2322 </span> 2323 <span>string</span> 2324 <span style="display: none; "></span> 2325 </span> 2326 </span> 2327 ) 2328 </div> 2329 2330 </em> 2331 </dt> 2332 <dd class="todo" style="display: none; "> 2333 Undocumented. 2334 </dd> 2335 <dd>The description of this extension or app.</dd> 2336 <dd style="display: none; "> 2337 This parameter was added in version 2338 <b><span></span></b>. 2339 You must omit this parameter in earlier versions, 2340 and you may omit it in any version. If you require this 2341 parameter, the manifest key 2342 <a href="manifest.html#minimum_chrome_version">minimum_chrome_version</a> 2343 can ensure that your extension won't be run in an earlier browser version. 2344 </dd> 2345 2346 <!-- OBJECT PROPERTIES --> 2347 <dd style="display: none; "> 2348 <dl> 2349 <div> 2350 <div> 2351 </div> 2352 </div> 2353 </dl> 2354 </dd> 2355 2356 <!-- OBJECT METHODS --> 2357 <dd style="display: none; "> 2358 <div></div> 2359 </dd> 2360 2361 <!-- OBJECT EVENT FIELDS --> 2362 <dd style="display: none; "> 2363 <div></div> 2364 </dd> 2365 2366 <!-- FUNCTION PARAMETERS --> 2367 <dd style="display: none; "> 2368 <div></div> 2369 </dd> 2370 2371 </div> 2372 </div><div> 2373 <div> 2374 <dt> 2375 <var>version</var> 2376 <em> 2377 2378 <!-- TYPE --> 2379 <div style="display:inline"> 2380 ( 2381 <span class="optional" style="display: none; ">optional</span> 2382 <span class="enum" style="display: none; ">enumerated</span> 2383 <span id="typeTemplate"> 2384 <span style="display: none; "> 2385 <a> Type</a> 2386 </span> 2387 <span> 2388 <span style="display: none; "> 2389 array of <span><span></span></span> 2390 </span> 2391 <span>string</span> 2392 <span style="display: none; "></span> 2393 </span> 2394 </span> 2395 ) 2396 </div> 2397 2398 </em> 2399 </dt> 2400 <dd class="todo" style="display: none; "> 2401 Undocumented. 2402 </dd> 2403 <dd>The <a href="manifest.html#version">version</a> of this extension or app.</dd> 2404 <dd style="display: none; "> 2405 This parameter was added in version 2406 <b><span></span></b>. 2407 You must omit this parameter in earlier versions, 2408 and you may omit it in any version. If you require this 2409 parameter, the manifest key 2410 <a href="manifest.html#minimum_chrome_version">minimum_chrome_version</a> 2411 can ensure that your extension won't be run in an earlier browser version. 2412 </dd> 2413 2414 <!-- OBJECT PROPERTIES --> 2415 <dd style="display: none; "> 2416 <dl> 2417 <div> 2418 <div> 2419 </div> 2420 </div> 2421 </dl> 2422 </dd> 2423 2424 <!-- OBJECT METHODS --> 2425 <dd style="display: none; "> 2426 <div></div> 2427 </dd> 2428 2429 <!-- OBJECT EVENT FIELDS --> 2430 <dd style="display: none; "> 2431 <div></div> 2432 </dd> 2433 2434 <!-- FUNCTION PARAMETERS --> 2435 <dd style="display: none; "> 2436 <div></div> 2437 </dd> 2438 2439 </div> 2440 </div><div> 2441 <div> 2442 <dt> 2443 <var>mayDisable</var> 2444 <em> 2445 2446 <!-- TYPE --> 2447 <div style="display:inline"> 2448 ( 2449 <span class="optional" style="display: none; ">optional</span> 2450 <span class="enum" style="display: none; ">enumerated</span> 2451 <span id="typeTemplate"> 2452 <span style="display: none; "> 2453 <a> Type</a> 2454 </span> 2455 <span> 2456 <span style="display: none; "> 2457 array of <span><span></span></span> 2458 </span> 2459 <span>boolean</span> 2460 <span style="display: none; "></span> 2461 </span> 2462 </span> 2463 ) 2464 </div> 2465 2466 </em> 2467 </dt> 2468 <dd class="todo" style="display: none; "> 2469 Undocumented. 2470 </dd> 2471 <dd>Whether this extension can be disabled or uninstalled by the user.</dd> 2472 <dd style="display: none; "> 2473 This parameter was added in version 2474 <b><span></span></b>. 2475 You must omit this parameter in earlier versions, 2476 and you may omit it in any version. If you require this 2477 parameter, the manifest key 2478 <a href="manifest.html#minimum_chrome_version">minimum_chrome_version</a> 2479 can ensure that your extension won't be run in an earlier browser version. 2480 </dd> 2481 2482 <!-- OBJECT PROPERTIES --> 2483 <dd style="display: none; "> 2484 <dl> 2485 <div> 2486 <div> 2487 </div> 2488 </div> 2489 </dl> 2490 </dd> 2491 2492 <!-- OBJECT METHODS --> 2493 <dd style="display: none; "> 2494 <div></div> 2495 </dd> 2496 2497 <!-- OBJECT EVENT FIELDS --> 2498 <dd style="display: none; "> 2499 <div></div> 2500 </dd> 2501 2502 <!-- FUNCTION PARAMETERS --> 2503 <dd style="display: none; "> 2504 <div></div> 2505 </dd> 2506 2507 </div> 2508 </div><div> 2509 <div> 2510 <dt> 2511 <var>enabled</var> 2512 <em> 2513 2514 <!-- TYPE --> 2515 <div style="display:inline"> 2516 ( 2517 <span class="optional" style="display: none; ">optional</span> 2518 <span class="enum" style="display: none; ">enumerated</span> 2519 <span id="typeTemplate"> 2520 <span style="display: none; "> 2521 <a> Type</a> 2522 </span> 2523 <span> 2524 <span style="display: none; "> 2525 array of <span><span></span></span> 2526 </span> 2527 <span>boolean</span> 2528 <span style="display: none; "></span> 2529 </span> 2530 </span> 2531 ) 2532 </div> 2533 2534 </em> 2535 </dt> 2536 <dd class="todo" style="display: none; "> 2537 Undocumented. 2538 </dd> 2539 <dd>Whether it is currently enabled or disabled.</dd> 2540 <dd style="display: none; "> 2541 This parameter was added in version 2542 <b><span></span></b>. 2543 You must omit this parameter in earlier versions, 2544 and you may omit it in any version. If you require this 2545 parameter, the manifest key 2546 <a href="manifest.html#minimum_chrome_version">minimum_chrome_version</a> 2547 can ensure that your extension won't be run in an earlier browser version. 2548 </dd> 2549 2550 <!-- OBJECT PROPERTIES --> 2551 <dd style="display: none; "> 2552 <dl> 2553 <div> 2554 <div> 2555 </div> 2556 </div> 2557 </dl> 2558 </dd> 2559 2560 <!-- OBJECT METHODS --> 2561 <dd style="display: none; "> 2562 <div></div> 2563 </dd> 2564 2565 <!-- OBJECT EVENT FIELDS --> 2566 <dd style="display: none; "> 2567 <div></div> 2568 </dd> 2569 2570 <!-- FUNCTION PARAMETERS --> 2571 <dd style="display: none; "> 2572 <div></div> 2573 </dd> 2574 2575 </div> 2576 </div><div> 2577 <div> 2578 <dt> 2579 <var>isApp</var> 2580 <em> 2581 2582 <!-- TYPE --> 2583 <div style="display:inline"> 2584 ( 2585 <span class="optional" style="display: none; ">optional</span> 2586 <span class="enum" style="display: none; ">enumerated</span> 2587 <span id="typeTemplate"> 2588 <span style="display: none; "> 2589 <a> Type</a> 2590 </span> 2591 <span> 2592 <span style="display: none; "> 2593 array of <span><span></span></span> 2594 </span> 2595 <span>boolean</span> 2596 <span style="display: none; "></span> 2597 </span> 2598 </span> 2599 ) 2600 </div> 2601 2602 </em> 2603 </dt> 2604 <dd class="todo" style="display: none; "> 2605 Undocumented. 2606 </dd> 2607 <dd>True if this is an app.</dd> 2608 <dd style="display: none; "> 2609 This parameter was added in version 2610 <b><span></span></b>. 2611 You must omit this parameter in earlier versions, 2612 and you may omit it in any version. If you require this 2613 parameter, the manifest key 2614 <a href="manifest.html#minimum_chrome_version">minimum_chrome_version</a> 2615 can ensure that your extension won't be run in an earlier browser version. 2616 </dd> 2617 2618 <!-- OBJECT PROPERTIES --> 2619 <dd style="display: none; "> 2620 <dl> 2621 <div> 2622 <div> 2623 </div> 2624 </div> 2625 </dl> 2626 </dd> 2627 2628 <!-- OBJECT METHODS --> 2629 <dd style="display: none; "> 2630 <div></div> 2631 </dd> 2632 2633 <!-- OBJECT EVENT FIELDS --> 2634 <dd style="display: none; "> 2635 <div></div> 2636 </dd> 2637 2638 <!-- FUNCTION PARAMETERS --> 2639 <dd style="display: none; "> 2640 <div></div> 2641 </dd> 2642 2643 </div> 2644 </div><div> 2645 <div> 2646 <dt> 2647 <var>appLaunchUrl</var> 2648 <em> 2649 2650 <!-- TYPE --> 2651 <div style="display:inline"> 2652 ( 2653 <span class="optional">optional</span> 2654 <span class="enum" style="display: none; ">enumerated</span> 2655 <span id="typeTemplate"> 2656 <span style="display: none; "> 2657 <a> Type</a> 2658 </span> 2659 <span> 2660 <span style="display: none; "> 2661 array of <span><span></span></span> 2662 </span> 2663 <span>string</span> 2664 <span style="display: none; "></span> 2665 </span> 2666 </span> 2667 ) 2668 </div> 2669 2670 </em> 2671 </dt> 2672 <dd class="todo" style="display: none; "> 2673 Undocumented. 2674 </dd> 2675 <dd>The launch url (only present for apps).</dd> 2676 <dd style="display: none; "> 2677 This parameter was added in version 2678 <b><span></span></b>. 2679 You must omit this parameter in earlier versions, 2680 and you may omit it in any version. If you require this 2681 parameter, the manifest key 2682 <a href="manifest.html#minimum_chrome_version">minimum_chrome_version</a> 2683 can ensure that your extension won't be run in an earlier browser version. 2684 </dd> 2685 2686 <!-- OBJECT PROPERTIES --> 2687 <dd style="display: none; "> 2688 <dl> 2689 <div> 2690 <div> 2691 </div> 2692 </div> 2693 </dl> 2694 </dd> 2695 2696 <!-- OBJECT METHODS --> 2697 <dd style="display: none; "> 2698 <div></div> 2699 </dd> 2700 2701 <!-- OBJECT EVENT FIELDS --> 2702 <dd style="display: none; "> 2703 <div></div> 2704 </dd> 2705 2706 <!-- FUNCTION PARAMETERS --> 2707 <dd style="display: none; "> 2708 <div></div> 2709 </dd> 2710 2711 </div> 2712 </div><div> 2713 <div> 2714 <dt> 2715 <var>homepageUrl</var> 2716 <em> 2717 2718 <!-- TYPE --> 2719 <div style="display:inline"> 2720 ( 2721 <span class="optional">optional</span> 2722 <span class="enum" style="display: none; ">enumerated</span> 2723 <span id="typeTemplate"> 2724 <span style="display: none; "> 2725 <a> Type</a> 2726 </span> 2727 <span> 2728 <span style="display: none; "> 2729 array of <span><span></span></span> 2730 </span> 2731 <span>string</span> 2732 <span style="display: none; "></span> 2733 </span> 2734 </span> 2735 ) 2736 </div> 2737 2738 </em> 2739 </dt> 2740 <dd class="todo" style="display: none; "> 2741 Undocumented. 2742 </dd> 2743 <dd>The URL of the homepage of this extension or app</dd> 2744 <dd style="display: none; "> 2745 This parameter was added in version 2746 <b><span></span></b>. 2747 You must omit this parameter in earlier versions, 2748 and you may omit it in any version. If you require this 2749 parameter, the manifest key 2750 <a href="manifest.html#minimum_chrome_version">minimum_chrome_version</a> 2751 can ensure that your extension won't be run in an earlier browser version. 2752 </dd> 2753 2754 <!-- OBJECT PROPERTIES --> 2755 <dd style="display: none; "> 2756 <dl> 2757 <div> 2758 <div> 2759 </div> 2760 </div> 2761 </dl> 2762 </dd> 2763 2764 <!-- OBJECT METHODS --> 2765 <dd style="display: none; "> 2766 <div></div> 2767 </dd> 2768 2769 <!-- OBJECT EVENT FIELDS --> 2770 <dd style="display: none; "> 2771 <div></div> 2772 </dd> 2773 2774 <!-- FUNCTION PARAMETERS --> 2775 <dd style="display: none; "> 2776 <div></div> 2777 </dd> 2778 2779 </div> 2780 </div><div> 2781 <div> 2782 <dt> 2783 <var>optionsUrl</var> 2784 <em> 2785 2786 <!-- TYPE --> 2787 <div style="display:inline"> 2788 ( 2789 <span class="optional" style="display: none; ">optional</span> 2790 <span class="enum" style="display: none; ">enumerated</span> 2791 <span id="typeTemplate"> 2792 <span style="display: none; "> 2793 <a> Type</a> 2794 </span> 2795 <span> 2796 <span style="display: none; "> 2797 array of <span><span></span></span> 2798 </span> 2799 <span>string</span> 2800 <span style="display: none; "></span> 2801 </span> 2802 </span> 2803 ) 2804 </div> 2805 2806 </em> 2807 </dt> 2808 <dd class="todo" style="display: none; "> 2809 Undocumented. 2810 </dd> 2811 <dd>The url for the item's options page, if it has one.</dd> 2812 <dd style="display: none; "> 2813 This parameter was added in version 2814 <b><span></span></b>. 2815 You must omit this parameter in earlier versions, 2816 and you may omit it in any version. If you require this 2817 parameter, the manifest key 2818 <a href="manifest.html#minimum_chrome_version">minimum_chrome_version</a> 2819 can ensure that your extension won't be run in an earlier browser version. 2820 </dd> 2821 2822 <!-- OBJECT PROPERTIES --> 2823 <dd style="display: none; "> 2824 <dl> 2825 <div> 2826 <div> 2827 </div> 2828 </div> 2829 </dl> 2830 </dd> 2831 2832 <!-- OBJECT METHODS --> 2833 <dd style="display: none; "> 2834 <div></div> 2835 </dd> 2836 2837 <!-- OBJECT EVENT FIELDS --> 2838 <dd style="display: none; "> 2839 <div></div> 2840 </dd> 2841 2842 <!-- FUNCTION PARAMETERS --> 2843 <dd style="display: none; "> 2844 <div></div> 2845 </dd> 2846 2847 </div> 2848 </div><div> 2849 <div> 2850 <dt> 2851 <var>icons</var> 2852 <em> 2853 2854 <!-- TYPE --> 2855 <div style="display:inline"> 2856 ( 2857 <span class="optional">optional</span> 2858 <span class="enum" style="display: none; ">enumerated</span> 2859 <span id="typeTemplate"> 2860 <span style="display: none; "> 2861 <a> Type</a> 2862 </span> 2863 <span> 2864 <span> 2865 array of <span><span> 2866 <span> 2867 <a href="management.html#type-IconInfo">IconInfo</a> 2868 </span> 2869 <span style="display: none; "> 2870 <span> 2871 array of <span><span></span></span> 2872 </span> 2873 <span>paramType</span> 2874 <span></span> 2875 </span> 2876 </span></span> 2877 </span> 2878 <span style="display: none; ">paramType</span> 2879 <span style="display: none; "></span> 2880 </span> 2881 </span> 2882 ) 2883 </div> 2884 2885 </em> 2886 </dt> 2887 <dd class="todo" style="display: none; "> 2888 Undocumented. 2889 </dd> 2890 <dd>A list of icon information. Note that this just reflects what was declared in the manifest, and the actual image at that url may be larger or smaller than what was declared, so you might consider using explicit width and height attributes on img tags referencing these images. See the <a href="manifest.html#icons">manifest documentation on icons</a> for more details.</dd> 2891 <dd style="display: none; "> 2892 This parameter was added in version 2893 <b><span></span></b>. 2894 You must omit this parameter in earlier versions, 2895 and you may omit it in any version. If you require this 2896 parameter, the manifest key 2897 <a href="manifest.html#minimum_chrome_version">minimum_chrome_version</a> 2898 can ensure that your extension won't be run in an earlier browser version. 2899 </dd> 2900 2901 <!-- OBJECT PROPERTIES --> 2902 <dd style="display: none; "> 2903 <dl> 2904 <div> 2905 <div> 2906 </div> 2907 </div> 2908 </dl> 2909 </dd> 2910 2911 <!-- OBJECT METHODS --> 2912 <dd style="display: none; "> 2913 <div></div> 2914 </dd> 2915 2916 <!-- OBJECT EVENT FIELDS --> 2917 <dd style="display: none; "> 2918 <div></div> 2919 </dd> 2920 2921 <!-- FUNCTION PARAMETERS --> 2922 <dd style="display: none; "> 2923 <div></div> 2924 </dd> 2925 2926 </div> 2927 </div><div> 2928 <div> 2929 <dt> 2930 <var>permissions</var> 2931 <em> 2932 2933 <!-- TYPE --> 2934 <div style="display:inline"> 2935 ( 2936 <span class="optional" style="display: none; ">optional</span> 2937 <span class="enum" style="display: none; ">enumerated</span> 2938 <span id="typeTemplate"> 2939 <span style="display: none; "> 2940 <a> Type</a> 2941 </span> 2942 <span> 2943 <span> 2944 array of <span><span> 2945 <span style="display: none; "> 2946 <a> Type</a> 2947 </span> 2948 <span> 2949 <span style="display: none; "> 2950 array of <span><span></span></span> 2951 </span> 2952 <span>string</span> 2953 <span style="display: none; "></span> 2954 </span> 2955 </span></span> 2956 </span> 2957 <span style="display: none; ">paramType</span> 2958 <span style="display: none; "></span> 2959 </span> 2960 </span> 2961 ) 2962 </div> 2963 2964 </em> 2965 </dt> 2966 <dd class="todo" style="display: none; "> 2967 Undocumented. 2968 </dd> 2969 <dd>Returns a list of API based permissions.</dd> 2970 <dd style="display: none; "> 2971 This parameter was added in version 2972 <b><span></span></b>. 2973 You must omit this parameter in earlier versions, 2974 and you may omit it in any version. If you require this 2975 parameter, the manifest key 2976 <a href="manifest.html#minimum_chrome_version">minimum_chrome_version</a> 2977 can ensure that your extension won't be run in an earlier browser version. 2978 </dd> 2979 2980 <!-- OBJECT PROPERTIES --> 2981 <dd style="display: none; "> 2982 <dl> 2983 <div> 2984 <div> 2985 </div> 2986 </div> 2987 </dl> 2988 </dd> 2989 2990 <!-- OBJECT METHODS --> 2991 <dd style="display: none; "> 2992 <div></div> 2993 </dd> 2994 2995 <!-- OBJECT EVENT FIELDS --> 2996 <dd style="display: none; "> 2997 <div></div> 2998 </dd> 2999 3000 <!-- FUNCTION PARAMETERS --> 3001 <dd style="display: none; "> 3002 <div></div> 3003 </dd> 3004 3005 </div> 3006 </div><div> 3007 <div> 3008 <dt> 3009 <var>hostPermissions</var> 3010 <em> 3011 3012 <!-- TYPE --> 3013 <div style="display:inline"> 3014 ( 3015 <span class="optional" style="display: none; ">optional</span> 3016 <span class="enum" style="display: none; ">enumerated</span> 3017 <span id="typeTemplate"> 3018 <span style="display: none; "> 3019 <a> Type</a> 3020 </span> 3021 <span> 3022 <span> 3023 array of <span><span> 3024 <span style="display: none; "> 3025 <a> Type</a> 3026 </span> 3027 <span> 3028 <span style="display: none; "> 3029 array of <span><span></span></span> 3030 </span> 3031 <span>string</span> 3032 <span style="display: none; "></span> 3033 </span> 3034 </span></span> 3035 </span> 3036 <span style="display: none; ">paramType</span> 3037 <span style="display: none; "></span> 3038 </span> 3039 </span> 3040 ) 3041 </div> 3042 3043 </em> 3044 </dt> 3045 <dd class="todo" style="display: none; "> 3046 Undocumented. 3047 </dd> 3048 <dd>Returns a list of host based permissions.</dd> 3049 <dd style="display: none; "> 3050 This parameter was added in version 3051 <b><span></span></b>. 3052 You must omit this parameter in earlier versions, 3053 and you may omit it in any version. If you require this 3054 parameter, the manifest key 3055 <a href="manifest.html#minimum_chrome_version">minimum_chrome_version</a> 3056 can ensure that your extension won't be run in an earlier browser version. 3057 </dd> 3058 3059 <!-- OBJECT PROPERTIES --> 3060 <dd style="display: none; "> 3061 <dl> 3062 <div> 3063 <div> 3064 </div> 3065 </div> 3066 </dl> 3067 </dd> 3068 3069 <!-- OBJECT METHODS --> 3070 <dd style="display: none; "> 3071 <div></div> 3072 </dd> 3073 3074 <!-- OBJECT EVENT FIELDS --> 3075 <dd style="display: none; "> 3076 <div></div> 3077 </dd> 3078 3079 <!-- FUNCTION PARAMETERS --> 3080 <dd style="display: none; "> 3081 <div></div> 3082 </dd> 3083 3084 </div> 3085 </div> 3086 </dl> 3087 </dd> 3088 3089 <!-- OBJECT METHODS --> 3090 <dd style="display: none; "> 3091 <div></div> 3092 </dd> 3093 3094 <!-- OBJECT EVENT FIELDS --> 3095 <dd style="display: none; "> 3096 <div></div> 3097 </dd> 3098 3099 <!-- FUNCTION PARAMETERS --> 3100 <dd style="display: none; "> 3101 <div></div> 3102 </dd> 3103 3104 </div> 3105 3106 </div> <!-- /apiItem --> 3107 3108 </div> <!-- /apiGroup --> 3109 3110 </div> <!-- /apiPage --> 3111 </div> <!-- /gc-pagecontent --> 3112 </div> <!-- /g-section --> 3113 </div> <!-- /codesiteContent --> 3114 <div id="gc-footer" --=""> 3115 <div class="text"> 3116 <p> 3117 Except as otherwise <a href="http://code.google.com/policies.html#restrictions">noted</a>, 3118 the content of this page is licensed under the <a rel="license" href="http://creativecommons.org/licenses/by/3.0/">Creative Commons 3119 Attribution 3.0 License</a>, and code samples are licensed under the 3120 <a rel="license" href="http://code.google.com/google_bsd_license.html">BSD License</a>. 3121 </p> 3122 <p> 3123 2011 Google 3124 </p> 3125 3126 <!-- begin analytics --> 3127 <script src="http://www.google-analytics.com/urchin.js" type="text/javascript"></script> 3128 <script src="http://www.google-analytics.com/ga.js" type="text/javascript"></script> 3129 3130 <script type="text/javascript"> 3131 // chrome doc tracking 3132 try { 3133 var engdocs = _gat._getTracker("YT-10763712-2"); 3134 engdocs._trackPageview(); 3135 } catch(err) {} 3136 3137 // code.google.com site-wide tracking 3138 try { 3139 _uacct="UA-18071-1"; 3140 _uanchor=1; 3141 _uff=0; 3142 urchinTracker(); 3143 } 3144 catch(e) {/* urchinTracker not available. */} 3145 </script> 3146 <!-- end analytics --> 3147 </div> 3148 </div> <!-- /gc-footer --> 3149 </div> <!-- /gc-container --> 3150 </body></html> 3151