experimental.processes.html revision 4a5e2dc747d50c653511c68ccb2cfbfb740bd5a7
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 <!-- FUNCTION PARAMETERS --> 85 <dd> 86 <div></div> 87 </dd> 88 89 </div> <!-- /VALUE --> 90 91 <div id="functionParametersTemplate"> 92 <h5>Parameters</h5> 93 <dl> 94 <div> 95 <div> 96 </div> 97 </div> 98 </dl> 99 </div> 100 </div> <!-- /SUBTEMPLATES --> 101 102 <a id="top"></a> 103 <div id="skipto"> 104 <a href="#gc-pagecontent">Skip to page content</a> 105 <a href="#gc-toc">Skip to main navigation</a> 106 </div> 107 <!-- API HEADER --> 108 <table id="header" width="100%" cellspacing="0" border="0"> 109 <tbody><tr> 110 <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> 111 <td valign="middle" width="100%" style="padding-left:0.6em;"> 112 <form action="http://www.google.com/cse" id="cse" style="margin-top:0.5em"> 113 <div id="gsc-search-box"> 114 <input type="hidden" name="cx" value="002967670403910741006:61_cvzfqtno"> 115 <input type="hidden" name="ie" value="UTF-8"> 116 <input type="text" name="q" value="" size="55"> 117 <input class="gsc-search-button" type="submit" name="sa" value="Search"> 118 <br> 119 <span class="greytext">e.g. "page action" or "tabs"</span> 120 </div> 121 </form> 122 123 <script type="text/javascript" src="http://www.google.com/jsapi"></script> 124 <script type="text/javascript">google.load("elements", "1", {packages: "transliteration"});</script> 125 <script type="text/javascript" src="http://www.google.com/coop/cse/t13n?form=cse&t13n_langs=en"></script> 126 <script type="text/javascript" src="http://www.google.com/coop/cse/brand?form=cse&lang=en"></script> 127 </td> 128 </tr> 129 </tbody></table> 130 131 <div id="codesiteContent" class=""> 132 133 <a id="gc-topnav-anchor"></a> 134 <div id="gc-topnav"> 135 <h1>Google Chrome Extensions (<a href="http://code.google.com/labs/">Labs</a>)</h1> 136 <ul id="home" class="gc-topnav-tabs"> 137 <li id="home_link"> 138 <a href="index.html" title="Google Chrome Extensions home page">Home</a> 139 </li> 140 <li id="docs_link"> 141 <a href="docs.html" title="Official Google Chrome Extensions documentation">Docs</a> 142 </li> 143 <li id="faq_link"> 144 <a href="faq.html" title="Answers to frequently asked questions about Google Chrome Extensions">FAQ</a> 145 </li> 146 <li id="samples_link"> 147 <a href="samples.html" title="Sample extensions (with source code)">Samples</a> 148 </li> 149 <li id="group_link"> 150 <a href="http://groups.google.com/a/chromium.org/group/chromium-extensions" title="Google Chrome Extensions developer forum">Group</a> 151 </li> 152 </ul> 153 </div> <!-- end gc-topnav --> 154 155 <div class="g-section g-tpl-170"> 156 <!-- SIDENAV --> 157 <div class="g-unit g-first" id="gc-toc"> 158 <ul> 159 <li><a href="getstarted.html">Getting Started</a></li> 160 <li><a href="overview.html">Overview</a></li> 161 <li><a href="whats_new.html">What's New?</a></li> 162 <li><h2><a href="devguide.html">Developer's Guide</a></h2> 163 <ul> 164 <li>Browser UI 165 <ul> 166 <li><a href="browserAction.html">Browser Actions</a></li> 167 <li><a href="contextMenus.html">Context Menus</a></li> 168 <li><a href="notifications.html">Desktop Notifications</a></li> 169 <li><a href="options.html">Options Pages</a></li> 170 <li><a href="override.html">Override Pages</a></li> 171 <li><a href="pageAction.html">Page Actions</a></li> 172 <li><a href="themes.html">Themes</a></li> 173 </ul> 174 </li> 175 <li>Browser Interaction 176 <ul> 177 <li><a href="bookmarks.html">Bookmarks</a></li> 178 <li><a href="cookies.html">Cookies</a></li> 179 <li><a href="events.html">Events</a></li> 180 <li><a href="history.html">History</a></li> 181 <li><a href="management.html">Management</a></li> 182 <li><a href="tabs.html">Tabs</a></li> 183 <li><a href="windows.html">Windows</a></li> 184 </ul> 185 </li> 186 <li>Implementation 187 <ul> 188 <li><a href="a11y.html">Accessibility</a></li> 189 <li><a href="background_pages.html">Background Pages</a></li> 190 <li><a href="content_scripts.html">Content Scripts</a></li> 191 <li><a href="xhr.html">Cross-Origin XHR</a></li> 192 <li><a href="idle.html">Idle</a></li> 193 <li><a href="i18n.html">Internationalization</a></li> 194 <li><a href="messaging.html">Message Passing</a></li> 195 <li><a href="npapi.html">NPAPI Plugins</a></li> 196 </ul> 197 </li> 198 <li>Finishing 199 <ul> 200 <li><a href="hosting.html">Hosting</a></li> 201 <li><a href="external_extensions.html">Other Deployment Options</a></li> 202 </ul> 203 </li> 204 </ul> 205 </li> 206 <li><h2><a href="tutorials.html">Tutorials</a></h2> 207 <ul> 208 <li><a href="tut_debugging.html">Debugging</a></li> 209 <li><a href="tut_analytics.html">Google Analytics</a></li> 210 <li><a href="tut_oauth.html">OAuth</a></li> 211 </ul> 212 </li> 213 <li><h2>Reference</h2> 214 <ul> 215 <li>Formats 216 <ul> 217 <li><a href="manifest.html">Manifest Files</a></li> 218 <li><a href="match_patterns.html">Match Patterns</a></li> 219 <!-- <li>Packages (.crx)</li> --> 220 </ul> 221 </li> 222 <li><a href="api_index.html">chrome.* APIs</a></li> 223 <li><a href="api_other.html">Other APIs</a></li> 224 </ul> 225 </li> 226 <li><h2><a href="samples.html">Samples</a></h2></li> 227 <div class="line"> </div> 228 <li><h2>More</h2> 229 <ul> 230 <li><a href="http://code.google.com/chrome/webstore/docs/index.html">Chrome Web Store</a></li> 231 <li><a href="http://code.google.com/chrome/apps/docs/developers_guide.html">Installable Web Apps</a></li> 232 <li><a href="themes.html">Themes</a></li> 233 </ul> 234 </li> 235 </ul> 236 </div> 237 <script> 238 initToggles(); 239 </script> 240 241 <div class="g-unit" id="gc-pagecontent"> 242 <div id="pageTitle"> 243 <h1 class="page_title">chrome.experimental.processes</h1> 244 </div> 245 <!-- TABLE OF CONTENTS --> 246 <div id="toc"> 247 <h2>Contents</h2> 248 <ol> 249 <li> 250 <a href="#examples">Examples</a> 251 <ol> 252 <li style="display: none; "> 253 <a>h3Name</a> 254 </li> 255 </ol> 256 </li> 257 <li> 258 <a href="#apiReference">API reference: chrome.experimental.processes</a> 259 <ol> 260 <li style="display: none; "> 261 <a href="#properties">Properties</a> 262 <ol> 263 <li> 264 <a href="#property-anchor">propertyName</a> 265 </li> 266 </ol> 267 </li> 268 <li> 269 <a href="#methods">Methods</a> 270 <ol> 271 <li> 272 <a href="#method-getProcessIdForTab">getProcessIdForTab</a> 273 </li> 274 </ol> 275 </li> 276 <li> 277 <a href="#events">Events</a> 278 <ol> 279 <li> 280 <a href="#event-onUpdated">onUpdated</a> 281 </li> 282 </ol> 283 </li> 284 <li> 285 <a href="#types">Types</a> 286 <ol> 287 <li> 288 <a href="#type-Process">Process</a> 289 </li> 290 </ol> 291 </li> 292 </ol> 293 </li> 294 </ol> 295 </div> 296 <!-- /TABLE OF CONTENTS --> 297 298 <!-- Standard content lead-in for experimental API pages --> 299 <p id="classSummary"> 300 For information on how to use experimental APIs, see the <a href="experimental.html">chrome.experimental.* APIs</a> page. 301 </p> 302 303 <!-- STATIC CONTENT PLACEHOLDER --> 304 <div id="static"><!-- BEGIN AUTHORED CONTENT --> 305 306<h2 id="examples">Examples</h2> 307 308<p> 309For examples of using this API, see the 310<a href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/api/processes/">examples/api/processes</a> directory and the 311<a href=" 312http://src.chromium.org/viewvc/chrome/trunk/src/chrome/test/data/extensions/api_test/processes/">processes API test directory</a>. 313</p> 314 315<!-- END AUTHORED CONTENT --> 316</div> 317 318 <!-- API PAGE --> 319 <div class="apiPage"> 320 <a name="apiReference"></a> 321 <h2>API reference: chrome.experimental.processes</h2> 322 323 <!-- PROPERTIES --> 324 <div class="apiGroup" style="display: none; "> 325 <a name="properties"></a> 326 <h3 id="properties">Properties</h3> 327 328 <div> 329 <a></a> 330 <h4>getLastError</h4> 331 <div class="summary"> 332 <!-- Note: intentionally longer 80 columns --> 333 <span>chrome.extension</span><span>lastError</span> 334 </div> 335 <div> 336 </div> 337 </div> 338 339 </div> <!-- /apiGroup --> 340 341 <!-- METHODS --> 342 <div class="apiGroup" id="methods"> 343 <a name="methods"></a> 344 <h3>Methods</h3> 345 346 <!-- iterates over all functions --> 347 <div class="apiItem"> 348 <a name="method-getProcessIdForTab"></a> <!-- method-anchor --> 349 <h4>getProcessIdForTab</h4> 350 351 <div class="summary"><span style="display: none; ">void</span> 352 <!-- Note: intentionally longer 80 columns --> 353 <span>chrome.experimental.processes.getProcessIdForTab</span>(<span class="null"><span style="display: none; ">, </span><span>integer</span> 354 <var><span>tabId</span></var></span><span class="null"><span>, </span><span>function</span> 355 <var><span>callback</span></var></span>)</div> 356 357 <div class="description"> 358 <p class="todo" style="display: none; ">Undocumented.</p> 359 <p>Returns the ID of the renderer process for the specified tab.</p> 360 361 <!-- PARAMETERS --> 362 <h4>Parameters</h4> 363 <dl> 364 <div> 365 <div> 366 <dt> 367 <var>tabId</var> 368 <em> 369 370 <!-- TYPE --> 371 <div style="display:inline"> 372 ( 373 <span class="optional" style="display: none; ">optional</span> 374 <span class="enum" style="display: none; ">enumerated</span> 375 <span id="typeTemplate"> 376 <span style="display: none; "> 377 <a> Type</a> 378 </span> 379 <span> 380 <span style="display: none; "> 381 array of <span><span></span></span> 382 </span> 383 <span>integer</span> 384 <span style="display: none; "></span> 385 </span> 386 </span> 387 ) 388 </div> 389 390 </em> 391 </dt> 392 <dd class="todo"> 393 Undocumented. 394 </dd> 395 <dd style="display: none; "> 396 Description of this parameter from the json schema. 397 </dd> 398 <dd style="display: none; "> 399 This parameter was added in version 400 <b><span></span></b>. 401 You must omit this parameter in earlier versions, 402 and you may omit it in any version. If you require this 403 parameter, the manifest key 404 <a href="manifest.html#minimum_chrome_version">minimum_chrome_version</a> 405 can ensure that your extension won't be run in an earlier browser version. 406 </dd> 407 408 <!-- OBJECT PROPERTIES --> 409 <dd style="display: none; "> 410 <dl> 411 <div> 412 <div> 413 </div> 414 </div> 415 </dl> 416 </dd> 417 418 <!-- FUNCTION PARAMETERS --> 419 <dd style="display: none; "> 420 <div></div> 421 </dd> 422 423 </div> 424 </div><div> 425 <div> 426 <dt> 427 <var>callback</var> 428 <em> 429 430 <!-- TYPE --> 431 <div style="display:inline"> 432 ( 433 <span class="optional" style="display: none; ">optional</span> 434 <span class="enum" style="display: none; ">enumerated</span> 435 <span id="typeTemplate"> 436 <span style="display: none; "> 437 <a> Type</a> 438 </span> 439 <span> 440 <span style="display: none; "> 441 array of <span><span></span></span> 442 </span> 443 <span>function</span> 444 <span style="display: none; "></span> 445 </span> 446 </span> 447 ) 448 </div> 449 450 </em> 451 </dt> 452 <dd class="todo"> 453 Undocumented. 454 </dd> 455 <dd style="display: none; "> 456 Description of this parameter from the json schema. 457 </dd> 458 <dd style="display: none; "> 459 This parameter was added in version 460 <b><span></span></b>. 461 You must omit this parameter in earlier versions, 462 and you may omit it in any version. If you require this 463 parameter, the manifest key 464 <a href="manifest.html#minimum_chrome_version">minimum_chrome_version</a> 465 can ensure that your extension won't be run in an earlier browser version. 466 </dd> 467 468 <!-- OBJECT PROPERTIES --> 469 <dd style="display: none; "> 470 <dl> 471 <div> 472 <div> 473 </div> 474 </div> 475 </dl> 476 </dd> 477 478 <!-- FUNCTION PARAMETERS --> 479 <dd style="display: none; "> 480 <div></div> 481 </dd> 482 483 </div> 484 </div> 485 </dl> 486 487 <!-- RETURNS --> 488 <h4 style="display: none; ">Returns</h4> 489 <dl> 490 <div style="display: none; "> 491 <div> 492 </div> 493 </div> 494 </dl> 495 496 <!-- CALLBACK --> 497 <div> 498 <div> 499 <h4>Callback function</h4> 500 <p> 501 The callback <em>parameter</em> should specify a function 502 that looks like this: 503 </p> 504 <p style="display: none; "> 505 If you specify the <em>callback</em> parameter, it should 506 specify a function that looks like this: 507 </p> 508 509 <!-- Note: intentionally longer 80 columns --> 510 <pre>function(<span>integer processId</span>) <span class="subdued">{...}</span>;</pre> 511 <dl> 512 <div> 513 <div> 514 <dt> 515 <var>processId</var> 516 <em> 517 518 <!-- TYPE --> 519 <div style="display:inline"> 520 ( 521 <span class="optional" style="display: none; ">optional</span> 522 <span class="enum" style="display: none; ">enumerated</span> 523 <span id="typeTemplate"> 524 <span style="display: none; "> 525 <a> Type</a> 526 </span> 527 <span> 528 <span style="display: none; "> 529 array of <span><span></span></span> 530 </span> 531 <span>integer</span> 532 <span style="display: none; "></span> 533 </span> 534 </span> 535 ) 536 </div> 537 538 </em> 539 </dt> 540 <dd class="todo" style="display: none; "> 541 Undocumented. 542 </dd> 543 <dd>Process ID of the tab's renderer process.</dd> 544 <dd style="display: none; "> 545 This parameter was added in version 546 <b><span></span></b>. 547 You must omit this parameter in earlier versions, 548 and you may omit it in any version. If you require this 549 parameter, the manifest key 550 <a href="manifest.html#minimum_chrome_version">minimum_chrome_version</a> 551 can ensure that your extension won't be run in an earlier browser version. 552 </dd> 553 554 <!-- OBJECT PROPERTIES --> 555 <dd style="display: none; "> 556 <dl> 557 <div> 558 <div> 559 </div> 560 </div> 561 </dl> 562 </dd> 563 564 <!-- FUNCTION PARAMETERS --> 565 <dd style="display: none; "> 566 <div></div> 567 </dd> 568 569 </div> 570 </div> 571 </dl> 572 </div> 573 </div> 574 575 <!-- MIN_VERSION --> 576 <p style="display: none; "> 577 This function was added in version <b><span></span></b>. 578 If you require this function, the manifest key 579 <a href="manifest.html#minimum_chrome_version">minimum_chrome_version</a> 580 can ensure that your extension won't be run in an earlier browser version. 581 </p> 582 </div> <!-- /description --> 583 584 </div> <!-- /apiItem --> 585 586 </div> <!-- /apiGroup --> 587 588 <!-- EVENTS --> 589 <div class="apiGroup"> 590 <a name="events"></a> 591 <h3 id="events">Events</h3> 592 593 <!-- iterates over all events --> 594 <div class="apiItem"> 595 <a name="event-onUpdated"></a> 596 <h4>onUpdated</h4> 597 598 <div class="summary"> 599 <!-- Note: intentionally longer 80 columns --> 600 <span class="subdued">chrome.experimental.processes.</span><span>onUpdated</span><span class="subdued">.addListener</span>(function(<span>object processes</span>) <span class="subdued">{...}</span>); 601 </div> 602 603 <div class="description"> 604 <p class="todo" style="display: none; ">Undocumented.</p> 605 <p>Fires each time the Task Manager updates its process statistics, providing the dictionary of updated Process objects, indexed by process ID.</p> 606 607 <!-- PARAMETERS --> 608 <h4>Parameters</h4> 609 <dl> 610 <div> 611 <div> 612 <dt> 613 <var>processes</var> 614 <em> 615 616 <!-- TYPE --> 617 <div style="display:inline"> 618 ( 619 <span class="optional" style="display: none; ">optional</span> 620 <span class="enum" style="display: none; ">enumerated</span> 621 <span id="typeTemplate"> 622 <span style="display: none; "> 623 <a> Type</a> 624 </span> 625 <span> 626 <span style="display: none; "> 627 array of <span><span></span></span> 628 </span> 629 <span>object</span> 630 <span style="display: none; "></span> 631 </span> 632 </span> 633 ) 634 </div> 635 636 </em> 637 </dt> 638 <dd class="todo"> 639 Undocumented. 640 </dd> 641 <dd style="display: none; "> 642 Description of this parameter from the json schema. 643 </dd> 644 <dd style="display: none; "> 645 This parameter was added in version 646 <b><span></span></b>. 647 You must omit this parameter in earlier versions, 648 and you may omit it in any version. If you require this 649 parameter, the manifest key 650 <a href="manifest.html#minimum_chrome_version">minimum_chrome_version</a> 651 can ensure that your extension won't be run in an earlier browser version. 652 </dd> 653 654 <!-- OBJECT PROPERTIES --> 655 <dd> 656 <dl> 657 <div style="display: none; "> 658 <div> 659 </div> 660 </div> 661 </dl> 662 </dd> 663 664 <!-- FUNCTION PARAMETERS --> 665 <dd style="display: none; "> 666 <div></div> 667 </dd> 668 669 </div> 670 </div> 671 </dl> 672 673 </div> <!-- /decription --> 674 675 </div> <!-- /apiItem --> 676 677 </div> <!-- /apiGroup --> 678 679 <!-- TYPES --> 680 <div class="apiGroup"> 681 <a name="types"></a> 682 <h3 id="types">Types</h3> 683 684 <!-- iterates over all types --> 685 <div class="apiItem"> 686 <a name="type-Process"></a> 687 <h4>Process</h4> 688 689 <div> 690 <dt> 691 <var style="display: none; ">paramName</var> 692 <em> 693 694 <!-- TYPE --> 695 <div style="display:inline"> 696 ( 697 <span class="optional" style="display: none; ">optional</span> 698 <span class="enum" style="display: none; ">enumerated</span> 699 <span id="typeTemplate"> 700 <span style="display: none; "> 701 <a> Type</a> 702 </span> 703 <span> 704 <span style="display: none; "> 705 array of <span><span></span></span> 706 </span> 707 <span>object</span> 708 <span style="display: none; "></span> 709 </span> 710 </span> 711 ) 712 </div> 713 714 </em> 715 </dt> 716 <dd class="todo" style="display: none; "> 717 Undocumented. 718 </dd> 719 <dd>An object containing information about one of the browser's processes.</dd> 720 <dd style="display: none; "> 721 This parameter was added in version 722 <b><span></span></b>. 723 You must omit this parameter in earlier versions, 724 and you may omit it in any version. If you require this 725 parameter, the manifest key 726 <a href="manifest.html#minimum_chrome_version">minimum_chrome_version</a> 727 can ensure that your extension won't be run in an earlier browser version. 728 </dd> 729 730 <!-- OBJECT PROPERTIES --> 731 <dd> 732 <dl> 733 <div> 734 <div> 735 <dt> 736 <var>id</var> 737 <em> 738 739 <!-- TYPE --> 740 <div style="display:inline"> 741 ( 742 <span class="optional" style="display: none; ">optional</span> 743 <span class="enum" style="display: none; ">enumerated</span> 744 <span id="typeTemplate"> 745 <span style="display: none; "> 746 <a> Type</a> 747 </span> 748 <span> 749 <span style="display: none; "> 750 array of <span><span></span></span> 751 </span> 752 <span>integer</span> 753 <span style="display: none; "></span> 754 </span> 755 </span> 756 ) 757 </div> 758 759 </em> 760 </dt> 761 <dd class="todo" style="display: none; "> 762 Undocumented. 763 </dd> 764 <dd>The ID of the process, as provided by the OS.</dd> 765 <dd style="display: none; "> 766 This parameter was added in version 767 <b><span></span></b>. 768 You must omit this parameter in earlier versions, 769 and you may omit it in any version. If you require this 770 parameter, the manifest key 771 <a href="manifest.html#minimum_chrome_version">minimum_chrome_version</a> 772 can ensure that your extension won't be run in an earlier browser version. 773 </dd> 774 775 <!-- OBJECT PROPERTIES --> 776 <dd style="display: none; "> 777 <dl> 778 <div> 779 <div> 780 </div> 781 </div> 782 </dl> 783 </dd> 784 785 <!-- FUNCTION PARAMETERS --> 786 <dd style="display: none; "> 787 <div></div> 788 </dd> 789 790 </div> 791 </div><div> 792 <div> 793 <dt> 794 <var>type</var> 795 <em> 796 797 <!-- TYPE --> 798 <div style="display:inline"> 799 ( 800 <span class="optional" style="display: none; ">optional</span> 801 <span class="enum">enumerated</span> 802 <span id="typeTemplate"> 803 <span style="display: none; "> 804 <a> Type</a> 805 </span> 806 <span> 807 <span style="display: none; "> 808 array of <span><span></span></span> 809 </span> 810 <span>string</span> 811 <span>["browser", "renderer", "extension", "notification", "plugin", "worker", "nacl", "utility", "gpu", "other"]</span> 812 </span> 813 </span> 814 ) 815 </div> 816 817 </em> 818 </dt> 819 <dd class="todo" style="display: none; "> 820 Undocumented. 821 </dd> 822 <dd>The type of process.</dd> 823 <dd style="display: none; "> 824 This parameter was added in version 825 <b><span></span></b>. 826 You must omit this parameter in earlier versions, 827 and you may omit it in any version. If you require this 828 parameter, the manifest key 829 <a href="manifest.html#minimum_chrome_version">minimum_chrome_version</a> 830 can ensure that your extension won't be run in an earlier browser version. 831 </dd> 832 833 <!-- OBJECT PROPERTIES --> 834 <dd style="display: none; "> 835 <dl> 836 <div> 837 <div> 838 </div> 839 </div> 840 </dl> 841 </dd> 842 843 <!-- FUNCTION PARAMETERS --> 844 <dd style="display: none; "> 845 <div></div> 846 </dd> 847 848 </div> 849 </div><div> 850 <div> 851 <dt> 852 <var>cpu</var> 853 <em> 854 855 <!-- TYPE --> 856 <div style="display:inline"> 857 ( 858 <span class="optional" style="display: none; ">optional</span> 859 <span class="enum" style="display: none; ">enumerated</span> 860 <span id="typeTemplate"> 861 <span style="display: none; "> 862 <a> Type</a> 863 </span> 864 <span> 865 <span style="display: none; "> 866 array of <span><span></span></span> 867 </span> 868 <span>number</span> 869 <span style="display: none; "></span> 870 </span> 871 </span> 872 ) 873 </div> 874 875 </em> 876 </dt> 877 <dd class="todo" style="display: none; "> 878 Undocumented. 879 </dd> 880 <dd>The most recent measurement of the process's CPU usage, between 0 and 100%.</dd> 881 <dd style="display: none; "> 882 This parameter was added in version 883 <b><span></span></b>. 884 You must omit this parameter in earlier versions, 885 and you may omit it in any version. If you require this 886 parameter, the manifest key 887 <a href="manifest.html#minimum_chrome_version">minimum_chrome_version</a> 888 can ensure that your extension won't be run in an earlier browser version. 889 </dd> 890 891 <!-- OBJECT PROPERTIES --> 892 <dd style="display: none; "> 893 <dl> 894 <div> 895 <div> 896 </div> 897 </div> 898 </dl> 899 </dd> 900 901 <!-- FUNCTION PARAMETERS --> 902 <dd style="display: none; "> 903 <div></div> 904 </dd> 905 906 </div> 907 </div><div> 908 <div> 909 <dt> 910 <var>network</var> 911 <em> 912 913 <!-- TYPE --> 914 <div style="display:inline"> 915 ( 916 <span class="optional" style="display: none; ">optional</span> 917 <span class="enum" style="display: none; ">enumerated</span> 918 <span id="typeTemplate"> 919 <span style="display: none; "> 920 <a> Type</a> 921 </span> 922 <span> 923 <span style="display: none; "> 924 array of <span><span></span></span> 925 </span> 926 <span>number</span> 927 <span style="display: none; "></span> 928 </span> 929 </span> 930 ) 931 </div> 932 933 </em> 934 </dt> 935 <dd class="todo" style="display: none; "> 936 Undocumented. 937 </dd> 938 <dd>The most recent measurement of the process's network usage, in bytes per second.</dd> 939 <dd style="display: none; "> 940 This parameter was added in version 941 <b><span></span></b>. 942 You must omit this parameter in earlier versions, 943 and you may omit it in any version. If you require this 944 parameter, the manifest key 945 <a href="manifest.html#minimum_chrome_version">minimum_chrome_version</a> 946 can ensure that your extension won't be run in an earlier browser version. 947 </dd> 948 949 <!-- OBJECT PROPERTIES --> 950 <dd style="display: none; "> 951 <dl> 952 <div> 953 <div> 954 </div> 955 </div> 956 </dl> 957 </dd> 958 959 <!-- FUNCTION PARAMETERS --> 960 <dd style="display: none; "> 961 <div></div> 962 </dd> 963 964 </div> 965 </div><div> 966 <div> 967 <dt> 968 <var>privateMemory</var> 969 <em> 970 971 <!-- TYPE --> 972 <div style="display:inline"> 973 ( 974 <span class="optional" style="display: none; ">optional</span> 975 <span class="enum" style="display: none; ">enumerated</span> 976 <span id="typeTemplate"> 977 <span style="display: none; "> 978 <a> Type</a> 979 </span> 980 <span> 981 <span style="display: none; "> 982 array of <span><span></span></span> 983 </span> 984 <span>number</span> 985 <span style="display: none; "></span> 986 </span> 987 </span> 988 ) 989 </div> 990 991 </em> 992 </dt> 993 <dd class="todo" style="display: none; "> 994 Undocumented. 995 </dd> 996 <dd>The most recent measurement of the process's private memory usage, in bytes.</dd> 997 <dd style="display: none; "> 998 This parameter was added in version 999 <b><span></span></b>. 1000 You must omit this parameter in earlier versions, 1001 and you may omit it in any version. If you require this 1002 parameter, the manifest key 1003 <a href="manifest.html#minimum_chrome_version">minimum_chrome_version</a> 1004 can ensure that your extension won't be run in an earlier browser version. 1005 </dd> 1006 1007 <!-- OBJECT PROPERTIES --> 1008 <dd style="display: none; "> 1009 <dl> 1010 <div> 1011 <div> 1012 </div> 1013 </div> 1014 </dl> 1015 </dd> 1016 1017 <!-- FUNCTION PARAMETERS --> 1018 <dd style="display: none; "> 1019 <div></div> 1020 </dd> 1021 1022 </div> 1023 </div><div> 1024 <div> 1025 <dt> 1026 <var>sharedMemory</var> 1027 <em> 1028 1029 <!-- TYPE --> 1030 <div style="display:inline"> 1031 ( 1032 <span class="optional" style="display: none; ">optional</span> 1033 <span class="enum" style="display: none; ">enumerated</span> 1034 <span id="typeTemplate"> 1035 <span style="display: none; "> 1036 <a> Type</a> 1037 </span> 1038 <span> 1039 <span style="display: none; "> 1040 array of <span><span></span></span> 1041 </span> 1042 <span>number</span> 1043 <span style="display: none; "></span> 1044 </span> 1045 </span> 1046 ) 1047 </div> 1048 1049 </em> 1050 </dt> 1051 <dd class="todo" style="display: none; "> 1052 Undocumented. 1053 </dd> 1054 <dd>The most recent measurement of the process's shared memory usage, in bytes.</dd> 1055 <dd style="display: none; "> 1056 This parameter was added in version 1057 <b><span></span></b>. 1058 You must omit this parameter in earlier versions, 1059 and you may omit it in any version. If you require this 1060 parameter, the manifest key 1061 <a href="manifest.html#minimum_chrome_version">minimum_chrome_version</a> 1062 can ensure that your extension won't be run in an earlier browser version. 1063 </dd> 1064 1065 <!-- OBJECT PROPERTIES --> 1066 <dd style="display: none; "> 1067 <dl> 1068 <div> 1069 <div> 1070 </div> 1071 </div> 1072 </dl> 1073 </dd> 1074 1075 <!-- FUNCTION PARAMETERS --> 1076 <dd style="display: none; "> 1077 <div></div> 1078 </dd> 1079 1080 </div> 1081 </div> 1082 </dl> 1083 </dd> 1084 1085 <!-- FUNCTION PARAMETERS --> 1086 <dd style="display: none; "> 1087 <div></div> 1088 </dd> 1089 1090 </div> 1091 1092 </div> <!-- /apiItem --> 1093 1094 </div> <!-- /apiGroup --> 1095 1096 </div> <!-- /apiPage --> 1097 </div> <!-- /gc-pagecontent --> 1098 </div> <!-- /g-section --> 1099 </div> <!-- /codesiteContent --> 1100 <div id="gc-footer" --=""> 1101 <div class="text"> 1102 <p> 1103 Except as otherwise <a href="http://code.google.com/policies.html#restrictions">noted</a>, 1104 the content of this page is licensed under the <a rel="license" href="http://creativecommons.org/licenses/by/3.0/">Creative Commons 1105 Attribution 3.0 License</a>, and code samples are licensed under the 1106 <a rel="license" href="http://code.google.com/google_bsd_license.html">BSD License</a>. 1107 </p> 1108 <p> 1109 ©2010 Google 1110 </p> 1111 1112<!-- begin analytics --> 1113<script src="http://www.google-analytics.com/urchin.js" type="text/javascript"></script> 1114<script src="http://www.google-analytics.com/ga.js" type="text/javascript"></script> 1115 1116<script type="text/javascript"> 1117 // chrome doc tracking 1118 try { 1119 var engdocs = _gat._getTracker("YT-10763712-2"); 1120 engdocs._trackPageview(); 1121 } catch(err) {} 1122 1123 // code.google.com site-wide tracking 1124 try { 1125 _uacct="UA-18071-1"; 1126 _uanchor=1; 1127 _uff=0; 1128 urchinTracker(); 1129 } 1130 catch(e) {/* urchinTracker not available. */} 1131</script> 1132<!-- end analytics --> 1133 </div> 1134 </div> <!-- /gc-footer --> 1135 </div> <!-- /gc-container --> 1136</body></html> 1137