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>chrome.experimental.processes - 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">chrome.experimental.processes</h1> 255 </div> 256 <!-- TABLE OF CONTENTS --> 257 <div id="toc"> 258 <h2>Contents</h2> 259 <ol> 260 <li> 261 <a href="#examples">Examples</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.experimental.processes</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-getProcessIdForTab">getProcessIdForTab</a> 284 </li> 285 </ol> 286 </li> 287 <li> 288 <a href="#global-events">Events</a> 289 <ol> 290 <li> 291 <a href="#event-onUpdated">onUpdated</a> 292 </li> 293 </ol> 294 </li> 295 <li> 296 <a href="#types">Types</a> 297 <ol> 298 <li> 299 <a href="#type-Process">Process</a> 300 </li> 301 </ol> 302 </li> 303 </ol> 304 </li> 305 </ol> 306 </div> 307 <!-- /TABLE OF CONTENTS --> 308 309 <!-- Standard content lead-in for experimental API pages --> 310 <p id="classSummary"> 311 For information on how to use experimental APIs, see the <a href="experimental.html">chrome.experimental.* APIs</a> page. 312 </p> 313 314 <!-- STATIC CONTENT PLACEHOLDER --> 315 <div id="static"><!-- BEGIN AUTHORED CONTENT --> 316 317 <h2 id="examples">Examples</h2> 318 319 <p> 320 For examples of using this API, see the 321 <a href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/api/processes/">examples/api/processes</a> directory and the 322 <a href=" 323 http://src.chromium.org/viewvc/chrome/trunk/src/chrome/test/data/extensions/api_test/processes/">processes API test directory</a>. 324 </p> 325 326 <!-- END AUTHORED CONTENT --> 327 </div> 328 329 <!-- API PAGE --> 330 <div class="apiPage"> 331 <a name="apiReference"></a> 332 <h2>API reference: chrome.experimental.processes</h2> 333 334 <!-- PROPERTIES --> 335 <div class="apiGroup" style="display: none; "> 336 <a name="properties"></a> 337 <h3 id="properties">Properties</h3> 338 339 <div> 340 <a></a> 341 <h4>getLastError</h4> 342 <div class="summary"> 343 <!-- Note: intentionally longer 80 columns --> 344 <span>chrome.extension</span><span>lastError</span> 345 </div> 346 <div> 347 </div> 348 </div> 349 350 </div> <!-- /apiGroup --> 351 352 <!-- METHODS --> 353 <div id="methodsTemplate" class="apiGroup"> 354 <a name="global-methods"></a> 355 <h3>Methods</h3> 356 357 <!-- iterates over all functions --> 358 <div class="apiItem"> 359 <a name="method-getProcessIdForTab"></a> <!-- method-anchor --> 360 <h4>getProcessIdForTab</h4> 361 362 <div class="summary"><span style="display: none; ">void</span> 363 <!-- Note: intentionally longer 80 columns --> 364 <span>chrome.experimental.processes.getProcessIdForTab</span>(<span class="null"><span style="display: none; ">, </span><span>integer</span> 365 <var><span>tabId</span></var></span><span class="null"><span>, </span><span>function</span> 366 <var><span>callback</span></var></span>)</div> 367 368 <div class="description"> 369 <p class="todo" style="display: none; ">Undocumented.</p> 370 <p>Returns the ID of the renderer process for the specified tab.</p> 371 372 <!-- PARAMETERS --> 373 <h4>Parameters</h4> 374 <dl> 375 <div> 376 <div> 377 <dt> 378 <var>tabId</var> 379 <em> 380 381 <!-- TYPE --> 382 <div style="display:inline"> 383 ( 384 <span class="optional" style="display: none; ">optional</span> 385 <span class="enum" style="display: none; ">enumerated</span> 386 <span id="typeTemplate"> 387 <span style="display: none; "> 388 <a> Type</a> 389 </span> 390 <span> 391 <span style="display: none; "> 392 array of <span><span></span></span> 393 </span> 394 <span>integer</span> 395 <span style="display: none; "></span> 396 </span> 397 </span> 398 ) 399 </div> 400 401 </em> 402 </dt> 403 <dd class="todo"> 404 Undocumented. 405 </dd> 406 <dd style="display: none; "> 407 Description of this parameter from the json schema. 408 </dd> 409 <dd style="display: none; "> 410 This parameter was added in version 411 <b><span></span></b>. 412 You must omit this parameter in earlier versions, 413 and you may omit it in any version. If you require this 414 parameter, the manifest key 415 <a href="manifest.html#minimum_chrome_version">minimum_chrome_version</a> 416 can ensure that your extension won't be run in an earlier browser version. 417 </dd> 418 419 <!-- OBJECT PROPERTIES --> 420 <dd style="display: none; "> 421 <dl> 422 <div> 423 <div> 424 </div> 425 </div> 426 </dl> 427 </dd> 428 429 <!-- OBJECT METHODS --> 430 <dd style="display: none; "> 431 <div></div> 432 </dd> 433 434 <!-- OBJECT EVENT FIELDS --> 435 <dd style="display: none; "> 436 <div></div> 437 </dd> 438 439 <!-- FUNCTION PARAMETERS --> 440 <dd style="display: none; "> 441 <div></div> 442 </dd> 443 444 </div> 445 </div><div> 446 <div> 447 <dt> 448 <var>callback</var> 449 <em> 450 451 <!-- TYPE --> 452 <div style="display:inline"> 453 ( 454 <span class="optional" style="display: none; ">optional</span> 455 <span class="enum" style="display: none; ">enumerated</span> 456 <span id="typeTemplate"> 457 <span style="display: none; "> 458 <a> Type</a> 459 </span> 460 <span> 461 <span style="display: none; "> 462 array of <span><span></span></span> 463 </span> 464 <span>function</span> 465 <span style="display: none; "></span> 466 </span> 467 </span> 468 ) 469 </div> 470 471 </em> 472 </dt> 473 <dd class="todo"> 474 Undocumented. 475 </dd> 476 <dd style="display: none; "> 477 Description of this parameter from the json schema. 478 </dd> 479 <dd style="display: none; "> 480 This parameter was added in version 481 <b><span></span></b>. 482 You must omit this parameter in earlier versions, 483 and you may omit it in any version. If you require this 484 parameter, the manifest key 485 <a href="manifest.html#minimum_chrome_version">minimum_chrome_version</a> 486 can ensure that your extension won't be run in an earlier browser version. 487 </dd> 488 489 <!-- OBJECT PROPERTIES --> 490 <dd style="display: none; "> 491 <dl> 492 <div> 493 <div> 494 </div> 495 </div> 496 </dl> 497 </dd> 498 499 <!-- OBJECT METHODS --> 500 <dd style="display: none; "> 501 <div></div> 502 </dd> 503 504 <!-- OBJECT EVENT FIELDS --> 505 <dd style="display: none; "> 506 <div></div> 507 </dd> 508 509 <!-- FUNCTION PARAMETERS --> 510 <dd style="display: none; "> 511 <div></div> 512 </dd> 513 514 </div> 515 </div> 516 </dl> 517 518 <!-- RETURNS --> 519 <h4 style="display: none; ">Returns</h4> 520 <dl> 521 <div style="display: none; "> 522 <div> 523 </div> 524 </div> 525 </dl> 526 527 <!-- CALLBACK --> 528 <div> 529 <div> 530 <h4>Callback function</h4> 531 <p> 532 The callback <em>parameter</em> should specify a function 533 that looks like this: 534 </p> 535 <p style="display: none; "> 536 If you specify the <em>callback</em> parameter, it should 537 specify a function that looks like this: 538 </p> 539 540 <!-- Note: intentionally longer 80 columns --> 541 <pre>function(<span>integer processId</span>) <span class="subdued">{...}</span>;</pre> 542 <dl> 543 <div> 544 <div> 545 <dt> 546 <var>processId</var> 547 <em> 548 549 <!-- TYPE --> 550 <div style="display:inline"> 551 ( 552 <span class="optional" style="display: none; ">optional</span> 553 <span class="enum" style="display: none; ">enumerated</span> 554 <span id="typeTemplate"> 555 <span style="display: none; "> 556 <a> Type</a> 557 </span> 558 <span> 559 <span style="display: none; "> 560 array of <span><span></span></span> 561 </span> 562 <span>integer</span> 563 <span style="display: none; "></span> 564 </span> 565 </span> 566 ) 567 </div> 568 569 </em> 570 </dt> 571 <dd class="todo" style="display: none; "> 572 Undocumented. 573 </dd> 574 <dd>Process ID of the tab's renderer process.</dd> 575 <dd style="display: none; "> 576 This parameter was added in version 577 <b><span></span></b>. 578 You must omit this parameter in earlier versions, 579 and you may omit it in any version. If you require this 580 parameter, the manifest key 581 <a href="manifest.html#minimum_chrome_version">minimum_chrome_version</a> 582 can ensure that your extension won't be run in an earlier browser version. 583 </dd> 584 585 <!-- OBJECT PROPERTIES --> 586 <dd style="display: none; "> 587 <dl> 588 <div> 589 <div> 590 </div> 591 </div> 592 </dl> 593 </dd> 594 595 <!-- OBJECT METHODS --> 596 <dd style="display: none; "> 597 <div></div> 598 </dd> 599 600 <!-- OBJECT EVENT FIELDS --> 601 <dd style="display: none; "> 602 <div></div> 603 </dd> 604 605 <!-- FUNCTION PARAMETERS --> 606 <dd style="display: none; "> 607 <div></div> 608 </dd> 609 610 </div> 611 </div> 612 </dl> 613 </div> 614 </div> 615 616 <!-- MIN_VERSION --> 617 <p style="display: none; "> 618 This function was added in version <b><span></span></b>. 619 If you require this function, the manifest key 620 <a href="manifest.html#minimum_chrome_version">minimum_chrome_version</a> 621 can ensure that your extension won't be run in an earlier browser version. 622 </p> 623 </div> <!-- /description --> 624 625 </div> <!-- /apiItem --> 626 627 </div> <!-- /apiGroup --> 628 629 <!-- EVENTS --> 630 <div id="eventsTemplate" class="apiGroup"> 631 <a name="global-events"></a> 632 <h3>Events</h3> 633 <!-- iterates over all events --> 634 <div class="apiItem"> 635 <a name="event-onUpdated"></a> 636 <h4>onUpdated</h4> 637 638 <div class="summary"> 639 <!-- Note: intentionally longer 80 columns --> 640 <span class="subdued">chrome.experimental.processes.</span><span>onUpdated</span><span class="subdued">.addListener</span>(function(<span>object processes</span>) <span class="subdued">{...}</span>); 641 </div> 642 643 <div class="description"> 644 <p class="todo" style="display: none; ">Undocumented.</p> 645 <p>Fires each time the Task Manager updates its process statistics, providing the dictionary of updated Process objects, indexed by process ID.</p> 646 647 <!-- PARAMETERS --> 648 <div> 649 <h4>Parameters</h4> 650 <dl> 651 <div> 652 <div> 653 <dt> 654 <var>processes</var> 655 <em> 656 657 <!-- TYPE --> 658 <div style="display:inline"> 659 ( 660 <span class="optional" style="display: none; ">optional</span> 661 <span class="enum" style="display: none; ">enumerated</span> 662 <span id="typeTemplate"> 663 <span style="display: none; "> 664 <a> Type</a> 665 </span> 666 <span> 667 <span style="display: none; "> 668 array of <span><span></span></span> 669 </span> 670 <span>object</span> 671 <span style="display: none; "></span> 672 </span> 673 </span> 674 ) 675 </div> 676 677 </em> 678 </dt> 679 <dd class="todo"> 680 Undocumented. 681 </dd> 682 <dd style="display: none; "> 683 Description of this parameter from the json schema. 684 </dd> 685 <dd style="display: none; "> 686 This parameter was added in version 687 <b><span></span></b>. 688 You must omit this parameter in earlier versions, 689 and you may omit it in any version. If you require this 690 parameter, the manifest key 691 <a href="manifest.html#minimum_chrome_version">minimum_chrome_version</a> 692 can ensure that your extension won't be run in an earlier browser version. 693 </dd> 694 695 <!-- OBJECT PROPERTIES --> 696 <dd> 697 <dl> 698 <div style="display: none; "> 699 <div> 700 </div> 701 </div> 702 </dl> 703 </dd> 704 705 <!-- OBJECT METHODS --> 706 <dd style="display: none; "> 707 <div></div> 708 </dd> 709 710 <!-- OBJECT EVENT FIELDS --> 711 <dd style="display: none; "> 712 <div></div> 713 </dd> 714 715 <!-- FUNCTION PARAMETERS --> 716 <dd style="display: none; "> 717 <div></div> 718 </dd> 719 720 </div> 721 </div> 722 </dl> 723 </div> 724 </div> <!-- /decription --> 725 726 </div> <!-- /apiItem --> 727 728 </div> <!-- /apiGroup --> 729 730 <!-- TYPES --> 731 <div class="apiGroup"> 732 <a name="types"></a> 733 <h3 id="types">Types</h3> 734 735 <!-- iterates over all types --> 736 <div class="apiItem"> 737 <a name="type-Process"></a> 738 <h4>Process</h4> 739 740 <div> 741 <dt> 742 <var style="display: none; ">paramName</var> 743 <em> 744 745 <!-- TYPE --> 746 <div style="display:inline"> 747 ( 748 <span class="optional" style="display: none; ">optional</span> 749 <span class="enum" style="display: none; ">enumerated</span> 750 <span id="typeTemplate"> 751 <span style="display: none; "> 752 <a> Type</a> 753 </span> 754 <span> 755 <span style="display: none; "> 756 array of <span><span></span></span> 757 </span> 758 <span>object</span> 759 <span style="display: none; "></span> 760 </span> 761 </span> 762 ) 763 </div> 764 765 </em> 766 </dt> 767 <dd class="todo" style="display: none; "> 768 Undocumented. 769 </dd> 770 <dd>An object containing information about one of the browser's processes.</dd> 771 <dd style="display: none; "> 772 This parameter was added in version 773 <b><span></span></b>. 774 You must omit this parameter in earlier versions, 775 and you may omit it in any version. If you require this 776 parameter, the manifest key 777 <a href="manifest.html#minimum_chrome_version">minimum_chrome_version</a> 778 can ensure that your extension won't be run in an earlier browser version. 779 </dd> 780 781 <!-- OBJECT PROPERTIES --> 782 <dd> 783 <dl> 784 <div> 785 <div> 786 <dt> 787 <var>id</var> 788 <em> 789 790 <!-- TYPE --> 791 <div style="display:inline"> 792 ( 793 <span class="optional" style="display: none; ">optional</span> 794 <span class="enum" style="display: none; ">enumerated</span> 795 <span id="typeTemplate"> 796 <span style="display: none; "> 797 <a> Type</a> 798 </span> 799 <span> 800 <span style="display: none; "> 801 array of <span><span></span></span> 802 </span> 803 <span>integer</span> 804 <span style="display: none; "></span> 805 </span> 806 </span> 807 ) 808 </div> 809 810 </em> 811 </dt> 812 <dd class="todo" style="display: none; "> 813 Undocumented. 814 </dd> 815 <dd>The ID of the process, as provided by the OS.</dd> 816 <dd style="display: none; "> 817 This parameter was added in version 818 <b><span></span></b>. 819 You must omit this parameter in earlier versions, 820 and you may omit it in any version. If you require this 821 parameter, the manifest key 822 <a href="manifest.html#minimum_chrome_version">minimum_chrome_version</a> 823 can ensure that your extension won't be run in an earlier browser version. 824 </dd> 825 826 <!-- OBJECT PROPERTIES --> 827 <dd style="display: none; "> 828 <dl> 829 <div> 830 <div> 831 </div> 832 </div> 833 </dl> 834 </dd> 835 836 <!-- OBJECT METHODS --> 837 <dd style="display: none; "> 838 <div></div> 839 </dd> 840 841 <!-- OBJECT EVENT FIELDS --> 842 <dd style="display: none; "> 843 <div></div> 844 </dd> 845 846 <!-- FUNCTION PARAMETERS --> 847 <dd style="display: none; "> 848 <div></div> 849 </dd> 850 851 </div> 852 </div><div> 853 <div> 854 <dt> 855 <var>type</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">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>string</span> 872 <span>["browser", "renderer", "extension", "notification", "plugin", "worker", "nacl", "utility", "gpu", "other"]</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>The type of process.</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 style="display: none; "> 906 <div></div> 907 </dd> 908 909 <!-- OBJECT EVENT FIELDS --> 910 <dd style="display: none; "> 911 <div></div> 912 </dd> 913 914 <!-- FUNCTION PARAMETERS --> 915 <dd style="display: none; "> 916 <div></div> 917 </dd> 918 919 </div> 920 </div><div> 921 <div> 922 <dt> 923 <var>cpu</var> 924 <em> 925 926 <!-- TYPE --> 927 <div style="display:inline"> 928 ( 929 <span class="optional" style="display: none; ">optional</span> 930 <span class="enum" style="display: none; ">enumerated</span> 931 <span id="typeTemplate"> 932 <span style="display: none; "> 933 <a> Type</a> 934 </span> 935 <span> 936 <span style="display: none; "> 937 array of <span><span></span></span> 938 </span> 939 <span>number</span> 940 <span style="display: none; "></span> 941 </span> 942 </span> 943 ) 944 </div> 945 946 </em> 947 </dt> 948 <dd class="todo" style="display: none; "> 949 Undocumented. 950 </dd> 951 <dd>The most recent measurement of the process's CPU usage, between 0 and 100%.</dd> 952 <dd style="display: none; "> 953 This parameter was added in version 954 <b><span></span></b>. 955 You must omit this parameter in earlier versions, 956 and you may omit it in any version. If you require this 957 parameter, the manifest key 958 <a href="manifest.html#minimum_chrome_version">minimum_chrome_version</a> 959 can ensure that your extension won't be run in an earlier browser version. 960 </dd> 961 962 <!-- OBJECT PROPERTIES --> 963 <dd style="display: none; "> 964 <dl> 965 <div> 966 <div> 967 </div> 968 </div> 969 </dl> 970 </dd> 971 972 <!-- OBJECT METHODS --> 973 <dd style="display: none; "> 974 <div></div> 975 </dd> 976 977 <!-- OBJECT EVENT FIELDS --> 978 <dd style="display: none; "> 979 <div></div> 980 </dd> 981 982 <!-- FUNCTION PARAMETERS --> 983 <dd style="display: none; "> 984 <div></div> 985 </dd> 986 987 </div> 988 </div><div> 989 <div> 990 <dt> 991 <var>network</var> 992 <em> 993 994 <!-- TYPE --> 995 <div style="display:inline"> 996 ( 997 <span class="optional" style="display: none; ">optional</span> 998 <span class="enum" style="display: none; ">enumerated</span> 999 <span id="typeTemplate"> 1000 <span style="display: none; "> 1001 <a> Type</a> 1002 </span> 1003 <span> 1004 <span style="display: none; "> 1005 array of <span><span></span></span> 1006 </span> 1007 <span>number</span> 1008 <span style="display: none; "></span> 1009 </span> 1010 </span> 1011 ) 1012 </div> 1013 1014 </em> 1015 </dt> 1016 <dd class="todo" style="display: none; "> 1017 Undocumented. 1018 </dd> 1019 <dd>The most recent measurement of the process's network usage, in bytes per second.</dd> 1020 <dd style="display: none; "> 1021 This parameter was added in version 1022 <b><span></span></b>. 1023 You must omit this parameter in earlier versions, 1024 and you may omit it in any version. If you require this 1025 parameter, the manifest key 1026 <a href="manifest.html#minimum_chrome_version">minimum_chrome_version</a> 1027 can ensure that your extension won't be run in an earlier browser version. 1028 </dd> 1029 1030 <!-- OBJECT PROPERTIES --> 1031 <dd style="display: none; "> 1032 <dl> 1033 <div> 1034 <div> 1035 </div> 1036 </div> 1037 </dl> 1038 </dd> 1039 1040 <!-- OBJECT METHODS --> 1041 <dd style="display: none; "> 1042 <div></div> 1043 </dd> 1044 1045 <!-- OBJECT EVENT FIELDS --> 1046 <dd style="display: none; "> 1047 <div></div> 1048 </dd> 1049 1050 <!-- FUNCTION PARAMETERS --> 1051 <dd style="display: none; "> 1052 <div></div> 1053 </dd> 1054 1055 </div> 1056 </div><div> 1057 <div> 1058 <dt> 1059 <var>privateMemory</var> 1060 <em> 1061 1062 <!-- TYPE --> 1063 <div style="display:inline"> 1064 ( 1065 <span class="optional" style="display: none; ">optional</span> 1066 <span class="enum" style="display: none; ">enumerated</span> 1067 <span id="typeTemplate"> 1068 <span style="display: none; "> 1069 <a> Type</a> 1070 </span> 1071 <span> 1072 <span style="display: none; "> 1073 array of <span><span></span></span> 1074 </span> 1075 <span>number</span> 1076 <span style="display: none; "></span> 1077 </span> 1078 </span> 1079 ) 1080 </div> 1081 1082 </em> 1083 </dt> 1084 <dd class="todo" style="display: none; "> 1085 Undocumented. 1086 </dd> 1087 <dd>The most recent measurement of the process's private memory usage, in bytes.</dd> 1088 <dd style="display: none; "> 1089 This parameter was added in version 1090 <b><span></span></b>. 1091 You must omit this parameter in earlier versions, 1092 and you may omit it in any version. If you require this 1093 parameter, the manifest key 1094 <a href="manifest.html#minimum_chrome_version">minimum_chrome_version</a> 1095 can ensure that your extension won't be run in an earlier browser version. 1096 </dd> 1097 1098 <!-- OBJECT PROPERTIES --> 1099 <dd style="display: none; "> 1100 <dl> 1101 <div> 1102 <div> 1103 </div> 1104 </div> 1105 </dl> 1106 </dd> 1107 1108 <!-- OBJECT METHODS --> 1109 <dd style="display: none; "> 1110 <div></div> 1111 </dd> 1112 1113 <!-- OBJECT EVENT FIELDS --> 1114 <dd style="display: none; "> 1115 <div></div> 1116 </dd> 1117 1118 <!-- FUNCTION PARAMETERS --> 1119 <dd style="display: none; "> 1120 <div></div> 1121 </dd> 1122 1123 </div> 1124 </div><div> 1125 <div> 1126 <dt> 1127 <var>sharedMemory</var> 1128 <em> 1129 1130 <!-- TYPE --> 1131 <div style="display:inline"> 1132 ( 1133 <span class="optional" style="display: none; ">optional</span> 1134 <span class="enum" style="display: none; ">enumerated</span> 1135 <span id="typeTemplate"> 1136 <span style="display: none; "> 1137 <a> Type</a> 1138 </span> 1139 <span> 1140 <span style="display: none; "> 1141 array of <span><span></span></span> 1142 </span> 1143 <span>number</span> 1144 <span style="display: none; "></span> 1145 </span> 1146 </span> 1147 ) 1148 </div> 1149 1150 </em> 1151 </dt> 1152 <dd class="todo" style="display: none; "> 1153 Undocumented. 1154 </dd> 1155 <dd>The most recent measurement of the process's shared memory usage, in bytes.</dd> 1156 <dd style="display: none; "> 1157 This parameter was added in version 1158 <b><span></span></b>. 1159 You must omit this parameter in earlier versions, 1160 and you may omit it in any version. If you require this 1161 parameter, the manifest key 1162 <a href="manifest.html#minimum_chrome_version">minimum_chrome_version</a> 1163 can ensure that your extension won't be run in an earlier browser version. 1164 </dd> 1165 1166 <!-- OBJECT PROPERTIES --> 1167 <dd style="display: none; "> 1168 <dl> 1169 <div> 1170 <div> 1171 </div> 1172 </div> 1173 </dl> 1174 </dd> 1175 1176 <!-- OBJECT METHODS --> 1177 <dd style="display: none; "> 1178 <div></div> 1179 </dd> 1180 1181 <!-- OBJECT EVENT FIELDS --> 1182 <dd style="display: none; "> 1183 <div></div> 1184 </dd> 1185 1186 <!-- FUNCTION PARAMETERS --> 1187 <dd style="display: none; "> 1188 <div></div> 1189 </dd> 1190 1191 </div> 1192 </div> 1193 </dl> 1194 </dd> 1195 1196 <!-- OBJECT METHODS --> 1197 <dd style="display: none; "> 1198 <div></div> 1199 </dd> 1200 1201 <!-- OBJECT EVENT FIELDS --> 1202 <dd style="display: none; "> 1203 <div></div> 1204 </dd> 1205 1206 <!-- FUNCTION PARAMETERS --> 1207 <dd style="display: none; "> 1208 <div></div> 1209 </dd> 1210 1211 </div> 1212 1213 </div> <!-- /apiItem --> 1214 1215 </div> <!-- /apiGroup --> 1216 1217 </div> <!-- /apiPage --> 1218 </div> <!-- /gc-pagecontent --> 1219 </div> <!-- /g-section --> 1220 </div> <!-- /codesiteContent --> 1221 <div id="gc-footer" --=""> 1222 <div class="text"> 1223 <p> 1224 Except as otherwise <a href="http://code.google.com/policies.html#restrictions">noted</a>, 1225 the content of this page is licensed under the <a rel="license" href="http://creativecommons.org/licenses/by/3.0/">Creative Commons 1226 Attribution 3.0 License</a>, and code samples are licensed under the 1227 <a rel="license" href="http://code.google.com/google_bsd_license.html">BSD License</a>. 1228 </p> 1229 <p> 1230 2011 Google 1231 </p> 1232 1233 <!-- begin analytics --> 1234 <script src="http://www.google-analytics.com/urchin.js" type="text/javascript"></script> 1235 <script src="http://www.google-analytics.com/ga.js" type="text/javascript"></script> 1236 1237 <script type="text/javascript"> 1238 // chrome doc tracking 1239 try { 1240 var engdocs = _gat._getTracker("YT-10763712-2"); 1241 engdocs._trackPageview(); 1242 } catch(err) {} 1243 1244 // code.google.com site-wide tracking 1245 try { 1246 _uacct="UA-18071-1"; 1247 _uanchor=1; 1248 _uff=0; 1249 urchinTracker(); 1250 } 1251 catch(e) {/* urchinTracker not available. */} 1252 </script> 1253 <!-- end analytics --> 1254 </div> 1255 </div> <!-- /gc-footer --> 1256 </div> <!-- /gc-container --> 1257 </body></html> 1258