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 <title>chrome.experimental.clipboard - Google Chrome Extensions - Google Code<
/title></head><body> <div id="gc-container" class="labs"> |
| 19 <!-- SUBTEMPLATES: DO NOT MOVE FROM THIS LOCATION --> |
| 20 <!-- In particular, sub-templates that recurse, must be used by allowing |
| 21 jstemplate to make a copy of the template in this section which |
| 22 are not operated on by way of the jsskip="true" --> |
| 23 <div style="display:none"> |
| 24 |
| 25 <!-- VALUE --> |
| 26 <div id="valueTemplate"> |
| 27 <dt> |
| 28 <var>paramName</var> |
| 29 <em> |
| 30 |
| 31 <!-- TYPE --> |
| 32 <div style="display:inline"> |
| 33 ( |
| 34 <span class="optional">optional</span> |
| 35 <span id="typeTemplate"> |
| 36 <span> |
| 37 <a> Type</a> |
| 38 </span> |
| 39 <span> |
| 40 <span> |
| 41 array of <span><span></span></span> |
| 42 </span> |
| 43 <span>paramType</span> |
| 44 </span> |
| 45 </span> |
| 46 ) |
| 47 </div> |
| 48 |
| 49 </em> |
| 50 </dt> |
| 51 <dd class="todo"> |
| 52 Undocumented. |
| 53 </dd> |
| 54 <dd> |
| 55 Description of this parameter from the json schema. |
| 56 </dd> |
| 57 |
| 58 <!-- OBJECT PROPERTIES --> |
| 59 <dd> |
| 60 <dl> |
| 61 <div> |
| 62 <div> |
| 63 </div> |
| 64 </div> |
| 65 </dl> |
| 66 </dd> |
| 67 </div> <!-- /VALUE --> |
| 68 |
| 69 </div> <!-- /SUBTEMPLATES --> |
| 70 |
| 71 <a id="top"></a> |
| 72 <div id="skipto"> |
| 73 <a href="#gc-pagecontent">Skip to page content</a> |
| 74 <a href="#gc-toc">Skip to main navigation</a> |
| 75 </div> |
| 76 <!-- API HEADER --> |
| 77 <table id="header" width="100%" cellspacing="0" border="0"> |
| 78 <tbody><tr> |
| 79 <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> |
| 80 <td valign="middle" width="100%" style="padding-left:0.6em;"> |
| 81 <form action="http://www.google.com/cse" id="cse" style="margin-top:0.
5em"> |
| 82 <div id="gsc-search-box"> |
| 83 <input type="hidden" name="cx" value="002967670403910741006:61_cvz
fqtno"> |
| 84 <input type="hidden" name="ie" value="UTF-8"> |
| 85 <input type="text" name="q" value="" size="55"> |
| 86 <input class="gsc-search-button" type="submit" name="sa" value="Se
arch"> |
| 87 <br> |
| 88 <span class="greytext">e.g. "page action" or "tabs"</span> |
| 89 </div> |
| 90 </form> |
| 91 |
| 92 <script type="text/javascript" src="http://www.google.com/jsapi"></scr
ipt> |
| 93 <script type="text/javascript">google.load("elements", "1", {packages:
"transliteration"});</script> |
| 94 <script type="text/javascript" src="http://www.google.com/coop/cse/t13
n?form=cse&t13n_langs=en"></script> |
| 95 <script type="text/javascript" src="http://www.google.com/coop/cse/bra
nd?form=cse&lang=en"></script> |
| 96 </td> |
| 97 </tr> |
| 98 </tbody></table> |
| 99 |
| 100 <div id="codesiteContent" class=""> |
| 101 |
| 102 <a id="gc-topnav-anchor"></a> |
| 103 <div id="gc-topnav"> |
| 104 <h1>Google Chrome Extensions (<a href="http://code.google.com/labs/">Lab
s</a>)</h1> |
| 105 <ul id="home" class="gc-topnav-tabs"> |
| 106 <li id="home_link"> |
| 107 <a href="index.html" title="Google Chrome Extensions home page">Home
</a> |
| 108 </li> |
| 109 <li id="docs_link"> |
| 110 <a href="docs.html" title="Official Google Chrome Extensions documen
tation">Docs</a> |
| 111 </li> |
| 112 <li id="faq_link"> |
| 113 <a href="faq.html" title="Answers to frequently asked questions abou
t Google Chrome Extensions">FAQ</a> |
| 114 </li> |
| 115 <li id="samples_link"> |
| 116 <a href="samples.html" title="Sample extensions (with source code)">
Samples</a> |
| 117 </li> |
| 118 <li id="group_link"> |
| 119 <a href="http://groups.google.com/a/chromium.org/group/chromium-exte
nsions" title="Google Chrome Extensions developer forum">Group</a> |
| 120 </li> |
| 121 </ul> |
| 122 </div> <!-- end gc-topnav --> |
| 123 |
| 124 <div class="g-section g-tpl-170"> |
| 125 <!-- SIDENAV --> |
| 126 <div class="g-unit g-first" id="gc-toc"> |
| 127 <ul> |
| 128 <li><a href="getstarted.html">Getting Started</a></li> |
| 129 <li><a href="overview.html">Overview</a></li> |
| 130 <li><h2><a href="devguide.html">Developer's Guide</a></h2> |
| 131 <ul> |
| 132 <li>Browser UI |
| 133 <ul> |
| 134 <li><a href="browserAction.html">Browser Actions</a></li> |
| 135 <li><a href="options.html">Options Pages</a></li> |
| 136 <li><a href="override.html">Override Pages</a></li> |
| 137 <li><a href="pageAction.html">Page Actions</a></li> |
| 138 <li><a href="themes.html">Themes</a></li> |
| 139 </ul> |
| 140 </li> |
| 141 <li>Browser Interaction |
| 142 <ul> |
| 143 <li><a href="bookmarks.html">Bookmarks</a></li> |
| 144 <li><a href="events.html">Events</a></li> |
| 145 <li><a href="tabs.html">Tabs</a></li> |
| 146 <li><a href="windows.html">Windows</a></li> |
| 147 </ul> |
| 148 </li> |
| 149 <li>Implementation |
| 150 <ul> |
| 151 <li><a href="background_pages.html">Background Pages</a></li> |
| 152 <li><a href="content_scripts.html">Content Scripts</a></li> |
| 153 <li><a href="xhr.html">Cross-Origin XHR</a></li> |
| 154 <li><a href="i18n.html">Internationalization</a></li> |
| 155 <li><a href="messaging.html">Message Passing</a></li> |
| 156 <li><a href="npapi.html">NPAPI Plugins</a></li> |
| 157 </ul> |
| 158 </li> |
| 159 <li>Finishing |
| 160 <ul> |
| 161 <li><a href="autoupdate.html">Autoupdating</a></li> |
| 162 <li><a href="packaging.html">Packaging</a></li> |
| 163 <li><a href="external_extensions.html">External Extensions</a><
/li> |
| 164 </ul> |
| 165 </li> |
| 166 </ul> |
| 167 </li> |
| 168 <li><h2><a href="tutorials.html">Tutorials</a></h2> |
| 169 <ul> |
| 170 <li><a href="tut_debugging.html">Debugging</a></li> |
| 171 </ul> |
| 172 </li> |
| 173 <li><h2>Reference</h2> |
| 174 <ul> |
| 175 <li>Formats |
| 176 <ul> |
| 177 <li><a href="manifest.html">Manifest Files</a></li> |
| 178 <li><a href="match_patterns.html">Match Patterns</a></li> |
| 179 <!-- <li>Packages (.crx)</li> --> |
| 180 </ul> |
| 181 </li> |
| 182 <li><a href="api_index.html">chrome.* APIs</a></li> |
| 183 <li><a href="api_other.html">Other APIs</a></li> |
| 184 </ul> |
| 185 </li> |
| 186 <li><h2><a href="samples.html">Samples</a></h2></li> |
| 187 </ul> |
| 188 </div> |
| 189 |
| 190 <div class="g-unit" id="gc-pagecontent"> |
| 191 <div id="pageTitle"> |
| 192 <h1 class="page_title">chrome.experimental.clipboard</h1> |
| 193 </div> |
| 194 <!-- TABLE OF CONTENTS --> |
| 195 <div id="toc"> |
| 196 <h2>Contents</h2> |
| 197 <ol> |
| 198 <li> |
| 199 <a href="#H2-0">Notes</a> |
| 200 <ol> |
| 201 <li style="display: none; "> |
| 202 <a>h3Name</a> |
| 203 </li> |
| 204 </ol> |
| 205 </li> |
| 206 <li> |
| 207 <a href="#apiReference">API reference: chrome.experimental.clipb
oard</a> |
| 208 <ol> |
| 209 <li style="display: none; "> |
| 210 <a href="#properties">Properties</a> |
| 211 <ol> |
| 212 <li> |
| 213 <a href="#property-anchor">propertyName</a> |
| 214 </li> |
| 215 </ol> |
| 216 </li> |
| 217 <li> |
| 218 <a href="#methods">Methods</a> |
| 219 <ol> |
| 220 <li> |
| 221 <a href="#method-executeCopy">executeCopy</a> |
| 222 </li><li> |
| 223 <a href="#method-executeCut">executeCut</a> |
| 224 </li><li> |
| 225 <a href="#method-executePaste">executePaste</a> |
| 226 </li> |
| 227 </ol> |
| 228 </li> |
| 229 <li style="display: none; "> |
| 230 <a href="#events">Events</a> |
| 231 <ol> |
| 232 <li> |
| 233 <a href="#event-anchor">eventName</a> |
| 234 </li> |
| 235 </ol> |
| 236 </li> |
| 237 <li style="display: none; "> |
| 238 <a href="#types">Types</a> |
| 239 <ol> |
| 240 <li> |
| 241 <a href="#id-anchor">id</a> |
| 242 </li> |
| 243 </ol> |
| 244 </li> |
| 245 </ol> |
| 246 </li> |
| 247 </ol> |
| 248 </div> |
| 249 <!-- /TABLE OF CONTENTS --> |
| 250 |
| 251 <!-- STATIC CONTENT PLACEHOLDER --> |
| 252 <div id="static"><!-- BEGIN AUTHORED CONTENT --> |
| 253 <p id="classSummary"> |
| 254 For information on how to use experimental APIs, |
| 255 see the <a href="experimental.html">chrome.experimental.* APIs</a> page. |
| 256 </p> |
| 257 |
| 258 <a name="H2-0"></a><h2>Notes</h2> |
| 259 |
| 260 <p> |
| 261 For all functions exposed by this API, the argument to the callback indicates |
| 262 whether or not the event was successfully dispatched, not whether the event was |
| 263 successfully processed and handled. Most callers won't care, since a failure |
| 264 generally indicates the tab is going away. |
| 265 </p> |
| 266 |
| 267 <!-- END AUTHORED CONTENT --> |
| 268 </div> |
| 269 |
| 270 <!-- API PAGE --> |
| 271 <div class="apiPage"> |
| 272 <a name="apiReference"></a> |
| 273 <h2>API reference: chrome.experimental.clipboard</h2> |
| 274 |
| 275 <!-- PROPERTIES --> |
| 276 <div class="apiGroup" style="display: none; "> |
| 277 <a name="properties"></a> |
| 278 <h3 id="properties">Properties</h3> |
| 279 |
| 280 <div> |
| 281 <a></a> |
| 282 <h4>getLastError</h4> |
| 283 <div class="summary"> |
| 284 <!-- Note: intentionally longer 80 columns --> |
| 285 <span>chrome.extension</span><span>lastError</span> |
| 286 </div> |
| 287 <div> |
| 288 </div> |
| 289 </div> |
| 290 |
| 291 </div> <!-- /apiGroup --> |
| 292 |
| 293 <!-- METHODS --> |
| 294 <div class="apiGroup" id="methods"> |
| 295 <a name="methods"></a> |
| 296 <h3>Methods</h3> |
| 297 |
| 298 <!-- iterates over all functions --> |
| 299 <div class="apiItem"> |
| 300 <a name="method-executeCopy"></a> <!-- method-anchor --> |
| 301 <h4>executeCopy</h4> |
| 302 |
| 303 <div class="summary"><span style="display: none; ">void</span> |
| 304 <!-- Note: intentionally longer 80 columns --> |
| 305 <span>chrome.experimental.clipboard.executeCopy</span>(<span c
lass="null"><span style="display: none; ">, </span><span>integer</span> |
| 306 <var><span>tabId</span></var></span><span class="optional"
><span>, </span><span>function</span> |
| 307 <var><span>callback</span></var></span>)</div> |
| 308 |
| 309 <div class="description"> |
| 310 <p class="todo" style="display: none; ">Undocumented.</p> |
| 311 <p>Triggers a copy operation in the specified tab.</p> |
| 312 |
| 313 <!-- PARAMETERS --> |
| 314 <h4>Parameters</h4> |
| 315 <dl> |
| 316 <div> |
| 317 <div> |
| 318 <dt> |
| 319 <var>tabId</var> |
| 320 <em> |
| 321 |
| 322 <!-- TYPE --> |
| 323 <div style="display:inline"> |
| 324 ( |
| 325 <span class="optional" style="display: none; ">optional</spa
n> |
| 326 <span id="typeTemplate"> |
| 327 <span style="display: none; "> |
| 328 <a> Type</a> |
| 329 </span> |
| 330 <span> |
| 331 <span style="display: none; "> |
| 332 array of <span><span></span></span> |
| 333 </span> |
| 334 <span>integer</span> |
| 335 </span> |
| 336 </span> |
| 337 ) |
| 338 </div> |
| 339 |
| 340 </em> |
| 341 </dt> |
| 342 <dd class="todo"> |
| 343 Undocumented. |
| 344 </dd> |
| 345 <dd style="display: none; "> |
| 346 Description of this parameter from the json schema. |
| 347 </dd> |
| 348 |
| 349 <!-- OBJECT PROPERTIES --> |
| 350 <dd style="display: none; "> |
| 351 <dl> |
| 352 <div> |
| 353 <div> |
| 354 </div> |
| 355 </div> |
| 356 </dl> |
| 357 </dd> |
| 358 </div> |
| 359 </div><div> |
| 360 <div> |
| 361 <dt> |
| 362 <var>callback</var> |
| 363 <em> |
| 364 |
| 365 <!-- TYPE --> |
| 366 <div style="display:inline"> |
| 367 ( |
| 368 <span class="optional">optional</span> |
| 369 <span id="typeTemplate"> |
| 370 <span style="display: none; "> |
| 371 <a> Type</a> |
| 372 </span> |
| 373 <span> |
| 374 <span style="display: none; "> |
| 375 array of <span><span></span></span> |
| 376 </span> |
| 377 <span>function</span> |
| 378 </span> |
| 379 </span> |
| 380 ) |
| 381 </div> |
| 382 |
| 383 </em> |
| 384 </dt> |
| 385 <dd class="todo"> |
| 386 Undocumented. |
| 387 </dd> |
| 388 <dd style="display: none; "> |
| 389 Description of this parameter from the json schema. |
| 390 </dd> |
| 391 |
| 392 <!-- OBJECT PROPERTIES --> |
| 393 <dd style="display: none; "> |
| 394 <dl> |
| 395 <div> |
| 396 <div> |
| 397 </div> |
| 398 </div> |
| 399 </dl> |
| 400 </dd> |
| 401 </div> |
| 402 </div> |
| 403 </dl> |
| 404 |
| 405 <!-- RETURNS --> |
| 406 <h4 style="display: none; ">Returns</h4> |
| 407 <dl> |
| 408 <div style="display: none; "> |
| 409 <div> |
| 410 </div> |
| 411 </div> |
| 412 </dl> |
| 413 |
| 414 <!-- CALLBACK --> |
| 415 <div> |
| 416 <div> |
| 417 <h4>Callback function</h4> |
| 418 <p style="display: none; "> |
| 419 The callback <em>parameter</em> should specify a function |
| 420 that looks like this: |
| 421 </p> |
| 422 <p> |
| 423 If you specify the <em>callback</em> parameter, it should |
| 424 specify a function that looks like this: |
| 425 </p> |
| 426 |
| 427 <!-- Note: intentionally longer 80 columns --> |
| 428 <pre>function(<span></span>) <span class="subdued">{...}</span
>);</pre> |
| 429 <dl> |
| 430 <div style="display: none; "> |
| 431 <div> |
| 432 </div> |
| 433 </div> |
| 434 </dl> |
| 435 </div> |
| 436 </div> |
| 437 |
| 438 </div> <!-- /description --> |
| 439 |
| 440 </div><div class="apiItem"> |
| 441 <a name="method-executeCut"></a> <!-- method-anchor --> |
| 442 <h4>executeCut</h4> |
| 443 |
| 444 <div class="summary"><span style="display: none; ">void</span> |
| 445 <!-- Note: intentionally longer 80 columns --> |
| 446 <span>chrome.experimental.clipboard.executeCut</span>(<span cl
ass="null"><span style="display: none; ">, </span><span>integer</span> |
| 447 <var><span>tabId</span></var></span><span class="optional"
><span>, </span><span>function</span> |
| 448 <var><span>callback</span></var></span>)</div> |
| 449 |
| 450 <div class="description"> |
| 451 <p class="todo" style="display: none; ">Undocumented.</p> |
| 452 <p>Triggers a cut operation in the specified tab.</p> |
| 453 |
| 454 <!-- PARAMETERS --> |
| 455 <h4>Parameters</h4> |
| 456 <dl> |
| 457 <div> |
| 458 <div> |
| 459 <dt> |
| 460 <var>tabId</var> |
| 461 <em> |
| 462 |
| 463 <!-- TYPE --> |
| 464 <div style="display:inline"> |
| 465 ( |
| 466 <span class="optional" style="display: none; ">optional</spa
n> |
| 467 <span id="typeTemplate"> |
| 468 <span style="display: none; "> |
| 469 <a> Type</a> |
| 470 </span> |
| 471 <span> |
| 472 <span style="display: none; "> |
| 473 array of <span><span></span></span> |
| 474 </span> |
| 475 <span>integer</span> |
| 476 </span> |
| 477 </span> |
| 478 ) |
| 479 </div> |
| 480 |
| 481 </em> |
| 482 </dt> |
| 483 <dd class="todo"> |
| 484 Undocumented. |
| 485 </dd> |
| 486 <dd style="display: none; "> |
| 487 Description of this parameter from the json schema. |
| 488 </dd> |
| 489 |
| 490 <!-- OBJECT PROPERTIES --> |
| 491 <dd style="display: none; "> |
| 492 <dl> |
| 493 <div> |
| 494 <div> |
| 495 </div> |
| 496 </div> |
| 497 </dl> |
| 498 </dd> |
| 499 </div> |
| 500 </div><div> |
| 501 <div> |
| 502 <dt> |
| 503 <var>callback</var> |
| 504 <em> |
| 505 |
| 506 <!-- TYPE --> |
| 507 <div style="display:inline"> |
| 508 ( |
| 509 <span class="optional">optional</span> |
| 510 <span id="typeTemplate"> |
| 511 <span style="display: none; "> |
| 512 <a> Type</a> |
| 513 </span> |
| 514 <span> |
| 515 <span style="display: none; "> |
| 516 array of <span><span></span></span> |
| 517 </span> |
| 518 <span>function</span> |
| 519 </span> |
| 520 </span> |
| 521 ) |
| 522 </div> |
| 523 |
| 524 </em> |
| 525 </dt> |
| 526 <dd class="todo"> |
| 527 Undocumented. |
| 528 </dd> |
| 529 <dd style="display: none; "> |
| 530 Description of this parameter from the json schema. |
| 531 </dd> |
| 532 |
| 533 <!-- OBJECT PROPERTIES --> |
| 534 <dd style="display: none; "> |
| 535 <dl> |
| 536 <div> |
| 537 <div> |
| 538 </div> |
| 539 </div> |
| 540 </dl> |
| 541 </dd> |
| 542 </div> |
| 543 </div> |
| 544 </dl> |
| 545 |
| 546 <!-- RETURNS --> |
| 547 <h4 style="display: none; ">Returns</h4> |
| 548 <dl> |
| 549 <div style="display: none; "> |
| 550 <div> |
| 551 </div> |
| 552 </div> |
| 553 </dl> |
| 554 |
| 555 <!-- CALLBACK --> |
| 556 <div> |
| 557 <div> |
| 558 <h4>Callback function</h4> |
| 559 <p style="display: none; "> |
| 560 The callback <em>parameter</em> should specify a function |
| 561 that looks like this: |
| 562 </p> |
| 563 <p> |
| 564 If you specify the <em>callback</em> parameter, it should |
| 565 specify a function that looks like this: |
| 566 </p> |
| 567 |
| 568 <!-- Note: intentionally longer 80 columns --> |
| 569 <pre>function(<span></span>) <span class="subdued">{...}</span
>);</pre> |
| 570 <dl> |
| 571 <div style="display: none; "> |
| 572 <div> |
| 573 </div> |
| 574 </div> |
| 575 </dl> |
| 576 </div> |
| 577 </div> |
| 578 |
| 579 </div> <!-- /description --> |
| 580 |
| 581 </div><div class="apiItem"> |
| 582 <a name="method-executePaste"></a> <!-- method-anchor --> |
| 583 <h4>executePaste</h4> |
| 584 |
| 585 <div class="summary"><span style="display: none; ">void</span> |
| 586 <!-- Note: intentionally longer 80 columns --> |
| 587 <span>chrome.experimental.clipboard.executePaste</span>(<span
class="null"><span style="display: none; ">, </span><span>integer</span> |
| 588 <var><span>tabId</span></var></span><span class="optional"
><span>, </span><span>function</span> |
| 589 <var><span>callback</span></var></span>)</div> |
| 590 |
| 591 <div class="description"> |
| 592 <p class="todo" style="display: none; ">Undocumented.</p> |
| 593 <p>Triggers a paste operation in the specified tab.</p> |
| 594 |
| 595 <!-- PARAMETERS --> |
| 596 <h4>Parameters</h4> |
| 597 <dl> |
| 598 <div> |
| 599 <div> |
| 600 <dt> |
| 601 <var>tabId</var> |
| 602 <em> |
| 603 |
| 604 <!-- TYPE --> |
| 605 <div style="display:inline"> |
| 606 ( |
| 607 <span class="optional" style="display: none; ">optional</spa
n> |
| 608 <span id="typeTemplate"> |
| 609 <span style="display: none; "> |
| 610 <a> Type</a> |
| 611 </span> |
| 612 <span> |
| 613 <span style="display: none; "> |
| 614 array of <span><span></span></span> |
| 615 </span> |
| 616 <span>integer</span> |
| 617 </span> |
| 618 </span> |
| 619 ) |
| 620 </div> |
| 621 |
| 622 </em> |
| 623 </dt> |
| 624 <dd class="todo"> |
| 625 Undocumented. |
| 626 </dd> |
| 627 <dd style="display: none; "> |
| 628 Description of this parameter from the json schema. |
| 629 </dd> |
| 630 |
| 631 <!-- OBJECT PROPERTIES --> |
| 632 <dd style="display: none; "> |
| 633 <dl> |
| 634 <div> |
| 635 <div> |
| 636 </div> |
| 637 </div> |
| 638 </dl> |
| 639 </dd> |
| 640 </div> |
| 641 </div><div> |
| 642 <div> |
| 643 <dt> |
| 644 <var>callback</var> |
| 645 <em> |
| 646 |
| 647 <!-- TYPE --> |
| 648 <div style="display:inline"> |
| 649 ( |
| 650 <span class="optional">optional</span> |
| 651 <span id="typeTemplate"> |
| 652 <span style="display: none; "> |
| 653 <a> Type</a> |
| 654 </span> |
| 655 <span> |
| 656 <span style="display: none; "> |
| 657 array of <span><span></span></span> |
| 658 </span> |
| 659 <span>function</span> |
| 660 </span> |
| 661 </span> |
| 662 ) |
| 663 </div> |
| 664 |
| 665 </em> |
| 666 </dt> |
| 667 <dd class="todo"> |
| 668 Undocumented. |
| 669 </dd> |
| 670 <dd style="display: none; "> |
| 671 Description of this parameter from the json schema. |
| 672 </dd> |
| 673 |
| 674 <!-- OBJECT PROPERTIES --> |
| 675 <dd style="display: none; "> |
| 676 <dl> |
| 677 <div> |
| 678 <div> |
| 679 </div> |
| 680 </div> |
| 681 </dl> |
| 682 </dd> |
| 683 </div> |
| 684 </div> |
| 685 </dl> |
| 686 |
| 687 <!-- RETURNS --> |
| 688 <h4 style="display: none; ">Returns</h4> |
| 689 <dl> |
| 690 <div style="display: none; "> |
| 691 <div> |
| 692 </div> |
| 693 </div> |
| 694 </dl> |
| 695 |
| 696 <!-- CALLBACK --> |
| 697 <div> |
| 698 <div> |
| 699 <h4>Callback function</h4> |
| 700 <p style="display: none; "> |
| 701 The callback <em>parameter</em> should specify a function |
| 702 that looks like this: |
| 703 </p> |
| 704 <p> |
| 705 If you specify the <em>callback</em> parameter, it should |
| 706 specify a function that looks like this: |
| 707 </p> |
| 708 |
| 709 <!-- Note: intentionally longer 80 columns --> |
| 710 <pre>function(<span></span>) <span class="subdued">{...}</span
>);</pre> |
| 711 <dl> |
| 712 <div style="display: none; "> |
| 713 <div> |
| 714 </div> |
| 715 </div> |
| 716 </dl> |
| 717 </div> |
| 718 </div> |
| 719 |
| 720 </div> <!-- /description --> |
| 721 |
| 722 </div> <!-- /apiItem --> |
| 723 |
| 724 </div> <!-- /apiGroup --> |
| 725 |
| 726 <!-- EVENTS --> |
| 727 <div class="apiGroup" style="display: none; "> |
| 728 <a name="events"></a> |
| 729 <h3 id="events">Events</h3> |
| 730 |
| 731 <!-- iterates over all events --> |
| 732 <div class="apiItem"> |
| 733 <a></a> |
| 734 <h4>event name</h4> |
| 735 |
| 736 <div class="summary"> |
| 737 <!-- Note: intentionally longer 80 columns --> |
| 738 <span class="subdued">chrome.bookmarks</span><span>onEvent</span
><span class="subdued">.addListener</span>(function(<span>Type param1, Type para
m2</span>) <span class="subdued">{...}</span>); |
| 739 </div> |
| 740 |
| 741 <div class="description"> |
| 742 <p class="todo">Undocumented.</p> |
| 743 <p> |
| 744 A description from the json schema def of the event goes here. |
| 745 </p> |
| 746 |
| 747 <!-- PARAMETERS --> |
| 748 <h4>Parameters</h4> |
| 749 <dl> |
| 750 <div> |
| 751 <div> |
| 752 </div> |
| 753 </div> |
| 754 </dl> |
| 755 |
| 756 </div> <!-- /decription --> |
| 757 |
| 758 </div> <!-- /apiItem --> |
| 759 |
| 760 </div> <!-- /apiGroup --> |
| 761 |
| 762 <!-- TYPES --> |
| 763 <div class="apiGroup" style="display: none; "> |
| 764 <a name="types.sort(sortByName)"></a> |
| 765 <h3 id="types">Types</h3> |
| 766 |
| 767 <!-- iterates over all types --> |
| 768 <div class="apiItem"> |
| 769 <a></a> |
| 770 <h4>type name</h4> |
| 771 |
| 772 <div> |
| 773 </div> |
| 774 |
| 775 </div> <!-- /apiItem --> |
| 776 |
| 777 </div> <!-- /apiGroup --> |
| 778 |
| 779 </div> <!-- /apiPage --> |
| 780 </div> <!-- /gc-pagecontent --> |
| 781 </div> <!-- /g-section --> |
| 782 </div> <!-- /codesiteContent --> |
| 783 <div id="gc-footer" --=""> |
| 784 <div class="text"> |
| 785 <p> |
| 786 Except as otherwise <a href="http://code.google.com/policies.html#restrictions
">noted</a>, |
| 787 the content of this page is licensed under the <a rel="license" href="http://c
reativecommons.org/licenses/by/3.0/">Creative Commons |
| 788 Attribution 3.0 License</a>, and code samples are licensed under the |
| 789 <a rel="license" href="http://code.google.com/google_bsd_license.html">BSD Lic
ense</a>. |
| 790 </p> |
| 791 <p> |
| 792 ©2009 Google |
| 793 </p> |
| 794 |
| 795 <!-- begin analytics --> |
| 796 <script src="http://www.google-analytics.com/urchin.js" type="text/javascript"><
/script> |
| 797 <script src="http://www.google-analytics.com/ga.js" type="text/javascript"></scr
ipt> |
| 798 |
| 799 <script type="text/javascript"> |
| 800 // chrome doc tracking |
| 801 try { |
| 802 var engdocs = _gat._getTracker("YT-10763712-2"); |
| 803 engdocs._trackPageview(); |
| 804 } catch(err) {} |
| 805 |
| 806 // code.google.com site-wide tracking |
| 807 try { |
| 808 _uacct="UA-18071-1"; |
| 809 _uanchor=1; |
| 810 _uff=0; |
| 811 urchinTracker(); |
| 812 } |
| 813 catch(e) {/* urchinTracker not available. */} |
| 814 </script> |
| 815 <!-- end analytics --> |
| 816 </div> |
| 817 </div> <!-- /gc-footer --> |
| 818 </div> <!-- /gc-container --> |
| 819 </body></html> |
OLD | NEW |