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>experimental.webInspector.panels - 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><a href="management.html">Management</a></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">experimental.webInspector.panels</h1> 255 </div> 256 <!-- TABLE OF CONTENTS --> 257 <div id="toc"> 258 <h2>Contents</h2> 259 <ol> 260 <li> 261 <a href="#H2-0">Notes</a> 262 <ol> 263 <li style="display: none; "> 264 <a>h3Name</a> 265 </li> 266 </ol> 267 </li><li> 268 <a href="#overview-examples">Examples</a> 269 <ol> 270 <li style="display: none; "> 271 <a>h3Name</a> 272 </li> 273 </ol> 274 </li> 275 <li> 276 <a href="#apiReference">API reference: experimental.webInspector.panels</a> 277 <ol> 278 <li> 279 <a href="#properties">Properties</a> 280 <ol> 281 <li> 282 <a href="#property-scripts">scripts</a> 283 </li> 284 </ol> 285 </li> 286 <li> 287 <a href="#global-methods">Methods</a> 288 <ol> 289 <li> 290 <a href="#method-create">create</a> 291 </li> 292 </ol> 293 </li> 294 <li style="display: none; "> 295 <a>Events</a> 296 <ol> 297 <li> 298 <a href="#event-anchor">eventName</a> 299 </li> 300 </ol> 301 </li> 302 <li> 303 <a href="#types">Types</a> 304 <ol> 305 <li> 306 <a href="#type-PanelWithSidebars">PanelWithSidebars</a> 307 </li><li> 308 <a href="#type-ElementsPanel">ElementsPanel</a> 309 </li><li> 310 <a href="#type-ExtensionPanel">ExtensionPanel</a> 311 </li><li> 312 <a href="#type-ExtensionSidebarPane">ExtensionSidebarPane</a> 313 </li><li> 314 <a href="#type-WatchExpressionSidebarPane">WatchExpressionSidebarPane</a> 315 </li> 316 </ol> 317 </li> 318 </ol> 319 </li> 320 </ol> 321 </div> 322 <!-- /TABLE OF CONTENTS --> 323 324 <!-- Standard content lead-in for experimental API pages --> 325 <p id="classSummary" style="display: none; "> 326 For information on how to use experimental APIs, see the <a href="experimental.html">chrome.experimental.* APIs</a> page. 327 </p> 328 329 <!-- STATIC CONTENT PLACEHOLDER --> 330 <div id="static"><!-- BEGIN AUTHORED CONTENT --> 331 <p id="classSummary"> 332 Use the <code>experimental.webInspector.panels</code> module to integrate your 333 extension into Developer Tools window UI: create your own panels, access 334 existing panels and add sidebars. 335 </p><p> 336 See <a href="experimental.webInspector.html">WebInspector API summary</a> for 337 general introduction to using WebInspector API. 338 </p> 339 340 <a name="H2-0"></a><h2>Notes</h2> 341 342 <p> 343 Each extension panel and sidebar is displayed as a separate HTML page. All 344 extension pages displayed in the Developer Tools window have access to all 345 modules in <code>experimental.webInspector</code> API, as well as to 346 <a href="extension.html">chrome.extension</a> API. Other extension APIs are not 347 available to the pages within Developer Tools window, but you may invoke them 348 by sending a request to the background page of your extension, similarly to how 349 it's done in the <a href="overview.html#contentScripts">content scripts</a>. 350 </p> 351 352 <h2 id="overview-examples">Examples</h2> 353 <p>The following code adds a panel contained in <code>Panel.html</code>, 354 represented by <code>FontPicker.png</code> on the Developer Tools toolbar 355 and labeled as <em>Font Picker</em>:</p> 356 357 <pre>webInspector.panels.create("Font Picker", "FontPicker.png", "Panel.html"); 358 </pre> 359 <p>The following code adds a sidebar pane contained in 360 <code>Sidebar.html</code> and titled <em>Font Properties</em> to the Elements 361 panel, then sets its height to <code>8ex</code>: 362 </p><pre>webInspector.panels.elements.createSidebarPane("Font Properties", "Sidebar.html", 363 function(sidebar) { 364 sidebar.setHeight("8ex"); 365 } 366 })); 367 </pre> 368 <p> 369 This screenshot demonstrates the effect the above examples would have on 370 Developer Tools window: 371 372 <img src="images/devtools-panels.png" style="margin-left: 20px" width="686" height="289" alt="Extension icon panel on DevTools toolbar"> 373 </p> 374 <!-- END AUTHORED CONTENT --> 375 </div> 376 377 <!-- API PAGE --> 378 <div class="apiPage"> 379 <a name="apiReference"></a> 380 <h2>API reference: experimental.webInspector.panels</h2> 381 382 <!-- PROPERTIES --> 383 <div class="apiGroup"> 384 <a name="properties"></a> 385 <h3 id="properties">Properties</h3> 386 387 <div> 388 <a name="property-scripts"></a> 389 <h4>scripts</h4> 390 <div class="summary"> 391 <!-- Note: intentionally longer 80 columns --> 392 <span>experimental.webInspector.panels.</span><span>scripts</span> 393 </div> 394 <div> 395 <dt> 396 <var>scripts</var> 397 <em> 398 399 <!-- TYPE --> 400 <div style="display:inline"> 401 ( 402 <span class="optional" style="display: none; ">optional</span> 403 <span class="enum" style="display: none; ">enumerated</span> 404 <span id="typeTemplate"> 405 <span> 406 <a>ScriptsPanel</a> 407 </span> 408 <span style="display: none; "> 409 <span> 410 array of <span><span></span></span> 411 </span> 412 <span>paramType</span> 413 <span></span> 414 </span> 415 </span> 416 ) 417 </div> 418 419 </em> 420 </dt> 421 <dd class="todo" style="display: none; "> 422 Undocumented. 423 </dd> 424 <dd>Scripts panel</dd> 425 <dd style="display: none; "> 426 This parameter was added in version 427 <b><span></span></b>. 428 You must omit this parameter in earlier versions, 429 and you may omit it in any version. If you require this 430 parameter, the manifest key 431 <a href="manifest.html#minimum_chrome_version">minimum_chrome_version</a> 432 can ensure that your extension won't be run in an earlier browser version. 433 </dd> 434 435 <!-- OBJECT PROPERTIES --> 436 <dd style="display: none; "> 437 <dl> 438 <div> 439 <div> 440 </div> 441 </div> 442 </dl> 443 </dd> 444 445 <!-- OBJECT METHODS --> 446 <dd style="display: none; "> 447 <div></div> 448 </dd> 449 450 <!-- OBJECT EVENT FIELDS --> 451 <dd style="display: none; "> 452 <div></div> 453 </dd> 454 455 <!-- FUNCTION PARAMETERS --> 456 <dd style="display: none; "> 457 <div></div> 458 </dd> 459 460 </div> 461 </div> 462 463 </div> <!-- /apiGroup --> 464 465 <!-- METHODS --> 466 <div id="methodsTemplate" class="apiGroup"> 467 <a name="global-methods"></a> 468 <h3>Methods</h3> 469 470 <!-- iterates over all functions --> 471 <div class="apiItem"> 472 <a name="method-create"></a> <!-- method-anchor --> 473 <h4>create</h4> 474 475 <div class="summary"><span>ExtensionPanel</span> 476 <!-- Note: intentionally longer 80 columns --> 477 <span>experimental.webInspector.panels.create</span>(<span class="null"><span style="display: none; ">, </span><span>string</span> 478 <var><span>title</span></var></span><span class="null"><span>, </span><span>string</span> 479 <var><span>iconURL</span></var></span><span class="null"><span>, </span><span>string</span> 480 <var><span>pageURL</span></var></span>)</div> 481 482 <div class="description"> 483 <p class="todo" style="display: none; ">Undocumented.</p> 484 <p>Creates an extension panel.</p> 485 486 <!-- PARAMETERS --> 487 <h4>Parameters</h4> 488 <dl> 489 <div> 490 <div> 491 <dt> 492 <var>title</var> 493 <em> 494 495 <!-- TYPE --> 496 <div style="display:inline"> 497 ( 498 <span class="optional" style="display: none; ">optional</span> 499 <span class="enum" style="display: none; ">enumerated</span> 500 <span id="typeTemplate"> 501 <span style="display: none; "> 502 <a> Type</a> 503 </span> 504 <span> 505 <span style="display: none; "> 506 array of <span><span></span></span> 507 </span> 508 <span>string</span> 509 <span style="display: none; "></span> 510 </span> 511 </span> 512 ) 513 </div> 514 515 </em> 516 </dt> 517 <dd class="todo" style="display: none; "> 518 Undocumented. 519 </dd> 520 <dd>Title that is displayed under the extension icon in the toolbar.</dd> 521 <dd style="display: none; "> 522 This parameter was added in version 523 <b><span></span></b>. 524 You must omit this parameter in earlier versions, 525 and you may omit it in any version. If you require this 526 parameter, the manifest key 527 <a href="manifest.html#minimum_chrome_version">minimum_chrome_version</a> 528 can ensure that your extension won't be run in an earlier browser version. 529 </dd> 530 531 <!-- OBJECT PROPERTIES --> 532 <dd style="display: none; "> 533 <dl> 534 <div> 535 <div> 536 </div> 537 </div> 538 </dl> 539 </dd> 540 541 <!-- OBJECT METHODS --> 542 <dd style="display: none; "> 543 <div></div> 544 </dd> 545 546 <!-- OBJECT EVENT FIELDS --> 547 <dd style="display: none; "> 548 <div></div> 549 </dd> 550 551 <!-- FUNCTION PARAMETERS --> 552 <dd style="display: none; "> 553 <div></div> 554 </dd> 555 556 </div> 557 </div><div> 558 <div> 559 <dt> 560 <var>iconURL</var> 561 <em> 562 563 <!-- TYPE --> 564 <div style="display:inline"> 565 ( 566 <span class="optional" style="display: none; ">optional</span> 567 <span class="enum" style="display: none; ">enumerated</span> 568 <span id="typeTemplate"> 569 <span style="display: none; "> 570 <a> Type</a> 571 </span> 572 <span> 573 <span style="display: none; "> 574 array of <span><span></span></span> 575 </span> 576 <span>string</span> 577 <span style="display: none; "></span> 578 </span> 579 </span> 580 ) 581 </div> 582 583 </em> 584 </dt> 585 <dd class="todo" style="display: none; "> 586 Undocumented. 587 </dd> 588 <dd>An URL of the toolbar icon.</dd> 589 <dd style="display: none; "> 590 This parameter was added in version 591 <b><span></span></b>. 592 You must omit this parameter in earlier versions, 593 and you may omit it in any version. If you require this 594 parameter, the manifest key 595 <a href="manifest.html#minimum_chrome_version">minimum_chrome_version</a> 596 can ensure that your extension won't be run in an earlier browser version. 597 </dd> 598 599 <!-- OBJECT PROPERTIES --> 600 <dd style="display: none; "> 601 <dl> 602 <div> 603 <div> 604 </div> 605 </div> 606 </dl> 607 </dd> 608 609 <!-- OBJECT METHODS --> 610 <dd style="display: none; "> 611 <div></div> 612 </dd> 613 614 <!-- OBJECT EVENT FIELDS --> 615 <dd style="display: none; "> 616 <div></div> 617 </dd> 618 619 <!-- FUNCTION PARAMETERS --> 620 <dd style="display: none; "> 621 <div></div> 622 </dd> 623 624 </div> 625 </div><div> 626 <div> 627 <dt> 628 <var>pageURL</var> 629 <em> 630 631 <!-- TYPE --> 632 <div style="display:inline"> 633 ( 634 <span class="optional" style="display: none; ">optional</span> 635 <span class="enum" style="display: none; ">enumerated</span> 636 <span id="typeTemplate"> 637 <span style="display: none; "> 638 <a> Type</a> 639 </span> 640 <span> 641 <span style="display: none; "> 642 array of <span><span></span></span> 643 </span> 644 <span>string</span> 645 <span style="display: none; "></span> 646 </span> 647 </span> 648 ) 649 </div> 650 651 </em> 652 </dt> 653 <dd class="todo" style="display: none; "> 654 Undocumented. 655 </dd> 656 <dd>An URL of the page that represents this panel.</dd> 657 <dd style="display: none; "> 658 This parameter was added in version 659 <b><span></span></b>. 660 You must omit this parameter in earlier versions, 661 and you may omit it in any version. If you require this 662 parameter, the manifest key 663 <a href="manifest.html#minimum_chrome_version">minimum_chrome_version</a> 664 can ensure that your extension won't be run in an earlier browser version. 665 </dd> 666 667 <!-- OBJECT PROPERTIES --> 668 <dd style="display: none; "> 669 <dl> 670 <div> 671 <div> 672 </div> 673 </div> 674 </dl> 675 </dd> 676 677 <!-- OBJECT METHODS --> 678 <dd style="display: none; "> 679 <div></div> 680 </dd> 681 682 <!-- OBJECT EVENT FIELDS --> 683 <dd style="display: none; "> 684 <div></div> 685 </dd> 686 687 <!-- FUNCTION PARAMETERS --> 688 <dd style="display: none; "> 689 <div></div> 690 </dd> 691 692 </div> 693 </div> 694 </dl> 695 696 <!-- RETURNS --> 697 <h4>Returns</h4> 698 <dl> 699 <div> 700 <div> 701 <dt> 702 <var style="display: none; ">paramName</var> 703 <em> 704 705 <!-- TYPE --> 706 <div style="display:inline"> 707 ( 708 <span class="optional" style="display: none; ">optional</span> 709 <span class="enum" style="display: none; ">enumerated</span> 710 <span id="typeTemplate"> 711 <span> 712 <a href="experimental.webInspector.panels.html#type-ExtensionPanel">ExtensionPanel</a> 713 </span> 714 <span style="display: none; "> 715 <span> 716 array of <span><span></span></span> 717 </span> 718 <span>paramType</span> 719 <span></span> 720 </span> 721 </span> 722 ) 723 </div> 724 725 </em> 726 </dt> 727 <dd class="todo" style="display: none; "> 728 Undocumented. 729 </dd> 730 <dd>A panel that was created.</dd> 731 <dd style="display: none; "> 732 This parameter was added in version 733 <b><span></span></b>. 734 You must omit this parameter in earlier versions, 735 and you may omit it in any version. If you require this 736 parameter, the manifest key 737 <a href="manifest.html#minimum_chrome_version">minimum_chrome_version</a> 738 can ensure that your extension won't be run in an earlier browser version. 739 </dd> 740 741 <!-- OBJECT PROPERTIES --> 742 <dd style="display: none; "> 743 <dl> 744 <div> 745 <div> 746 </div> 747 </div> 748 </dl> 749 </dd> 750 751 <!-- OBJECT METHODS --> 752 <dd style="display: none; "> 753 <div></div> 754 </dd> 755 756 <!-- OBJECT EVENT FIELDS --> 757 <dd style="display: none; "> 758 <div></div> 759 </dd> 760 761 <!-- FUNCTION PARAMETERS --> 762 <dd style="display: none; "> 763 <div></div> 764 </dd> 765 766 </div> 767 </div> 768 </dl> 769 770 <!-- CALLBACK --> 771 <div style="display: none; "> 772 <div> 773 <h4>Callback function</h4> 774 <p> 775 The callback <em>parameter</em> should specify a function 776 that looks like this: 777 </p> 778 <p> 779 If you specify the <em>callback</em> parameter, it should 780 specify a function that looks like this: 781 </p> 782 783 <!-- Note: intentionally longer 80 columns --> 784 <pre>function(<span>Type param1, Type param2</span>) <span class="subdued">{...}</span>;</pre> 785 <dl> 786 <div> 787 <div> 788 </div> 789 </div> 790 </dl> 791 </div> 792 </div> 793 794 <!-- MIN_VERSION --> 795 <p style="display: none; "> 796 This function was added in version <b><span></span></b>. 797 If you require this function, the manifest key 798 <a href="manifest.html#minimum_chrome_version">minimum_chrome_version</a> 799 can ensure that your extension won't be run in an earlier browser version. 800 </p> 801 </div> <!-- /description --> 802 803 </div> <!-- /apiItem --> 804 805 </div> <!-- /apiGroup --> 806 807 <!-- EVENTS --> 808 <div id="eventsTemplate" class="apiGroup" style="display: none; "> 809 <a></a> 810 <h3>Events</h3> 811 <!-- iterates over all events --> 812 <div class="apiItem"> 813 <a></a> 814 <h4>event name</h4> 815 816 <div class="summary"> 817 <!-- Note: intentionally longer 80 columns --> 818 <span class="subdued">chrome.bookmarks</span><span>onEvent</span><span class="subdued">.addListener</span>(function(<span>Type param1, Type param2</span>) <span class="subdued">{...}</span>); 819 </div> 820 821 <div class="description"> 822 <p class="todo">Undocumented.</p> 823 <p> 824 A description from the json schema def of the event goes here. 825 </p> 826 827 <!-- PARAMETERS --> 828 <div> 829 <h4>Parameters</h4> 830 <dl> 831 <div> 832 <div> 833 </div> 834 </div> 835 </dl> 836 </div> 837 </div> <!-- /decription --> 838 839 </div> <!-- /apiItem --> 840 841 </div> <!-- /apiGroup --> 842 843 <!-- TYPES --> 844 <div class="apiGroup"> 845 <a name="types"></a> 846 <h3 id="types">Types</h3> 847 848 <!-- iterates over all types --> 849 <div class="apiItem"> 850 <a name="type-PanelWithSidebars"></a> 851 <h4>PanelWithSidebars</h4> 852 853 <div> 854 <dt> 855 <var style="display: none; ">paramName</var> 856 <em> 857 858 <!-- TYPE --> 859 <div style="display:inline"> 860 ( 861 <span class="optional" style="display: none; ">optional</span> 862 <span class="enum" style="display: none; ">enumerated</span> 863 <span id="typeTemplate"> 864 <span style="display: none; "> 865 <a> Type</a> 866 </span> 867 <span> 868 <span style="display: none; "> 869 array of <span><span></span></span> 870 </span> 871 <span>Panel</span> 872 <span style="display: none; "></span> 873 </span> 874 </span> 875 ) 876 </div> 877 878 </em> 879 </dt> 880 <dd class="todo" style="display: none; "> 881 Undocumented. 882 </dd> 883 <dd>A panel within Web Inspector UI that has sidebars.</dd> 884 <dd style="display: none; "> 885 This parameter was added in version 886 <b><span></span></b>. 887 You must omit this parameter in earlier versions, 888 and you may omit it in any version. If you require this 889 parameter, the manifest key 890 <a href="manifest.html#minimum_chrome_version">minimum_chrome_version</a> 891 can ensure that your extension won't be run in an earlier browser version. 892 </dd> 893 894 <!-- OBJECT PROPERTIES --> 895 <dd style="display: none; "> 896 <dl> 897 <div> 898 <div> 899 </div> 900 </div> 901 </dl> 902 </dd> 903 904 <!-- OBJECT METHODS --> 905 <dd> 906 <div class="apiGroup"> 907 <a name="global-PanelWithSidebars-methods"></a> 908 <h3>Methods of PanelWithSidebars</h3> 909 910 <!-- iterates over all functions --> 911 <div class="apiItem"> 912 <a name="method-PanelWithSidebars-createSidebarPane"></a> <!-- method-anchor --> 913 <h4>createSidebarPane</h4> 914 915 <div class="summary"><span style="display: none; ">ExtensionPanel</span> 916 <!-- Note: intentionally longer 80 columns --> 917 <span>panelWithSidebars.createSidebarPane</span>(<span class="null"><span style="display: none; ">, </span><span>string</span> 918 <var><span>title</span></var></span><span class="null"><span>, </span><span>string</span> 919 <var><span>url</span></var></span><span class="null"><span>, </span><span>function</span> 920 <var><span>callback</span></var></span>)</div> 921 922 <div class="description"> 923 <p class="todo" style="display: none; ">Undocumented.</p> 924 <p>Creates a pane within panel's sidebar.</p> 925 926 <!-- PARAMETERS --> 927 <h4>Parameters</h4> 928 <dl> 929 <div> 930 <div> 931 <dt> 932 <var>title</var> 933 <em> 934 935 <!-- TYPE --> 936 <div style="display:inline"> 937 ( 938 <span class="optional" style="display: none; ">optional</span> 939 <span class="enum" style="display: none; ">enumerated</span> 940 <span id="typeTemplate"> 941 <span style="display: none; "> 942 <a> Type</a> 943 </span> 944 <span> 945 <span style="display: none; "> 946 array of <span><span></span></span> 947 </span> 948 <span>string</span> 949 <span style="display: none; "></span> 950 </span> 951 </span> 952 ) 953 </div> 954 955 </em> 956 </dt> 957 <dd class="todo" style="display: none; "> 958 Undocumented. 959 </dd> 960 <dd>A text that is displayed in sidebar caption.</dd> 961 <dd style="display: none; "> 962 This parameter was added in version 963 <b><span></span></b>. 964 You must omit this parameter in earlier versions, 965 and you may omit it in any version. If you require this 966 parameter, the manifest key 967 <a href="manifest.html#minimum_chrome_version">minimum_chrome_version</a> 968 can ensure that your extension won't be run in an earlier browser version. 969 </dd> 970 971 <!-- OBJECT PROPERTIES --> 972 <dd style="display: none; "> 973 <dl> 974 <div> 975 <div> 976 </div> 977 </div> 978 </dl> 979 </dd> 980 981 <!-- OBJECT METHODS --> 982 <dd style="display: none; "> 983 <div></div> 984 </dd> 985 986 <!-- OBJECT EVENT FIELDS --> 987 <dd style="display: none; "> 988 <div></div> 989 </dd> 990 991 <!-- FUNCTION PARAMETERS --> 992 <dd style="display: none; "> 993 <div></div> 994 </dd> 995 996 </div> 997 </div><div> 998 <div> 999 <dt> 1000 <var>url</var> 1001 <em> 1002 1003 <!-- TYPE --> 1004 <div style="display:inline"> 1005 ( 1006 <span class="optional" style="display: none; ">optional</span> 1007 <span class="enum" style="display: none; ">enumerated</span> 1008 <span id="typeTemplate"> 1009 <span style="display: none; "> 1010 <a> Type</a> 1011 </span> 1012 <span> 1013 <span style="display: none; "> 1014 array of <span><span></span></span> 1015 </span> 1016 <span>string</span> 1017 <span style="display: none; "></span> 1018 </span> 1019 </span> 1020 ) 1021 </div> 1022 1023 </em> 1024 </dt> 1025 <dd class="todo" style="display: none; "> 1026 Undocumented. 1027 </dd> 1028 <dd>An URL of the page that represents the sidebar.</dd> 1029 <dd style="display: none; "> 1030 This parameter was added in version 1031 <b><span></span></b>. 1032 You must omit this parameter in earlier versions, 1033 and you may omit it in any version. If you require this 1034 parameter, the manifest key 1035 <a href="manifest.html#minimum_chrome_version">minimum_chrome_version</a> 1036 can ensure that your extension won't be run in an earlier browser version. 1037 </dd> 1038 1039 <!-- OBJECT PROPERTIES --> 1040 <dd style="display: none; "> 1041 <dl> 1042 <div> 1043 <div> 1044 </div> 1045 </div> 1046 </dl> 1047 </dd> 1048 1049 <!-- OBJECT METHODS --> 1050 <dd style="display: none; "> 1051 <div></div> 1052 </dd> 1053 1054 <!-- OBJECT EVENT FIELDS --> 1055 <dd style="display: none; "> 1056 <div></div> 1057 </dd> 1058 1059 <!-- FUNCTION PARAMETERS --> 1060 <dd style="display: none; "> 1061 <div></div> 1062 </dd> 1063 1064 </div> 1065 </div><div> 1066 <div> 1067 <dt> 1068 <var>callback</var> 1069 <em> 1070 1071 <!-- TYPE --> 1072 <div style="display:inline"> 1073 ( 1074 <span class="optional" style="display: none; ">optional</span> 1075 <span class="enum" style="display: none; ">enumerated</span> 1076 <span id="typeTemplate"> 1077 <span style="display: none; "> 1078 <a> Type</a> 1079 </span> 1080 <span> 1081 <span style="display: none; "> 1082 array of <span><span></span></span> 1083 </span> 1084 <span>function</span> 1085 <span style="display: none; "></span> 1086 </span> 1087 </span> 1088 ) 1089 </div> 1090 1091 </em> 1092 </dt> 1093 <dd class="todo" style="display: none; "> 1094 Undocumented. 1095 </dd> 1096 <dd>A callback invoked when sidebar is created</dd> 1097 <dd style="display: none; "> 1098 This parameter was added in version 1099 <b><span></span></b>. 1100 You must omit this parameter in earlier versions, 1101 and you may omit it in any version. If you require this 1102 parameter, the manifest key 1103 <a href="manifest.html#minimum_chrome_version">minimum_chrome_version</a> 1104 can ensure that your extension won't be run in an earlier browser version. 1105 </dd> 1106 1107 <!-- OBJECT PROPERTIES --> 1108 <dd style="display: none; "> 1109 <dl> 1110 <div> 1111 <div> 1112 </div> 1113 </div> 1114 </dl> 1115 </dd> 1116 1117 <!-- OBJECT METHODS --> 1118 <dd style="display: none; "> 1119 <div></div> 1120 </dd> 1121 1122 <!-- OBJECT EVENT FIELDS --> 1123 <dd style="display: none; "> 1124 <div></div> 1125 </dd> 1126 1127 <!-- FUNCTION PARAMETERS --> 1128 <dd style="display: none; "> 1129 <div></div> 1130 </dd> 1131 1132 </div> 1133 </div> 1134 </dl> 1135 1136 <!-- RETURNS --> 1137 <h4 style="display: none; ">Returns</h4> 1138 <dl> 1139 <div style="display: none; "> 1140 <div> 1141 <dt> 1142 <var style="display: none; ">paramName</var> 1143 <em> 1144 1145 <!-- TYPE --> 1146 <div style="display:inline"> 1147 ( 1148 <span class="optional" style="display: none; ">optional</span> 1149 <span class="enum" style="display: none; ">enumerated</span> 1150 <span id="typeTemplate"> 1151 <span> 1152 <a href="experimental.webInspector.panels.html#type-ExtensionPanel">ExtensionPanel</a> 1153 </span> 1154 <span style="display: none; "> 1155 <span> 1156 array of <span><span></span></span> 1157 </span> 1158 <span>paramType</span> 1159 <span></span> 1160 </span> 1161 </span> 1162 ) 1163 </div> 1164 1165 </em> 1166 </dt> 1167 <dd class="todo" style="display: none; "> 1168 Undocumented. 1169 </dd> 1170 <dd>A panel that was created.</dd> 1171 <dd style="display: none; "> 1172 This parameter was added in version 1173 <b><span></span></b>. 1174 You must omit this parameter in earlier versions, 1175 and you may omit it in any version. If you require this 1176 parameter, the manifest key 1177 <a href="manifest.html#minimum_chrome_version">minimum_chrome_version</a> 1178 can ensure that your extension won't be run in an earlier browser version. 1179 </dd> 1180 1181 <!-- OBJECT PROPERTIES --> 1182 <dd style="display: none; "> 1183 <dl> 1184 <div> 1185 <div> 1186 </div> 1187 </div> 1188 </dl> 1189 </dd> 1190 1191 <!-- OBJECT METHODS --> 1192 <dd style="display: none; "> 1193 <div></div> 1194 </dd> 1195 1196 <!-- OBJECT EVENT FIELDS --> 1197 <dd style="display: none; "> 1198 <div></div> 1199 </dd> 1200 1201 <!-- FUNCTION PARAMETERS --> 1202 <dd style="display: none; "> 1203 <div></div> 1204 </dd> 1205 1206 </div> 1207 </div> 1208 </dl> 1209 1210 <!-- CALLBACK --> 1211 <div style=""> 1212 <div> 1213 <h4>Callback function</h4> 1214 <p> 1215 The callback <em>parameter</em> should specify a function 1216 that looks like this: 1217 </p> 1218 <p style="display: none; "> 1219 If you specify the <em>callback</em> parameter, it should 1220 specify a function that looks like this: 1221 </p> 1222 1223 <!-- Note: intentionally longer 80 columns --> 1224 <pre>function(<span>ExtensionSidebarPane result</span>) <span class="subdued">{...}</span>;</pre> 1225 <dl> 1226 <div> 1227 <div> 1228 <dt> 1229 <var>result</var> 1230 <em> 1231 1232 <!-- TYPE --> 1233 <div style="display:inline"> 1234 ( 1235 <span class="optional" style="display: none; ">optional</span> 1236 <span class="enum" style="display: none; ">enumerated</span> 1237 <span id="typeTemplate"> 1238 <span> 1239 <a href="experimental.webInspector.panels.html#type-ExtensionSidebarPane">ExtensionSidebarPane</a> 1240 </span> 1241 <span style="display: none; "> 1242 <span> 1243 array of <span><span></span></span> 1244 </span> 1245 <span>paramType</span> 1246 <span></span> 1247 </span> 1248 </span> 1249 ) 1250 </div> 1251 1252 </em> 1253 </dt> 1254 <dd class="todo" style="display: none; "> 1255 Undocumented. 1256 </dd> 1257 <dd>An ExtensionSidebarPane object for created sidebar pane</dd> 1258 <dd style="display: none; "> 1259 This parameter was added in version 1260 <b><span></span></b>. 1261 You must omit this parameter in earlier versions, 1262 and you may omit it in any version. If you require this 1263 parameter, the manifest key 1264 <a href="manifest.html#minimum_chrome_version">minimum_chrome_version</a> 1265 can ensure that your extension won't be run in an earlier browser version. 1266 </dd> 1267 1268 <!-- OBJECT PROPERTIES --> 1269 <dd style="display: none; "> 1270 <dl> 1271 <div> 1272 <div> 1273 </div> 1274 </div> 1275 </dl> 1276 </dd> 1277 1278 <!-- OBJECT METHODS --> 1279 <dd style="display: none; "> 1280 <div></div> 1281 </dd> 1282 1283 <!-- OBJECT EVENT FIELDS --> 1284 <dd style="display: none; "> 1285 <div></div> 1286 </dd> 1287 1288 <!-- FUNCTION PARAMETERS --> 1289 <dd style="display: none; "> 1290 <div></div> 1291 </dd> 1292 1293 </div> 1294 </div> 1295 </dl> 1296 </div> 1297 </div> 1298 1299 <!-- MIN_VERSION --> 1300 <p style="display: none; "> 1301 This function was added in version <b><span></span></b>. 1302 If you require this function, the manifest key 1303 <a href="manifest.html#minimum_chrome_version">minimum_chrome_version</a> 1304 can ensure that your extension won't be run in an earlier browser version. 1305 </p> 1306 </div> <!-- /description --> 1307 1308 </div><div class="apiItem"> 1309 <a name="method-PanelWithSidebars-createWatchExpressionSidebarPane"></a> <!-- method-anchor --> 1310 <h4>createWatchExpressionSidebarPane</h4> 1311 1312 <div class="summary"><span style="display: none; ">ExtensionPanel</span> 1313 <!-- Note: intentionally longer 80 columns --> 1314 <span>panelWithSidebars.createWatchExpressionSidebarPane</span>(<span class="null"><span style="display: none; ">, </span><span>string</span> 1315 <var><span>title</span></var></span><span class="null"><span>, </span><span>function</span> 1316 <var><span>callback</span></var></span>)</div> 1317 1318 <div class="description"> 1319 <p class="todo" style="display: none; ">Undocumented.</p> 1320 <p>Creates a pane with an object property tree (similar to a watch sidebar pane).</p> 1321 1322 <!-- PARAMETERS --> 1323 <h4>Parameters</h4> 1324 <dl> 1325 <div> 1326 <div> 1327 <dt> 1328 <var>title</var> 1329 <em> 1330 1331 <!-- TYPE --> 1332 <div style="display:inline"> 1333 ( 1334 <span class="optional" style="display: none; ">optional</span> 1335 <span class="enum" style="display: none; ">enumerated</span> 1336 <span id="typeTemplate"> 1337 <span style="display: none; "> 1338 <a> Type</a> 1339 </span> 1340 <span> 1341 <span style="display: none; "> 1342 array of <span><span></span></span> 1343 </span> 1344 <span>string</span> 1345 <span style="display: none; "></span> 1346 </span> 1347 </span> 1348 ) 1349 </div> 1350 1351 </em> 1352 </dt> 1353 <dd class="todo" style="display: none; "> 1354 Undocumented. 1355 </dd> 1356 <dd>A text that is displayed in sidebar caption.</dd> 1357 <dd style="display: none; "> 1358 This parameter was added in version 1359 <b><span></span></b>. 1360 You must omit this parameter in earlier versions, 1361 and you may omit it in any version. If you require this 1362 parameter, the manifest key 1363 <a href="manifest.html#minimum_chrome_version">minimum_chrome_version</a> 1364 can ensure that your extension won't be run in an earlier browser version. 1365 </dd> 1366 1367 <!-- OBJECT PROPERTIES --> 1368 <dd style="display: none; "> 1369 <dl> 1370 <div> 1371 <div> 1372 </div> 1373 </div> 1374 </dl> 1375 </dd> 1376 1377 <!-- OBJECT METHODS --> 1378 <dd style="display: none; "> 1379 <div></div> 1380 </dd> 1381 1382 <!-- OBJECT EVENT FIELDS --> 1383 <dd style="display: none; "> 1384 <div></div> 1385 </dd> 1386 1387 <!-- FUNCTION PARAMETERS --> 1388 <dd style="display: none; "> 1389 <div></div> 1390 </dd> 1391 1392 </div> 1393 </div><div> 1394 <div> 1395 <dt> 1396 <var>callback</var> 1397 <em> 1398 1399 <!-- TYPE --> 1400 <div style="display:inline"> 1401 ( 1402 <span class="optional" style="display: none; ">optional</span> 1403 <span class="enum" style="display: none; ">enumerated</span> 1404 <span id="typeTemplate"> 1405 <span style="display: none; "> 1406 <a> Type</a> 1407 </span> 1408 <span> 1409 <span style="display: none; "> 1410 array of <span><span></span></span> 1411 </span> 1412 <span>function</span> 1413 <span style="display: none; "></span> 1414 </span> 1415 </span> 1416 ) 1417 </div> 1418 1419 </em> 1420 </dt> 1421 <dd class="todo" style="display: none; "> 1422 Undocumented. 1423 </dd> 1424 <dd>A callback invoked when sidebar is created</dd> 1425 <dd style="display: none; "> 1426 This parameter was added in version 1427 <b><span></span></b>. 1428 You must omit this parameter in earlier versions, 1429 and you may omit it in any version. If you require this 1430 parameter, the manifest key 1431 <a href="manifest.html#minimum_chrome_version">minimum_chrome_version</a> 1432 can ensure that your extension won't be run in an earlier browser version. 1433 </dd> 1434 1435 <!-- OBJECT PROPERTIES --> 1436 <dd style="display: none; "> 1437 <dl> 1438 <div> 1439 <div> 1440 </div> 1441 </div> 1442 </dl> 1443 </dd> 1444 1445 <!-- OBJECT METHODS --> 1446 <dd style="display: none; "> 1447 <div></div> 1448 </dd> 1449 1450 <!-- OBJECT EVENT FIELDS --> 1451 <dd style="display: none; "> 1452 <div></div> 1453 </dd> 1454 1455 <!-- FUNCTION PARAMETERS --> 1456 <dd style="display: none; "> 1457 <div></div> 1458 </dd> 1459 1460 </div> 1461 </div> 1462 </dl> 1463 1464 <!-- RETURNS --> 1465 <h4 style="display: none; ">Returns</h4> 1466 <dl> 1467 <div style="display: none; "> 1468 <div> 1469 <dt> 1470 <var style="display: none; ">paramName</var> 1471 <em> 1472 1473 <!-- TYPE --> 1474 <div style="display:inline"> 1475 ( 1476 <span class="optional" style="display: none; ">optional</span> 1477 <span class="enum" style="display: none; ">enumerated</span> 1478 <span id="typeTemplate"> 1479 <span> 1480 <a href="experimental.webInspector.panels.html#type-ExtensionPanel">ExtensionPanel</a> 1481 </span> 1482 <span style="display: none; "> 1483 <span> 1484 array of <span><span></span></span> 1485 </span> 1486 <span>paramType</span> 1487 <span></span> 1488 </span> 1489 </span> 1490 ) 1491 </div> 1492 1493 </em> 1494 </dt> 1495 <dd class="todo" style="display: none; "> 1496 Undocumented. 1497 </dd> 1498 <dd>A panel that was created.</dd> 1499 <dd style="display: none; "> 1500 This parameter was added in version 1501 <b><span></span></b>. 1502 You must omit this parameter in earlier versions, 1503 and you may omit it in any version. If you require this 1504 parameter, the manifest key 1505 <a href="manifest.html#minimum_chrome_version">minimum_chrome_version</a> 1506 can ensure that your extension won't be run in an earlier browser version. 1507 </dd> 1508 1509 <!-- OBJECT PROPERTIES --> 1510 <dd style="display: none; "> 1511 <dl> 1512 <div> 1513 <div> 1514 </div> 1515 </div> 1516 </dl> 1517 </dd> 1518 1519 <!-- OBJECT METHODS --> 1520 <dd style="display: none; "> 1521 <div></div> 1522 </dd> 1523 1524 <!-- OBJECT EVENT FIELDS --> 1525 <dd style="display: none; "> 1526 <div></div> 1527 </dd> 1528 1529 <!-- FUNCTION PARAMETERS --> 1530 <dd style="display: none; "> 1531 <div></div> 1532 </dd> 1533 1534 </div> 1535 </div> 1536 </dl> 1537 1538 <!-- CALLBACK --> 1539 <div style=""> 1540 <div> 1541 <h4>Callback function</h4> 1542 <p> 1543 The callback <em>parameter</em> should specify a function 1544 that looks like this: 1545 </p> 1546 <p style="display: none; "> 1547 If you specify the <em>callback</em> parameter, it should 1548 specify a function that looks like this: 1549 </p> 1550 1551 <!-- Note: intentionally longer 80 columns --> 1552 <pre>function(<span>WatchExpressionSidebarPane result</span>) <span class="subdued">{...}</span>;</pre> 1553 <dl> 1554 <div> 1555 <div> 1556 <dt> 1557 <var>result</var> 1558 <em> 1559 1560 <!-- TYPE --> 1561 <div style="display:inline"> 1562 ( 1563 <span class="optional" style="display: none; ">optional</span> 1564 <span class="enum" style="display: none; ">enumerated</span> 1565 <span id="typeTemplate"> 1566 <span> 1567 <a href="experimental.webInspector.panels.html#type-WatchExpressionSidebarPane">WatchExpressionSidebarPane</a> 1568 </span> 1569 <span style="display: none; "> 1570 <span> 1571 array of <span><span></span></span> 1572 </span> 1573 <span>paramType</span> 1574 <span></span> 1575 </span> 1576 </span> 1577 ) 1578 </div> 1579 1580 </em> 1581 </dt> 1582 <dd class="todo" style="display: none; "> 1583 Undocumented. 1584 </dd> 1585 <dd>A WatchExpressionSidebarPane object for created sidebar pane</dd> 1586 <dd style="display: none; "> 1587 This parameter was added in version 1588 <b><span></span></b>. 1589 You must omit this parameter in earlier versions, 1590 and you may omit it in any version. If you require this 1591 parameter, the manifest key 1592 <a href="manifest.html#minimum_chrome_version">minimum_chrome_version</a> 1593 can ensure that your extension won't be run in an earlier browser version. 1594 </dd> 1595 1596 <!-- OBJECT PROPERTIES --> 1597 <dd style="display: none; "> 1598 <dl> 1599 <div> 1600 <div> 1601 </div> 1602 </div> 1603 </dl> 1604 </dd> 1605 1606 <!-- OBJECT METHODS --> 1607 <dd style="display: none; "> 1608 <div></div> 1609 </dd> 1610 1611 <!-- OBJECT EVENT FIELDS --> 1612 <dd style="display: none; "> 1613 <div></div> 1614 </dd> 1615 1616 <!-- FUNCTION PARAMETERS --> 1617 <dd style="display: none; "> 1618 <div></div> 1619 </dd> 1620 1621 </div> 1622 </div> 1623 </dl> 1624 </div> 1625 </div> 1626 1627 <!-- MIN_VERSION --> 1628 <p style="display: none; "> 1629 This function was added in version <b><span></span></b>. 1630 If you require this function, the manifest key 1631 <a href="manifest.html#minimum_chrome_version">minimum_chrome_version</a> 1632 can ensure that your extension won't be run in an earlier browser version. 1633 </p> 1634 </div> <!-- /description --> 1635 1636 </div> <!-- /apiItem --> 1637 1638 </div> 1639 </dd> 1640 1641 <!-- OBJECT EVENT FIELDS --> 1642 <dd style="display: none; "> 1643 <div></div> 1644 </dd> 1645 1646 <!-- FUNCTION PARAMETERS --> 1647 <dd style="display: none; "> 1648 <div></div> 1649 </dd> 1650 1651 </div> 1652 1653 </div><div class="apiItem"> 1654 <a name="type-ElementsPanel"></a> 1655 <h4>ElementsPanel</h4> 1656 1657 <div> 1658 <dt> 1659 <var style="display: none; ">paramName</var> 1660 <em> 1661 1662 <!-- TYPE --> 1663 <div style="display:inline"> 1664 ( 1665 <span class="optional" style="display: none; ">optional</span> 1666 <span class="enum" style="display: none; ">enumerated</span> 1667 <span id="typeTemplate"> 1668 <span style="display: none; "> 1669 <a> Type</a> 1670 </span> 1671 <span> 1672 <span style="display: none; "> 1673 array of <span><span></span></span> 1674 </span> 1675 <span>PanelWithSidebars</span> 1676 <span style="display: none; "></span> 1677 </span> 1678 </span> 1679 ) 1680 </div> 1681 1682 </em> 1683 </dt> 1684 <dd class="todo" style="display: none; "> 1685 Undocumented. 1686 </dd> 1687 <dd>Represents Elements panel</dd> 1688 <dd style="display: none; "> 1689 This parameter was added in version 1690 <b><span></span></b>. 1691 You must omit this parameter in earlier versions, 1692 and you may omit it in any version. If you require this 1693 parameter, the manifest key 1694 <a href="manifest.html#minimum_chrome_version">minimum_chrome_version</a> 1695 can ensure that your extension won't be run in an earlier browser version. 1696 </dd> 1697 1698 <!-- OBJECT PROPERTIES --> 1699 <dd style="display: none; "> 1700 <dl> 1701 <div> 1702 <div> 1703 </div> 1704 </div> 1705 </dl> 1706 </dd> 1707 1708 <!-- OBJECT METHODS --> 1709 <dd style="display: none; "> 1710 <div></div> 1711 </dd> 1712 1713 <!-- OBJECT EVENT FIELDS --> 1714 <dd> 1715 <div class="apiGroup" style=""> 1716 <a name="global-ElementsPanel-events"></a> 1717 <h3>Events of ElementsPanel</h3> 1718 <!-- iterates over all events --> 1719 <div class="apiItem"> 1720 <a name="event-ElementsPanel-onSelectionChanged"></a> 1721 <h4>onSelectionChanged</h4> 1722 1723 <div class="summary"> 1724 <!-- Note: intentionally longer 80 columns --> 1725 <span class="subdued">elementsPanel.</span><span>onSelectionChanged</span><span class="subdued">.addListener</span>(function(<span></span>) <span class="subdued">{...}</span>); 1726 </div> 1727 1728 <div class="description"> 1729 <p class="todo" style="display: none; ">Undocumented.</p> 1730 <p>Fired when an objects is selected in the panel.</p> 1731 1732 <!-- PARAMETERS --> 1733 <div style="display: none; "> 1734 <h4>Parameters</h4> 1735 <dl> 1736 <div> 1737 <div> 1738 </div> 1739 </div> 1740 </dl> 1741 </div> 1742 </div> <!-- /decription --> 1743 1744 </div> <!-- /apiItem --> 1745 1746 </div> 1747 </dd> 1748 1749 <!-- FUNCTION PARAMETERS --> 1750 <dd style="display: none; "> 1751 <div></div> 1752 </dd> 1753 1754 </div> 1755 1756 </div><div class="apiItem"> 1757 <a name="type-ExtensionPanel"></a> 1758 <h4>ExtensionPanel</h4> 1759 1760 <div> 1761 <dt> 1762 <var style="display: none; ">paramName</var> 1763 <em> 1764 1765 <!-- TYPE --> 1766 <div style="display:inline"> 1767 ( 1768 <span class="optional" style="display: none; ">optional</span> 1769 <span class="enum" style="display: none; ">enumerated</span> 1770 <span id="typeTemplate"> 1771 <span style="display: none; "> 1772 <a> Type</a> 1773 </span> 1774 <span> 1775 <span style="display: none; "> 1776 array of <span><span></span></span> 1777 </span> 1778 <span>Panel</span> 1779 <span style="display: none; "></span> 1780 </span> 1781 </span> 1782 ) 1783 </div> 1784 1785 </em> 1786 </dt> 1787 <dd class="todo" style="display: none; "> 1788 Undocumented. 1789 </dd> 1790 <dd>Represents a panel created by extension</dd> 1791 <dd style="display: none; "> 1792 This parameter was added in version 1793 <b><span></span></b>. 1794 You must omit this parameter in earlier versions, 1795 and you may omit it in any version. If you require this 1796 parameter, the manifest key 1797 <a href="manifest.html#minimum_chrome_version">minimum_chrome_version</a> 1798 can ensure that your extension won't be run in an earlier browser version. 1799 </dd> 1800 1801 <!-- OBJECT PROPERTIES --> 1802 <dd style="display: none; "> 1803 <dl> 1804 <div> 1805 <div> 1806 </div> 1807 </div> 1808 </dl> 1809 </dd> 1810 1811 <!-- OBJECT METHODS --> 1812 <dd style="display: none; "> 1813 <div></div> 1814 </dd> 1815 1816 <!-- OBJECT EVENT FIELDS --> 1817 <dd> 1818 <div class="apiGroup" style=""> 1819 <a name="global-ExtensionPanel-events"></a> 1820 <h3>Events of ExtensionPanel</h3> 1821 <!-- iterates over all events --> 1822 <div class="apiItem"> 1823 <a name="event-ExtensionPanel-onSearch"></a> 1824 <h4>onSearch</h4> 1825 1826 <div class="summary"> 1827 <!-- Note: intentionally longer 80 columns --> 1828 <span class="subdued">extensionPanel.</span><span>onSearch</span><span class="subdued">.addListener</span>(function(<span>string action, string queryString</span>) <span class="subdued">{...}</span>); 1829 </div> 1830 1831 <div class="description"> 1832 <p class="todo" style="display: none; ">Undocumented.</p> 1833 <p>Fired upon a search action (start of a new search, search result navigation or search being canceled).</p> 1834 1835 <!-- PARAMETERS --> 1836 <div> 1837 <h4>Parameters</h4> 1838 <dl> 1839 <div> 1840 <div> 1841 <dt> 1842 <var>action</var> 1843 <em> 1844 1845 <!-- TYPE --> 1846 <div style="display:inline"> 1847 ( 1848 <span class="optional" style="display: none; ">optional</span> 1849 <span class="enum" style="display: none; ">enumerated</span> 1850 <span id="typeTemplate"> 1851 <span style="display: none; "> 1852 <a> Type</a> 1853 </span> 1854 <span> 1855 <span style="display: none; "> 1856 array of <span><span></span></span> 1857 </span> 1858 <span>string</span> 1859 <span style="display: none; "></span> 1860 </span> 1861 </span> 1862 ) 1863 </div> 1864 1865 </em> 1866 </dt> 1867 <dd class="todo" style="display: none; "> 1868 Undocumented. 1869 </dd> 1870 <dd>Type of search action being performed.</dd> 1871 <dd style="display: none; "> 1872 This parameter was added in version 1873 <b><span></span></b>. 1874 You must omit this parameter in earlier versions, 1875 and you may omit it in any version. If you require this 1876 parameter, the manifest key 1877 <a href="manifest.html#minimum_chrome_version">minimum_chrome_version</a> 1878 can ensure that your extension won't be run in an earlier browser version. 1879 </dd> 1880 1881 <!-- OBJECT PROPERTIES --> 1882 <dd style="display: none; "> 1883 <dl> 1884 <div> 1885 <div> 1886 </div> 1887 </div> 1888 </dl> 1889 </dd> 1890 1891 <!-- OBJECT METHODS --> 1892 <dd style="display: none; "> 1893 <div></div> 1894 </dd> 1895 1896 <!-- OBJECT EVENT FIELDS --> 1897 <dd style="display: none; "> 1898 <div></div> 1899 </dd> 1900 1901 <!-- FUNCTION PARAMETERS --> 1902 <dd style="display: none; "> 1903 <div></div> 1904 </dd> 1905 1906 </div> 1907 </div><div> 1908 <div> 1909 <dt> 1910 <var>queryString</var> 1911 <em> 1912 1913 <!-- TYPE --> 1914 <div style="display:inline"> 1915 ( 1916 <span class="optional">optional</span> 1917 <span class="enum" style="display: none; ">enumerated</span> 1918 <span id="typeTemplate"> 1919 <span style="display: none; "> 1920 <a> Type</a> 1921 </span> 1922 <span> 1923 <span style="display: none; "> 1924 array of <span><span></span></span> 1925 </span> 1926 <span>string</span> 1927 <span style="display: none; "></span> 1928 </span> 1929 </span> 1930 ) 1931 </div> 1932 1933 </em> 1934 </dt> 1935 <dd class="todo" style="display: none; "> 1936 Undocumented. 1937 </dd> 1938 <dd>Query string (only for 'performSearch')</dd> 1939 <dd style="display: none; "> 1940 This parameter was added in version 1941 <b><span></span></b>. 1942 You must omit this parameter in earlier versions, 1943 and you may omit it in any version. If you require this 1944 parameter, the manifest key 1945 <a href="manifest.html#minimum_chrome_version">minimum_chrome_version</a> 1946 can ensure that your extension won't be run in an earlier browser version. 1947 </dd> 1948 1949 <!-- OBJECT PROPERTIES --> 1950 <dd style="display: none; "> 1951 <dl> 1952 <div> 1953 <div> 1954 </div> 1955 </div> 1956 </dl> 1957 </dd> 1958 1959 <!-- OBJECT METHODS --> 1960 <dd style="display: none; "> 1961 <div></div> 1962 </dd> 1963 1964 <!-- OBJECT EVENT FIELDS --> 1965 <dd style="display: none; "> 1966 <div></div> 1967 </dd> 1968 1969 <!-- FUNCTION PARAMETERS --> 1970 <dd style="display: none; "> 1971 <div></div> 1972 </dd> 1973 1974 </div> 1975 </div> 1976 </dl> 1977 </div> 1978 </div> <!-- /decription --> 1979 1980 </div> <!-- /apiItem --> 1981 1982 </div> 1983 </dd> 1984 1985 <!-- FUNCTION PARAMETERS --> 1986 <dd style="display: none; "> 1987 <div></div> 1988 </dd> 1989 1990 </div> 1991 1992 </div><div class="apiItem"> 1993 <a name="type-ExtensionSidebarPane"></a> 1994 <h4>ExtensionSidebarPane</h4> 1995 1996 <div> 1997 <dt> 1998 <var style="display: none; ">paramName</var> 1999 <em> 2000 2001 <!-- TYPE --> 2002 <div style="display:inline"> 2003 ( 2004 <span class="optional" style="display: none; ">optional</span> 2005 <span class="enum" style="display: none; ">enumerated</span> 2006 <span id="typeTemplate"> 2007 <span style="display: none; "> 2008 <a> Type</a> 2009 </span> 2010 <span> 2011 <span style="display: none; "> 2012 array of <span><span></span></span> 2013 </span> 2014 <span>object</span> 2015 <span style="display: none; "></span> 2016 </span> 2017 </span> 2018 ) 2019 </div> 2020 2021 </em> 2022 </dt> 2023 <dd class="todo" style="display: none; "> 2024 Undocumented. 2025 </dd> 2026 <dd>A sidebar created by the extension.</dd> 2027 <dd style="display: none; "> 2028 This parameter was added in version 2029 <b><span></span></b>. 2030 You must omit this parameter in earlier versions, 2031 and you may omit it in any version. If you require this 2032 parameter, the manifest key 2033 <a href="manifest.html#minimum_chrome_version">minimum_chrome_version</a> 2034 can ensure that your extension won't be run in an earlier browser version. 2035 </dd> 2036 2037 <!-- OBJECT PROPERTIES --> 2038 <dd style="display: none; "> 2039 <dl> 2040 <div> 2041 <div> 2042 </div> 2043 </div> 2044 </dl> 2045 </dd> 2046 2047 <!-- OBJECT METHODS --> 2048 <dd> 2049 <div class="apiGroup"> 2050 <a name="global-ExtensionSidebarPane-methods"></a> 2051 <h3>Methods of ExtensionSidebarPane</h3> 2052 2053 <!-- iterates over all functions --> 2054 <div class="apiItem"> 2055 <a name="method-ExtensionSidebarPane-setHeight"></a> <!-- method-anchor --> 2056 <h4>setHeight</h4> 2057 2058 <div class="summary"><span style="display: none; ">ExtensionPanel</span> 2059 <!-- Note: intentionally longer 80 columns --> 2060 <span>extensionSidebarPane.setHeight</span>(<span class="null"><span style="display: none; ">, </span><span>string</span> 2061 <var><span>height</span></var></span>)</div> 2062 2063 <div class="description"> 2064 <p class="todo" style="display: none; ">Undocumented.</p> 2065 <p>Sets the height of the sidebar.</p> 2066 2067 <!-- PARAMETERS --> 2068 <h4>Parameters</h4> 2069 <dl> 2070 <div> 2071 <div> 2072 <dt> 2073 <var>height</var> 2074 <em> 2075 2076 <!-- TYPE --> 2077 <div style="display:inline"> 2078 ( 2079 <span class="optional" style="display: none; ">optional</span> 2080 <span class="enum" style="display: none; ">enumerated</span> 2081 <span id="typeTemplate"> 2082 <span style="display: none; "> 2083 <a> Type</a> 2084 </span> 2085 <span> 2086 <span style="display: none; "> 2087 array of <span><span></span></span> 2088 </span> 2089 <span>string</span> 2090 <span style="display: none; "></span> 2091 </span> 2092 </span> 2093 ) 2094 </div> 2095 2096 </em> 2097 </dt> 2098 <dd class="todo" style="display: none; "> 2099 Undocumented. 2100 </dd> 2101 <dd>A CSS-like size specification, e.g. '10px' or '12pt'</dd> 2102 <dd style="display: none; "> 2103 This parameter was added in version 2104 <b><span></span></b>. 2105 You must omit this parameter in earlier versions, 2106 and you may omit it in any version. If you require this 2107 parameter, the manifest key 2108 <a href="manifest.html#minimum_chrome_version">minimum_chrome_version</a> 2109 can ensure that your extension won't be run in an earlier browser version. 2110 </dd> 2111 2112 <!-- OBJECT PROPERTIES --> 2113 <dd style="display: none; "> 2114 <dl> 2115 <div> 2116 <div> 2117 </div> 2118 </div> 2119 </dl> 2120 </dd> 2121 2122 <!-- OBJECT METHODS --> 2123 <dd style="display: none; "> 2124 <div></div> 2125 </dd> 2126 2127 <!-- OBJECT EVENT FIELDS --> 2128 <dd style="display: none; "> 2129 <div></div> 2130 </dd> 2131 2132 <!-- FUNCTION PARAMETERS --> 2133 <dd style="display: none; "> 2134 <div></div> 2135 </dd> 2136 2137 </div> 2138 </div> 2139 </dl> 2140 2141 <!-- RETURNS --> 2142 <h4 style="display: none; ">Returns</h4> 2143 <dl> 2144 <div style="display: none; "> 2145 <div> 2146 <dt> 2147 <var style="display: none; ">paramName</var> 2148 <em> 2149 2150 <!-- TYPE --> 2151 <div style="display:inline"> 2152 ( 2153 <span class="optional" style="display: none; ">optional</span> 2154 <span class="enum" style="display: none; ">enumerated</span> 2155 <span id="typeTemplate"> 2156 <span> 2157 <a href="experimental.webInspector.panels.html#type-ExtensionPanel">ExtensionPanel</a> 2158 </span> 2159 <span style="display: none; "> 2160 <span> 2161 array of <span><span></span></span> 2162 </span> 2163 <span>paramType</span> 2164 <span></span> 2165 </span> 2166 </span> 2167 ) 2168 </div> 2169 2170 </em> 2171 </dt> 2172 <dd class="todo" style="display: none; "> 2173 Undocumented. 2174 </dd> 2175 <dd>A panel that was created.</dd> 2176 <dd style="display: none; "> 2177 This parameter was added in version 2178 <b><span></span></b>. 2179 You must omit this parameter in earlier versions, 2180 and you may omit it in any version. If you require this 2181 parameter, the manifest key 2182 <a href="manifest.html#minimum_chrome_version">minimum_chrome_version</a> 2183 can ensure that your extension won't be run in an earlier browser version. 2184 </dd> 2185 2186 <!-- OBJECT PROPERTIES --> 2187 <dd style="display: none; "> 2188 <dl> 2189 <div> 2190 <div> 2191 </div> 2192 </div> 2193 </dl> 2194 </dd> 2195 2196 <!-- OBJECT METHODS --> 2197 <dd style="display: none; "> 2198 <div></div> 2199 </dd> 2200 2201 <!-- OBJECT EVENT FIELDS --> 2202 <dd style="display: none; "> 2203 <div></div> 2204 </dd> 2205 2206 <!-- FUNCTION PARAMETERS --> 2207 <dd style="display: none; "> 2208 <div></div> 2209 </dd> 2210 2211 </div> 2212 </div> 2213 </dl> 2214 2215 <!-- CALLBACK --> 2216 <div style="display: none; "> 2217 <div> 2218 <h4>Callback function</h4> 2219 <p> 2220 The callback <em>parameter</em> should specify a function 2221 that looks like this: 2222 </p> 2223 <p> 2224 If you specify the <em>callback</em> parameter, it should 2225 specify a function that looks like this: 2226 </p> 2227 2228 <!-- Note: intentionally longer 80 columns --> 2229 <pre>function(<span>Type param1, Type param2</span>) <span class="subdued">{...}</span>;</pre> 2230 <dl> 2231 <div> 2232 <div> 2233 </div> 2234 </div> 2235 </dl> 2236 </div> 2237 </div> 2238 2239 <!-- MIN_VERSION --> 2240 <p style="display: none; "> 2241 This function was added in version <b><span></span></b>. 2242 If you require this function, the manifest key 2243 <a href="manifest.html#minimum_chrome_version">minimum_chrome_version</a> 2244 can ensure that your extension won't be run in an earlier browser version. 2245 </p> 2246 </div> <!-- /description --> 2247 2248 </div> <!-- /apiItem --> 2249 2250 </div> 2251 </dd> 2252 2253 <!-- OBJECT EVENT FIELDS --> 2254 <dd style="display: none; "> 2255 <div></div> 2256 </dd> 2257 2258 <!-- FUNCTION PARAMETERS --> 2259 <dd style="display: none; "> 2260 <div></div> 2261 </dd> 2262 2263 </div> 2264 2265 </div><div class="apiItem"> 2266 <a name="type-WatchExpressionSidebarPane"></a> 2267 <h4>WatchExpressionSidebarPane</h4> 2268 2269 <div> 2270 <dt> 2271 <var style="display: none; ">paramName</var> 2272 <em> 2273 2274 <!-- TYPE --> 2275 <div style="display:inline"> 2276 ( 2277 <span class="optional" style="display: none; ">optional</span> 2278 <span class="enum" style="display: none; ">enumerated</span> 2279 <span id="typeTemplate"> 2280 <span style="display: none; "> 2281 <a> Type</a> 2282 </span> 2283 <span> 2284 <span style="display: none; "> 2285 array of <span><span></span></span> 2286 </span> 2287 <span>object</span> 2288 <span style="display: none; "></span> 2289 </span> 2290 </span> 2291 ) 2292 </div> 2293 2294 </em> 2295 </dt> 2296 <dd class="todo" style="display: none; "> 2297 Undocumented. 2298 </dd> 2299 <dd>A sidebar created by the extension.</dd> 2300 <dd style="display: none; "> 2301 This parameter was added in version 2302 <b><span></span></b>. 2303 You must omit this parameter in earlier versions, 2304 and you may omit it in any version. If you require this 2305 parameter, the manifest key 2306 <a href="manifest.html#minimum_chrome_version">minimum_chrome_version</a> 2307 can ensure that your extension won't be run in an earlier browser version. 2308 </dd> 2309 2310 <!-- OBJECT PROPERTIES --> 2311 <dd style="display: none; "> 2312 <dl> 2313 <div> 2314 <div> 2315 </div> 2316 </div> 2317 </dl> 2318 </dd> 2319 2320 <!-- OBJECT METHODS --> 2321 <dd> 2322 <div class="apiGroup"> 2323 <a name="global-WatchExpressionSidebarPane-methods"></a> 2324 <h3>Methods of WatchExpressionSidebarPane</h3> 2325 2326 <!-- iterates over all functions --> 2327 <div class="apiItem"> 2328 <a name="method-WatchExpressionSidebarPane-setExpression"></a> <!-- method-anchor --> 2329 <h4>setExpression</h4> 2330 2331 <div class="summary"><span style="display: none; ">ExtensionPanel</span> 2332 <!-- Note: intentionally longer 80 columns --> 2333 <span>watchExpressionSidebarPane.setExpression</span>(<span class="null"><span style="display: none; ">, </span><span>string</span> 2334 <var><span>expression</span></var></span><span class="optional"><span>, </span><span>string</span> 2335 <var><span>rootTitle</span></var></span>)</div> 2336 2337 <div class="description"> 2338 <p class="todo" style="display: none; ">Undocumented.</p> 2339 <p>Sets an expression that is evaluated within the inspected page. The result is displayed in the sidebar pane.</p> 2340 2341 <!-- PARAMETERS --> 2342 <h4>Parameters</h4> 2343 <dl> 2344 <div> 2345 <div> 2346 <dt> 2347 <var>expression</var> 2348 <em> 2349 2350 <!-- TYPE --> 2351 <div style="display:inline"> 2352 ( 2353 <span class="optional" style="display: none; ">optional</span> 2354 <span class="enum" style="display: none; ">enumerated</span> 2355 <span id="typeTemplate"> 2356 <span style="display: none; "> 2357 <a> Type</a> 2358 </span> 2359 <span> 2360 <span style="display: none; "> 2361 array of <span><span></span></span> 2362 </span> 2363 <span>string</span> 2364 <span style="display: none; "></span> 2365 </span> 2366 </span> 2367 ) 2368 </div> 2369 2370 </em> 2371 </dt> 2372 <dd class="todo" style="display: none; "> 2373 Undocumented. 2374 </dd> 2375 <dd>An expression to be evaluated in context of the inspected page. JavaScript objects and DOM nodes are displayed in an expandable tree similar to the console/watch.</dd> 2376 <dd style="display: none; "> 2377 This parameter was added in version 2378 <b><span></span></b>. 2379 You must omit this parameter in earlier versions, 2380 and you may omit it in any version. If you require this 2381 parameter, the manifest key 2382 <a href="manifest.html#minimum_chrome_version">minimum_chrome_version</a> 2383 can ensure that your extension won't be run in an earlier browser version. 2384 </dd> 2385 2386 <!-- OBJECT PROPERTIES --> 2387 <dd style="display: none; "> 2388 <dl> 2389 <div> 2390 <div> 2391 </div> 2392 </div> 2393 </dl> 2394 </dd> 2395 2396 <!-- OBJECT METHODS --> 2397 <dd style="display: none; "> 2398 <div></div> 2399 </dd> 2400 2401 <!-- OBJECT EVENT FIELDS --> 2402 <dd style="display: none; "> 2403 <div></div> 2404 </dd> 2405 2406 <!-- FUNCTION PARAMETERS --> 2407 <dd style="display: none; "> 2408 <div></div> 2409 </dd> 2410 2411 </div> 2412 </div><div> 2413 <div> 2414 <dt> 2415 <var>rootTitle</var> 2416 <em> 2417 2418 <!-- TYPE --> 2419 <div style="display:inline"> 2420 ( 2421 <span class="optional" style="">optional</span> 2422 <span class="enum" style="display: none; ">enumerated</span> 2423 <span id="typeTemplate"> 2424 <span style="display: none; "> 2425 <a> Type</a> 2426 </span> 2427 <span> 2428 <span style="display: none; "> 2429 array of <span><span></span></span> 2430 </span> 2431 <span>string</span> 2432 <span style="display: none; "></span> 2433 </span> 2434 </span> 2435 ) 2436 </div> 2437 2438 </em> 2439 </dt> 2440 <dd class="todo" style="display: none; "> 2441 Undocumented. 2442 </dd> 2443 <dd>An optional title for the root of the expression tree.</dd> 2444 <dd style="display: none; "> 2445 This parameter was added in version 2446 <b><span></span></b>. 2447 You must omit this parameter in earlier versions, 2448 and you may omit it in any version. If you require this 2449 parameter, the manifest key 2450 <a href="manifest.html#minimum_chrome_version">minimum_chrome_version</a> 2451 can ensure that your extension won't be run in an earlier browser version. 2452 </dd> 2453 2454 <!-- OBJECT PROPERTIES --> 2455 <dd style="display: none; "> 2456 <dl> 2457 <div> 2458 <div> 2459 </div> 2460 </div> 2461 </dl> 2462 </dd> 2463 2464 <!-- OBJECT METHODS --> 2465 <dd style="display: none; "> 2466 <div></div> 2467 </dd> 2468 2469 <!-- OBJECT EVENT FIELDS --> 2470 <dd style="display: none; "> 2471 <div></div> 2472 </dd> 2473 2474 <!-- FUNCTION PARAMETERS --> 2475 <dd style="display: none; "> 2476 <div></div> 2477 </dd> 2478 2479 </div> 2480 </div> 2481 </dl> 2482 2483 <!-- RETURNS --> 2484 <h4 style="display: none; ">Returns</h4> 2485 <dl> 2486 <div style="display: none; "> 2487 <div> 2488 <dt> 2489 <var style="display: none; ">paramName</var> 2490 <em> 2491 2492 <!-- TYPE --> 2493 <div style="display:inline"> 2494 ( 2495 <span class="optional" style="display: none; ">optional</span> 2496 <span class="enum" style="display: none; ">enumerated</span> 2497 <span id="typeTemplate"> 2498 <span> 2499 <a href="experimental.webInspector.panels.html#type-ExtensionPanel">ExtensionPanel</a> 2500 </span> 2501 <span style="display: none; "> 2502 <span> 2503 array of <span><span></span></span> 2504 </span> 2505 <span>paramType</span> 2506 <span></span> 2507 </span> 2508 </span> 2509 ) 2510 </div> 2511 2512 </em> 2513 </dt> 2514 <dd class="todo" style="display: none; "> 2515 Undocumented. 2516 </dd> 2517 <dd>A panel that was created.</dd> 2518 <dd style="display: none; "> 2519 This parameter was added in version 2520 <b><span></span></b>. 2521 You must omit this parameter in earlier versions, 2522 and you may omit it in any version. If you require this 2523 parameter, the manifest key 2524 <a href="manifest.html#minimum_chrome_version">minimum_chrome_version</a> 2525 can ensure that your extension won't be run in an earlier browser version. 2526 </dd> 2527 2528 <!-- OBJECT PROPERTIES --> 2529 <dd style="display: none; "> 2530 <dl> 2531 <div> 2532 <div> 2533 </div> 2534 </div> 2535 </dl> 2536 </dd> 2537 2538 <!-- OBJECT METHODS --> 2539 <dd style="display: none; "> 2540 <div></div> 2541 </dd> 2542 2543 <!-- OBJECT EVENT FIELDS --> 2544 <dd style="display: none; "> 2545 <div></div> 2546 </dd> 2547 2548 <!-- FUNCTION PARAMETERS --> 2549 <dd style="display: none; "> 2550 <div></div> 2551 </dd> 2552 2553 </div> 2554 </div> 2555 </dl> 2556 2557 <!-- CALLBACK --> 2558 <div style="display: none; "> 2559 <div> 2560 <h4>Callback function</h4> 2561 <p> 2562 The callback <em>parameter</em> should specify a function 2563 that looks like this: 2564 </p> 2565 <p> 2566 If you specify the <em>callback</em> parameter, it should 2567 specify a function that looks like this: 2568 </p> 2569 2570 <!-- Note: intentionally longer 80 columns --> 2571 <pre>function(<span>Type param1, Type param2</span>) <span class="subdued">{...}</span>;</pre> 2572 <dl> 2573 <div> 2574 <div> 2575 </div> 2576 </div> 2577 </dl> 2578 </div> 2579 </div> 2580 2581 <!-- MIN_VERSION --> 2582 <p style="display: none; "> 2583 This function was added in version <b><span></span></b>. 2584 If you require this function, the manifest key 2585 <a href="manifest.html#minimum_chrome_version">minimum_chrome_version</a> 2586 can ensure that your extension won't be run in an earlier browser version. 2587 </p> 2588 </div> <!-- /description --> 2589 2590 </div><div class="apiItem"> 2591 <a name="method-WatchExpressionSidebarPane-setHeight"></a> <!-- method-anchor --> 2592 <h4>setHeight</h4> 2593 2594 <div class="summary"><span style="display: none; ">ExtensionPanel</span> 2595 <!-- Note: intentionally longer 80 columns --> 2596 <span>watchExpressionSidebarPane.setHeight</span>(<span class="null"><span style="display: none; ">, </span><span>string</span> 2597 <var><span>height</span></var></span>)</div> 2598 2599 <div class="description"> 2600 <p class="todo" style="display: none; ">Undocumented.</p> 2601 <p>Sets the height of the sidebar.</p> 2602 2603 <!-- PARAMETERS --> 2604 <h4>Parameters</h4> 2605 <dl> 2606 <div> 2607 <div> 2608 <dt> 2609 <var>height</var> 2610 <em> 2611 2612 <!-- TYPE --> 2613 <div style="display:inline"> 2614 ( 2615 <span class="optional" style="display: none; ">optional</span> 2616 <span class="enum" style="display: none; ">enumerated</span> 2617 <span id="typeTemplate"> 2618 <span style="display: none; "> 2619 <a> Type</a> 2620 </span> 2621 <span> 2622 <span style="display: none; "> 2623 array of <span><span></span></span> 2624 </span> 2625 <span>string</span> 2626 <span style="display: none; "></span> 2627 </span> 2628 </span> 2629 ) 2630 </div> 2631 2632 </em> 2633 </dt> 2634 <dd class="todo" style="display: none; "> 2635 Undocumented. 2636 </dd> 2637 <dd>A CSS-like size specification, e.g. '10px' or '12pt'</dd> 2638 <dd style="display: none; "> 2639 This parameter was added in version 2640 <b><span></span></b>. 2641 You must omit this parameter in earlier versions, 2642 and you may omit it in any version. If you require this 2643 parameter, the manifest key 2644 <a href="manifest.html#minimum_chrome_version">minimum_chrome_version</a> 2645 can ensure that your extension won't be run in an earlier browser version. 2646 </dd> 2647 2648 <!-- OBJECT PROPERTIES --> 2649 <dd style="display: none; "> 2650 <dl> 2651 <div> 2652 <div> 2653 </div> 2654 </div> 2655 </dl> 2656 </dd> 2657 2658 <!-- OBJECT METHODS --> 2659 <dd style="display: none; "> 2660 <div></div> 2661 </dd> 2662 2663 <!-- OBJECT EVENT FIELDS --> 2664 <dd style="display: none; "> 2665 <div></div> 2666 </dd> 2667 2668 <!-- FUNCTION PARAMETERS --> 2669 <dd style="display: none; "> 2670 <div></div> 2671 </dd> 2672 2673 </div> 2674 </div> 2675 </dl> 2676 2677 <!-- RETURNS --> 2678 <h4 style="display: none; ">Returns</h4> 2679 <dl> 2680 <div style="display: none; "> 2681 <div> 2682 <dt> 2683 <var style="display: none; ">paramName</var> 2684 <em> 2685 2686 <!-- TYPE --> 2687 <div style="display:inline"> 2688 ( 2689 <span class="optional" style="display: none; ">optional</span> 2690 <span class="enum" style="display: none; ">enumerated</span> 2691 <span id="typeTemplate"> 2692 <span> 2693 <a href="experimental.webInspector.panels.html#type-ExtensionPanel">ExtensionPanel</a> 2694 </span> 2695 <span style="display: none; "> 2696 <span> 2697 array of <span><span></span></span> 2698 </span> 2699 <span>paramType</span> 2700 <span></span> 2701 </span> 2702 </span> 2703 ) 2704 </div> 2705 2706 </em> 2707 </dt> 2708 <dd class="todo" style="display: none; "> 2709 Undocumented. 2710 </dd> 2711 <dd>A panel that was created.</dd> 2712 <dd style="display: none; "> 2713 This parameter was added in version 2714 <b><span></span></b>. 2715 You must omit this parameter in earlier versions, 2716 and you may omit it in any version. If you require this 2717 parameter, the manifest key 2718 <a href="manifest.html#minimum_chrome_version">minimum_chrome_version</a> 2719 can ensure that your extension won't be run in an earlier browser version. 2720 </dd> 2721 2722 <!-- OBJECT PROPERTIES --> 2723 <dd style="display: none; "> 2724 <dl> 2725 <div> 2726 <div> 2727 </div> 2728 </div> 2729 </dl> 2730 </dd> 2731 2732 <!-- OBJECT METHODS --> 2733 <dd style="display: none; "> 2734 <div></div> 2735 </dd> 2736 2737 <!-- OBJECT EVENT FIELDS --> 2738 <dd style="display: none; "> 2739 <div></div> 2740 </dd> 2741 2742 <!-- FUNCTION PARAMETERS --> 2743 <dd style="display: none; "> 2744 <div></div> 2745 </dd> 2746 2747 </div> 2748 </div> 2749 </dl> 2750 2751 <!-- CALLBACK --> 2752 <div style="display: none; "> 2753 <div> 2754 <h4>Callback function</h4> 2755 <p> 2756 The callback <em>parameter</em> should specify a function 2757 that looks like this: 2758 </p> 2759 <p> 2760 If you specify the <em>callback</em> parameter, it should 2761 specify a function that looks like this: 2762 </p> 2763 2764 <!-- Note: intentionally longer 80 columns --> 2765 <pre>function(<span>Type param1, Type param2</span>) <span class="subdued">{...}</span>;</pre> 2766 <dl> 2767 <div> 2768 <div> 2769 </div> 2770 </div> 2771 </dl> 2772 </div> 2773 </div> 2774 2775 <!-- MIN_VERSION --> 2776 <p style="display: none; "> 2777 This function was added in version <b><span></span></b>. 2778 If you require this function, the manifest key 2779 <a href="manifest.html#minimum_chrome_version">minimum_chrome_version</a> 2780 can ensure that your extension won't be run in an earlier browser version. 2781 </p> 2782 </div> <!-- /description --> 2783 2784 </div><div class="apiItem"> 2785 <a name="method-WatchExpressionSidebarPane-setObject"></a> <!-- method-anchor --> 2786 <h4>setObject</h4> 2787 2788 <div class="summary"><span style="display: none; ">ExtensionPanel</span> 2789 <!-- Note: intentionally longer 80 columns --> 2790 <span>watchExpressionSidebarPane.setObject</span>(<span class="null"><span style="display: none; ">, </span><span>string</span> 2791 <var><span>jsonObject</span></var></span><span class="optional"><span>, </span><span>string</span> 2792 <var><span>rootTitle</span></var></span>)</div> 2793 2794 <div class="description"> 2795 <p class="todo" style="display: none; ">Undocumented.</p> 2796 <p>Sets a JSON-compliant object to be displayed in the sidebar pane.</p> 2797 2798 <!-- PARAMETERS --> 2799 <h4>Parameters</h4> 2800 <dl> 2801 <div> 2802 <div> 2803 <dt> 2804 <var>jsonObject</var> 2805 <em> 2806 2807 <!-- TYPE --> 2808 <div style="display:inline"> 2809 ( 2810 <span class="optional" style="display: none; ">optional</span> 2811 <span class="enum" style="display: none; ">enumerated</span> 2812 <span id="typeTemplate"> 2813 <span style="display: none; "> 2814 <a> Type</a> 2815 </span> 2816 <span> 2817 <span style="display: none; "> 2818 array of <span><span></span></span> 2819 </span> 2820 <span>string</span> 2821 <span style="display: none; "></span> 2822 </span> 2823 </span> 2824 ) 2825 </div> 2826 2827 </em> 2828 </dt> 2829 <dd class="todo" style="display: none; "> 2830 Undocumented. 2831 </dd> 2832 <dd>An object to be displayed in context of the inspected page. Evaluated in the context of the caller (API client).</dd> 2833 <dd style="display: none; "> 2834 This parameter was added in version 2835 <b><span></span></b>. 2836 You must omit this parameter in earlier versions, 2837 and you may omit it in any version. If you require this 2838 parameter, the manifest key 2839 <a href="manifest.html#minimum_chrome_version">minimum_chrome_version</a> 2840 can ensure that your extension won't be run in an earlier browser version. 2841 </dd> 2842 2843 <!-- OBJECT PROPERTIES --> 2844 <dd style="display: none; "> 2845 <dl> 2846 <div> 2847 <div> 2848 </div> 2849 </div> 2850 </dl> 2851 </dd> 2852 2853 <!-- OBJECT METHODS --> 2854 <dd style="display: none; "> 2855 <div></div> 2856 </dd> 2857 2858 <!-- OBJECT EVENT FIELDS --> 2859 <dd style="display: none; "> 2860 <div></div> 2861 </dd> 2862 2863 <!-- FUNCTION PARAMETERS --> 2864 <dd style="display: none; "> 2865 <div></div> 2866 </dd> 2867 2868 </div> 2869 </div><div> 2870 <div> 2871 <dt> 2872 <var>rootTitle</var> 2873 <em> 2874 2875 <!-- TYPE --> 2876 <div style="display:inline"> 2877 ( 2878 <span class="optional" style="">optional</span> 2879 <span class="enum" style="display: none; ">enumerated</span> 2880 <span id="typeTemplate"> 2881 <span style="display: none; "> 2882 <a> Type</a> 2883 </span> 2884 <span> 2885 <span style="display: none; "> 2886 array of <span><span></span></span> 2887 </span> 2888 <span>string</span> 2889 <span style="display: none; "></span> 2890 </span> 2891 </span> 2892 ) 2893 </div> 2894 2895 </em> 2896 </dt> 2897 <dd class="todo" style="display: none; "> 2898 Undocumented. 2899 </dd> 2900 <dd>An optional title for the root of the expression tree.</dd> 2901 <dd style="display: none; "> 2902 This parameter was added in version 2903 <b><span></span></b>. 2904 You must omit this parameter in earlier versions, 2905 and you may omit it in any version. If you require this 2906 parameter, the manifest key 2907 <a href="manifest.html#minimum_chrome_version">minimum_chrome_version</a> 2908 can ensure that your extension won't be run in an earlier browser version. 2909 </dd> 2910 2911 <!-- OBJECT PROPERTIES --> 2912 <dd style="display: none; "> 2913 <dl> 2914 <div> 2915 <div> 2916 </div> 2917 </div> 2918 </dl> 2919 </dd> 2920 2921 <!-- OBJECT METHODS --> 2922 <dd style="display: none; "> 2923 <div></div> 2924 </dd> 2925 2926 <!-- OBJECT EVENT FIELDS --> 2927 <dd style="display: none; "> 2928 <div></div> 2929 </dd> 2930 2931 <!-- FUNCTION PARAMETERS --> 2932 <dd style="display: none; "> 2933 <div></div> 2934 </dd> 2935 2936 </div> 2937 </div> 2938 </dl> 2939 2940 <!-- RETURNS --> 2941 <h4 style="display: none; ">Returns</h4> 2942 <dl> 2943 <div style="display: none; "> 2944 <div> 2945 <dt> 2946 <var style="display: none; ">paramName</var> 2947 <em> 2948 2949 <!-- TYPE --> 2950 <div style="display:inline"> 2951 ( 2952 <span class="optional" style="display: none; ">optional</span> 2953 <span class="enum" style="display: none; ">enumerated</span> 2954 <span id="typeTemplate"> 2955 <span> 2956 <a href="experimental.webInspector.panels.html#type-ExtensionPanel">ExtensionPanel</a> 2957 </span> 2958 <span style="display: none; "> 2959 <span> 2960 array of <span><span></span></span> 2961 </span> 2962 <span>paramType</span> 2963 <span></span> 2964 </span> 2965 </span> 2966 ) 2967 </div> 2968 2969 </em> 2970 </dt> 2971 <dd class="todo" style="display: none; "> 2972 Undocumented. 2973 </dd> 2974 <dd>A panel that was created.</dd> 2975 <dd style="display: none; "> 2976 This parameter was added in version 2977 <b><span></span></b>. 2978 You must omit this parameter in earlier versions, 2979 and you may omit it in any version. If you require this 2980 parameter, the manifest key 2981 <a href="manifest.html#minimum_chrome_version">minimum_chrome_version</a> 2982 can ensure that your extension won't be run in an earlier browser version. 2983 </dd> 2984 2985 <!-- OBJECT PROPERTIES --> 2986 <dd style="display: none; "> 2987 <dl> 2988 <div> 2989 <div> 2990 </div> 2991 </div> 2992 </dl> 2993 </dd> 2994 2995 <!-- OBJECT METHODS --> 2996 <dd style="display: none; "> 2997 <div></div> 2998 </dd> 2999 3000 <!-- OBJECT EVENT FIELDS --> 3001 <dd style="display: none; "> 3002 <div></div> 3003 </dd> 3004 3005 <!-- FUNCTION PARAMETERS --> 3006 <dd style="display: none; "> 3007 <div></div> 3008 </dd> 3009 3010 </div> 3011 </div> 3012 </dl> 3013 3014 <!-- CALLBACK --> 3015 <div style="display: none; "> 3016 <div> 3017 <h4>Callback function</h4> 3018 <p> 3019 The callback <em>parameter</em> should specify a function 3020 that looks like this: 3021 </p> 3022 <p> 3023 If you specify the <em>callback</em> parameter, it should 3024 specify a function that looks like this: 3025 </p> 3026 3027 <!-- Note: intentionally longer 80 columns --> 3028 <pre>function(<span>Type param1, Type param2</span>) <span class="subdued">{...}</span>;</pre> 3029 <dl> 3030 <div> 3031 <div> 3032 </div> 3033 </div> 3034 </dl> 3035 </div> 3036 </div> 3037 3038 <!-- MIN_VERSION --> 3039 <p style="display: none; "> 3040 This function was added in version <b><span></span></b>. 3041 If you require this function, the manifest key 3042 <a href="manifest.html#minimum_chrome_version">minimum_chrome_version</a> 3043 can ensure that your extension won't be run in an earlier browser version. 3044 </p> 3045 </div> <!-- /description --> 3046 3047 </div> <!-- /apiItem --> 3048 3049 </div> 3050 </dd> 3051 3052 <!-- OBJECT EVENT FIELDS --> 3053 <dd style="display: none; "> 3054 <div></div> 3055 </dd> 3056 3057 <!-- FUNCTION PARAMETERS --> 3058 <dd style="display: none; "> 3059 <div></div> 3060 </dd> 3061 3062 </div> 3063 3064 </div> <!-- /apiItem --> 3065 3066 </div> <!-- /apiGroup --> 3067 3068 </div> <!-- /apiPage --> 3069 </div> <!-- /gc-pagecontent --> 3070 </div> <!-- /g-section --> 3071 </div> <!-- /codesiteContent --> 3072 <div id="gc-footer" --=""> 3073 <div class="text"> 3074 <p> 3075 Except as otherwise <a href="http://code.google.com/policies.html#restrictions">noted</a>, 3076 the content of this page is licensed under the <a rel="license" href="http://creativecommons.org/licenses/by/3.0/">Creative Commons 3077 Attribution 3.0 License</a>, and code samples are licensed under the 3078 <a rel="license" href="http://code.google.com/google_bsd_license.html">BSD License</a>. 3079 </p> 3080 <p> 3081 2011 Google 3082 </p> 3083 3084 <!-- begin analytics --> 3085 <script src="http://www.google-analytics.com/urchin.js" type="text/javascript"></script> 3086 <script src="http://www.google-analytics.com/ga.js" type="text/javascript"></script> 3087 3088 <script type="text/javascript"> 3089 // chrome doc tracking 3090 try { 3091 var engdocs = _gat._getTracker("YT-10763712-2"); 3092 engdocs._trackPageview(); 3093 } catch(err) {} 3094 3095 // code.google.com site-wide tracking 3096 try { 3097 _uacct="UA-18071-1"; 3098 _uanchor=1; 3099 _uff=0; 3100 urchinTracker(); 3101 } 3102 catch(e) {/* urchinTracker not available. */} 3103 </script> 3104 <!-- end analytics --> 3105 </div> 3106 </div> <!-- /gc-footer --> 3107 </div> <!-- /gc-container --> 3108 </body></html> 3109