| 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.contentSettings.global - Google Chrome Extensions -
Google Code</title></head> | |
| 20 <body> <div id="gc-container" class="labs"> | |
| 21 <div id="devModeWarning"> | |
| 22 You are viewing extension docs in chrome via the 'file:' scheme: are you
expecting to see local changes when you refresh? You'll need run chrome with --
allow-file-access-from-files. | |
| 23 </div> | |
| 24 <!-- SUBTEMPLATES: DO NOT MOVE FROM THIS LOCATION --> | |
| 25 <!-- In particular, sub-templates that recurse, must be used by allowing | |
| 26 jstemplate to make a copy of the template in this section which | |
| 27 are not operated on by way of the jsskip="true" --> | |
| 28 <div style="display:none"> | |
| 29 | |
| 30 <!-- VALUE --> | |
| 31 <div id="valueTemplate"> | |
| 32 <dt> | |
| 33 <var>paramName</var> | |
| 34 <em> | |
| 35 | |
| 36 <!-- TYPE --> | |
| 37 <div style="display:inline"> | |
| 38 ( | |
| 39 <span class="optional">optional</span> | |
| 40 <span class="enum">enumerated</span> | |
| 41 <span id="typeTemplate"> | |
| 42 <span> | |
| 43 <a> Type</a> | |
| 44 </span> | |
| 45 <span> | |
| 46 <span> | |
| 47 array of <span><span></span></span> | |
| 48 </span> | |
| 49 <span>paramType</span> | |
| 50 <span></span> | |
| 51 </span> | |
| 52 </span> | |
| 53 ) | |
| 54 </div> | |
| 55 | |
| 56 </em> | |
| 57 </dt> | |
| 58 <dd class="todo"> | |
| 59 Undocumented. | |
| 60 </dd> | |
| 61 <dd> | |
| 62 Description of this parameter from the json schema. | |
| 63 </dd> | |
| 64 <dd> | |
| 65 This parameter was added in version | |
| 66 <b><span></span></b>. | |
| 67 You must omit this parameter in earlier versions, | |
| 68 and you may omit it in any version. If you require this | |
| 69 parameter, the manifest key | |
| 70 <a href="manifest.html#minimum_chrome_version">minimum_chrome_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="idle.html">Idle</a></li> | |
| 203 <li><a href="i18n.html">Internationalization</a></li> | |
| 204 <li><a href="messaging.html">Message Passing</a></li> | |
| 205 <li><a href="npapi.html">NPAPI Plugins</a></li> | |
| 206 </ul> | |
| 207 </li> | |
| 208 <li>Finishing | |
| 209 <ul> | |
| 210 <li><a href="hosting.html">Hosting</a></li> | |
| 211 <li><a href="external_extensions.html">Other Deployment Option
s</a></li> | |
| 212 </ul> | |
| 213 </li> | |
| 214 </ul> | |
| 215 </li> | |
| 216 <li><h2><a href="apps.html">Packaged Apps</a></h2></li> | |
| 217 <li><h2><a href="tutorials.html">Tutorials</a></h2> | |
| 218 <ul> | |
| 219 <li><a href="tut_debugging.html">Debugging</a></li> | |
| 220 <li><a href="tut_analytics.html">Google Analytics</a></li> | |
| 221 <li><a href="tut_oauth.html">OAuth</a></li> | |
| 222 </ul> | |
| 223 </li> | |
| 224 <li><h2>Reference</h2> | |
| 225 <ul> | |
| 226 <li>Formats | |
| 227 <ul> | |
| 228 <li><a href="manifest.html">Manifest Files</a></li> | |
| 229 <li><a href="match_patterns.html">Match Patterns</a></li> | |
| 230 </ul> | |
| 231 </li> | |
| 232 <li><a href="permission_warnings.html">Permission Warnings</a></li
> | |
| 233 <li><a href="api_index.html">chrome.* APIs</a></li> | |
| 234 <li><a href="api_other.html">Other APIs</a></li> | |
| 235 </ul> | |
| 236 </li> | |
| 237 <li><h2><a href="samples.html">Samples</a></h2></li> | |
| 238 <div class="line"> </div> | |
| 239 <li><h2>More</h2> | |
| 240 <ul> | |
| 241 <li><a href="http://code.google.com/chrome/webstore/docs/index.htm
l">Chrome Web Store</a></li> | |
| 242 <li><a href="http://code.google.com/chrome/apps/docs/developers_gu
ide.html">Hosted Apps</a></li> | |
| 243 <li><a href="themes.html">Themes</a></li> | |
| 244 </ul> | |
| 245 </li> | |
| 246 </ul> | |
| 247 </div> | |
| 248 <script> | |
| 249 initToggles(); | |
| 250 </script> | |
| 251 | |
| 252 <div class="g-unit" id="gc-pagecontent"> | |
| 253 <div id="pageTitle"> | |
| 254 <h1 class="page_title">chrome.experimental.contentSettings.global</h1> | |
| 255 </div> | |
| 256 <!-- TABLE OF CONTENTS --> | |
| 257 <div id="toc"> | |
| 258 <h2>Contents</h2> | |
| 259 <ol> | |
| 260 <li style="display: none; "> | |
| 261 <a>h2Name</a> | |
| 262 <ol> | |
| 263 <li> | |
| 264 <a>h3Name</a> | |
| 265 </li> | |
| 266 </ol> | |
| 267 </li> | |
| 268 <li> | |
| 269 <a href="#apiReference">API reference: chrome.experimental.conte
ntSettings.global</a> | |
| 270 <ol> | |
| 271 <li> | |
| 272 <a href="#properties">Properties</a> | |
| 273 <ol> | |
| 274 <li> | |
| 275 <a href="#property-thirdPartyCookiesAllowed">thirdPartyC
ookiesAllowed</a> | |
| 276 </li><li> | |
| 277 <a href="#property-referrersEnabled">referrersEnabled</a
> | |
| 278 </li><li> | |
| 279 <a href="#property-hyperlinkAuditingEnabled">hyperlinkAu
ditingEnabled</a> | |
| 280 </li> | |
| 281 </ol> | |
| 282 </li> | |
| 283 <li style="display: none; "> | |
| 284 <a>Methods</a> | |
| 285 <ol> | |
| 286 <li> | |
| 287 <a href="#method-anchor">methodName</a> | |
| 288 </li> | |
| 289 </ol> | |
| 290 </li> | |
| 291 <li style="display: none; "> | |
| 292 <a>Events</a> | |
| 293 <ol> | |
| 294 <li> | |
| 295 <a href="#event-anchor">eventName</a> | |
| 296 </li> | |
| 297 </ol> | |
| 298 </li> | |
| 299 <li style="display: none; "> | |
| 300 <a href="#types">Types</a> | |
| 301 <ol> | |
| 302 <li> | |
| 303 <a href="#id-anchor">id</a> | |
| 304 </li> | |
| 305 </ol> | |
| 306 </li> | |
| 307 </ol> | |
| 308 </li> | |
| 309 </ol> | |
| 310 </div> | |
| 311 <!-- /TABLE OF CONTENTS --> | |
| 312 | |
| 313 <!-- Standard content lead-in for experimental API pages --> | |
| 314 <p id="classSummary"> | |
| 315 For information on how to use experimental APIs, see the <a href="expe
rimental.html">chrome.experimental.* APIs</a> page. | |
| 316 </p> | |
| 317 | |
| 318 <!-- STATIC CONTENT PLACEHOLDER --> | |
| 319 <div id="static"></div> | |
| 320 | |
| 321 <!-- API PAGE --> | |
| 322 <div class="apiPage"> | |
| 323 <a name="apiReference"></a> | |
| 324 <h2>API reference: chrome.experimental.contentSettings.global</h2> | |
| 325 | |
| 326 <!-- PROPERTIES --> | |
| 327 <div class="apiGroup"> | |
| 328 <a name="properties"></a> | |
| 329 <h3 id="properties">Properties</h3> | |
| 330 | |
| 331 <div> | |
| 332 <a name="property-thirdPartyCookiesAllowed"></a> | |
| 333 <h4>thirdPartyCookiesAllowed</h4> | |
| 334 <div class="summary"> | |
| 335 <!-- Note: intentionally longer 80 columns --> | |
| 336 <span>chrome.experimental.contentSettings.global.</span><span>th
irdPartyCookiesAllowed</span> | |
| 337 </div> | |
| 338 <div> | |
| 339 <dt> | |
| 340 <var>thirdPartyCookiesAllowed</var> | |
| 341 <em> | |
| 342 | |
| 343 <!-- TYPE --> | |
| 344 <div style="display:inline"> | |
| 345 ( | |
| 346 <span class="optional" style="display: none; ">optional</spa
n> | |
| 347 <span class="enum" style="display: none; ">enumerated</span> | |
| 348 <span id="typeTemplate"> | |
| 349 <span> | |
| 350 <a href="types.html#type-ChromeSetting">ChromeSetting</a
> | |
| 351 </span> | |
| 352 <span style="display: none; "> | |
| 353 <span> | |
| 354 array of <span><span></span></span> | |
| 355 </span> | |
| 356 <span>paramType</span> | |
| 357 <span></span> | |
| 358 </span> | |
| 359 </span> | |
| 360 ) | |
| 361 </div> | |
| 362 | |
| 363 </em> | |
| 364 </dt> | |
| 365 <dd class="todo" style="display: none; "> | |
| 366 Undocumented. | |
| 367 </dd> | |
| 368 <dd>Whether third party cookies should be allowed. The value of this p
reference is of type boolean, and the default value is true.</dd> | |
| 369 <dd style="display: none; "> | |
| 370 This parameter was added in version | |
| 371 <b><span></span></b>. | |
| 372 You must omit this parameter in earlier versions, | |
| 373 and you may omit it in any version. If you require this | |
| 374 parameter, the manifest key | |
| 375 <a href="manifest.html#minimum_chrome_version">minimum_chrome_versio
n</a> | |
| 376 can ensure that your extension won't be run in an earlier browser ve
rsion. | |
| 377 </dd> | |
| 378 | |
| 379 <!-- OBJECT PROPERTIES --> | |
| 380 <dd style="display: none; "> | |
| 381 <dl> | |
| 382 <div> | |
| 383 <div> | |
| 384 </div> | |
| 385 </div> | |
| 386 </dl> | |
| 387 </dd> | |
| 388 | |
| 389 <!-- OBJECT METHODS --> | |
| 390 <dd style="display: none; "> | |
| 391 <div></div> | |
| 392 </dd> | |
| 393 | |
| 394 <!-- OBJECT EVENT FIELDS --> | |
| 395 <dd style="display: none; "> | |
| 396 <div></div> | |
| 397 </dd> | |
| 398 | |
| 399 <!-- FUNCTION PARAMETERS --> | |
| 400 <dd style="display: none; "> | |
| 401 <div></div> | |
| 402 </dd> | |
| 403 | |
| 404 </div> | |
| 405 </div><div> | |
| 406 <a name="property-referrersEnabled"></a> | |
| 407 <h4>referrersEnabled</h4> | |
| 408 <div class="summary"> | |
| 409 <!-- Note: intentionally longer 80 columns --> | |
| 410 <span>chrome.experimental.contentSettings.global.</span><span>re
ferrersEnabled</span> | |
| 411 </div> | |
| 412 <div> | |
| 413 <dt> | |
| 414 <var>referrersEnabled</var> | |
| 415 <em> | |
| 416 | |
| 417 <!-- TYPE --> | |
| 418 <div style="display:inline"> | |
| 419 ( | |
| 420 <span class="optional" style="display: none; ">optional</spa
n> | |
| 421 <span class="enum" style="display: none; ">enumerated</span> | |
| 422 <span id="typeTemplate"> | |
| 423 <span> | |
| 424 <a href="types.html#type-ChromeSetting">ChromeSetting</a
> | |
| 425 </span> | |
| 426 <span style="display: none; "> | |
| 427 <span> | |
| 428 array of <span><span></span></span> | |
| 429 </span> | |
| 430 <span>paramType</span> | |
| 431 <span></span> | |
| 432 </span> | |
| 433 </span> | |
| 434 ) | |
| 435 </div> | |
| 436 | |
| 437 </em> | |
| 438 </dt> | |
| 439 <dd class="todo" style="display: none; "> | |
| 440 Undocumented. | |
| 441 </dd> | |
| 442 <dd>Whether referrers should be enabled. The value of this preference
is of type boolean, and the default value is true.</dd> | |
| 443 <dd style="display: none; "> | |
| 444 This parameter was added in version | |
| 445 <b><span></span></b>. | |
| 446 You must omit this parameter in earlier versions, | |
| 447 and you may omit it in any version. If you require this | |
| 448 parameter, the manifest key | |
| 449 <a href="manifest.html#minimum_chrome_version">minimum_chrome_versio
n</a> | |
| 450 can ensure that your extension won't be run in an earlier browser ve
rsion. | |
| 451 </dd> | |
| 452 | |
| 453 <!-- OBJECT PROPERTIES --> | |
| 454 <dd style="display: none; "> | |
| 455 <dl> | |
| 456 <div> | |
| 457 <div> | |
| 458 </div> | |
| 459 </div> | |
| 460 </dl> | |
| 461 </dd> | |
| 462 | |
| 463 <!-- OBJECT METHODS --> | |
| 464 <dd style="display: none; "> | |
| 465 <div></div> | |
| 466 </dd> | |
| 467 | |
| 468 <!-- OBJECT EVENT FIELDS --> | |
| 469 <dd style="display: none; "> | |
| 470 <div></div> | |
| 471 </dd> | |
| 472 | |
| 473 <!-- FUNCTION PARAMETERS --> | |
| 474 <dd style="display: none; "> | |
| 475 <div></div> | |
| 476 </dd> | |
| 477 | |
| 478 </div> | |
| 479 </div><div> | |
| 480 <a name="property-hyperlinkAuditingEnabled"></a> | |
| 481 <h4>hyperlinkAuditingEnabled</h4> | |
| 482 <div class="summary"> | |
| 483 <!-- Note: intentionally longer 80 columns --> | |
| 484 <span>chrome.experimental.contentSettings.global.</span><span>hy
perlinkAuditingEnabled</span> | |
| 485 </div> | |
| 486 <div> | |
| 487 <dt> | |
| 488 <var>hyperlinkAuditingEnabled</var> | |
| 489 <em> | |
| 490 | |
| 491 <!-- TYPE --> | |
| 492 <div style="display:inline"> | |
| 493 ( | |
| 494 <span class="optional" style="display: none; ">optional</spa
n> | |
| 495 <span class="enum" style="display: none; ">enumerated</span> | |
| 496 <span id="typeTemplate"> | |
| 497 <span> | |
| 498 <a href="types.html#type-ChromeSetting">ChromeSetting</a
> | |
| 499 </span> | |
| 500 <span style="display: none; "> | |
| 501 <span> | |
| 502 array of <span><span></span></span> | |
| 503 </span> | |
| 504 <span>paramType</span> | |
| 505 <span></span> | |
| 506 </span> | |
| 507 </span> | |
| 508 ) | |
| 509 </div> | |
| 510 | |
| 511 </em> | |
| 512 </dt> | |
| 513 <dd class="todo" style="display: none; "> | |
| 514 Undocumented. | |
| 515 </dd> | |
| 516 <dd>Whether to enable hyperlink auditing ("<a ping>"). The value
of this preference is of type boolean, and the default value is true.</dd> | |
| 517 <dd style="display: none; "> | |
| 518 This parameter was added in version | |
| 519 <b><span></span></b>. | |
| 520 You must omit this parameter in earlier versions, | |
| 521 and you may omit it in any version. If you require this | |
| 522 parameter, the manifest key | |
| 523 <a href="manifest.html#minimum_chrome_version">minimum_chrome_versio
n</a> | |
| 524 can ensure that your extension won't be run in an earlier browser ve
rsion. | |
| 525 </dd> | |
| 526 | |
| 527 <!-- OBJECT PROPERTIES --> | |
| 528 <dd style="display: none; "> | |
| 529 <dl> | |
| 530 <div> | |
| 531 <div> | |
| 532 </div> | |
| 533 </div> | |
| 534 </dl> | |
| 535 </dd> | |
| 536 | |
| 537 <!-- OBJECT METHODS --> | |
| 538 <dd style="display: none; "> | |
| 539 <div></div> | |
| 540 </dd> | |
| 541 | |
| 542 <!-- OBJECT EVENT FIELDS --> | |
| 543 <dd style="display: none; "> | |
| 544 <div></div> | |
| 545 </dd> | |
| 546 | |
| 547 <!-- FUNCTION PARAMETERS --> | |
| 548 <dd style="display: none; "> | |
| 549 <div></div> | |
| 550 </dd> | |
| 551 | |
| 552 </div> | |
| 553 </div> | |
| 554 | |
| 555 </div> <!-- /apiGroup --> | |
| 556 | |
| 557 <!-- METHODS --> | |
| 558 <div id="methodsTemplate" class="apiGroup" style="display: none; "> | |
| 559 <a></a> | |
| 560 <h3>Methods</h3> | |
| 561 | |
| 562 <!-- iterates over all functions --> | |
| 563 <div class="apiItem"> | |
| 564 <a></a> <!-- method-anchor --> | |
| 565 <h4>method name</h4> | |
| 566 | |
| 567 <div class="summary"><span>void</span> | |
| 568 <!-- Note: intentionally longer 80 columns --> | |
| 569 <span>chrome.module.methodName</span>(<span><span>, </span><sp
an></span> | |
| 570 <var><span></span></var></span>)</div> | |
| 571 | |
| 572 <div class="description"> | |
| 573 <p class="todo">Undocumented.</p> | |
| 574 <p> | |
| 575 A description from the json schema def of the function goes he
re. | |
| 576 </p> | |
| 577 | |
| 578 <!-- PARAMETERS --> | |
| 579 <h4>Parameters</h4> | |
| 580 <dl> | |
| 581 <div> | |
| 582 <div> | |
| 583 </div> | |
| 584 </div> | |
| 585 </dl> | |
| 586 | |
| 587 <!-- RETURNS --> | |
| 588 <h4>Returns</h4> | |
| 589 <dl> | |
| 590 <div> | |
| 591 <div> | |
| 592 </div> | |
| 593 </div> | |
| 594 </dl> | |
| 595 | |
| 596 <!-- CALLBACK --> | |
| 597 <div> | |
| 598 <div> | |
| 599 <h4>Callback function</h4> | |
| 600 <p> | |
| 601 The callback <em>parameter</em> should specify a function | |
| 602 that looks like this: | |
| 603 </p> | |
| 604 <p> | |
| 605 If you specify the <em>callback</em> parameter, it should | |
| 606 specify a function that looks like this: | |
| 607 </p> | |
| 608 | |
| 609 <!-- Note: intentionally longer 80 columns --> | |
| 610 <pre>function(<span>Type param1, Type param2</span>) <span cla
ss="subdued">{...}</span>;</pre> | |
| 611 <dl> | |
| 612 <div> | |
| 613 <div> | |
| 614 </div> | |
| 615 </div> | |
| 616 </dl> | |
| 617 </div> | |
| 618 </div> | |
| 619 | |
| 620 <!-- MIN_VERSION --> | |
| 621 <p> | |
| 622 This function was added in version <b><span></span></b>. | |
| 623 If you require this function, the manifest key | |
| 624 <a href="manifest.html#minimum_chrome_version">minimum_chrome_
version</a> | |
| 625 can ensure that your extension won't be run in an earlier brow
ser version. | |
| 626 </p> | |
| 627 </div> <!-- /description --> | |
| 628 | |
| 629 </div> <!-- /apiItem --> | |
| 630 | |
| 631 </div> <!-- /apiGroup --> | |
| 632 | |
| 633 <!-- EVENTS --> | |
| 634 <div id="eventsTemplate" class="apiGroup" style="display: none; "> | |
| 635 <a></a> | |
| 636 <h3>Events</h3> | |
| 637 <!-- iterates over all events --> | |
| 638 <div class="apiItem"> | |
| 639 <a></a> | |
| 640 <h4>event name</h4> | |
| 641 | |
| 642 <div class="summary"> | |
| 643 <!-- Note: intentionally longer 80 columns --> | |
| 644 <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><span>, Type opt_param1, Type opt_p
aram2</span>)); | |
| 645 </div> | |
| 646 | |
| 647 <div class="description"> | |
| 648 <p class="todo">Undocumented.</p> | |
| 649 <p> | |
| 650 A description from the json schema def of the event goes here. | |
| 651 </p> | |
| 652 | |
| 653 <!-- LISTENER PARAMETERS --> | |
| 654 <div> | |
| 655 <h4>Listener parameters</h4> | |
| 656 <dl> | |
| 657 <div> | |
| 658 <div> | |
| 659 </div> | |
| 660 </div> | |
| 661 </dl> | |
| 662 </div> | |
| 663 | |
| 664 <!-- EXTRA PARAMETERS --> | |
| 665 <div> | |
| 666 <h4>Extra parameters to addListener</h4> | |
| 667 <dl> | |
| 668 <div> | |
| 669 <div> | |
| 670 </div> | |
| 671 </div> | |
| 672 </dl> | |
| 673 </div> | |
| 674 | |
| 675 <!-- LISTENER RETURN VALUE --> | |
| 676 <h4>Listener returns</h4> | |
| 677 <dl> | |
| 678 <div> | |
| 679 <div> | |
| 680 </div> | |
| 681 </div> | |
| 682 </dl> | |
| 683 | |
| 684 </div> <!-- /description --> | |
| 685 </div> <!-- /apiItem --> | |
| 686 | |
| 687 </div> <!-- /apiGroup --> | |
| 688 | |
| 689 <!-- TYPES --> | |
| 690 <div class="apiGroup" style="display: none; "> | |
| 691 <a name="types"></a> | |
| 692 <h3 id="types">Types</h3> | |
| 693 | |
| 694 <!-- iterates over all types --> | |
| 695 <div class="apiItem"> | |
| 696 <a></a> | |
| 697 <h4>type name</h4> | |
| 698 | |
| 699 <div> | |
| 700 </div> | |
| 701 | |
| 702 </div> <!-- /apiItem --> | |
| 703 | |
| 704 </div> <!-- /apiGroup --> | |
| 705 | |
| 706 </div> <!-- /apiPage --> | |
| 707 </div> <!-- /gc-pagecontent --> | |
| 708 </div> <!-- /g-section --> | |
| 709 </div> <!-- /codesiteContent --> | |
| 710 <div id="gc-footer" --=""> | |
| 711 <div class="text"> | |
| 712 <p> | |
| 713 Except as otherwise <a href="http://code.google.com/policies.html#restrictions
">noted</a>, | |
| 714 the content of this page is licensed under the <a rel="license" href="http://c
reativecommons.org/licenses/by/3.0/">Creative Commons | |
| 715 Attribution 3.0 License</a>, and code samples are licensed under the | |
| 716 <a rel="license" href="http://code.google.com/google_bsd_license.html">BSD Lic
ense</a>. | |
| 717 </p> | |
| 718 <p> | |
| 719 ©2011 Google | |
| 720 </p> | |
| 721 | |
| 722 <!-- begin analytics --> | |
| 723 <script src="http://www.google-analytics.com/urchin.js" type="text/javascript"><
/script> | |
| 724 <script src="http://www.google-analytics.com/ga.js" type="text/javascript"></scr
ipt> | |
| 725 | |
| 726 <script type="text/javascript"> | |
| 727 // chrome doc tracking | |
| 728 try { | |
| 729 var engdocs = _gat._getTracker("YT-10763712-2"); | |
| 730 engdocs._trackPageview(); | |
| 731 } catch(err) {} | |
| 732 | |
| 733 // code.google.com site-wide tracking | |
| 734 try { | |
| 735 _uacct="UA-18071-1"; | |
| 736 _uanchor=1; | |
| 737 _uff=0; | |
| 738 urchinTracker(); | |
| 739 } | |
| 740 catch(e) {/* urchinTracker not available. */} | |
| 741 </script> | |
| 742 <!-- end analytics --> | |
| 743 </div> | |
| 744 </div> <!-- /gc-footer --> | |
| 745 </div> <!-- /gc-container --> | |
| 746 </body></html> | |
| OLD | NEW |