OLD | NEW |
(Empty) | |
| 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/jstempla
te_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.offscreenTabs - Google Chrome Extensions - Google C
ode</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_versio
n</a> |
| 71 can ensure that your extension won't be run in an earlier browser ve
rsion. |
| 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/c
ode_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_cvz
fqtno"> |
| 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="Se
arch"> |
| 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"></scr
ipt> |
| 134 <script type="text/javascript">google.load("elements", "1", {packages:
"transliteration"});</script> |
| 135 <script type="text/javascript" src="http://www.google.com/coop/cse/t13
n?form=cse&t13n_langs=en"></script> |
| 136 <script type="text/javascript" src="http://www.google.com/coop/cse/bra
nd?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/">Lab
s</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 documen
tation">Docs</a> |
| 152 </li> |
| 153 <li id="faq_link"> |
| 154 <a href="faq.html" title="Answers to frequently asked questions abou
t 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-exte
nsions" 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="i18n.html">Internationalization</a></li> |
| 203 <li><a href="messaging.html">Message Passing</a></li> |
| 204 <li><a href="npapi.html">NPAPI Plugins</a></li> |
| 205 </ul> |
| 206 </li> |
| 207 <li>Finishing |
| 208 <ul> |
| 209 <li><a href="hosting.html">Hosting</a></li> |
| 210 <li><a href="external_extensions.html">Other Deployment Option
s</a></li> |
| 211 </ul> |
| 212 </li> |
| 213 </ul> |
| 214 </li> |
| 215 <li><h2><a href="apps.html">Packaged Apps</a></h2></li> |
| 216 <li><h2><a href="tutorials.html">Tutorials</a></h2> |
| 217 <ul> |
| 218 <li><a href="tut_debugging.html">Debugging</a></li> |
| 219 <li><a href="tut_analytics.html">Google Analytics</a></li> |
| 220 <li><a href="tut_oauth.html">OAuth</a></li> |
| 221 </ul> |
| 222 </li> |
| 223 <li><h2>Reference</h2> |
| 224 <ul> |
| 225 <li>Formats |
| 226 <ul> |
| 227 <li><a href="manifest.html">Manifest Files</a></li> |
| 228 <li><a href="match_patterns.html">Match Patterns</a></li> |
| 229 </ul> |
| 230 </li> |
| 231 <li><a href="permission_warnings.html">Permission Warnings</a></li
> |
| 232 <li><a href="api_index.html">chrome.* APIs</a></li> |
| 233 <li><a href="api_other.html">Other APIs</a></li> |
| 234 </ul> |
| 235 </li> |
| 236 <li><h2><a href="samples.html">Samples</a></h2></li> |
| 237 <div class="line"> </div> |
| 238 <li><h2>More</h2> |
| 239 <ul> |
| 240 <li><a href="http://code.google.com/chrome/webstore/docs/index.htm
l">Chrome Web Store</a></li> |
| 241 <li><a href="http://code.google.com/chrome/apps/docs/developers_gu
ide.html">Hosted Apps</a></li> |
| 242 <li><a href="themes.html">Themes</a></li> |
| 243 </ul> |
| 244 </li> |
| 245 </ul> |
| 246 </div> |
| 247 <script> |
| 248 initToggles(); |
| 249 </script> |
| 250 |
| 251 <div class="g-unit" id="gc-pagecontent"> |
| 252 <div id="pageTitle"> |
| 253 <h1 class="page_title">chrome.experimental.offscreenTabs</h1> |
| 254 </div> |
| 255 <!-- TABLE OF CONTENTS --> |
| 256 <div id="toc"> |
| 257 <h2>Contents</h2> |
| 258 <ol> |
| 259 <li style="display: none; "> |
| 260 <a>h2Name</a> |
| 261 <ol> |
| 262 <li> |
| 263 <a>h3Name</a> |
| 264 </li> |
| 265 </ol> |
| 266 </li> |
| 267 <li> |
| 268 <a href="#apiReference">API reference: chrome.experimental.offsc
reenTabs</a> |
| 269 <ol> |
| 270 <li style="display: none; "> |
| 271 <a href="#properties">Properties</a> |
| 272 <ol> |
| 273 <li> |
| 274 <a href="#property-anchor">propertyName</a> |
| 275 </li> |
| 276 </ol> |
| 277 </li> |
| 278 <li> |
| 279 <a href="#global-methods">Methods</a> |
| 280 <ol> |
| 281 <li> |
| 282 <a href="#method-create">create</a> |
| 283 </li><li> |
| 284 <a href="#method-get">get</a> |
| 285 </li><li> |
| 286 <a href="#method-getAll">getAll</a> |
| 287 </li><li> |
| 288 <a href="#method-remove">remove</a> |
| 289 </li><li> |
| 290 <a href="#method-sendKeyboardEvent">sendKeyboardEvent</a
> |
| 291 </li><li> |
| 292 <a href="#method-sendMouseEvent">sendMouseEvent</a> |
| 293 </li><li> |
| 294 <a href="#method-toDataUrl">toDataUrl</a> |
| 295 </li><li> |
| 296 <a href="#method-update">update</a> |
| 297 </li> |
| 298 </ol> |
| 299 </li> |
| 300 <li> |
| 301 <a href="#global-events">Events</a> |
| 302 <ol> |
| 303 <li> |
| 304 <a href="#event-onCreated">onCreated</a> |
| 305 </li><li> |
| 306 <a href="#event-onUpdated">onUpdated</a> |
| 307 </li> |
| 308 </ol> |
| 309 </li> |
| 310 <li> |
| 311 <a href="#types">Types</a> |
| 312 <ol> |
| 313 <li> |
| 314 <a href="#type-OffscreenTab">OffscreenTab</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"> |
| 326 For information on how to use experimental APIs, see the <a href="expe
rimental.html">chrome.experimental.* APIs</a> page. |
| 327 </p> |
| 328 |
| 329 <!-- STATIC CONTENT PLACEHOLDER --> |
| 330 <div id="static"></div> |
| 331 |
| 332 <!-- API PAGE --> |
| 333 <div class="apiPage"> |
| 334 <a name="apiReference"></a> |
| 335 <h2>API reference: chrome.experimental.offscreenTabs</h2> |
| 336 |
| 337 <!-- PROPERTIES --> |
| 338 <div class="apiGroup" style="display: none; "> |
| 339 <a name="properties"></a> |
| 340 <h3 id="properties">Properties</h3> |
| 341 |
| 342 <div> |
| 343 <a></a> |
| 344 <h4>getLastError</h4> |
| 345 <div class="summary"> |
| 346 <!-- Note: intentionally longer 80 columns --> |
| 347 <span>chrome.extension</span><span>lastError</span> |
| 348 </div> |
| 349 <div> |
| 350 </div> |
| 351 </div> |
| 352 |
| 353 </div> <!-- /apiGroup --> |
| 354 |
| 355 <!-- METHODS --> |
| 356 <div id="methodsTemplate" class="apiGroup"> |
| 357 <a name="global-methods"></a> |
| 358 <h3>Methods</h3> |
| 359 |
| 360 <!-- iterates over all functions --> |
| 361 <div class="apiItem"> |
| 362 <a name="method-create"></a> <!-- method-anchor --> |
| 363 <h4>create</h4> |
| 364 |
| 365 <div class="summary"><span style="display: none; ">void</span> |
| 366 <!-- Note: intentionally longer 80 columns --> |
| 367 <span>chrome.experimental.offscreenTabs.create</span>(<span cl
ass="null"><span style="display: none; ">, </span><span>object</span> |
| 368 <var><span>createProperties</span></var></span><span class
="optional"><span>, </span><span>function</span> |
| 369 <var><span>callback</span></var></span>)</div> |
| 370 |
| 371 <div class="description"> |
| 372 <p class="todo" style="display: none; ">Undocumented.</p> |
| 373 <p>Creates a new offscreen tab.</p> |
| 374 |
| 375 <!-- PARAMETERS --> |
| 376 <h4>Parameters</h4> |
| 377 <dl> |
| 378 <div> |
| 379 <div> |
| 380 <dt> |
| 381 <var>createProperties</var> |
| 382 <em> |
| 383 |
| 384 <!-- TYPE --> |
| 385 <div style="display:inline"> |
| 386 ( |
| 387 <span class="optional" style="display: none; ">optional</spa
n> |
| 388 <span class="enum" style="display: none; ">enumerated</span> |
| 389 <span id="typeTemplate"> |
| 390 <span style="display: none; "> |
| 391 <a> Type</a> |
| 392 </span> |
| 393 <span> |
| 394 <span style="display: none; "> |
| 395 array of <span><span></span></span> |
| 396 </span> |
| 397 <span>object</span> |
| 398 <span style="display: none; "></span> |
| 399 </span> |
| 400 </span> |
| 401 ) |
| 402 </div> |
| 403 |
| 404 </em> |
| 405 </dt> |
| 406 <dd class="todo"> |
| 407 Undocumented. |
| 408 </dd> |
| 409 <dd style="display: none; "> |
| 410 Description of this parameter from the json schema. |
| 411 </dd> |
| 412 <dd style="display: none; "> |
| 413 This parameter was added in version |
| 414 <b><span></span></b>. |
| 415 You must omit this parameter in earlier versions, |
| 416 and you may omit it in any version. If you require this |
| 417 parameter, the manifest key |
| 418 <a href="manifest.html#minimum_chrome_version">minimum_chrome_versio
n</a> |
| 419 can ensure that your extension won't be run in an earlier browser ve
rsion. |
| 420 </dd> |
| 421 |
| 422 <!-- OBJECT PROPERTIES --> |
| 423 <dd> |
| 424 <dl> |
| 425 <div> |
| 426 <div> |
| 427 <dt> |
| 428 <var>url</var> |
| 429 <em> |
| 430 |
| 431 <!-- TYPE --> |
| 432 <div style="display:inline"> |
| 433 ( |
| 434 <span class="optional" style="display: none; ">optional</spa
n> |
| 435 <span class="enum" style="display: none; ">enumerated</span> |
| 436 <span id="typeTemplate"> |
| 437 <span style="display: none; "> |
| 438 <a> Type</a> |
| 439 </span> |
| 440 <span> |
| 441 <span style="display: none; "> |
| 442 array of <span><span></span></span> |
| 443 </span> |
| 444 <span>string</span> |
| 445 <span style="display: none; "></span> |
| 446 </span> |
| 447 </span> |
| 448 ) |
| 449 </div> |
| 450 |
| 451 </em> |
| 452 </dt> |
| 453 <dd class="todo" style="display: none; "> |
| 454 Undocumented. |
| 455 </dd> |
| 456 <dd>The URL to navigate the offscreen tab to initially. Fully-qualifie
d URLs must include a scheme (i.e. 'http://www.google.com', not 'www.google.com'
). Relative URLs will be relative to the current page within the extension.</dd> |
| 457 <dd style="display: none; "> |
| 458 This parameter was added in version |
| 459 <b><span></span></b>. |
| 460 You must omit this parameter in earlier versions, |
| 461 and you may omit it in any version. If you require this |
| 462 parameter, the manifest key |
| 463 <a href="manifest.html#minimum_chrome_version">minimum_chrome_versio
n</a> |
| 464 can ensure that your extension won't be run in an earlier browser ve
rsion. |
| 465 </dd> |
| 466 |
| 467 <!-- OBJECT PROPERTIES --> |
| 468 <dd style="display: none; "> |
| 469 <dl> |
| 470 <div> |
| 471 <div> |
| 472 </div> |
| 473 </div> |
| 474 </dl> |
| 475 </dd> |
| 476 |
| 477 <!-- OBJECT METHODS --> |
| 478 <dd style="display: none; "> |
| 479 <div></div> |
| 480 </dd> |
| 481 |
| 482 <!-- OBJECT EVENT FIELDS --> |
| 483 <dd style="display: none; "> |
| 484 <div></div> |
| 485 </dd> |
| 486 |
| 487 <!-- FUNCTION PARAMETERS --> |
| 488 <dd style="display: none; "> |
| 489 <div></div> |
| 490 </dd> |
| 491 |
| 492 </div> |
| 493 </div><div> |
| 494 <div> |
| 495 <dt> |
| 496 <var>width</var> |
| 497 <em> |
| 498 |
| 499 <!-- TYPE --> |
| 500 <div style="display:inline"> |
| 501 ( |
| 502 <span class="optional">optional</span> |
| 503 <span class="enum" style="display: none; ">enumerated</span> |
| 504 <span id="typeTemplate"> |
| 505 <span style="display: none; "> |
| 506 <a> Type</a> |
| 507 </span> |
| 508 <span> |
| 509 <span style="display: none; "> |
| 510 array of <span><span></span></span> |
| 511 </span> |
| 512 <span>integer</span> |
| 513 <span style="display: none; "></span> |
| 514 </span> |
| 515 </span> |
| 516 ) |
| 517 </div> |
| 518 |
| 519 </em> |
| 520 </dt> |
| 521 <dd class="todo" style="display: none; "> |
| 522 Undocumented. |
| 523 </dd> |
| 524 <dd>Width of the offscreen tab. Defaults to width of the current tab.<
/dd> |
| 525 <dd style="display: none; "> |
| 526 This parameter was added in version |
| 527 <b><span></span></b>. |
| 528 You must omit this parameter in earlier versions, |
| 529 and you may omit it in any version. If you require this |
| 530 parameter, the manifest key |
| 531 <a href="manifest.html#minimum_chrome_version">minimum_chrome_versio
n</a> |
| 532 can ensure that your extension won't be run in an earlier browser ve
rsion. |
| 533 </dd> |
| 534 |
| 535 <!-- OBJECT PROPERTIES --> |
| 536 <dd style="display: none; "> |
| 537 <dl> |
| 538 <div> |
| 539 <div> |
| 540 </div> |
| 541 </div> |
| 542 </dl> |
| 543 </dd> |
| 544 |
| 545 <!-- OBJECT METHODS --> |
| 546 <dd style="display: none; "> |
| 547 <div></div> |
| 548 </dd> |
| 549 |
| 550 <!-- OBJECT EVENT FIELDS --> |
| 551 <dd style="display: none; "> |
| 552 <div></div> |
| 553 </dd> |
| 554 |
| 555 <!-- FUNCTION PARAMETERS --> |
| 556 <dd style="display: none; "> |
| 557 <div></div> |
| 558 </dd> |
| 559 |
| 560 </div> |
| 561 </div><div> |
| 562 <div> |
| 563 <dt> |
| 564 <var>height</var> |
| 565 <em> |
| 566 |
| 567 <!-- TYPE --> |
| 568 <div style="display:inline"> |
| 569 ( |
| 570 <span class="optional">optional</span> |
| 571 <span class="enum" style="display: none; ">enumerated</span> |
| 572 <span id="typeTemplate"> |
| 573 <span style="display: none; "> |
| 574 <a> Type</a> |
| 575 </span> |
| 576 <span> |
| 577 <span style="display: none; "> |
| 578 array of <span><span></span></span> |
| 579 </span> |
| 580 <span>integer</span> |
| 581 <span style="display: none; "></span> |
| 582 </span> |
| 583 </span> |
| 584 ) |
| 585 </div> |
| 586 |
| 587 </em> |
| 588 </dt> |
| 589 <dd class="todo" style="display: none; "> |
| 590 Undocumented. |
| 591 </dd> |
| 592 <dd>Height of the offscreen tab. Defaults to height of the current tab
.</dd> |
| 593 <dd style="display: none; "> |
| 594 This parameter was added in version |
| 595 <b><span></span></b>. |
| 596 You must omit this parameter in earlier versions, |
| 597 and you may omit it in any version. If you require this |
| 598 parameter, the manifest key |
| 599 <a href="manifest.html#minimum_chrome_version">minimum_chrome_versio
n</a> |
| 600 can ensure that your extension won't be run in an earlier browser ve
rsion. |
| 601 </dd> |
| 602 |
| 603 <!-- OBJECT PROPERTIES --> |
| 604 <dd style="display: none; "> |
| 605 <dl> |
| 606 <div> |
| 607 <div> |
| 608 </div> |
| 609 </div> |
| 610 </dl> |
| 611 </dd> |
| 612 |
| 613 <!-- OBJECT METHODS --> |
| 614 <dd style="display: none; "> |
| 615 <div></div> |
| 616 </dd> |
| 617 |
| 618 <!-- OBJECT EVENT FIELDS --> |
| 619 <dd style="display: none; "> |
| 620 <div></div> |
| 621 </dd> |
| 622 |
| 623 <!-- FUNCTION PARAMETERS --> |
| 624 <dd style="display: none; "> |
| 625 <div></div> |
| 626 </dd> |
| 627 |
| 628 </div> |
| 629 </div> |
| 630 </dl> |
| 631 </dd> |
| 632 |
| 633 <!-- OBJECT METHODS --> |
| 634 <dd style="display: none; "> |
| 635 <div></div> |
| 636 </dd> |
| 637 |
| 638 <!-- OBJECT EVENT FIELDS --> |
| 639 <dd style="display: none; "> |
| 640 <div></div> |
| 641 </dd> |
| 642 |
| 643 <!-- FUNCTION PARAMETERS --> |
| 644 <dd style="display: none; "> |
| 645 <div></div> |
| 646 </dd> |
| 647 |
| 648 </div> |
| 649 </div><div> |
| 650 <div> |
| 651 <dt> |
| 652 <var>callback</var> |
| 653 <em> |
| 654 |
| 655 <!-- TYPE --> |
| 656 <div style="display:inline"> |
| 657 ( |
| 658 <span class="optional">optional</span> |
| 659 <span class="enum" style="display: none; ">enumerated</span> |
| 660 <span id="typeTemplate"> |
| 661 <span style="display: none; "> |
| 662 <a> Type</a> |
| 663 </span> |
| 664 <span> |
| 665 <span style="display: none; "> |
| 666 array of <span><span></span></span> |
| 667 </span> |
| 668 <span>function</span> |
| 669 <span style="display: none; "></span> |
| 670 </span> |
| 671 </span> |
| 672 ) |
| 673 </div> |
| 674 |
| 675 </em> |
| 676 </dt> |
| 677 <dd class="todo"> |
| 678 Undocumented. |
| 679 </dd> |
| 680 <dd style="display: none; "> |
| 681 Description of this parameter from the json schema. |
| 682 </dd> |
| 683 <dd style="display: none; "> |
| 684 This parameter was added in version |
| 685 <b><span></span></b>. |
| 686 You must omit this parameter in earlier versions, |
| 687 and you may omit it in any version. If you require this |
| 688 parameter, the manifest key |
| 689 <a href="manifest.html#minimum_chrome_version">minimum_chrome_versio
n</a> |
| 690 can ensure that your extension won't be run in an earlier browser ve
rsion. |
| 691 </dd> |
| 692 |
| 693 <!-- OBJECT PROPERTIES --> |
| 694 <dd style="display: none; "> |
| 695 <dl> |
| 696 <div> |
| 697 <div> |
| 698 </div> |
| 699 </div> |
| 700 </dl> |
| 701 </dd> |
| 702 |
| 703 <!-- OBJECT METHODS --> |
| 704 <dd style="display: none; "> |
| 705 <div></div> |
| 706 </dd> |
| 707 |
| 708 <!-- OBJECT EVENT FIELDS --> |
| 709 <dd style="display: none; "> |
| 710 <div></div> |
| 711 </dd> |
| 712 |
| 713 <!-- FUNCTION PARAMETERS --> |
| 714 <dd style="display: none; "> |
| 715 <div></div> |
| 716 </dd> |
| 717 |
| 718 </div> |
| 719 </div> |
| 720 </dl> |
| 721 |
| 722 <!-- RETURNS --> |
| 723 <h4 style="display: none; ">Returns</h4> |
| 724 <dl> |
| 725 <div style="display: none; "> |
| 726 <div> |
| 727 </div> |
| 728 </div> |
| 729 </dl> |
| 730 |
| 731 <!-- CALLBACK --> |
| 732 <div> |
| 733 <div> |
| 734 <h4>Callback function</h4> |
| 735 <p style="display: none; "> |
| 736 The callback <em>parameter</em> should specify a function |
| 737 that looks like this: |
| 738 </p> |
| 739 <p> |
| 740 If you specify the <em>callback</em> parameter, it should |
| 741 specify a function that looks like this: |
| 742 </p> |
| 743 |
| 744 <!-- Note: intentionally longer 80 columns --> |
| 745 <pre>function(<span>OffscreenTab offscreenTab</span>) <span cl
ass="subdued">{...}</span>;</pre> |
| 746 <dl> |
| 747 <div> |
| 748 <div> |
| 749 <dt> |
| 750 <var>offscreenTab</var> |
| 751 <em> |
| 752 |
| 753 <!-- TYPE --> |
| 754 <div style="display:inline"> |
| 755 ( |
| 756 <span class="optional">optional</span> |
| 757 <span class="enum" style="display: none; ">enumerated</span> |
| 758 <span id="typeTemplate"> |
| 759 <span> |
| 760 <a href="experimental.offscreenTabs.html#type-OffscreenT
ab">OffscreenTab</a> |
| 761 </span> |
| 762 <span style="display: none; "> |
| 763 <span> |
| 764 array of <span><span></span></span> |
| 765 </span> |
| 766 <span>paramType</span> |
| 767 <span></span> |
| 768 </span> |
| 769 </span> |
| 770 ) |
| 771 </div> |
| 772 |
| 773 </em> |
| 774 </dt> |
| 775 <dd class="todo" style="display: none; "> |
| 776 Undocumented. |
| 777 </dd> |
| 778 <dd>Details of the offscreen tab.</dd> |
| 779 <dd style="display: none; "> |
| 780 This parameter was added in version |
| 781 <b><span></span></b>. |
| 782 You must omit this parameter in earlier versions, |
| 783 and you may omit it in any version. If you require this |
| 784 parameter, the manifest key |
| 785 <a href="manifest.html#minimum_chrome_version">minimum_chrome_versio
n</a> |
| 786 can ensure that your extension won't be run in an earlier browser ve
rsion. |
| 787 </dd> |
| 788 |
| 789 <!-- OBJECT PROPERTIES --> |
| 790 <dd style="display: none; "> |
| 791 <dl> |
| 792 <div> |
| 793 <div> |
| 794 </div> |
| 795 </div> |
| 796 </dl> |
| 797 </dd> |
| 798 |
| 799 <!-- OBJECT METHODS --> |
| 800 <dd style="display: none; "> |
| 801 <div></div> |
| 802 </dd> |
| 803 |
| 804 <!-- OBJECT EVENT FIELDS --> |
| 805 <dd style="display: none; "> |
| 806 <div></div> |
| 807 </dd> |
| 808 |
| 809 <!-- FUNCTION PARAMETERS --> |
| 810 <dd style="display: none; "> |
| 811 <div></div> |
| 812 </dd> |
| 813 |
| 814 </div> |
| 815 </div> |
| 816 </dl> |
| 817 </div> |
| 818 </div> |
| 819 |
| 820 <!-- MIN_VERSION --> |
| 821 <p style="display: none; "> |
| 822 This function was added in version <b><span></span></b>. |
| 823 If you require this function, the manifest key |
| 824 <a href="manifest.html#minimum_chrome_version">minimum_chrome_
version</a> |
| 825 can ensure that your extension won't be run in an earlier brow
ser version. |
| 826 </p> |
| 827 </div> <!-- /description --> |
| 828 |
| 829 </div><div class="apiItem"> |
| 830 <a name="method-get"></a> <!-- method-anchor --> |
| 831 <h4>get</h4> |
| 832 |
| 833 <div class="summary"><span style="display: none; ">void</span> |
| 834 <!-- Note: intentionally longer 80 columns --> |
| 835 <span>chrome.experimental.offscreenTabs.get</span>(<span class
="null"><span style="display: none; ">, </span><span>integer</span> |
| 836 <var><span>offscreenTabId</span></var></span><span class="
null"><span>, </span><span>function</span> |
| 837 <var><span>callback</span></var></span>)</div> |
| 838 |
| 839 <div class="description"> |
| 840 <p class="todo" style="display: none; ">Undocumented.</p> |
| 841 <p>Gets details about the specified offscreen tab.</p> |
| 842 |
| 843 <!-- PARAMETERS --> |
| 844 <h4>Parameters</h4> |
| 845 <dl> |
| 846 <div> |
| 847 <div> |
| 848 <dt> |
| 849 <var>offscreenTabId</var> |
| 850 <em> |
| 851 |
| 852 <!-- TYPE --> |
| 853 <div style="display:inline"> |
| 854 ( |
| 855 <span class="optional" style="display: none; ">optional</spa
n> |
| 856 <span class="enum" style="display: none; ">enumerated</span> |
| 857 <span id="typeTemplate"> |
| 858 <span style="display: none; "> |
| 859 <a> Type</a> |
| 860 </span> |
| 861 <span> |
| 862 <span style="display: none; "> |
| 863 array of <span><span></span></span> |
| 864 </span> |
| 865 <span>integer</span> |
| 866 <span style="display: none; "></span> |
| 867 </span> |
| 868 </span> |
| 869 ) |
| 870 </div> |
| 871 |
| 872 </em> |
| 873 </dt> |
| 874 <dd class="todo" style="display: none; "> |
| 875 Undocumented. |
| 876 </dd> |
| 877 <dd>ID of the offscreen tab.</dd> |
| 878 <dd style="display: none; "> |
| 879 This parameter was added in version |
| 880 <b><span></span></b>. |
| 881 You must omit this parameter in earlier versions, |
| 882 and you may omit it in any version. If you require this |
| 883 parameter, the manifest key |
| 884 <a href="manifest.html#minimum_chrome_version">minimum_chrome_versio
n</a> |
| 885 can ensure that your extension won't be run in an earlier browser ve
rsion. |
| 886 </dd> |
| 887 |
| 888 <!-- OBJECT PROPERTIES --> |
| 889 <dd style="display: none; "> |
| 890 <dl> |
| 891 <div> |
| 892 <div> |
| 893 </div> |
| 894 </div> |
| 895 </dl> |
| 896 </dd> |
| 897 |
| 898 <!-- OBJECT METHODS --> |
| 899 <dd style="display: none; "> |
| 900 <div></div> |
| 901 </dd> |
| 902 |
| 903 <!-- OBJECT EVENT FIELDS --> |
| 904 <dd style="display: none; "> |
| 905 <div></div> |
| 906 </dd> |
| 907 |
| 908 <!-- FUNCTION PARAMETERS --> |
| 909 <dd style="display: none; "> |
| 910 <div></div> |
| 911 </dd> |
| 912 |
| 913 </div> |
| 914 </div><div> |
| 915 <div> |
| 916 <dt> |
| 917 <var>callback</var> |
| 918 <em> |
| 919 |
| 920 <!-- TYPE --> |
| 921 <div style="display:inline"> |
| 922 ( |
| 923 <span class="optional" style="display: none; ">optional</spa
n> |
| 924 <span class="enum" style="display: none; ">enumerated</span> |
| 925 <span id="typeTemplate"> |
| 926 <span style="display: none; "> |
| 927 <a> Type</a> |
| 928 </span> |
| 929 <span> |
| 930 <span style="display: none; "> |
| 931 array of <span><span></span></span> |
| 932 </span> |
| 933 <span>function</span> |
| 934 <span style="display: none; "></span> |
| 935 </span> |
| 936 </span> |
| 937 ) |
| 938 </div> |
| 939 |
| 940 </em> |
| 941 </dt> |
| 942 <dd class="todo"> |
| 943 Undocumented. |
| 944 </dd> |
| 945 <dd style="display: none; "> |
| 946 Description of this parameter from the json schema. |
| 947 </dd> |
| 948 <dd style="display: none; "> |
| 949 This parameter was added in version |
| 950 <b><span></span></b>. |
| 951 You must omit this parameter in earlier versions, |
| 952 and you may omit it in any version. If you require this |
| 953 parameter, the manifest key |
| 954 <a href="manifest.html#minimum_chrome_version">minimum_chrome_versio
n</a> |
| 955 can ensure that your extension won't be run in an earlier browser ve
rsion. |
| 956 </dd> |
| 957 |
| 958 <!-- OBJECT PROPERTIES --> |
| 959 <dd style="display: none; "> |
| 960 <dl> |
| 961 <div> |
| 962 <div> |
| 963 </div> |
| 964 </div> |
| 965 </dl> |
| 966 </dd> |
| 967 |
| 968 <!-- OBJECT METHODS --> |
| 969 <dd style="display: none; "> |
| 970 <div></div> |
| 971 </dd> |
| 972 |
| 973 <!-- OBJECT EVENT FIELDS --> |
| 974 <dd style="display: none; "> |
| 975 <div></div> |
| 976 </dd> |
| 977 |
| 978 <!-- FUNCTION PARAMETERS --> |
| 979 <dd style="display: none; "> |
| 980 <div></div> |
| 981 </dd> |
| 982 |
| 983 </div> |
| 984 </div> |
| 985 </dl> |
| 986 |
| 987 <!-- RETURNS --> |
| 988 <h4 style="display: none; ">Returns</h4> |
| 989 <dl> |
| 990 <div style="display: none; "> |
| 991 <div> |
| 992 </div> |
| 993 </div> |
| 994 </dl> |
| 995 |
| 996 <!-- CALLBACK --> |
| 997 <div> |
| 998 <div> |
| 999 <h4>Callback function</h4> |
| 1000 <p> |
| 1001 The callback <em>parameter</em> should specify a function |
| 1002 that looks like this: |
| 1003 </p> |
| 1004 <p style="display: none; "> |
| 1005 If you specify the <em>callback</em> parameter, it should |
| 1006 specify a function that looks like this: |
| 1007 </p> |
| 1008 |
| 1009 <!-- Note: intentionally longer 80 columns --> |
| 1010 <pre>function(<span>OffscreenTab offscreenTab</span>) <span cl
ass="subdued">{...}</span>;</pre> |
| 1011 <dl> |
| 1012 <div> |
| 1013 <div> |
| 1014 <dt> |
| 1015 <var>offscreenTab</var> |
| 1016 <em> |
| 1017 |
| 1018 <!-- TYPE --> |
| 1019 <div style="display:inline"> |
| 1020 ( |
| 1021 <span class="optional" style="display: none; ">optional</spa
n> |
| 1022 <span class="enum" style="display: none; ">enumerated</span> |
| 1023 <span id="typeTemplate"> |
| 1024 <span> |
| 1025 <a href="experimental.offscreenTabs.html#type-OffscreenT
ab">OffscreenTab</a> |
| 1026 </span> |
| 1027 <span style="display: none; "> |
| 1028 <span> |
| 1029 array of <span><span></span></span> |
| 1030 </span> |
| 1031 <span>paramType</span> |
| 1032 <span></span> |
| 1033 </span> |
| 1034 </span> |
| 1035 ) |
| 1036 </div> |
| 1037 |
| 1038 </em> |
| 1039 </dt> |
| 1040 <dd class="todo" style="display: none; "> |
| 1041 Undocumented. |
| 1042 </dd> |
| 1043 <dd>Details of the offscreen tab.</dd> |
| 1044 <dd style="display: none; "> |
| 1045 This parameter was added in version |
| 1046 <b><span></span></b>. |
| 1047 You must omit this parameter in earlier versions, |
| 1048 and you may omit it in any version. If you require this |
| 1049 parameter, the manifest key |
| 1050 <a href="manifest.html#minimum_chrome_version">minimum_chrome_versio
n</a> |
| 1051 can ensure that your extension won't be run in an earlier browser ve
rsion. |
| 1052 </dd> |
| 1053 |
| 1054 <!-- OBJECT PROPERTIES --> |
| 1055 <dd style="display: none; "> |
| 1056 <dl> |
| 1057 <div> |
| 1058 <div> |
| 1059 </div> |
| 1060 </div> |
| 1061 </dl> |
| 1062 </dd> |
| 1063 |
| 1064 <!-- OBJECT METHODS --> |
| 1065 <dd style="display: none; "> |
| 1066 <div></div> |
| 1067 </dd> |
| 1068 |
| 1069 <!-- OBJECT EVENT FIELDS --> |
| 1070 <dd style="display: none; "> |
| 1071 <div></div> |
| 1072 </dd> |
| 1073 |
| 1074 <!-- FUNCTION PARAMETERS --> |
| 1075 <dd style="display: none; "> |
| 1076 <div></div> |
| 1077 </dd> |
| 1078 |
| 1079 </div> |
| 1080 </div> |
| 1081 </dl> |
| 1082 </div> |
| 1083 </div> |
| 1084 |
| 1085 <!-- MIN_VERSION --> |
| 1086 <p style="display: none; "> |
| 1087 This function was added in version <b><span></span></b>. |
| 1088 If you require this function, the manifest key |
| 1089 <a href="manifest.html#minimum_chrome_version">minimum_chrome_
version</a> |
| 1090 can ensure that your extension won't be run in an earlier brow
ser version. |
| 1091 </p> |
| 1092 </div> <!-- /description --> |
| 1093 |
| 1094 </div><div class="apiItem"> |
| 1095 <a name="method-getAll"></a> <!-- method-anchor --> |
| 1096 <h4>getAll</h4> |
| 1097 |
| 1098 <div class="summary"><span style="display: none; ">void</span> |
| 1099 <!-- Note: intentionally longer 80 columns --> |
| 1100 <span>chrome.experimental.offscreenTabs.getAll</span>(<span cl
ass="null"><span style="display: none; ">, </span><span>function</span> |
| 1101 <var><span>callback</span></var></span>)</div> |
| 1102 |
| 1103 <div class="description"> |
| 1104 <p class="todo" style="display: none; ">Undocumented.</p> |
| 1105 <p>Gets an array of all offscreen tabs.</p> |
| 1106 |
| 1107 <!-- PARAMETERS --> |
| 1108 <h4>Parameters</h4> |
| 1109 <dl> |
| 1110 <div> |
| 1111 <div> |
| 1112 <dt> |
| 1113 <var>callback</var> |
| 1114 <em> |
| 1115 |
| 1116 <!-- TYPE --> |
| 1117 <div style="display:inline"> |
| 1118 ( |
| 1119 <span class="optional" style="display: none; ">optional</spa
n> |
| 1120 <span class="enum" style="display: none; ">enumerated</span> |
| 1121 <span id="typeTemplate"> |
| 1122 <span style="display: none; "> |
| 1123 <a> Type</a> |
| 1124 </span> |
| 1125 <span> |
| 1126 <span style="display: none; "> |
| 1127 array of <span><span></span></span> |
| 1128 </span> |
| 1129 <span>function</span> |
| 1130 <span style="display: none; "></span> |
| 1131 </span> |
| 1132 </span> |
| 1133 ) |
| 1134 </div> |
| 1135 |
| 1136 </em> |
| 1137 </dt> |
| 1138 <dd class="todo"> |
| 1139 Undocumented. |
| 1140 </dd> |
| 1141 <dd style="display: none; "> |
| 1142 Description of this parameter from the json schema. |
| 1143 </dd> |
| 1144 <dd style="display: none; "> |
| 1145 This parameter was added in version |
| 1146 <b><span></span></b>. |
| 1147 You must omit this parameter in earlier versions, |
| 1148 and you may omit it in any version. If you require this |
| 1149 parameter, the manifest key |
| 1150 <a href="manifest.html#minimum_chrome_version">minimum_chrome_versio
n</a> |
| 1151 can ensure that your extension won't be run in an earlier browser ve
rsion. |
| 1152 </dd> |
| 1153 |
| 1154 <!-- OBJECT PROPERTIES --> |
| 1155 <dd style="display: none; "> |
| 1156 <dl> |
| 1157 <div> |
| 1158 <div> |
| 1159 </div> |
| 1160 </div> |
| 1161 </dl> |
| 1162 </dd> |
| 1163 |
| 1164 <!-- OBJECT METHODS --> |
| 1165 <dd style="display: none; "> |
| 1166 <div></div> |
| 1167 </dd> |
| 1168 |
| 1169 <!-- OBJECT EVENT FIELDS --> |
| 1170 <dd style="display: none; "> |
| 1171 <div></div> |
| 1172 </dd> |
| 1173 |
| 1174 <!-- FUNCTION PARAMETERS --> |
| 1175 <dd style="display: none; "> |
| 1176 <div></div> |
| 1177 </dd> |
| 1178 |
| 1179 </div> |
| 1180 </div> |
| 1181 </dl> |
| 1182 |
| 1183 <!-- RETURNS --> |
| 1184 <h4 style="display: none; ">Returns</h4> |
| 1185 <dl> |
| 1186 <div style="display: none; "> |
| 1187 <div> |
| 1188 </div> |
| 1189 </div> |
| 1190 </dl> |
| 1191 |
| 1192 <!-- CALLBACK --> |
| 1193 <div> |
| 1194 <div> |
| 1195 <h4>Callback function</h4> |
| 1196 <p> |
| 1197 The callback <em>parameter</em> should specify a function |
| 1198 that looks like this: |
| 1199 </p> |
| 1200 <p style="display: none; "> |
| 1201 If you specify the <em>callback</em> parameter, it should |
| 1202 specify a function that looks like this: |
| 1203 </p> |
| 1204 |
| 1205 <!-- Note: intentionally longer 80 columns --> |
| 1206 <pre>function(<span>array of OffscreenTab offscreenTabs</span>
) <span class="subdued">{...}</span>;</pre> |
| 1207 <dl> |
| 1208 <div> |
| 1209 <div> |
| 1210 <dt> |
| 1211 <var>offscreenTabs</var> |
| 1212 <em> |
| 1213 |
| 1214 <!-- TYPE --> |
| 1215 <div style="display:inline"> |
| 1216 ( |
| 1217 <span class="optional" style="display: none; ">optional</spa
n> |
| 1218 <span class="enum" style="display: none; ">enumerated</span> |
| 1219 <span id="typeTemplate"> |
| 1220 <span style="display: none; "> |
| 1221 <a> Type</a> |
| 1222 </span> |
| 1223 <span> |
| 1224 <span> |
| 1225 array of <span><span> |
| 1226 <span> |
| 1227 <a href="experimental.offscreenTabs.html#type-OffscreenT
ab">OffscreenTab</a> |
| 1228 </span> |
| 1229 <span style="display: none; "> |
| 1230 <span> |
| 1231 array of <span><span></span></span> |
| 1232 </span> |
| 1233 <span>paramType</span> |
| 1234 <span></span> |
| 1235 </span> |
| 1236 </span></span> |
| 1237 </span> |
| 1238 <span style="display: none; ">paramType</span> |
| 1239 <span style="display: none; "></span> |
| 1240 </span> |
| 1241 </span> |
| 1242 ) |
| 1243 </div> |
| 1244 |
| 1245 </em> |
| 1246 </dt> |
| 1247 <dd class="todo"> |
| 1248 Undocumented. |
| 1249 </dd> |
| 1250 <dd style="display: none; "> |
| 1251 Description of this parameter from the json schema. |
| 1252 </dd> |
| 1253 <dd style="display: none; "> |
| 1254 This parameter was added in version |
| 1255 <b><span></span></b>. |
| 1256 You must omit this parameter in earlier versions, |
| 1257 and you may omit it in any version. If you require this |
| 1258 parameter, the manifest key |
| 1259 <a href="manifest.html#minimum_chrome_version">minimum_chrome_versio
n</a> |
| 1260 can ensure that your extension won't be run in an earlier browser ve
rsion. |
| 1261 </dd> |
| 1262 |
| 1263 <!-- OBJECT PROPERTIES --> |
| 1264 <dd style="display: none; "> |
| 1265 <dl> |
| 1266 <div> |
| 1267 <div> |
| 1268 </div> |
| 1269 </div> |
| 1270 </dl> |
| 1271 </dd> |
| 1272 |
| 1273 <!-- OBJECT METHODS --> |
| 1274 <dd style="display: none; "> |
| 1275 <div></div> |
| 1276 </dd> |
| 1277 |
| 1278 <!-- OBJECT EVENT FIELDS --> |
| 1279 <dd style="display: none; "> |
| 1280 <div></div> |
| 1281 </dd> |
| 1282 |
| 1283 <!-- FUNCTION PARAMETERS --> |
| 1284 <dd style="display: none; "> |
| 1285 <div></div> |
| 1286 </dd> |
| 1287 |
| 1288 </div> |
| 1289 </div> |
| 1290 </dl> |
| 1291 </div> |
| 1292 </div> |
| 1293 |
| 1294 <!-- MIN_VERSION --> |
| 1295 <p style="display: none; "> |
| 1296 This function was added in version <b><span></span></b>. |
| 1297 If you require this function, the manifest key |
| 1298 <a href="manifest.html#minimum_chrome_version">minimum_chrome_
version</a> |
| 1299 can ensure that your extension won't be run in an earlier brow
ser version. |
| 1300 </p> |
| 1301 </div> <!-- /description --> |
| 1302 |
| 1303 </div><div class="apiItem"> |
| 1304 <a name="method-remove"></a> <!-- method-anchor --> |
| 1305 <h4>remove</h4> |
| 1306 |
| 1307 <div class="summary"><span style="display: none; ">void</span> |
| 1308 <!-- Note: intentionally longer 80 columns --> |
| 1309 <span>chrome.experimental.offscreenTabs.remove</span>(<span cl
ass="null"><span style="display: none; ">, </span><span>integer</span> |
| 1310 <var><span>offscreenTabId</span></var></span><span class="
optional"><span>, </span><span>function</span> |
| 1311 <var><span>callback</span></var></span>)</div> |
| 1312 |
| 1313 <div class="description"> |
| 1314 <p class="todo" style="display: none; ">Undocumented.</p> |
| 1315 <p>Removes an offscreen tab.</p> |
| 1316 |
| 1317 <!-- PARAMETERS --> |
| 1318 <h4>Parameters</h4> |
| 1319 <dl> |
| 1320 <div> |
| 1321 <div> |
| 1322 <dt> |
| 1323 <var>offscreenTabId</var> |
| 1324 <em> |
| 1325 |
| 1326 <!-- TYPE --> |
| 1327 <div style="display:inline"> |
| 1328 ( |
| 1329 <span class="optional" style="display: none; ">optional</spa
n> |
| 1330 <span class="enum" style="display: none; ">enumerated</span> |
| 1331 <span id="typeTemplate"> |
| 1332 <span style="display: none; "> |
| 1333 <a> Type</a> |
| 1334 </span> |
| 1335 <span> |
| 1336 <span style="display: none; "> |
| 1337 array of <span><span></span></span> |
| 1338 </span> |
| 1339 <span>integer</span> |
| 1340 <span style="display: none; "></span> |
| 1341 </span> |
| 1342 </span> |
| 1343 ) |
| 1344 </div> |
| 1345 |
| 1346 </em> |
| 1347 </dt> |
| 1348 <dd class="todo" style="display: none; "> |
| 1349 Undocumented. |
| 1350 </dd> |
| 1351 <dd>ID of the offscreen tab.</dd> |
| 1352 <dd style="display: none; "> |
| 1353 This parameter was added in version |
| 1354 <b><span></span></b>. |
| 1355 You must omit this parameter in earlier versions, |
| 1356 and you may omit it in any version. If you require this |
| 1357 parameter, the manifest key |
| 1358 <a href="manifest.html#minimum_chrome_version">minimum_chrome_versio
n</a> |
| 1359 can ensure that your extension won't be run in an earlier browser ve
rsion. |
| 1360 </dd> |
| 1361 |
| 1362 <!-- OBJECT PROPERTIES --> |
| 1363 <dd style="display: none; "> |
| 1364 <dl> |
| 1365 <div> |
| 1366 <div> |
| 1367 </div> |
| 1368 </div> |
| 1369 </dl> |
| 1370 </dd> |
| 1371 |
| 1372 <!-- OBJECT METHODS --> |
| 1373 <dd style="display: none; "> |
| 1374 <div></div> |
| 1375 </dd> |
| 1376 |
| 1377 <!-- OBJECT EVENT FIELDS --> |
| 1378 <dd style="display: none; "> |
| 1379 <div></div> |
| 1380 </dd> |
| 1381 |
| 1382 <!-- FUNCTION PARAMETERS --> |
| 1383 <dd style="display: none; "> |
| 1384 <div></div> |
| 1385 </dd> |
| 1386 |
| 1387 </div> |
| 1388 </div><div> |
| 1389 <div> |
| 1390 <dt> |
| 1391 <var>callback</var> |
| 1392 <em> |
| 1393 |
| 1394 <!-- TYPE --> |
| 1395 <div style="display:inline"> |
| 1396 ( |
| 1397 <span class="optional">optional</span> |
| 1398 <span class="enum" style="display: none; ">enumerated</span> |
| 1399 <span id="typeTemplate"> |
| 1400 <span style="display: none; "> |
| 1401 <a> Type</a> |
| 1402 </span> |
| 1403 <span> |
| 1404 <span style="display: none; "> |
| 1405 array of <span><span></span></span> |
| 1406 </span> |
| 1407 <span>function</span> |
| 1408 <span style="display: none; "></span> |
| 1409 </span> |
| 1410 </span> |
| 1411 ) |
| 1412 </div> |
| 1413 |
| 1414 </em> |
| 1415 </dt> |
| 1416 <dd class="todo"> |
| 1417 Undocumented. |
| 1418 </dd> |
| 1419 <dd style="display: none; "> |
| 1420 Description of this parameter from the json schema. |
| 1421 </dd> |
| 1422 <dd style="display: none; "> |
| 1423 This parameter was added in version |
| 1424 <b><span></span></b>. |
| 1425 You must omit this parameter in earlier versions, |
| 1426 and you may omit it in any version. If you require this |
| 1427 parameter, the manifest key |
| 1428 <a href="manifest.html#minimum_chrome_version">minimum_chrome_versio
n</a> |
| 1429 can ensure that your extension won't be run in an earlier browser ve
rsion. |
| 1430 </dd> |
| 1431 |
| 1432 <!-- OBJECT PROPERTIES --> |
| 1433 <dd style="display: none; "> |
| 1434 <dl> |
| 1435 <div> |
| 1436 <div> |
| 1437 </div> |
| 1438 </div> |
| 1439 </dl> |
| 1440 </dd> |
| 1441 |
| 1442 <!-- OBJECT METHODS --> |
| 1443 <dd style="display: none; "> |
| 1444 <div></div> |
| 1445 </dd> |
| 1446 |
| 1447 <!-- OBJECT EVENT FIELDS --> |
| 1448 <dd style="display: none; "> |
| 1449 <div></div> |
| 1450 </dd> |
| 1451 |
| 1452 <!-- FUNCTION PARAMETERS --> |
| 1453 <dd style="display: none; "> |
| 1454 <div></div> |
| 1455 </dd> |
| 1456 |
| 1457 </div> |
| 1458 </div> |
| 1459 </dl> |
| 1460 |
| 1461 <!-- RETURNS --> |
| 1462 <h4 style="display: none; ">Returns</h4> |
| 1463 <dl> |
| 1464 <div style="display: none; "> |
| 1465 <div> |
| 1466 </div> |
| 1467 </div> |
| 1468 </dl> |
| 1469 |
| 1470 <!-- CALLBACK --> |
| 1471 <div> |
| 1472 <div> |
| 1473 <h4>Callback function</h4> |
| 1474 <p style="display: none; "> |
| 1475 The callback <em>parameter</em> should specify a function |
| 1476 that looks like this: |
| 1477 </p> |
| 1478 <p> |
| 1479 If you specify the <em>callback</em> parameter, it should |
| 1480 specify a function that looks like this: |
| 1481 </p> |
| 1482 |
| 1483 <!-- Note: intentionally longer 80 columns --> |
| 1484 <pre>function(<span>null</span>) <span class="subdued">{...}</
span>;</pre> |
| 1485 <dl> |
| 1486 <div style="display: none; "> |
| 1487 <div> |
| 1488 </div> |
| 1489 </div> |
| 1490 </dl> |
| 1491 </div> |
| 1492 </div> |
| 1493 |
| 1494 <!-- MIN_VERSION --> |
| 1495 <p style="display: none; "> |
| 1496 This function was added in version <b><span></span></b>. |
| 1497 If you require this function, the manifest key |
| 1498 <a href="manifest.html#minimum_chrome_version">minimum_chrome_
version</a> |
| 1499 can ensure that your extension won't be run in an earlier brow
ser version. |
| 1500 </p> |
| 1501 </div> <!-- /description --> |
| 1502 |
| 1503 </div><div class="apiItem"> |
| 1504 <a name="method-sendKeyboardEvent"></a> <!-- method-anchor --> |
| 1505 <h4>sendKeyboardEvent</h4> |
| 1506 |
| 1507 <div class="summary"><span style="display: none; ">void</span> |
| 1508 <!-- Note: intentionally longer 80 columns --> |
| 1509 <span>chrome.experimental.offscreenTabs.sendKeyboardEvent</spa
n>(<span class="null"><span style="display: none; ">, </span><span>integer</span
> |
| 1510 <var><span>offscreenTabId</span></var></span><span class="
null"><span>, </span><span>any</span> |
| 1511 <var><span>keyboardEvent</span></var></span><span class="o
ptional"><span>, </span><span>function</span> |
| 1512 <var><span>callback</span></var></span>)</div> |
| 1513 |
| 1514 <div class="description"> |
| 1515 <p class="todo" style="display: none; ">Undocumented.</p> |
| 1516 <p>Dispatches a keyboard event in the offscreen tab.</p> |
| 1517 |
| 1518 <!-- PARAMETERS --> |
| 1519 <h4>Parameters</h4> |
| 1520 <dl> |
| 1521 <div> |
| 1522 <div> |
| 1523 <dt> |
| 1524 <var>offscreenTabId</var> |
| 1525 <em> |
| 1526 |
| 1527 <!-- TYPE --> |
| 1528 <div style="display:inline"> |
| 1529 ( |
| 1530 <span class="optional" style="display: none; ">optional</spa
n> |
| 1531 <span class="enum" style="display: none; ">enumerated</span> |
| 1532 <span id="typeTemplate"> |
| 1533 <span style="display: none; "> |
| 1534 <a> Type</a> |
| 1535 </span> |
| 1536 <span> |
| 1537 <span style="display: none; "> |
| 1538 array of <span><span></span></span> |
| 1539 </span> |
| 1540 <span>integer</span> |
| 1541 <span style="display: none; "></span> |
| 1542 </span> |
| 1543 </span> |
| 1544 ) |
| 1545 </div> |
| 1546 |
| 1547 </em> |
| 1548 </dt> |
| 1549 <dd class="todo" style="display: none; "> |
| 1550 Undocumented. |
| 1551 </dd> |
| 1552 <dd>ID of the offscreen tab.</dd> |
| 1553 <dd style="display: none; "> |
| 1554 This parameter was added in version |
| 1555 <b><span></span></b>. |
| 1556 You must omit this parameter in earlier versions, |
| 1557 and you may omit it in any version. If you require this |
| 1558 parameter, the manifest key |
| 1559 <a href="manifest.html#minimum_chrome_version">minimum_chrome_versio
n</a> |
| 1560 can ensure that your extension won't be run in an earlier browser ve
rsion. |
| 1561 </dd> |
| 1562 |
| 1563 <!-- OBJECT PROPERTIES --> |
| 1564 <dd style="display: none; "> |
| 1565 <dl> |
| 1566 <div> |
| 1567 <div> |
| 1568 </div> |
| 1569 </div> |
| 1570 </dl> |
| 1571 </dd> |
| 1572 |
| 1573 <!-- OBJECT METHODS --> |
| 1574 <dd style="display: none; "> |
| 1575 <div></div> |
| 1576 </dd> |
| 1577 |
| 1578 <!-- OBJECT EVENT FIELDS --> |
| 1579 <dd style="display: none; "> |
| 1580 <div></div> |
| 1581 </dd> |
| 1582 |
| 1583 <!-- FUNCTION PARAMETERS --> |
| 1584 <dd style="display: none; "> |
| 1585 <div></div> |
| 1586 </dd> |
| 1587 |
| 1588 </div> |
| 1589 </div><div> |
| 1590 <div> |
| 1591 <dt> |
| 1592 <var>keyboardEvent</var> |
| 1593 <em> |
| 1594 |
| 1595 <!-- TYPE --> |
| 1596 <div style="display:inline"> |
| 1597 ( |
| 1598 <span class="optional" style="display: none; ">optional</spa
n> |
| 1599 <span class="enum" style="display: none; ">enumerated</span> |
| 1600 <span id="typeTemplate"> |
| 1601 <span style="display: none; "> |
| 1602 <a> Type</a> |
| 1603 </span> |
| 1604 <span> |
| 1605 <span style="display: none; "> |
| 1606 array of <span><span></span></span> |
| 1607 </span> |
| 1608 <span>any</span> |
| 1609 <span style="display: none; "></span> |
| 1610 </span> |
| 1611 </span> |
| 1612 ) |
| 1613 </div> |
| 1614 |
| 1615 </em> |
| 1616 </dt> |
| 1617 <dd class="todo" style="display: none; "> |
| 1618 Undocumented. |
| 1619 </dd> |
| 1620 <dd>A JavaScript KeyboardEvent object. Supported event types: <i>keydo
wn</i>, <i>keyup</i>, <i>keypress</i>. Note, only <i>keypress</i> produces a vis
ible result on screen.</dd> |
| 1621 <dd style="display: none; "> |
| 1622 This parameter was added in version |
| 1623 <b><span></span></b>. |
| 1624 You must omit this parameter in earlier versions, |
| 1625 and you may omit it in any version. If you require this |
| 1626 parameter, the manifest key |
| 1627 <a href="manifest.html#minimum_chrome_version">minimum_chrome_versio
n</a> |
| 1628 can ensure that your extension won't be run in an earlier browser ve
rsion. |
| 1629 </dd> |
| 1630 |
| 1631 <!-- OBJECT PROPERTIES --> |
| 1632 <dd style="display: none; "> |
| 1633 <dl> |
| 1634 <div> |
| 1635 <div> |
| 1636 </div> |
| 1637 </div> |
| 1638 </dl> |
| 1639 </dd> |
| 1640 |
| 1641 <!-- OBJECT METHODS --> |
| 1642 <dd style="display: none; "> |
| 1643 <div></div> |
| 1644 </dd> |
| 1645 |
| 1646 <!-- OBJECT EVENT FIELDS --> |
| 1647 <dd style="display: none; "> |
| 1648 <div></div> |
| 1649 </dd> |
| 1650 |
| 1651 <!-- FUNCTION PARAMETERS --> |
| 1652 <dd style="display: none; "> |
| 1653 <div></div> |
| 1654 </dd> |
| 1655 |
| 1656 </div> |
| 1657 </div><div> |
| 1658 <div> |
| 1659 <dt> |
| 1660 <var>callback</var> |
| 1661 <em> |
| 1662 |
| 1663 <!-- TYPE --> |
| 1664 <div style="display:inline"> |
| 1665 ( |
| 1666 <span class="optional">optional</span> |
| 1667 <span class="enum" style="display: none; ">enumerated</span> |
| 1668 <span id="typeTemplate"> |
| 1669 <span style="display: none; "> |
| 1670 <a> Type</a> |
| 1671 </span> |
| 1672 <span> |
| 1673 <span style="display: none; "> |
| 1674 array of <span><span></span></span> |
| 1675 </span> |
| 1676 <span>function</span> |
| 1677 <span style="display: none; "></span> |
| 1678 </span> |
| 1679 </span> |
| 1680 ) |
| 1681 </div> |
| 1682 |
| 1683 </em> |
| 1684 </dt> |
| 1685 <dd class="todo"> |
| 1686 Undocumented. |
| 1687 </dd> |
| 1688 <dd style="display: none; "> |
| 1689 Description of this parameter from the json schema. |
| 1690 </dd> |
| 1691 <dd style="display: none; "> |
| 1692 This parameter was added in version |
| 1693 <b><span></span></b>. |
| 1694 You must omit this parameter in earlier versions, |
| 1695 and you may omit it in any version. If you require this |
| 1696 parameter, the manifest key |
| 1697 <a href="manifest.html#minimum_chrome_version">minimum_chrome_versio
n</a> |
| 1698 can ensure that your extension won't be run in an earlier browser ve
rsion. |
| 1699 </dd> |
| 1700 |
| 1701 <!-- OBJECT PROPERTIES --> |
| 1702 <dd style="display: none; "> |
| 1703 <dl> |
| 1704 <div> |
| 1705 <div> |
| 1706 </div> |
| 1707 </div> |
| 1708 </dl> |
| 1709 </dd> |
| 1710 |
| 1711 <!-- OBJECT METHODS --> |
| 1712 <dd style="display: none; "> |
| 1713 <div></div> |
| 1714 </dd> |
| 1715 |
| 1716 <!-- OBJECT EVENT FIELDS --> |
| 1717 <dd style="display: none; "> |
| 1718 <div></div> |
| 1719 </dd> |
| 1720 |
| 1721 <!-- FUNCTION PARAMETERS --> |
| 1722 <dd style="display: none; "> |
| 1723 <div></div> |
| 1724 </dd> |
| 1725 |
| 1726 </div> |
| 1727 </div> |
| 1728 </dl> |
| 1729 |
| 1730 <!-- RETURNS --> |
| 1731 <h4 style="display: none; ">Returns</h4> |
| 1732 <dl> |
| 1733 <div style="display: none; "> |
| 1734 <div> |
| 1735 </div> |
| 1736 </div> |
| 1737 </dl> |
| 1738 |
| 1739 <!-- CALLBACK --> |
| 1740 <div> |
| 1741 <div> |
| 1742 <h4>Callback function</h4> |
| 1743 <p style="display: none; "> |
| 1744 The callback <em>parameter</em> should specify a function |
| 1745 that looks like this: |
| 1746 </p> |
| 1747 <p> |
| 1748 If you specify the <em>callback</em> parameter, it should |
| 1749 specify a function that looks like this: |
| 1750 </p> |
| 1751 |
| 1752 <!-- Note: intentionally longer 80 columns --> |
| 1753 <pre>function(<span>OffscreenTab offscreenTab</span>) <span cl
ass="subdued">{...}</span>;</pre> |
| 1754 <dl> |
| 1755 <div> |
| 1756 <div> |
| 1757 <dt> |
| 1758 <var>offscreenTab</var> |
| 1759 <em> |
| 1760 |
| 1761 <!-- TYPE --> |
| 1762 <div style="display:inline"> |
| 1763 ( |
| 1764 <span class="optional" style="display: none; ">optional</spa
n> |
| 1765 <span class="enum" style="display: none; ">enumerated</span> |
| 1766 <span id="typeTemplate"> |
| 1767 <span> |
| 1768 <a href="experimental.offscreenTabs.html#type-OffscreenT
ab">OffscreenTab</a> |
| 1769 </span> |
| 1770 <span style="display: none; "> |
| 1771 <span> |
| 1772 array of <span><span></span></span> |
| 1773 </span> |
| 1774 <span>paramType</span> |
| 1775 <span></span> |
| 1776 </span> |
| 1777 </span> |
| 1778 ) |
| 1779 </div> |
| 1780 |
| 1781 </em> |
| 1782 </dt> |
| 1783 <dd class="todo" style="display: none; "> |
| 1784 Undocumented. |
| 1785 </dd> |
| 1786 <dd>Details of the offscreen tab.</dd> |
| 1787 <dd style="display: none; "> |
| 1788 This parameter was added in version |
| 1789 <b><span></span></b>. |
| 1790 You must omit this parameter in earlier versions, |
| 1791 and you may omit it in any version. If you require this |
| 1792 parameter, the manifest key |
| 1793 <a href="manifest.html#minimum_chrome_version">minimum_chrome_versio
n</a> |
| 1794 can ensure that your extension won't be run in an earlier browser ve
rsion. |
| 1795 </dd> |
| 1796 |
| 1797 <!-- OBJECT PROPERTIES --> |
| 1798 <dd style="display: none; "> |
| 1799 <dl> |
| 1800 <div> |
| 1801 <div> |
| 1802 </div> |
| 1803 </div> |
| 1804 </dl> |
| 1805 </dd> |
| 1806 |
| 1807 <!-- OBJECT METHODS --> |
| 1808 <dd style="display: none; "> |
| 1809 <div></div> |
| 1810 </dd> |
| 1811 |
| 1812 <!-- OBJECT EVENT FIELDS --> |
| 1813 <dd style="display: none; "> |
| 1814 <div></div> |
| 1815 </dd> |
| 1816 |
| 1817 <!-- FUNCTION PARAMETERS --> |
| 1818 <dd style="display: none; "> |
| 1819 <div></div> |
| 1820 </dd> |
| 1821 |
| 1822 </div> |
| 1823 </div> |
| 1824 </dl> |
| 1825 </div> |
| 1826 </div> |
| 1827 |
| 1828 <!-- MIN_VERSION --> |
| 1829 <p style="display: none; "> |
| 1830 This function was added in version <b><span></span></b>. |
| 1831 If you require this function, the manifest key |
| 1832 <a href="manifest.html#minimum_chrome_version">minimum_chrome_
version</a> |
| 1833 can ensure that your extension won't be run in an earlier brow
ser version. |
| 1834 </p> |
| 1835 </div> <!-- /description --> |
| 1836 |
| 1837 </div><div class="apiItem"> |
| 1838 <a name="method-sendMouseEvent"></a> <!-- method-anchor --> |
| 1839 <h4>sendMouseEvent</h4> |
| 1840 |
| 1841 <div class="summary"><span style="display: none; ">void</span> |
| 1842 <!-- Note: intentionally longer 80 columns --> |
| 1843 <span>chrome.experimental.offscreenTabs.sendMouseEvent</span>(
<span class="null"><span style="display: none; ">, </span><span>integer</span> |
| 1844 <var><span>offscreenTabId</span></var></span><span class="
null"><span>, </span><span>any</span> |
| 1845 <var><span>mouseEvent</span></var></span><span class="opti
onal"><span>, </span><span>integer</span> |
| 1846 <var><span>x</span></var></span><span class="optional"><sp
an>, </span><span>integer</span> |
| 1847 <var><span>y</span></var></span><span class="optional"><sp
an>, </span><span>function</span> |
| 1848 <var><span>callback</span></var></span>)</div> |
| 1849 |
| 1850 <div class="description"> |
| 1851 <p class="todo" style="display: none; ">Undocumented.</p> |
| 1852 <p>Dispatches a mouse event in the offscreen tab.</p> |
| 1853 |
| 1854 <!-- PARAMETERS --> |
| 1855 <h4>Parameters</h4> |
| 1856 <dl> |
| 1857 <div> |
| 1858 <div> |
| 1859 <dt> |
| 1860 <var>offscreenTabId</var> |
| 1861 <em> |
| 1862 |
| 1863 <!-- TYPE --> |
| 1864 <div style="display:inline"> |
| 1865 ( |
| 1866 <span class="optional" style="display: none; ">optional</spa
n> |
| 1867 <span class="enum" style="display: none; ">enumerated</span> |
| 1868 <span id="typeTemplate"> |
| 1869 <span style="display: none; "> |
| 1870 <a> Type</a> |
| 1871 </span> |
| 1872 <span> |
| 1873 <span style="display: none; "> |
| 1874 array of <span><span></span></span> |
| 1875 </span> |
| 1876 <span>integer</span> |
| 1877 <span style="display: none; "></span> |
| 1878 </span> |
| 1879 </span> |
| 1880 ) |
| 1881 </div> |
| 1882 |
| 1883 </em> |
| 1884 </dt> |
| 1885 <dd class="todo" style="display: none; "> |
| 1886 Undocumented. |
| 1887 </dd> |
| 1888 <dd>ID of the offscreen tab.</dd> |
| 1889 <dd style="display: none; "> |
| 1890 This parameter was added in version |
| 1891 <b><span></span></b>. |
| 1892 You must omit this parameter in earlier versions, |
| 1893 and you may omit it in any version. If you require this |
| 1894 parameter, the manifest key |
| 1895 <a href="manifest.html#minimum_chrome_version">minimum_chrome_versio
n</a> |
| 1896 can ensure that your extension won't be run in an earlier browser ve
rsion. |
| 1897 </dd> |
| 1898 |
| 1899 <!-- OBJECT PROPERTIES --> |
| 1900 <dd style="display: none; "> |
| 1901 <dl> |
| 1902 <div> |
| 1903 <div> |
| 1904 </div> |
| 1905 </div> |
| 1906 </dl> |
| 1907 </dd> |
| 1908 |
| 1909 <!-- OBJECT METHODS --> |
| 1910 <dd style="display: none; "> |
| 1911 <div></div> |
| 1912 </dd> |
| 1913 |
| 1914 <!-- OBJECT EVENT FIELDS --> |
| 1915 <dd style="display: none; "> |
| 1916 <div></div> |
| 1917 </dd> |
| 1918 |
| 1919 <!-- FUNCTION PARAMETERS --> |
| 1920 <dd style="display: none; "> |
| 1921 <div></div> |
| 1922 </dd> |
| 1923 |
| 1924 </div> |
| 1925 </div><div> |
| 1926 <div> |
| 1927 <dt> |
| 1928 <var>mouseEvent</var> |
| 1929 <em> |
| 1930 |
| 1931 <!-- TYPE --> |
| 1932 <div style="display:inline"> |
| 1933 ( |
| 1934 <span class="optional" style="display: none; ">optional</spa
n> |
| 1935 <span class="enum" style="display: none; ">enumerated</span> |
| 1936 <span id="typeTemplate"> |
| 1937 <span style="display: none; "> |
| 1938 <a> Type</a> |
| 1939 </span> |
| 1940 <span> |
| 1941 <span style="display: none; "> |
| 1942 array of <span><span></span></span> |
| 1943 </span> |
| 1944 <span>any</span> |
| 1945 <span style="display: none; "></span> |
| 1946 </span> |
| 1947 </span> |
| 1948 ) |
| 1949 </div> |
| 1950 |
| 1951 </em> |
| 1952 </dt> |
| 1953 <dd class="todo" style="display: none; "> |
| 1954 Undocumented. |
| 1955 </dd> |
| 1956 <dd>A JavaScript MouseEvent object. Supported event types: <i>mousedow
n</i>, <i>mouseup</i>, <i>click</i>, <i>mousemove</i>, <i>mousewheel</i>.</dd> |
| 1957 <dd style="display: none; "> |
| 1958 This parameter was added in version |
| 1959 <b><span></span></b>. |
| 1960 You must omit this parameter in earlier versions, |
| 1961 and you may omit it in any version. If you require this |
| 1962 parameter, the manifest key |
| 1963 <a href="manifest.html#minimum_chrome_version">minimum_chrome_versio
n</a> |
| 1964 can ensure that your extension won't be run in an earlier browser ve
rsion. |
| 1965 </dd> |
| 1966 |
| 1967 <!-- OBJECT PROPERTIES --> |
| 1968 <dd style="display: none; "> |
| 1969 <dl> |
| 1970 <div> |
| 1971 <div> |
| 1972 </div> |
| 1973 </div> |
| 1974 </dl> |
| 1975 </dd> |
| 1976 |
| 1977 <!-- OBJECT METHODS --> |
| 1978 <dd style="display: none; "> |
| 1979 <div></div> |
| 1980 </dd> |
| 1981 |
| 1982 <!-- OBJECT EVENT FIELDS --> |
| 1983 <dd style="display: none; "> |
| 1984 <div></div> |
| 1985 </dd> |
| 1986 |
| 1987 <!-- FUNCTION PARAMETERS --> |
| 1988 <dd style="display: none; "> |
| 1989 <div></div> |
| 1990 </dd> |
| 1991 |
| 1992 </div> |
| 1993 </div><div> |
| 1994 <div> |
| 1995 <dt> |
| 1996 <var>x</var> |
| 1997 <em> |
| 1998 |
| 1999 <!-- TYPE --> |
| 2000 <div style="display:inline"> |
| 2001 ( |
| 2002 <span class="optional">optional</span> |
| 2003 <span class="enum" style="display: none; ">enumerated</span> |
| 2004 <span id="typeTemplate"> |
| 2005 <span style="display: none; "> |
| 2006 <a> Type</a> |
| 2007 </span> |
| 2008 <span> |
| 2009 <span style="display: none; "> |
| 2010 array of <span><span></span></span> |
| 2011 </span> |
| 2012 <span>integer</span> |
| 2013 <span style="display: none; "></span> |
| 2014 </span> |
| 2015 </span> |
| 2016 ) |
| 2017 </div> |
| 2018 |
| 2019 </em> |
| 2020 </dt> |
| 2021 <dd class="todo" style="display: none; "> |
| 2022 Undocumented. |
| 2023 </dd> |
| 2024 <dd>X position of where the mouse event should be dispatched on the of
fscreen web page. Not required in the case of a mousewheel event.</dd> |
| 2025 <dd style="display: none; "> |
| 2026 This parameter was added in version |
| 2027 <b><span></span></b>. |
| 2028 You must omit this parameter in earlier versions, |
| 2029 and you may omit it in any version. If you require this |
| 2030 parameter, the manifest key |
| 2031 <a href="manifest.html#minimum_chrome_version">minimum_chrome_versio
n</a> |
| 2032 can ensure that your extension won't be run in an earlier browser ve
rsion. |
| 2033 </dd> |
| 2034 |
| 2035 <!-- OBJECT PROPERTIES --> |
| 2036 <dd style="display: none; "> |
| 2037 <dl> |
| 2038 <div> |
| 2039 <div> |
| 2040 </div> |
| 2041 </div> |
| 2042 </dl> |
| 2043 </dd> |
| 2044 |
| 2045 <!-- OBJECT METHODS --> |
| 2046 <dd style="display: none; "> |
| 2047 <div></div> |
| 2048 </dd> |
| 2049 |
| 2050 <!-- OBJECT EVENT FIELDS --> |
| 2051 <dd style="display: none; "> |
| 2052 <div></div> |
| 2053 </dd> |
| 2054 |
| 2055 <!-- FUNCTION PARAMETERS --> |
| 2056 <dd style="display: none; "> |
| 2057 <div></div> |
| 2058 </dd> |
| 2059 |
| 2060 </div> |
| 2061 </div><div> |
| 2062 <div> |
| 2063 <dt> |
| 2064 <var>y</var> |
| 2065 <em> |
| 2066 |
| 2067 <!-- TYPE --> |
| 2068 <div style="display:inline"> |
| 2069 ( |
| 2070 <span class="optional">optional</span> |
| 2071 <span class="enum" style="display: none; ">enumerated</span> |
| 2072 <span id="typeTemplate"> |
| 2073 <span style="display: none; "> |
| 2074 <a> Type</a> |
| 2075 </span> |
| 2076 <span> |
| 2077 <span style="display: none; "> |
| 2078 array of <span><span></span></span> |
| 2079 </span> |
| 2080 <span>integer</span> |
| 2081 <span style="display: none; "></span> |
| 2082 </span> |
| 2083 </span> |
| 2084 ) |
| 2085 </div> |
| 2086 |
| 2087 </em> |
| 2088 </dt> |
| 2089 <dd class="todo" style="display: none; "> |
| 2090 Undocumented. |
| 2091 </dd> |
| 2092 <dd>Y position of where the mouse event should be dispatched on the of
fscreen web page. Not required in the case of a mousewheel event.</dd> |
| 2093 <dd style="display: none; "> |
| 2094 This parameter was added in version |
| 2095 <b><span></span></b>. |
| 2096 You must omit this parameter in earlier versions, |
| 2097 and you may omit it in any version. If you require this |
| 2098 parameter, the manifest key |
| 2099 <a href="manifest.html#minimum_chrome_version">minimum_chrome_versio
n</a> |
| 2100 can ensure that your extension won't be run in an earlier browser ve
rsion. |
| 2101 </dd> |
| 2102 |
| 2103 <!-- OBJECT PROPERTIES --> |
| 2104 <dd style="display: none; "> |
| 2105 <dl> |
| 2106 <div> |
| 2107 <div> |
| 2108 </div> |
| 2109 </div> |
| 2110 </dl> |
| 2111 </dd> |
| 2112 |
| 2113 <!-- OBJECT METHODS --> |
| 2114 <dd style="display: none; "> |
| 2115 <div></div> |
| 2116 </dd> |
| 2117 |
| 2118 <!-- OBJECT EVENT FIELDS --> |
| 2119 <dd style="display: none; "> |
| 2120 <div></div> |
| 2121 </dd> |
| 2122 |
| 2123 <!-- FUNCTION PARAMETERS --> |
| 2124 <dd style="display: none; "> |
| 2125 <div></div> |
| 2126 </dd> |
| 2127 |
| 2128 </div> |
| 2129 </div><div> |
| 2130 <div> |
| 2131 <dt> |
| 2132 <var>callback</var> |
| 2133 <em> |
| 2134 |
| 2135 <!-- TYPE --> |
| 2136 <div style="display:inline"> |
| 2137 ( |
| 2138 <span class="optional">optional</span> |
| 2139 <span class="enum" style="display: none; ">enumerated</span> |
| 2140 <span id="typeTemplate"> |
| 2141 <span style="display: none; "> |
| 2142 <a> Type</a> |
| 2143 </span> |
| 2144 <span> |
| 2145 <span style="display: none; "> |
| 2146 array of <span><span></span></span> |
| 2147 </span> |
| 2148 <span>function</span> |
| 2149 <span style="display: none; "></span> |
| 2150 </span> |
| 2151 </span> |
| 2152 ) |
| 2153 </div> |
| 2154 |
| 2155 </em> |
| 2156 </dt> |
| 2157 <dd class="todo"> |
| 2158 Undocumented. |
| 2159 </dd> |
| 2160 <dd style="display: none; "> |
| 2161 Description of this parameter from the json schema. |
| 2162 </dd> |
| 2163 <dd style="display: none; "> |
| 2164 This parameter was added in version |
| 2165 <b><span></span></b>. |
| 2166 You must omit this parameter in earlier versions, |
| 2167 and you may omit it in any version. If you require this |
| 2168 parameter, the manifest key |
| 2169 <a href="manifest.html#minimum_chrome_version">minimum_chrome_versio
n</a> |
| 2170 can ensure that your extension won't be run in an earlier browser ve
rsion. |
| 2171 </dd> |
| 2172 |
| 2173 <!-- OBJECT PROPERTIES --> |
| 2174 <dd style="display: none; "> |
| 2175 <dl> |
| 2176 <div> |
| 2177 <div> |
| 2178 </div> |
| 2179 </div> |
| 2180 </dl> |
| 2181 </dd> |
| 2182 |
| 2183 <!-- OBJECT METHODS --> |
| 2184 <dd style="display: none; "> |
| 2185 <div></div> |
| 2186 </dd> |
| 2187 |
| 2188 <!-- OBJECT EVENT FIELDS --> |
| 2189 <dd style="display: none; "> |
| 2190 <div></div> |
| 2191 </dd> |
| 2192 |
| 2193 <!-- FUNCTION PARAMETERS --> |
| 2194 <dd style="display: none; "> |
| 2195 <div></div> |
| 2196 </dd> |
| 2197 |
| 2198 </div> |
| 2199 </div> |
| 2200 </dl> |
| 2201 |
| 2202 <!-- RETURNS --> |
| 2203 <h4 style="display: none; ">Returns</h4> |
| 2204 <dl> |
| 2205 <div style="display: none; "> |
| 2206 <div> |
| 2207 </div> |
| 2208 </div> |
| 2209 </dl> |
| 2210 |
| 2211 <!-- CALLBACK --> |
| 2212 <div> |
| 2213 <div> |
| 2214 <h4>Callback function</h4> |
| 2215 <p style="display: none; "> |
| 2216 The callback <em>parameter</em> should specify a function |
| 2217 that looks like this: |
| 2218 </p> |
| 2219 <p> |
| 2220 If you specify the <em>callback</em> parameter, it should |
| 2221 specify a function that looks like this: |
| 2222 </p> |
| 2223 |
| 2224 <!-- Note: intentionally longer 80 columns --> |
| 2225 <pre>function(<span>OffscreenTab offscreenTab</span>) <span cl
ass="subdued">{...}</span>;</pre> |
| 2226 <dl> |
| 2227 <div> |
| 2228 <div> |
| 2229 <dt> |
| 2230 <var>offscreenTab</var> |
| 2231 <em> |
| 2232 |
| 2233 <!-- TYPE --> |
| 2234 <div style="display:inline"> |
| 2235 ( |
| 2236 <span class="optional" style="display: none; ">optional</spa
n> |
| 2237 <span class="enum" style="display: none; ">enumerated</span> |
| 2238 <span id="typeTemplate"> |
| 2239 <span> |
| 2240 <a href="experimental.offscreenTabs.html#type-OffscreenT
ab">OffscreenTab</a> |
| 2241 </span> |
| 2242 <span style="display: none; "> |
| 2243 <span> |
| 2244 array of <span><span></span></span> |
| 2245 </span> |
| 2246 <span>paramType</span> |
| 2247 <span></span> |
| 2248 </span> |
| 2249 </span> |
| 2250 ) |
| 2251 </div> |
| 2252 |
| 2253 </em> |
| 2254 </dt> |
| 2255 <dd class="todo" style="display: none; "> |
| 2256 Undocumented. |
| 2257 </dd> |
| 2258 <dd>Details of the offscreen tab.</dd> |
| 2259 <dd style="display: none; "> |
| 2260 This parameter was added in version |
| 2261 <b><span></span></b>. |
| 2262 You must omit this parameter in earlier versions, |
| 2263 and you may omit it in any version. If you require this |
| 2264 parameter, the manifest key |
| 2265 <a href="manifest.html#minimum_chrome_version">minimum_chrome_versio
n</a> |
| 2266 can ensure that your extension won't be run in an earlier browser ve
rsion. |
| 2267 </dd> |
| 2268 |
| 2269 <!-- OBJECT PROPERTIES --> |
| 2270 <dd style="display: none; "> |
| 2271 <dl> |
| 2272 <div> |
| 2273 <div> |
| 2274 </div> |
| 2275 </div> |
| 2276 </dl> |
| 2277 </dd> |
| 2278 |
| 2279 <!-- OBJECT METHODS --> |
| 2280 <dd style="display: none; "> |
| 2281 <div></div> |
| 2282 </dd> |
| 2283 |
| 2284 <!-- OBJECT EVENT FIELDS --> |
| 2285 <dd style="display: none; "> |
| 2286 <div></div> |
| 2287 </dd> |
| 2288 |
| 2289 <!-- FUNCTION PARAMETERS --> |
| 2290 <dd style="display: none; "> |
| 2291 <div></div> |
| 2292 </dd> |
| 2293 |
| 2294 </div> |
| 2295 </div> |
| 2296 </dl> |
| 2297 </div> |
| 2298 </div> |
| 2299 |
| 2300 <!-- MIN_VERSION --> |
| 2301 <p style="display: none; "> |
| 2302 This function was added in version <b><span></span></b>. |
| 2303 If you require this function, the manifest key |
| 2304 <a href="manifest.html#minimum_chrome_version">minimum_chrome_
version</a> |
| 2305 can ensure that your extension won't be run in an earlier brow
ser version. |
| 2306 </p> |
| 2307 </div> <!-- /description --> |
| 2308 |
| 2309 </div><div class="apiItem"> |
| 2310 <a name="method-toDataUrl"></a> <!-- method-anchor --> |
| 2311 <h4>toDataUrl</h4> |
| 2312 |
| 2313 <div class="summary"><span style="display: none; ">void</span> |
| 2314 <!-- Note: intentionally longer 80 columns --> |
| 2315 <span>chrome.experimental.offscreenTabs.toDataUrl</span>(<span
class="null"><span style="display: none; ">, </span><span>integer</span> |
| 2316 <var><span>offscreenTabId</span></var></span><span class="
optional"><span>, </span><span>object</span> |
| 2317 <var><span>options</span></var></span><span class="null"><
span>, </span><span>function</span> |
| 2318 <var><span>callback</span></var></span>)</div> |
| 2319 |
| 2320 <div class="description"> |
| 2321 <p class="todo" style="display: none; ">Undocumented.</p> |
| 2322 <p>Captures the visible area of an offscreen tab. </p> |
| 2323 |
| 2324 <!-- PARAMETERS --> |
| 2325 <h4>Parameters</h4> |
| 2326 <dl> |
| 2327 <div> |
| 2328 <div> |
| 2329 <dt> |
| 2330 <var>offscreenTabId</var> |
| 2331 <em> |
| 2332 |
| 2333 <!-- TYPE --> |
| 2334 <div style="display:inline"> |
| 2335 ( |
| 2336 <span class="optional" style="display: none; ">optional</spa
n> |
| 2337 <span class="enum" style="display: none; ">enumerated</span> |
| 2338 <span id="typeTemplate"> |
| 2339 <span style="display: none; "> |
| 2340 <a> Type</a> |
| 2341 </span> |
| 2342 <span> |
| 2343 <span style="display: none; "> |
| 2344 array of <span><span></span></span> |
| 2345 </span> |
| 2346 <span>integer</span> |
| 2347 <span style="display: none; "></span> |
| 2348 </span> |
| 2349 </span> |
| 2350 ) |
| 2351 </div> |
| 2352 |
| 2353 </em> |
| 2354 </dt> |
| 2355 <dd class="todo" style="display: none; "> |
| 2356 Undocumented. |
| 2357 </dd> |
| 2358 <dd>The ID of the offscreen tab.</dd> |
| 2359 <dd style="display: none; "> |
| 2360 This parameter was added in version |
| 2361 <b><span></span></b>. |
| 2362 You must omit this parameter in earlier versions, |
| 2363 and you may omit it in any version. If you require this |
| 2364 parameter, the manifest key |
| 2365 <a href="manifest.html#minimum_chrome_version">minimum_chrome_versio
n</a> |
| 2366 can ensure that your extension won't be run in an earlier browser ve
rsion. |
| 2367 </dd> |
| 2368 |
| 2369 <!-- OBJECT PROPERTIES --> |
| 2370 <dd style="display: none; "> |
| 2371 <dl> |
| 2372 <div> |
| 2373 <div> |
| 2374 </div> |
| 2375 </div> |
| 2376 </dl> |
| 2377 </dd> |
| 2378 |
| 2379 <!-- OBJECT METHODS --> |
| 2380 <dd style="display: none; "> |
| 2381 <div></div> |
| 2382 </dd> |
| 2383 |
| 2384 <!-- OBJECT EVENT FIELDS --> |
| 2385 <dd style="display: none; "> |
| 2386 <div></div> |
| 2387 </dd> |
| 2388 |
| 2389 <!-- FUNCTION PARAMETERS --> |
| 2390 <dd style="display: none; "> |
| 2391 <div></div> |
| 2392 </dd> |
| 2393 |
| 2394 </div> |
| 2395 </div><div> |
| 2396 <div> |
| 2397 <dt> |
| 2398 <var>options</var> |
| 2399 <em> |
| 2400 |
| 2401 <!-- TYPE --> |
| 2402 <div style="display:inline"> |
| 2403 ( |
| 2404 <span class="optional">optional</span> |
| 2405 <span class="enum" style="display: none; ">enumerated</span> |
| 2406 <span id="typeTemplate"> |
| 2407 <span style="display: none; "> |
| 2408 <a> Type</a> |
| 2409 </span> |
| 2410 <span> |
| 2411 <span style="display: none; "> |
| 2412 array of <span><span></span></span> |
| 2413 </span> |
| 2414 <span>object</span> |
| 2415 <span style="display: none; "></span> |
| 2416 </span> |
| 2417 </span> |
| 2418 ) |
| 2419 </div> |
| 2420 |
| 2421 </em> |
| 2422 </dt> |
| 2423 <dd class="todo" style="display: none; "> |
| 2424 Undocumented. |
| 2425 </dd> |
| 2426 <dd>Set parameters of image capture, such as the format of the resulti
ng image.</dd> |
| 2427 <dd style="display: none; "> |
| 2428 This parameter was added in version |
| 2429 <b><span></span></b>. |
| 2430 You must omit this parameter in earlier versions, |
| 2431 and you may omit it in any version. If you require this |
| 2432 parameter, the manifest key |
| 2433 <a href="manifest.html#minimum_chrome_version">minimum_chrome_versio
n</a> |
| 2434 can ensure that your extension won't be run in an earlier browser ve
rsion. |
| 2435 </dd> |
| 2436 |
| 2437 <!-- OBJECT PROPERTIES --> |
| 2438 <dd> |
| 2439 <dl> |
| 2440 <div> |
| 2441 <div> |
| 2442 <dt> |
| 2443 <var>format</var> |
| 2444 <em> |
| 2445 |
| 2446 <!-- TYPE --> |
| 2447 <div style="display:inline"> |
| 2448 ( |
| 2449 <span class="optional">optional</span> |
| 2450 <span class="enum">enumerated</span> |
| 2451 <span id="typeTemplate"> |
| 2452 <span style="display: none; "> |
| 2453 <a> Type</a> |
| 2454 </span> |
| 2455 <span> |
| 2456 <span style="display: none; "> |
| 2457 array of <span><span></span></span> |
| 2458 </span> |
| 2459 <span>string</span> |
| 2460 <span>["jpeg", "png"]</span> |
| 2461 </span> |
| 2462 </span> |
| 2463 ) |
| 2464 </div> |
| 2465 |
| 2466 </em> |
| 2467 </dt> |
| 2468 <dd class="todo" style="display: none; "> |
| 2469 Undocumented. |
| 2470 </dd> |
| 2471 <dd>The format of the resulting image. Default is jpeg.</dd> |
| 2472 <dd style="display: none; "> |
| 2473 This parameter was added in version |
| 2474 <b><span></span></b>. |
| 2475 You must omit this parameter in earlier versions, |
| 2476 and you may omit it in any version. If you require this |
| 2477 parameter, the manifest key |
| 2478 <a href="manifest.html#minimum_chrome_version">minimum_chrome_versio
n</a> |
| 2479 can ensure that your extension won't be run in an earlier browser ve
rsion. |
| 2480 </dd> |
| 2481 |
| 2482 <!-- OBJECT PROPERTIES --> |
| 2483 <dd style="display: none; "> |
| 2484 <dl> |
| 2485 <div> |
| 2486 <div> |
| 2487 </div> |
| 2488 </div> |
| 2489 </dl> |
| 2490 </dd> |
| 2491 |
| 2492 <!-- OBJECT METHODS --> |
| 2493 <dd style="display: none; "> |
| 2494 <div></div> |
| 2495 </dd> |
| 2496 |
| 2497 <!-- OBJECT EVENT FIELDS --> |
| 2498 <dd style="display: none; "> |
| 2499 <div></div> |
| 2500 </dd> |
| 2501 |
| 2502 <!-- FUNCTION PARAMETERS --> |
| 2503 <dd style="display: none; "> |
| 2504 <div></div> |
| 2505 </dd> |
| 2506 |
| 2507 </div> |
| 2508 </div><div> |
| 2509 <div> |
| 2510 <dt> |
| 2511 <var>quality</var> |
| 2512 <em> |
| 2513 |
| 2514 <!-- TYPE --> |
| 2515 <div style="display:inline"> |
| 2516 ( |
| 2517 <span class="optional">optional</span> |
| 2518 <span class="enum" style="display: none; ">enumerated</span> |
| 2519 <span id="typeTemplate"> |
| 2520 <span style="display: none; "> |
| 2521 <a> Type</a> |
| 2522 </span> |
| 2523 <span> |
| 2524 <span style="display: none; "> |
| 2525 array of <span><span></span></span> |
| 2526 </span> |
| 2527 <span>integer</span> |
| 2528 <span style="display: none; "></span> |
| 2529 </span> |
| 2530 </span> |
| 2531 ) |
| 2532 </div> |
| 2533 |
| 2534 </em> |
| 2535 </dt> |
| 2536 <dd class="todo" style="display: none; "> |
| 2537 Undocumented. |
| 2538 </dd> |
| 2539 <dd>When format is 'jpeg', controls the quality of the resulting image
. This value is ignored for PNG images. As quality is decreased, the resulting i
mage will have more visual artifacts, and the number of bytes needed to store it
will decrease.</dd> |
| 2540 <dd style="display: none; "> |
| 2541 This parameter was added in version |
| 2542 <b><span></span></b>. |
| 2543 You must omit this parameter in earlier versions, |
| 2544 and you may omit it in any version. If you require this |
| 2545 parameter, the manifest key |
| 2546 <a href="manifest.html#minimum_chrome_version">minimum_chrome_versio
n</a> |
| 2547 can ensure that your extension won't be run in an earlier browser ve
rsion. |
| 2548 </dd> |
| 2549 |
| 2550 <!-- OBJECT PROPERTIES --> |
| 2551 <dd style="display: none; "> |
| 2552 <dl> |
| 2553 <div> |
| 2554 <div> |
| 2555 </div> |
| 2556 </div> |
| 2557 </dl> |
| 2558 </dd> |
| 2559 |
| 2560 <!-- OBJECT METHODS --> |
| 2561 <dd style="display: none; "> |
| 2562 <div></div> |
| 2563 </dd> |
| 2564 |
| 2565 <!-- OBJECT EVENT FIELDS --> |
| 2566 <dd style="display: none; "> |
| 2567 <div></div> |
| 2568 </dd> |
| 2569 |
| 2570 <!-- FUNCTION PARAMETERS --> |
| 2571 <dd style="display: none; "> |
| 2572 <div></div> |
| 2573 </dd> |
| 2574 |
| 2575 </div> |
| 2576 </div> |
| 2577 </dl> |
| 2578 </dd> |
| 2579 |
| 2580 <!-- OBJECT METHODS --> |
| 2581 <dd style="display: none; "> |
| 2582 <div></div> |
| 2583 </dd> |
| 2584 |
| 2585 <!-- OBJECT EVENT FIELDS --> |
| 2586 <dd style="display: none; "> |
| 2587 <div></div> |
| 2588 </dd> |
| 2589 |
| 2590 <!-- FUNCTION PARAMETERS --> |
| 2591 <dd style="display: none; "> |
| 2592 <div></div> |
| 2593 </dd> |
| 2594 |
| 2595 </div> |
| 2596 </div><div> |
| 2597 <div> |
| 2598 <dt> |
| 2599 <var>callback</var> |
| 2600 <em> |
| 2601 |
| 2602 <!-- TYPE --> |
| 2603 <div style="display:inline"> |
| 2604 ( |
| 2605 <span class="optional" style="display: none; ">optional</spa
n> |
| 2606 <span class="enum" style="display: none; ">enumerated</span> |
| 2607 <span id="typeTemplate"> |
| 2608 <span style="display: none; "> |
| 2609 <a> Type</a> |
| 2610 </span> |
| 2611 <span> |
| 2612 <span style="display: none; "> |
| 2613 array of <span><span></span></span> |
| 2614 </span> |
| 2615 <span>function</span> |
| 2616 <span style="display: none; "></span> |
| 2617 </span> |
| 2618 </span> |
| 2619 ) |
| 2620 </div> |
| 2621 |
| 2622 </em> |
| 2623 </dt> |
| 2624 <dd class="todo"> |
| 2625 Undocumented. |
| 2626 </dd> |
| 2627 <dd style="display: none; "> |
| 2628 Description of this parameter from the json schema. |
| 2629 </dd> |
| 2630 <dd style="display: none; "> |
| 2631 This parameter was added in version |
| 2632 <b><span></span></b>. |
| 2633 You must omit this parameter in earlier versions, |
| 2634 and you may omit it in any version. If you require this |
| 2635 parameter, the manifest key |
| 2636 <a href="manifest.html#minimum_chrome_version">minimum_chrome_versio
n</a> |
| 2637 can ensure that your extension won't be run in an earlier browser ve
rsion. |
| 2638 </dd> |
| 2639 |
| 2640 <!-- OBJECT PROPERTIES --> |
| 2641 <dd style="display: none; "> |
| 2642 <dl> |
| 2643 <div> |
| 2644 <div> |
| 2645 </div> |
| 2646 </div> |
| 2647 </dl> |
| 2648 </dd> |
| 2649 |
| 2650 <!-- OBJECT METHODS --> |
| 2651 <dd style="display: none; "> |
| 2652 <div></div> |
| 2653 </dd> |
| 2654 |
| 2655 <!-- OBJECT EVENT FIELDS --> |
| 2656 <dd style="display: none; "> |
| 2657 <div></div> |
| 2658 </dd> |
| 2659 |
| 2660 <!-- FUNCTION PARAMETERS --> |
| 2661 <dd style="display: none; "> |
| 2662 <div></div> |
| 2663 </dd> |
| 2664 |
| 2665 </div> |
| 2666 </div> |
| 2667 </dl> |
| 2668 |
| 2669 <!-- RETURNS --> |
| 2670 <h4 style="display: none; ">Returns</h4> |
| 2671 <dl> |
| 2672 <div style="display: none; "> |
| 2673 <div> |
| 2674 </div> |
| 2675 </div> |
| 2676 </dl> |
| 2677 |
| 2678 <!-- CALLBACK --> |
| 2679 <div> |
| 2680 <div> |
| 2681 <h4>Callback function</h4> |
| 2682 <p> |
| 2683 The callback <em>parameter</em> should specify a function |
| 2684 that looks like this: |
| 2685 </p> |
| 2686 <p style="display: none; "> |
| 2687 If you specify the <em>callback</em> parameter, it should |
| 2688 specify a function that looks like this: |
| 2689 </p> |
| 2690 |
| 2691 <!-- Note: intentionally longer 80 columns --> |
| 2692 <pre>function(<span>string dataUrl</span>) <span class="subdue
d">{...}</span>;</pre> |
| 2693 <dl> |
| 2694 <div> |
| 2695 <div> |
| 2696 <dt> |
| 2697 <var>dataUrl</var> |
| 2698 <em> |
| 2699 |
| 2700 <!-- TYPE --> |
| 2701 <div style="display:inline"> |
| 2702 ( |
| 2703 <span class="optional" style="display: none; ">optional</spa
n> |
| 2704 <span class="enum" style="display: none; ">enumerated</span> |
| 2705 <span id="typeTemplate"> |
| 2706 <span style="display: none; "> |
| 2707 <a> Type</a> |
| 2708 </span> |
| 2709 <span> |
| 2710 <span style="display: none; "> |
| 2711 array of <span><span></span></span> |
| 2712 </span> |
| 2713 <span>string</span> |
| 2714 <span style="display: none; "></span> |
| 2715 </span> |
| 2716 </span> |
| 2717 ) |
| 2718 </div> |
| 2719 |
| 2720 </em> |
| 2721 </dt> |
| 2722 <dd class="todo" style="display: none; "> |
| 2723 Undocumented. |
| 2724 </dd> |
| 2725 <dd>A data URL which encodes an image of the visible area of the captu
red offscreen tab. May be assigned to the 'src' property of an HTML Image elemen
t or WebGL texture source for display.</dd> |
| 2726 <dd style="display: none; "> |
| 2727 This parameter was added in version |
| 2728 <b><span></span></b>. |
| 2729 You must omit this parameter in earlier versions, |
| 2730 and you may omit it in any version. If you require this |
| 2731 parameter, the manifest key |
| 2732 <a href="manifest.html#minimum_chrome_version">minimum_chrome_versio
n</a> |
| 2733 can ensure that your extension won't be run in an earlier browser ve
rsion. |
| 2734 </dd> |
| 2735 |
| 2736 <!-- OBJECT PROPERTIES --> |
| 2737 <dd style="display: none; "> |
| 2738 <dl> |
| 2739 <div> |
| 2740 <div> |
| 2741 </div> |
| 2742 </div> |
| 2743 </dl> |
| 2744 </dd> |
| 2745 |
| 2746 <!-- OBJECT METHODS --> |
| 2747 <dd style="display: none; "> |
| 2748 <div></div> |
| 2749 </dd> |
| 2750 |
| 2751 <!-- OBJECT EVENT FIELDS --> |
| 2752 <dd style="display: none; "> |
| 2753 <div></div> |
| 2754 </dd> |
| 2755 |
| 2756 <!-- FUNCTION PARAMETERS --> |
| 2757 <dd style="display: none; "> |
| 2758 <div></div> |
| 2759 </dd> |
| 2760 |
| 2761 </div> |
| 2762 </div> |
| 2763 </dl> |
| 2764 </div> |
| 2765 </div> |
| 2766 |
| 2767 <!-- MIN_VERSION --> |
| 2768 <p style="display: none; "> |
| 2769 This function was added in version <b><span></span></b>. |
| 2770 If you require this function, the manifest key |
| 2771 <a href="manifest.html#minimum_chrome_version">minimum_chrome_
version</a> |
| 2772 can ensure that your extension won't be run in an earlier brow
ser version. |
| 2773 </p> |
| 2774 </div> <!-- /description --> |
| 2775 |
| 2776 </div><div class="apiItem"> |
| 2777 <a name="method-update"></a> <!-- method-anchor --> |
| 2778 <h4>update</h4> |
| 2779 |
| 2780 <div class="summary"><span style="display: none; ">void</span> |
| 2781 <!-- Note: intentionally longer 80 columns --> |
| 2782 <span>chrome.experimental.offscreenTabs.update</span>(<span cl
ass="null"><span style="display: none; ">, </span><span>integer</span> |
| 2783 <var><span>offscreenTabId</span></var></span><span class="
null"><span>, </span><span>object</span> |
| 2784 <var><span>updateProperties</span></var></span><span class
="optional"><span>, </span><span>function</span> |
| 2785 <var><span>callback</span></var></span>)</div> |
| 2786 |
| 2787 <div class="description"> |
| 2788 <p class="todo" style="display: none; ">Undocumented.</p> |
| 2789 <p>Modifies the properties of an offscreen tab. Properties that
are not specified in updateProperties are not modified.</p> |
| 2790 |
| 2791 <!-- PARAMETERS --> |
| 2792 <h4>Parameters</h4> |
| 2793 <dl> |
| 2794 <div> |
| 2795 <div> |
| 2796 <dt> |
| 2797 <var>offscreenTabId</var> |
| 2798 <em> |
| 2799 |
| 2800 <!-- TYPE --> |
| 2801 <div style="display:inline"> |
| 2802 ( |
| 2803 <span class="optional" style="display: none; ">optional</spa
n> |
| 2804 <span class="enum" style="display: none; ">enumerated</span> |
| 2805 <span id="typeTemplate"> |
| 2806 <span style="display: none; "> |
| 2807 <a> Type</a> |
| 2808 </span> |
| 2809 <span> |
| 2810 <span style="display: none; "> |
| 2811 array of <span><span></span></span> |
| 2812 </span> |
| 2813 <span>integer</span> |
| 2814 <span style="display: none; "></span> |
| 2815 </span> |
| 2816 </span> |
| 2817 ) |
| 2818 </div> |
| 2819 |
| 2820 </em> |
| 2821 </dt> |
| 2822 <dd class="todo" style="display: none; "> |
| 2823 Undocumented. |
| 2824 </dd> |
| 2825 <dd>The ID of the offscreen tab.</dd> |
| 2826 <dd style="display: none; "> |
| 2827 This parameter was added in version |
| 2828 <b><span></span></b>. |
| 2829 You must omit this parameter in earlier versions, |
| 2830 and you may omit it in any version. If you require this |
| 2831 parameter, the manifest key |
| 2832 <a href="manifest.html#minimum_chrome_version">minimum_chrome_versio
n</a> |
| 2833 can ensure that your extension won't be run in an earlier browser ve
rsion. |
| 2834 </dd> |
| 2835 |
| 2836 <!-- OBJECT PROPERTIES --> |
| 2837 <dd style="display: none; "> |
| 2838 <dl> |
| 2839 <div> |
| 2840 <div> |
| 2841 </div> |
| 2842 </div> |
| 2843 </dl> |
| 2844 </dd> |
| 2845 |
| 2846 <!-- OBJECT METHODS --> |
| 2847 <dd style="display: none; "> |
| 2848 <div></div> |
| 2849 </dd> |
| 2850 |
| 2851 <!-- OBJECT EVENT FIELDS --> |
| 2852 <dd style="display: none; "> |
| 2853 <div></div> |
| 2854 </dd> |
| 2855 |
| 2856 <!-- FUNCTION PARAMETERS --> |
| 2857 <dd style="display: none; "> |
| 2858 <div></div> |
| 2859 </dd> |
| 2860 |
| 2861 </div> |
| 2862 </div><div> |
| 2863 <div> |
| 2864 <dt> |
| 2865 <var>updateProperties</var> |
| 2866 <em> |
| 2867 |
| 2868 <!-- TYPE --> |
| 2869 <div style="display:inline"> |
| 2870 ( |
| 2871 <span class="optional" style="display: none; ">optional</spa
n> |
| 2872 <span class="enum" style="display: none; ">enumerated</span> |
| 2873 <span id="typeTemplate"> |
| 2874 <span style="display: none; "> |
| 2875 <a> Type</a> |
| 2876 </span> |
| 2877 <span> |
| 2878 <span style="display: none; "> |
| 2879 array of <span><span></span></span> |
| 2880 </span> |
| 2881 <span>object</span> |
| 2882 <span style="display: none; "></span> |
| 2883 </span> |
| 2884 </span> |
| 2885 ) |
| 2886 </div> |
| 2887 |
| 2888 </em> |
| 2889 </dt> |
| 2890 <dd class="todo"> |
| 2891 Undocumented. |
| 2892 </dd> |
| 2893 <dd style="display: none; "> |
| 2894 Description of this parameter from the json schema. |
| 2895 </dd> |
| 2896 <dd style="display: none; "> |
| 2897 This parameter was added in version |
| 2898 <b><span></span></b>. |
| 2899 You must omit this parameter in earlier versions, |
| 2900 and you may omit it in any version. If you require this |
| 2901 parameter, the manifest key |
| 2902 <a href="manifest.html#minimum_chrome_version">minimum_chrome_versio
n</a> |
| 2903 can ensure that your extension won't be run in an earlier browser ve
rsion. |
| 2904 </dd> |
| 2905 |
| 2906 <!-- OBJECT PROPERTIES --> |
| 2907 <dd> |
| 2908 <dl> |
| 2909 <div> |
| 2910 <div> |
| 2911 <dt> |
| 2912 <var>url</var> |
| 2913 <em> |
| 2914 |
| 2915 <!-- TYPE --> |
| 2916 <div style="display:inline"> |
| 2917 ( |
| 2918 <span class="optional">optional</span> |
| 2919 <span class="enum" style="display: none; ">enumerated</span> |
| 2920 <span id="typeTemplate"> |
| 2921 <span style="display: none; "> |
| 2922 <a> Type</a> |
| 2923 </span> |
| 2924 <span> |
| 2925 <span style="display: none; "> |
| 2926 array of <span><span></span></span> |
| 2927 </span> |
| 2928 <span>string</span> |
| 2929 <span style="display: none; "></span> |
| 2930 </span> |
| 2931 </span> |
| 2932 ) |
| 2933 </div> |
| 2934 |
| 2935 </em> |
| 2936 </dt> |
| 2937 <dd class="todo" style="display: none; "> |
| 2938 Undocumented. |
| 2939 </dd> |
| 2940 <dd>The URL the offscreen tab is displaying.</dd> |
| 2941 <dd style="display: none; "> |
| 2942 This parameter was added in version |
| 2943 <b><span></span></b>. |
| 2944 You must omit this parameter in earlier versions, |
| 2945 and you may omit it in any version. If you require this |
| 2946 parameter, the manifest key |
| 2947 <a href="manifest.html#minimum_chrome_version">minimum_chrome_versio
n</a> |
| 2948 can ensure that your extension won't be run in an earlier browser ve
rsion. |
| 2949 </dd> |
| 2950 |
| 2951 <!-- OBJECT PROPERTIES --> |
| 2952 <dd style="display: none; "> |
| 2953 <dl> |
| 2954 <div> |
| 2955 <div> |
| 2956 </div> |
| 2957 </div> |
| 2958 </dl> |
| 2959 </dd> |
| 2960 |
| 2961 <!-- OBJECT METHODS --> |
| 2962 <dd style="display: none; "> |
| 2963 <div></div> |
| 2964 </dd> |
| 2965 |
| 2966 <!-- OBJECT EVENT FIELDS --> |
| 2967 <dd style="display: none; "> |
| 2968 <div></div> |
| 2969 </dd> |
| 2970 |
| 2971 <!-- FUNCTION PARAMETERS --> |
| 2972 <dd style="display: none; "> |
| 2973 <div></div> |
| 2974 </dd> |
| 2975 |
| 2976 </div> |
| 2977 </div><div> |
| 2978 <div> |
| 2979 <dt> |
| 2980 <var>width</var> |
| 2981 <em> |
| 2982 |
| 2983 <!-- TYPE --> |
| 2984 <div style="display:inline"> |
| 2985 ( |
| 2986 <span class="optional">optional</span> |
| 2987 <span class="enum" style="display: none; ">enumerated</span> |
| 2988 <span id="typeTemplate"> |
| 2989 <span style="display: none; "> |
| 2990 <a> Type</a> |
| 2991 </span> |
| 2992 <span> |
| 2993 <span style="display: none; "> |
| 2994 array of <span><span></span></span> |
| 2995 </span> |
| 2996 <span>integer</span> |
| 2997 <span style="display: none; "></span> |
| 2998 </span> |
| 2999 </span> |
| 3000 ) |
| 3001 </div> |
| 3002 |
| 3003 </em> |
| 3004 </dt> |
| 3005 <dd class="todo" style="display: none; "> |
| 3006 Undocumented. |
| 3007 </dd> |
| 3008 <dd>Width of the window.</dd> |
| 3009 <dd style="display: none; "> |
| 3010 This parameter was added in version |
| 3011 <b><span></span></b>. |
| 3012 You must omit this parameter in earlier versions, |
| 3013 and you may omit it in any version. If you require this |
| 3014 parameter, the manifest key |
| 3015 <a href="manifest.html#minimum_chrome_version">minimum_chrome_versio
n</a> |
| 3016 can ensure that your extension won't be run in an earlier browser ve
rsion. |
| 3017 </dd> |
| 3018 |
| 3019 <!-- OBJECT PROPERTIES --> |
| 3020 <dd style="display: none; "> |
| 3021 <dl> |
| 3022 <div> |
| 3023 <div> |
| 3024 </div> |
| 3025 </div> |
| 3026 </dl> |
| 3027 </dd> |
| 3028 |
| 3029 <!-- OBJECT METHODS --> |
| 3030 <dd style="display: none; "> |
| 3031 <div></div> |
| 3032 </dd> |
| 3033 |
| 3034 <!-- OBJECT EVENT FIELDS --> |
| 3035 <dd style="display: none; "> |
| 3036 <div></div> |
| 3037 </dd> |
| 3038 |
| 3039 <!-- FUNCTION PARAMETERS --> |
| 3040 <dd style="display: none; "> |
| 3041 <div></div> |
| 3042 </dd> |
| 3043 |
| 3044 </div> |
| 3045 </div><div> |
| 3046 <div> |
| 3047 <dt> |
| 3048 <var>height</var> |
| 3049 <em> |
| 3050 |
| 3051 <!-- TYPE --> |
| 3052 <div style="display:inline"> |
| 3053 ( |
| 3054 <span class="optional">optional</span> |
| 3055 <span class="enum" style="display: none; ">enumerated</span> |
| 3056 <span id="typeTemplate"> |
| 3057 <span style="display: none; "> |
| 3058 <a> Type</a> |
| 3059 </span> |
| 3060 <span> |
| 3061 <span style="display: none; "> |
| 3062 array of <span><span></span></span> |
| 3063 </span> |
| 3064 <span>integer</span> |
| 3065 <span style="display: none; "></span> |
| 3066 </span> |
| 3067 </span> |
| 3068 ) |
| 3069 </div> |
| 3070 |
| 3071 </em> |
| 3072 </dt> |
| 3073 <dd class="todo" style="display: none; "> |
| 3074 Undocumented. |
| 3075 </dd> |
| 3076 <dd>Height of the window.</dd> |
| 3077 <dd style="display: none; "> |
| 3078 This parameter was added in version |
| 3079 <b><span></span></b>. |
| 3080 You must omit this parameter in earlier versions, |
| 3081 and you may omit it in any version. If you require this |
| 3082 parameter, the manifest key |
| 3083 <a href="manifest.html#minimum_chrome_version">minimum_chrome_versio
n</a> |
| 3084 can ensure that your extension won't be run in an earlier browser ve
rsion. |
| 3085 </dd> |
| 3086 |
| 3087 <!-- OBJECT PROPERTIES --> |
| 3088 <dd style="display: none; "> |
| 3089 <dl> |
| 3090 <div> |
| 3091 <div> |
| 3092 </div> |
| 3093 </div> |
| 3094 </dl> |
| 3095 </dd> |
| 3096 |
| 3097 <!-- OBJECT METHODS --> |
| 3098 <dd style="display: none; "> |
| 3099 <div></div> |
| 3100 </dd> |
| 3101 |
| 3102 <!-- OBJECT EVENT FIELDS --> |
| 3103 <dd style="display: none; "> |
| 3104 <div></div> |
| 3105 </dd> |
| 3106 |
| 3107 <!-- FUNCTION PARAMETERS --> |
| 3108 <dd style="display: none; "> |
| 3109 <div></div> |
| 3110 </dd> |
| 3111 |
| 3112 </div> |
| 3113 </div> |
| 3114 </dl> |
| 3115 </dd> |
| 3116 |
| 3117 <!-- OBJECT METHODS --> |
| 3118 <dd style="display: none; "> |
| 3119 <div></div> |
| 3120 </dd> |
| 3121 |
| 3122 <!-- OBJECT EVENT FIELDS --> |
| 3123 <dd style="display: none; "> |
| 3124 <div></div> |
| 3125 </dd> |
| 3126 |
| 3127 <!-- FUNCTION PARAMETERS --> |
| 3128 <dd style="display: none; "> |
| 3129 <div></div> |
| 3130 </dd> |
| 3131 |
| 3132 </div> |
| 3133 </div><div> |
| 3134 <div> |
| 3135 <dt> |
| 3136 <var>callback</var> |
| 3137 <em> |
| 3138 |
| 3139 <!-- TYPE --> |
| 3140 <div style="display:inline"> |
| 3141 ( |
| 3142 <span class="optional">optional</span> |
| 3143 <span class="enum" style="display: none; ">enumerated</span> |
| 3144 <span id="typeTemplate"> |
| 3145 <span style="display: none; "> |
| 3146 <a> Type</a> |
| 3147 </span> |
| 3148 <span> |
| 3149 <span style="display: none; "> |
| 3150 array of <span><span></span></span> |
| 3151 </span> |
| 3152 <span>function</span> |
| 3153 <span style="display: none; "></span> |
| 3154 </span> |
| 3155 </span> |
| 3156 ) |
| 3157 </div> |
| 3158 |
| 3159 </em> |
| 3160 </dt> |
| 3161 <dd class="todo"> |
| 3162 Undocumented. |
| 3163 </dd> |
| 3164 <dd style="display: none; "> |
| 3165 Description of this parameter from the json schema. |
| 3166 </dd> |
| 3167 <dd style="display: none; "> |
| 3168 This parameter was added in version |
| 3169 <b><span></span></b>. |
| 3170 You must omit this parameter in earlier versions, |
| 3171 and you may omit it in any version. If you require this |
| 3172 parameter, the manifest key |
| 3173 <a href="manifest.html#minimum_chrome_version">minimum_chrome_versio
n</a> |
| 3174 can ensure that your extension won't be run in an earlier browser ve
rsion. |
| 3175 </dd> |
| 3176 |
| 3177 <!-- OBJECT PROPERTIES --> |
| 3178 <dd style="display: none; "> |
| 3179 <dl> |
| 3180 <div> |
| 3181 <div> |
| 3182 </div> |
| 3183 </div> |
| 3184 </dl> |
| 3185 </dd> |
| 3186 |
| 3187 <!-- OBJECT METHODS --> |
| 3188 <dd style="display: none; "> |
| 3189 <div></div> |
| 3190 </dd> |
| 3191 |
| 3192 <!-- OBJECT EVENT FIELDS --> |
| 3193 <dd style="display: none; "> |
| 3194 <div></div> |
| 3195 </dd> |
| 3196 |
| 3197 <!-- FUNCTION PARAMETERS --> |
| 3198 <dd style="display: none; "> |
| 3199 <div></div> |
| 3200 </dd> |
| 3201 |
| 3202 </div> |
| 3203 </div> |
| 3204 </dl> |
| 3205 |
| 3206 <!-- RETURNS --> |
| 3207 <h4 style="display: none; ">Returns</h4> |
| 3208 <dl> |
| 3209 <div style="display: none; "> |
| 3210 <div> |
| 3211 </div> |
| 3212 </div> |
| 3213 </dl> |
| 3214 |
| 3215 <!-- CALLBACK --> |
| 3216 <div> |
| 3217 <div> |
| 3218 <h4>Callback function</h4> |
| 3219 <p style="display: none; "> |
| 3220 The callback <em>parameter</em> should specify a function |
| 3221 that looks like this: |
| 3222 </p> |
| 3223 <p> |
| 3224 If you specify the <em>callback</em> parameter, it should |
| 3225 specify a function that looks like this: |
| 3226 </p> |
| 3227 |
| 3228 <!-- Note: intentionally longer 80 columns --> |
| 3229 <pre>function(<span>OffscreenTab offscreenTab</span>) <span cl
ass="subdued">{...}</span>;</pre> |
| 3230 <dl> |
| 3231 <div> |
| 3232 <div> |
| 3233 <dt> |
| 3234 <var>offscreenTab</var> |
| 3235 <em> |
| 3236 |
| 3237 <!-- TYPE --> |
| 3238 <div style="display:inline"> |
| 3239 ( |
| 3240 <span class="optional" style="display: none; ">optional</spa
n> |
| 3241 <span class="enum" style="display: none; ">enumerated</span> |
| 3242 <span id="typeTemplate"> |
| 3243 <span> |
| 3244 <a href="experimental.offscreenTabs.html#type-OffscreenT
ab">OffscreenTab</a> |
| 3245 </span> |
| 3246 <span style="display: none; "> |
| 3247 <span> |
| 3248 array of <span><span></span></span> |
| 3249 </span> |
| 3250 <span>paramType</span> |
| 3251 <span></span> |
| 3252 </span> |
| 3253 </span> |
| 3254 ) |
| 3255 </div> |
| 3256 |
| 3257 </em> |
| 3258 </dt> |
| 3259 <dd class="todo" style="display: none; "> |
| 3260 Undocumented. |
| 3261 </dd> |
| 3262 <dd>Details of the offscreen tab.</dd> |
| 3263 <dd style="display: none; "> |
| 3264 This parameter was added in version |
| 3265 <b><span></span></b>. |
| 3266 You must omit this parameter in earlier versions, |
| 3267 and you may omit it in any version. If you require this |
| 3268 parameter, the manifest key |
| 3269 <a href="manifest.html#minimum_chrome_version">minimum_chrome_versio
n</a> |
| 3270 can ensure that your extension won't be run in an earlier browser ve
rsion. |
| 3271 </dd> |
| 3272 |
| 3273 <!-- OBJECT PROPERTIES --> |
| 3274 <dd style="display: none; "> |
| 3275 <dl> |
| 3276 <div> |
| 3277 <div> |
| 3278 </div> |
| 3279 </div> |
| 3280 </dl> |
| 3281 </dd> |
| 3282 |
| 3283 <!-- OBJECT METHODS --> |
| 3284 <dd style="display: none; "> |
| 3285 <div></div> |
| 3286 </dd> |
| 3287 |
| 3288 <!-- OBJECT EVENT FIELDS --> |
| 3289 <dd style="display: none; "> |
| 3290 <div></div> |
| 3291 </dd> |
| 3292 |
| 3293 <!-- FUNCTION PARAMETERS --> |
| 3294 <dd style="display: none; "> |
| 3295 <div></div> |
| 3296 </dd> |
| 3297 |
| 3298 </div> |
| 3299 </div> |
| 3300 </dl> |
| 3301 </div> |
| 3302 </div> |
| 3303 |
| 3304 <!-- MIN_VERSION --> |
| 3305 <p style="display: none; "> |
| 3306 This function was added in version <b><span></span></b>. |
| 3307 If you require this function, the manifest key |
| 3308 <a href="manifest.html#minimum_chrome_version">minimum_chrome_
version</a> |
| 3309 can ensure that your extension won't be run in an earlier brow
ser version. |
| 3310 </p> |
| 3311 </div> <!-- /description --> |
| 3312 |
| 3313 </div> <!-- /apiItem --> |
| 3314 |
| 3315 </div> <!-- /apiGroup --> |
| 3316 |
| 3317 <!-- EVENTS --> |
| 3318 <div id="eventsTemplate" class="apiGroup"> |
| 3319 <a name="global-events"></a> |
| 3320 <h3>Events</h3> |
| 3321 <!-- iterates over all events --> |
| 3322 <div class="apiItem"> |
| 3323 <a name="event-onCreated"></a> |
| 3324 <h4>onCreated</h4> |
| 3325 |
| 3326 <div class="summary"> |
| 3327 <!-- Note: intentionally longer 80 columns --> |
| 3328 <span class="subdued">chrome.experimental.offscreenTabs.</span><
span>onCreated</span><span class="subdued">.addListener</span>(function(<span>Of
fscreenTab offscreenTab</span>) <span class="subdued">{...}</span><span></span>)
; |
| 3329 </div> |
| 3330 |
| 3331 <div class="description"> |
| 3332 <p class="todo" style="display: none; ">Undocumented.</p> |
| 3333 <p>NOT IMPLEMENTED YET. Fires when an offscreen tab is created.
Note that the offscreen tab's data URL may not be set at the time this event fir
es, but you can listen to onUpdated events to be notified when a URL is set.</p> |
| 3334 |
| 3335 <!-- LISTENER PARAMETERS --> |
| 3336 <div> |
| 3337 <h4>Listener parameters</h4> |
| 3338 <dl> |
| 3339 <div> |
| 3340 <div> |
| 3341 <dt> |
| 3342 <var>offscreenTab</var> |
| 3343 <em> |
| 3344 |
| 3345 <!-- TYPE --> |
| 3346 <div style="display:inline"> |
| 3347 ( |
| 3348 <span class="optional" style="display: none; ">optional</spa
n> |
| 3349 <span class="enum" style="display: none; ">enumerated</span> |
| 3350 <span id="typeTemplate"> |
| 3351 <span> |
| 3352 <a href="experimental.offscreenTabs.html#type-OffscreenT
ab">OffscreenTab</a> |
| 3353 </span> |
| 3354 <span style="display: none; "> |
| 3355 <span> |
| 3356 array of <span><span></span></span> |
| 3357 </span> |
| 3358 <span>paramType</span> |
| 3359 <span></span> |
| 3360 </span> |
| 3361 </span> |
| 3362 ) |
| 3363 </div> |
| 3364 |
| 3365 </em> |
| 3366 </dt> |
| 3367 <dd class="todo" style="display: none; "> |
| 3368 Undocumented. |
| 3369 </dd> |
| 3370 <dd>Details of the offscreen tab.</dd> |
| 3371 <dd style="display: none; "> |
| 3372 This parameter was added in version |
| 3373 <b><span></span></b>. |
| 3374 You must omit this parameter in earlier versions, |
| 3375 and you may omit it in any version. If you require this |
| 3376 parameter, the manifest key |
| 3377 <a href="manifest.html#minimum_chrome_version">minimum_chrome_versio
n</a> |
| 3378 can ensure that your extension won't be run in an earlier browser ve
rsion. |
| 3379 </dd> |
| 3380 |
| 3381 <!-- OBJECT PROPERTIES --> |
| 3382 <dd style="display: none; "> |
| 3383 <dl> |
| 3384 <div> |
| 3385 <div> |
| 3386 </div> |
| 3387 </div> |
| 3388 </dl> |
| 3389 </dd> |
| 3390 |
| 3391 <!-- OBJECT METHODS --> |
| 3392 <dd style="display: none; "> |
| 3393 <div></div> |
| 3394 </dd> |
| 3395 |
| 3396 <!-- OBJECT EVENT FIELDS --> |
| 3397 <dd style="display: none; "> |
| 3398 <div></div> |
| 3399 </dd> |
| 3400 |
| 3401 <!-- FUNCTION PARAMETERS --> |
| 3402 <dd style="display: none; "> |
| 3403 <div></div> |
| 3404 </dd> |
| 3405 |
| 3406 </div> |
| 3407 </div> |
| 3408 </dl> |
| 3409 </div> |
| 3410 |
| 3411 <!-- EXTRA PARAMETERS --> |
| 3412 <div style="display: none; "> |
| 3413 <h4>Extra parameters to addListener</h4> |
| 3414 <dl> |
| 3415 <div> |
| 3416 <div> |
| 3417 </div> |
| 3418 </div> |
| 3419 </dl> |
| 3420 </div> |
| 3421 |
| 3422 <!-- LISTENER RETURN VALUE --> |
| 3423 <h4 style="display: none; ">Listener returns</h4> |
| 3424 <dl> |
| 3425 <div style="display: none; "> |
| 3426 <div> |
| 3427 </div> |
| 3428 </div> |
| 3429 </dl> |
| 3430 |
| 3431 </div> <!-- /description --> |
| 3432 </div><div class="apiItem"> |
| 3433 <a name="event-onUpdated"></a> |
| 3434 <h4>onUpdated</h4> |
| 3435 |
| 3436 <div class="summary"> |
| 3437 <!-- Note: intentionally longer 80 columns --> |
| 3438 <span class="subdued">chrome.experimental.offscreenTabs.</span><
span>onUpdated</span><span class="subdued">.addListener</span>(function(<span>in
teger offscreenTabId, object changeInfo, OffscreenTab offscreenTab</span>) <span
class="subdued">{...}</span><span></span>); |
| 3439 </div> |
| 3440 |
| 3441 <div class="description"> |
| 3442 <p class="todo" style="display: none; ">Undocumented.</p> |
| 3443 <p>Fires when an offscreen tab is updated. </p> |
| 3444 |
| 3445 <!-- LISTENER PARAMETERS --> |
| 3446 <div> |
| 3447 <h4>Listener parameters</h4> |
| 3448 <dl> |
| 3449 <div> |
| 3450 <div> |
| 3451 <dt> |
| 3452 <var>offscreenTabId</var> |
| 3453 <em> |
| 3454 |
| 3455 <!-- TYPE --> |
| 3456 <div style="display:inline"> |
| 3457 ( |
| 3458 <span class="optional" style="display: none; ">optional</spa
n> |
| 3459 <span class="enum" style="display: none; ">enumerated</span> |
| 3460 <span id="typeTemplate"> |
| 3461 <span style="display: none; "> |
| 3462 <a> Type</a> |
| 3463 </span> |
| 3464 <span> |
| 3465 <span style="display: none; "> |
| 3466 array of <span><span></span></span> |
| 3467 </span> |
| 3468 <span>integer</span> |
| 3469 <span style="display: none; "></span> |
| 3470 </span> |
| 3471 </span> |
| 3472 ) |
| 3473 </div> |
| 3474 |
| 3475 </em> |
| 3476 </dt> |
| 3477 <dd class="todo" style="display: none; "> |
| 3478 Undocumented. |
| 3479 </dd> |
| 3480 <dd>ID of the updated offscreen tab</dd> |
| 3481 <dd style="display: none; "> |
| 3482 This parameter was added in version |
| 3483 <b><span></span></b>. |
| 3484 You must omit this parameter in earlier versions, |
| 3485 and you may omit it in any version. If you require this |
| 3486 parameter, the manifest key |
| 3487 <a href="manifest.html#minimum_chrome_version">minimum_chrome_versio
n</a> |
| 3488 can ensure that your extension won't be run in an earlier browser ve
rsion. |
| 3489 </dd> |
| 3490 |
| 3491 <!-- OBJECT PROPERTIES --> |
| 3492 <dd style="display: none; "> |
| 3493 <dl> |
| 3494 <div> |
| 3495 <div> |
| 3496 </div> |
| 3497 </div> |
| 3498 </dl> |
| 3499 </dd> |
| 3500 |
| 3501 <!-- OBJECT METHODS --> |
| 3502 <dd style="display: none; "> |
| 3503 <div></div> |
| 3504 </dd> |
| 3505 |
| 3506 <!-- OBJECT EVENT FIELDS --> |
| 3507 <dd style="display: none; "> |
| 3508 <div></div> |
| 3509 </dd> |
| 3510 |
| 3511 <!-- FUNCTION PARAMETERS --> |
| 3512 <dd style="display: none; "> |
| 3513 <div></div> |
| 3514 </dd> |
| 3515 |
| 3516 </div> |
| 3517 </div><div> |
| 3518 <div> |
| 3519 <dt> |
| 3520 <var>changeInfo</var> |
| 3521 <em> |
| 3522 |
| 3523 <!-- TYPE --> |
| 3524 <div style="display:inline"> |
| 3525 ( |
| 3526 <span class="optional" style="display: none; ">optional</spa
n> |
| 3527 <span class="enum" style="display: none; ">enumerated</span> |
| 3528 <span id="typeTemplate"> |
| 3529 <span style="display: none; "> |
| 3530 <a> Type</a> |
| 3531 </span> |
| 3532 <span> |
| 3533 <span style="display: none; "> |
| 3534 array of <span><span></span></span> |
| 3535 </span> |
| 3536 <span>object</span> |
| 3537 <span style="display: none; "></span> |
| 3538 </span> |
| 3539 </span> |
| 3540 ) |
| 3541 </div> |
| 3542 |
| 3543 </em> |
| 3544 </dt> |
| 3545 <dd class="todo" style="display: none; "> |
| 3546 Undocumented. |
| 3547 </dd> |
| 3548 <dd>Lists the changes to the state of the offscreen tab that was updat
ed.</dd> |
| 3549 <dd style="display: none; "> |
| 3550 This parameter was added in version |
| 3551 <b><span></span></b>. |
| 3552 You must omit this parameter in earlier versions, |
| 3553 and you may omit it in any version. If you require this |
| 3554 parameter, the manifest key |
| 3555 <a href="manifest.html#minimum_chrome_version">minimum_chrome_versio
n</a> |
| 3556 can ensure that your extension won't be run in an earlier browser ve
rsion. |
| 3557 </dd> |
| 3558 |
| 3559 <!-- OBJECT PROPERTIES --> |
| 3560 <dd> |
| 3561 <dl> |
| 3562 <div> |
| 3563 <div> |
| 3564 <dt> |
| 3565 <var>url</var> |
| 3566 <em> |
| 3567 |
| 3568 <!-- TYPE --> |
| 3569 <div style="display:inline"> |
| 3570 ( |
| 3571 <span class="optional">optional</span> |
| 3572 <span class="enum" style="display: none; ">enumerated</span> |
| 3573 <span id="typeTemplate"> |
| 3574 <span style="display: none; "> |
| 3575 <a> Type</a> |
| 3576 </span> |
| 3577 <span> |
| 3578 <span style="display: none; "> |
| 3579 array of <span><span></span></span> |
| 3580 </span> |
| 3581 <span>string</span> |
| 3582 <span style="display: none; "></span> |
| 3583 </span> |
| 3584 </span> |
| 3585 ) |
| 3586 </div> |
| 3587 |
| 3588 </em> |
| 3589 </dt> |
| 3590 <dd class="todo" style="display: none; "> |
| 3591 Undocumented. |
| 3592 </dd> |
| 3593 <dd>The offscreen tab's URL if it has changed.</dd> |
| 3594 <dd style="display: none; "> |
| 3595 This parameter was added in version |
| 3596 <b><span></span></b>. |
| 3597 You must omit this parameter in earlier versions, |
| 3598 and you may omit it in any version. If you require this |
| 3599 parameter, the manifest key |
| 3600 <a href="manifest.html#minimum_chrome_version">minimum_chrome_versio
n</a> |
| 3601 can ensure that your extension won't be run in an earlier browser ve
rsion. |
| 3602 </dd> |
| 3603 |
| 3604 <!-- OBJECT PROPERTIES --> |
| 3605 <dd style="display: none; "> |
| 3606 <dl> |
| 3607 <div> |
| 3608 <div> |
| 3609 </div> |
| 3610 </div> |
| 3611 </dl> |
| 3612 </dd> |
| 3613 |
| 3614 <!-- OBJECT METHODS --> |
| 3615 <dd style="display: none; "> |
| 3616 <div></div> |
| 3617 </dd> |
| 3618 |
| 3619 <!-- OBJECT EVENT FIELDS --> |
| 3620 <dd style="display: none; "> |
| 3621 <div></div> |
| 3622 </dd> |
| 3623 |
| 3624 <!-- FUNCTION PARAMETERS --> |
| 3625 <dd style="display: none; "> |
| 3626 <div></div> |
| 3627 </dd> |
| 3628 |
| 3629 </div> |
| 3630 </div> |
| 3631 </dl> |
| 3632 </dd> |
| 3633 |
| 3634 <!-- OBJECT METHODS --> |
| 3635 <dd style="display: none; "> |
| 3636 <div></div> |
| 3637 </dd> |
| 3638 |
| 3639 <!-- OBJECT EVENT FIELDS --> |
| 3640 <dd style="display: none; "> |
| 3641 <div></div> |
| 3642 </dd> |
| 3643 |
| 3644 <!-- FUNCTION PARAMETERS --> |
| 3645 <dd style="display: none; "> |
| 3646 <div></div> |
| 3647 </dd> |
| 3648 |
| 3649 </div> |
| 3650 </div><div> |
| 3651 <div> |
| 3652 <dt> |
| 3653 <var>offscreenTab</var> |
| 3654 <em> |
| 3655 |
| 3656 <!-- TYPE --> |
| 3657 <div style="display:inline"> |
| 3658 ( |
| 3659 <span class="optional" style="display: none; ">optional</spa
n> |
| 3660 <span class="enum" style="display: none; ">enumerated</span> |
| 3661 <span id="typeTemplate"> |
| 3662 <span> |
| 3663 <a href="experimental.offscreenTabs.html#type-OffscreenT
ab">OffscreenTab</a> |
| 3664 </span> |
| 3665 <span style="display: none; "> |
| 3666 <span> |
| 3667 array of <span><span></span></span> |
| 3668 </span> |
| 3669 <span>paramType</span> |
| 3670 <span></span> |
| 3671 </span> |
| 3672 </span> |
| 3673 ) |
| 3674 </div> |
| 3675 |
| 3676 </em> |
| 3677 </dt> |
| 3678 <dd class="todo" style="display: none; "> |
| 3679 Undocumented. |
| 3680 </dd> |
| 3681 <dd>Details of the offscreen tab.</dd> |
| 3682 <dd style="display: none; "> |
| 3683 This parameter was added in version |
| 3684 <b><span></span></b>. |
| 3685 You must omit this parameter in earlier versions, |
| 3686 and you may omit it in any version. If you require this |
| 3687 parameter, the manifest key |
| 3688 <a href="manifest.html#minimum_chrome_version">minimum_chrome_versio
n</a> |
| 3689 can ensure that your extension won't be run in an earlier browser ve
rsion. |
| 3690 </dd> |
| 3691 |
| 3692 <!-- OBJECT PROPERTIES --> |
| 3693 <dd style="display: none; "> |
| 3694 <dl> |
| 3695 <div> |
| 3696 <div> |
| 3697 </div> |
| 3698 </div> |
| 3699 </dl> |
| 3700 </dd> |
| 3701 |
| 3702 <!-- OBJECT METHODS --> |
| 3703 <dd style="display: none; "> |
| 3704 <div></div> |
| 3705 </dd> |
| 3706 |
| 3707 <!-- OBJECT EVENT FIELDS --> |
| 3708 <dd style="display: none; "> |
| 3709 <div></div> |
| 3710 </dd> |
| 3711 |
| 3712 <!-- FUNCTION PARAMETERS --> |
| 3713 <dd style="display: none; "> |
| 3714 <div></div> |
| 3715 </dd> |
| 3716 |
| 3717 </div> |
| 3718 </div> |
| 3719 </dl> |
| 3720 </div> |
| 3721 |
| 3722 <!-- EXTRA PARAMETERS --> |
| 3723 <div style="display: none; "> |
| 3724 <h4>Extra parameters to addListener</h4> |
| 3725 <dl> |
| 3726 <div> |
| 3727 <div> |
| 3728 </div> |
| 3729 </div> |
| 3730 </dl> |
| 3731 </div> |
| 3732 |
| 3733 <!-- LISTENER RETURN VALUE --> |
| 3734 <h4 style="display: none; ">Listener returns</h4> |
| 3735 <dl> |
| 3736 <div style="display: none; "> |
| 3737 <div> |
| 3738 </div> |
| 3739 </div> |
| 3740 </dl> |
| 3741 |
| 3742 </div> <!-- /description --> |
| 3743 </div> <!-- /apiItem --> |
| 3744 |
| 3745 </div> <!-- /apiGroup --> |
| 3746 |
| 3747 <!-- TYPES --> |
| 3748 <div class="apiGroup"> |
| 3749 <a name="types"></a> |
| 3750 <h3 id="types">Types</h3> |
| 3751 |
| 3752 <!-- iterates over all types --> |
| 3753 <div class="apiItem"> |
| 3754 <a name="type-OffscreenTab"></a> |
| 3755 <h4>OffscreenTab</h4> |
| 3756 |
| 3757 <div> |
| 3758 <dt> |
| 3759 <var style="display: none; ">paramName</var> |
| 3760 <em> |
| 3761 |
| 3762 <!-- TYPE --> |
| 3763 <div style="display:inline"> |
| 3764 ( |
| 3765 <span class="optional" style="display: none; ">optional</spa
n> |
| 3766 <span class="enum" style="display: none; ">enumerated</span> |
| 3767 <span id="typeTemplate"> |
| 3768 <span style="display: none; "> |
| 3769 <a> Type</a> |
| 3770 </span> |
| 3771 <span> |
| 3772 <span style="display: none; "> |
| 3773 array of <span><span></span></span> |
| 3774 </span> |
| 3775 <span>object</span> |
| 3776 <span style="display: none; "></span> |
| 3777 </span> |
| 3778 </span> |
| 3779 ) |
| 3780 </div> |
| 3781 |
| 3782 </em> |
| 3783 </dt> |
| 3784 <dd class="todo"> |
| 3785 Undocumented. |
| 3786 </dd> |
| 3787 <dd style="display: none; "> |
| 3788 Description of this parameter from the json schema. |
| 3789 </dd> |
| 3790 <dd style="display: none; "> |
| 3791 This parameter was added in version |
| 3792 <b><span></span></b>. |
| 3793 You must omit this parameter in earlier versions, |
| 3794 and you may omit it in any version. If you require this |
| 3795 parameter, the manifest key |
| 3796 <a href="manifest.html#minimum_chrome_version">minimum_chrome_versio
n</a> |
| 3797 can ensure that your extension won't be run in an earlier browser ve
rsion. |
| 3798 </dd> |
| 3799 |
| 3800 <!-- OBJECT PROPERTIES --> |
| 3801 <dd> |
| 3802 <dl> |
| 3803 <div> |
| 3804 <div> |
| 3805 <dt> |
| 3806 <var>id</var> |
| 3807 <em> |
| 3808 |
| 3809 <!-- TYPE --> |
| 3810 <div style="display:inline"> |
| 3811 ( |
| 3812 <span class="optional" style="display: none; ">optional</spa
n> |
| 3813 <span class="enum" style="display: none; ">enumerated</span> |
| 3814 <span id="typeTemplate"> |
| 3815 <span style="display: none; "> |
| 3816 <a> Type</a> |
| 3817 </span> |
| 3818 <span> |
| 3819 <span style="display: none; "> |
| 3820 array of <span><span></span></span> |
| 3821 </span> |
| 3822 <span>integer</span> |
| 3823 <span style="display: none; "></span> |
| 3824 </span> |
| 3825 </span> |
| 3826 ) |
| 3827 </div> |
| 3828 |
| 3829 </em> |
| 3830 </dt> |
| 3831 <dd class="todo" style="display: none; "> |
| 3832 Undocumented. |
| 3833 </dd> |
| 3834 <dd>The ID of the offscreen tab. Tab IDs are unique within a browser s
ession.</dd> |
| 3835 <dd style="display: none; "> |
| 3836 This parameter was added in version |
| 3837 <b><span></span></b>. |
| 3838 You must omit this parameter in earlier versions, |
| 3839 and you may omit it in any version. If you require this |
| 3840 parameter, the manifest key |
| 3841 <a href="manifest.html#minimum_chrome_version">minimum_chrome_versio
n</a> |
| 3842 can ensure that your extension won't be run in an earlier browser ve
rsion. |
| 3843 </dd> |
| 3844 |
| 3845 <!-- OBJECT PROPERTIES --> |
| 3846 <dd style="display: none; "> |
| 3847 <dl> |
| 3848 <div> |
| 3849 <div> |
| 3850 </div> |
| 3851 </div> |
| 3852 </dl> |
| 3853 </dd> |
| 3854 |
| 3855 <!-- OBJECT METHODS --> |
| 3856 <dd style="display: none; "> |
| 3857 <div></div> |
| 3858 </dd> |
| 3859 |
| 3860 <!-- OBJECT EVENT FIELDS --> |
| 3861 <dd style="display: none; "> |
| 3862 <div></div> |
| 3863 </dd> |
| 3864 |
| 3865 <!-- FUNCTION PARAMETERS --> |
| 3866 <dd style="display: none; "> |
| 3867 <div></div> |
| 3868 </dd> |
| 3869 |
| 3870 </div> |
| 3871 </div><div> |
| 3872 <div> |
| 3873 <dt> |
| 3874 <var>url</var> |
| 3875 <em> |
| 3876 |
| 3877 <!-- TYPE --> |
| 3878 <div style="display:inline"> |
| 3879 ( |
| 3880 <span class="optional" style="display: none; ">optional</spa
n> |
| 3881 <span class="enum" style="display: none; ">enumerated</span> |
| 3882 <span id="typeTemplate"> |
| 3883 <span style="display: none; "> |
| 3884 <a> Type</a> |
| 3885 </span> |
| 3886 <span> |
| 3887 <span style="display: none; "> |
| 3888 array of <span><span></span></span> |
| 3889 </span> |
| 3890 <span>string</span> |
| 3891 <span style="display: none; "></span> |
| 3892 </span> |
| 3893 </span> |
| 3894 ) |
| 3895 </div> |
| 3896 |
| 3897 </em> |
| 3898 </dt> |
| 3899 <dd class="todo" style="display: none; "> |
| 3900 Undocumented. |
| 3901 </dd> |
| 3902 <dd>URL of the offscreen tab.</dd> |
| 3903 <dd style="display: none; "> |
| 3904 This parameter was added in version |
| 3905 <b><span></span></b>. |
| 3906 You must omit this parameter in earlier versions, |
| 3907 and you may omit it in any version. If you require this |
| 3908 parameter, the manifest key |
| 3909 <a href="manifest.html#minimum_chrome_version">minimum_chrome_versio
n</a> |
| 3910 can ensure that your extension won't be run in an earlier browser ve
rsion. |
| 3911 </dd> |
| 3912 |
| 3913 <!-- OBJECT PROPERTIES --> |
| 3914 <dd style="display: none; "> |
| 3915 <dl> |
| 3916 <div> |
| 3917 <div> |
| 3918 </div> |
| 3919 </div> |
| 3920 </dl> |
| 3921 </dd> |
| 3922 |
| 3923 <!-- OBJECT METHODS --> |
| 3924 <dd style="display: none; "> |
| 3925 <div></div> |
| 3926 </dd> |
| 3927 |
| 3928 <!-- OBJECT EVENT FIELDS --> |
| 3929 <dd style="display: none; "> |
| 3930 <div></div> |
| 3931 </dd> |
| 3932 |
| 3933 <!-- FUNCTION PARAMETERS --> |
| 3934 <dd style="display: none; "> |
| 3935 <div></div> |
| 3936 </dd> |
| 3937 |
| 3938 </div> |
| 3939 </div><div> |
| 3940 <div> |
| 3941 <dt> |
| 3942 <var>width</var> |
| 3943 <em> |
| 3944 |
| 3945 <!-- TYPE --> |
| 3946 <div style="display:inline"> |
| 3947 ( |
| 3948 <span class="optional" style="display: none; ">optional</spa
n> |
| 3949 <span class="enum" style="display: none; ">enumerated</span> |
| 3950 <span id="typeTemplate"> |
| 3951 <span style="display: none; "> |
| 3952 <a> Type</a> |
| 3953 </span> |
| 3954 <span> |
| 3955 <span style="display: none; "> |
| 3956 array of <span><span></span></span> |
| 3957 </span> |
| 3958 <span>integer</span> |
| 3959 <span style="display: none; "></span> |
| 3960 </span> |
| 3961 </span> |
| 3962 ) |
| 3963 </div> |
| 3964 |
| 3965 </em> |
| 3966 </dt> |
| 3967 <dd class="todo" style="display: none; "> |
| 3968 Undocumented. |
| 3969 </dd> |
| 3970 <dd>Width of the window.</dd> |
| 3971 <dd style="display: none; "> |
| 3972 This parameter was added in version |
| 3973 <b><span></span></b>. |
| 3974 You must omit this parameter in earlier versions, |
| 3975 and you may omit it in any version. If you require this |
| 3976 parameter, the manifest key |
| 3977 <a href="manifest.html#minimum_chrome_version">minimum_chrome_versio
n</a> |
| 3978 can ensure that your extension won't be run in an earlier browser ve
rsion. |
| 3979 </dd> |
| 3980 |
| 3981 <!-- OBJECT PROPERTIES --> |
| 3982 <dd style="display: none; "> |
| 3983 <dl> |
| 3984 <div> |
| 3985 <div> |
| 3986 </div> |
| 3987 </div> |
| 3988 </dl> |
| 3989 </dd> |
| 3990 |
| 3991 <!-- OBJECT METHODS --> |
| 3992 <dd style="display: none; "> |
| 3993 <div></div> |
| 3994 </dd> |
| 3995 |
| 3996 <!-- OBJECT EVENT FIELDS --> |
| 3997 <dd style="display: none; "> |
| 3998 <div></div> |
| 3999 </dd> |
| 4000 |
| 4001 <!-- FUNCTION PARAMETERS --> |
| 4002 <dd style="display: none; "> |
| 4003 <div></div> |
| 4004 </dd> |
| 4005 |
| 4006 </div> |
| 4007 </div><div> |
| 4008 <div> |
| 4009 <dt> |
| 4010 <var>height</var> |
| 4011 <em> |
| 4012 |
| 4013 <!-- TYPE --> |
| 4014 <div style="display:inline"> |
| 4015 ( |
| 4016 <span class="optional" style="display: none; ">optional</spa
n> |
| 4017 <span class="enum" style="display: none; ">enumerated</span> |
| 4018 <span id="typeTemplate"> |
| 4019 <span style="display: none; "> |
| 4020 <a> Type</a> |
| 4021 </span> |
| 4022 <span> |
| 4023 <span style="display: none; "> |
| 4024 array of <span><span></span></span> |
| 4025 </span> |
| 4026 <span>integer</span> |
| 4027 <span style="display: none; "></span> |
| 4028 </span> |
| 4029 </span> |
| 4030 ) |
| 4031 </div> |
| 4032 |
| 4033 </em> |
| 4034 </dt> |
| 4035 <dd class="todo" style="display: none; "> |
| 4036 Undocumented. |
| 4037 </dd> |
| 4038 <dd>Height of the window.</dd> |
| 4039 <dd style="display: none; "> |
| 4040 This parameter was added in version |
| 4041 <b><span></span></b>. |
| 4042 You must omit this parameter in earlier versions, |
| 4043 and you may omit it in any version. If you require this |
| 4044 parameter, the manifest key |
| 4045 <a href="manifest.html#minimum_chrome_version">minimum_chrome_versio
n</a> |
| 4046 can ensure that your extension won't be run in an earlier browser ve
rsion. |
| 4047 </dd> |
| 4048 |
| 4049 <!-- OBJECT PROPERTIES --> |
| 4050 <dd style="display: none; "> |
| 4051 <dl> |
| 4052 <div> |
| 4053 <div> |
| 4054 </div> |
| 4055 </div> |
| 4056 </dl> |
| 4057 </dd> |
| 4058 |
| 4059 <!-- OBJECT METHODS --> |
| 4060 <dd style="display: none; "> |
| 4061 <div></div> |
| 4062 </dd> |
| 4063 |
| 4064 <!-- OBJECT EVENT FIELDS --> |
| 4065 <dd style="display: none; "> |
| 4066 <div></div> |
| 4067 </dd> |
| 4068 |
| 4069 <!-- FUNCTION PARAMETERS --> |
| 4070 <dd style="display: none; "> |
| 4071 <div></div> |
| 4072 </dd> |
| 4073 |
| 4074 </div> |
| 4075 </div> |
| 4076 </dl> |
| 4077 </dd> |
| 4078 |
| 4079 <!-- OBJECT METHODS --> |
| 4080 <dd style="display: none; "> |
| 4081 <div></div> |
| 4082 </dd> |
| 4083 |
| 4084 <!-- OBJECT EVENT FIELDS --> |
| 4085 <dd style="display: none; "> |
| 4086 <div></div> |
| 4087 </dd> |
| 4088 |
| 4089 <!-- FUNCTION PARAMETERS --> |
| 4090 <dd style="display: none; "> |
| 4091 <div></div> |
| 4092 </dd> |
| 4093 |
| 4094 </div> |
| 4095 |
| 4096 </div> <!-- /apiItem --> |
| 4097 |
| 4098 </div> <!-- /apiGroup --> |
| 4099 |
| 4100 </div> <!-- /apiPage --> |
| 4101 </div> <!-- /gc-pagecontent --> |
| 4102 </div> <!-- /g-section --> |
| 4103 </div> <!-- /codesiteContent --> |
| 4104 <div id="gc-footer" --=""> |
| 4105 <div class="text"> |
| 4106 <p> |
| 4107 Except as otherwise <a href="http://code.google.com/policies.html#restrictions
">noted</a>, |
| 4108 the content of this page is licensed under the <a rel="license" href="http://c
reativecommons.org/licenses/by/3.0/">Creative Commons |
| 4109 Attribution 3.0 License</a>, and code samples are licensed under the |
| 4110 <a rel="license" href="http://code.google.com/google_bsd_license.html">BSD Lic
ense</a>. |
| 4111 </p> |
| 4112 <p> |
| 4113 ©2011 Google |
| 4114 </p> |
| 4115 |
| 4116 <!-- begin analytics --> |
| 4117 <script src="http://www.google-analytics.com/urchin.js" type="text/javascript"><
/script> |
| 4118 <script src="http://www.google-analytics.com/ga.js" type="text/javascript"></scr
ipt> |
| 4119 |
| 4120 <script type="text/javascript"> |
| 4121 // chrome doc tracking |
| 4122 try { |
| 4123 var engdocs = _gat._getTracker("YT-10763712-2"); |
| 4124 engdocs._trackPageview(); |
| 4125 } catch(err) {} |
| 4126 |
| 4127 // code.google.com site-wide tracking |
| 4128 try { |
| 4129 _uacct="UA-18071-1"; |
| 4130 _uanchor=1; |
| 4131 _uff=0; |
| 4132 urchinTracker(); |
| 4133 } |
| 4134 catch(e) {/* urchinTracker not available. */} |
| 4135 </script> |
| 4136 <!-- end analytics --> |
| 4137 </div> |
| 4138 </div> <!-- /gc-footer --> |
| 4139 </div> <!-- /gc-container --> |
| 4140 </body></html> |
OLD | NEW |