OLD | NEW |
1 <!DOCTYPE html><!-- This page is a placeholder for generated extensions api doc.
Note: | 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 | 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 | 3 across api docs and should be edited only with knowledge of the |
4 templating mechanism. | 4 templating mechanism. |
5 3) All <body>.innerHTML is genereated as an rendering step. If viewed in a | 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 | 6 browser, it will be re-generated from the template, json schema and |
7 authored overview content. | 7 authored overview content. |
8 4) The <body>.innerHTML is also generated by an offline step so that this | 8 4) The <body>.innerHTML is also generated by an offline step so that this |
9 page may easily be indexed by search engines. | 9 page may easily be indexed by search engines. |
10 --><html xmlns="http://www.w3.org/1999/xhtml"><head> | 10 --><html xmlns="http://www.w3.org/1999/xhtml"><head> |
11 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> | 11 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> |
12 <link href="css/ApiRefStyles.css" rel="stylesheet" type="text/css"> | 12 <link href="css/ApiRefStyles.css" rel="stylesheet" type="text/css"> |
13 <link href="css/print.css" rel="stylesheet" type="text/css" media="print"> | 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"> | 14 <script type="text/javascript" src="../../../third_party/jstemplate/jstempla
te_compiled.js"> |
15 </script> | 15 </script> |
16 <script type="text/javascript" src="js/api_page_generator.js"></script> | 16 <script type="text/javascript" src="js/api_page_generator.js"></script> |
17 <script type="text/javascript" src="js/bootstrap.js"></script> | 17 <script type="text/javascript" src="js/bootstrap.js"></script> |
18 <script type="text/javascript" src="js/sidebar.js"></script> | 18 <script type="text/javascript" src="js/sidebar.js"></script> |
19 <meta name="description" content="Documentation for the chrome.experimental.st
orage module, which is part of the Google Chrome extension APIs."><title>chrome
.experimental.storage - Google Chrome Extensions - Google Code</title></head> | 19 <meta name="description" content="Documentation for the chrome.storage module,
which is part of the Google Chrome extension APIs."><title>chrome.storage - Go
ogle Chrome Extensions - Google Code</title></head> |
20 <body> <div id="gc-container" class="labs"> | 20 <body> <div id="gc-container" class="labs"> |
21 <div id="devModeWarning"> | 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. | 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> | 23 </div> |
24 <!-- SUBTEMPLATES: DO NOT MOVE FROM THIS LOCATION --> | 24 <!-- SUBTEMPLATES: DO NOT MOVE FROM THIS LOCATION --> |
25 <!-- In particular, sub-templates that recurse, must be used by allowing | 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 | 26 jstemplate to make a copy of the template in this section which |
27 are not operated on by way of the jsskip="true" --> | 27 are not operated on by way of the jsskip="true" --> |
28 <div style="display:none"> | 28 <div style="display:none"> |
29 | 29 |
(...skipping 258 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
288 </ul> | 288 </ul> |
289 </li> | 289 </li> |
290 </ul> | 290 </ul> |
291 </div> | 291 </div> |
292 <script> | 292 <script> |
293 initToggles(); | 293 initToggles(); |
294 </script> | 294 </script> |
295 | 295 |
296 <div class="g-unit" id="gc-pagecontent"> | 296 <div class="g-unit" id="gc-pagecontent"> |
297 <div id="pageTitle"> | 297 <div id="pageTitle"> |
298 <h1 class="page_title">chrome.experimental.storage</h1> | 298 <h1 class="page_title">chrome.storage</h1> |
299 </div> | 299 </div> |
300 <!-- TABLE OF CONTENTS --> | 300 <!-- TABLE OF CONTENTS --> |
301 <div id="toc"> | 301 <div id="toc"> |
302 <h2>Contents</h2> | 302 <h2>Contents</h2> |
303 <ol> | 303 <ol> |
304 <li style="display: none; "> | 304 <li style="display: none; "> |
305 <a>h2Name</a> | 305 <a>h2Name</a> |
306 <ol> | 306 <ol> |
307 <li> | 307 <li> |
308 <a>h3Name</a> | 308 <a>h3Name</a> |
309 </li> | 309 </li> |
310 </ol> | 310 </ol> |
311 </li> | 311 </li> |
312 <li> | 312 <li> |
313 <a href="#apiReference">API reference: chrome.experimental.stora
ge</a> | 313 <a href="#apiReference">API reference: chrome.storage</a> |
314 <ol> | 314 <ol> |
315 <li> | 315 <li> |
316 <a href="#properties">Properties</a> | 316 <a href="#properties">Properties</a> |
317 <ol> | 317 <ol> |
318 <li> | 318 <li> |
319 <a href="#property-sync">sync</a> | 319 <a href="#property-sync">sync</a> |
320 </li><li> | 320 </li><li> |
321 <a href="#property-local">local</a> | 321 <a href="#property-local">local</a> |
322 </li> | 322 </li> |
323 </ol> | 323 </ol> |
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
390 </li> | 390 </li> |
391 </ol> | 391 </ol> |
392 </li> | 392 </li> |
393 </ol> | 393 </ol> |
394 </li> | 394 </li> |
395 </ol> | 395 </ol> |
396 </div> | 396 </div> |
397 <!-- /TABLE OF CONTENTS --> | 397 <!-- /TABLE OF CONTENTS --> |
398 | 398 |
399 <!-- Standard content lead-in for experimental API pages --> | 399 <!-- Standard content lead-in for experimental API pages --> |
400 <p id="classSummary"> | 400 <p id="classSummary" style="display: none; "> |
401 For information on how to use experimental APIs, see the <a href="expe
rimental.html">chrome.experimental.* APIs</a> page. | 401 For information on how to use experimental APIs, see the <a href="expe
rimental.html">chrome.experimental.* APIs</a> page. |
402 </p> | 402 </p> |
403 | 403 |
404 <!-- STATIC CONTENT PLACEHOLDER --> | 404 <!-- STATIC CONTENT PLACEHOLDER --> |
405 <div id="static"></div> | 405 <div id="static"></div> |
406 | 406 |
407 <!-- API PAGE --> | 407 <!-- API PAGE --> |
408 <div class="apiPage"> | 408 <div class="apiPage"> |
409 <a name="apiReference"></a> | 409 <a name="apiReference"></a> |
410 <h2>API reference: chrome.experimental.storage</h2> | 410 <h2>API reference: chrome.storage</h2> |
411 | 411 |
412 <!-- PROPERTIES --> | 412 <!-- PROPERTIES --> |
413 <div class="apiGroup"> | 413 <div class="apiGroup"> |
414 <a name="properties"></a> | 414 <a name="properties"></a> |
415 <h3 id="properties">Properties</h3> | 415 <h3 id="properties">Properties</h3> |
416 | 416 |
417 <div> | 417 <div> |
418 <a name="property-sync"></a> | 418 <a name="property-sync"></a> |
419 <h4>sync</h4> | 419 <h4>sync</h4> |
420 <div class="summary"> | 420 <div class="summary"> |
421 <!-- Note: intentionally longer 80 columns --> | 421 <!-- Note: intentionally longer 80 columns --> |
422 <span>chrome.experimental.storage.</span><span>sync</span> | 422 <span>chrome.storage.</span><span>sync</span> |
423 </div> | 423 </div> |
424 <div> | 424 <div> |
425 <dt> | 425 <dt> |
426 <var>sync</var> | 426 <var>sync</var> |
427 <em> | 427 <em> |
428 | 428 |
429 <!-- TYPE --> | 429 <!-- TYPE --> |
430 <div style="display:inline"> | 430 <div style="display:inline"> |
431 ( | 431 ( |
432 <span class="optional" style="display: none; ">optional</spa
n> | 432 <span class="optional" style="display: none; ">optional</spa
n> |
433 <span class="enum" style="display: none; ">enumerated</span> | 433 <span class="enum" style="display: none; ">enumerated</span> |
434 <span id="typeTemplate"> | 434 <span id="typeTemplate"> |
435 <span> | 435 <span> |
436 <a href="experimental.storage.html#type-StorageNamespace
">StorageNamespace</a> | 436 <a href="storage.html#type-StorageNamespace">StorageName
space</a> |
437 </span> | 437 </span> |
438 <span style="display: none; "> | 438 <span style="display: none; "> |
439 <span> | 439 <span> |
440 array of <span><span></span></span> | 440 array of <span><span></span></span> |
441 </span> | 441 </span> |
442 <span>paramType</span> | 442 <span>paramType</span> |
443 <span></span> | 443 <span></span> |
444 </span> | 444 </span> |
445 </span> | 445 </span> |
446 ) | 446 ) |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
486 <dd style="display: none; "> | 486 <dd style="display: none; "> |
487 <div></div> | 487 <div></div> |
488 </dd> | 488 </dd> |
489 | 489 |
490 </div> | 490 </div> |
491 </div><div> | 491 </div><div> |
492 <a name="property-local"></a> | 492 <a name="property-local"></a> |
493 <h4>local</h4> | 493 <h4>local</h4> |
494 <div class="summary"> | 494 <div class="summary"> |
495 <!-- Note: intentionally longer 80 columns --> | 495 <!-- Note: intentionally longer 80 columns --> |
496 <span>chrome.experimental.storage.</span><span>local</span> | 496 <span>chrome.storage.</span><span>local</span> |
497 </div> | 497 </div> |
498 <div> | 498 <div> |
499 <dt> | 499 <dt> |
500 <var>local</var> | 500 <var>local</var> |
501 <em> | 501 <em> |
502 | 502 |
503 <!-- TYPE --> | 503 <!-- TYPE --> |
504 <div style="display:inline"> | 504 <div style="display:inline"> |
505 ( | 505 ( |
506 <span class="optional" style="display: none; ">optional</spa
n> | 506 <span class="optional" style="display: none; ">optional</spa
n> |
507 <span class="enum" style="display: none; ">enumerated</span> | 507 <span class="enum" style="display: none; ">enumerated</span> |
508 <span id="typeTemplate"> | 508 <span id="typeTemplate"> |
509 <span> | 509 <span> |
510 <a href="experimental.storage.html#type-StorageNamespace
">StorageNamespace</a> | 510 <a href="storage.html#type-StorageNamespace">StorageName
space</a> |
511 </span> | 511 </span> |
512 <span style="display: none; "> | 512 <span style="display: none; "> |
513 <span> | 513 <span> |
514 array of <span><span></span></span> | 514 array of <span><span></span></span> |
515 </span> | 515 </span> |
516 <span>paramType</span> | 516 <span>paramType</span> |
517 <span></span> | 517 <span></span> |
518 </span> | 518 </span> |
519 </span> | 519 </span> |
520 ) | 520 ) |
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
646 <div id="eventsTemplate" class="apiGroup"> | 646 <div id="eventsTemplate" class="apiGroup"> |
647 <a name="global-events"></a> | 647 <a name="global-events"></a> |
648 <h3>Events</h3> | 648 <h3>Events</h3> |
649 <!-- iterates over all events --> | 649 <!-- iterates over all events --> |
650 <div class="apiItem"> | 650 <div class="apiItem"> |
651 <a name="event-onChanged"></a> | 651 <a name="event-onChanged"></a> |
652 <h4>onChanged</h4> | 652 <h4>onChanged</h4> |
653 | 653 |
654 <div class="summary"> | 654 <div class="summary"> |
655 <!-- Note: intentionally longer 80 columns --> | 655 <!-- Note: intentionally longer 80 columns --> |
656 <span class="subdued">chrome.experimental.storage.</span><span>o
nChanged</span><span class="subdued">.addListener</span>(function(<span>object c
hanges, string namespace</span>) <span class="subdued">{...}</span><span></span>
); | 656 <span class="subdued">chrome.storage.</span><span>onChanged</spa
n><span class="subdued">.addListener</span>(function(<span>object changes, strin
g namespace</span>) <span class="subdued">{...}</span><span></span>); |
657 </div> | 657 </div> |
658 | 658 |
659 <div class="description"> | 659 <div class="description"> |
660 <p class="todo" style="display: none; ">Undocumented.</p> | 660 <p class="todo" style="display: none; ">Undocumented.</p> |
661 <p>Fired when one or more items change.</p> | 661 <p>Fired when one or more items change.</p> |
662 | 662 |
663 <!-- LISTENER PARAMETERS --> | 663 <!-- LISTENER PARAMETERS --> |
664 <div> | 664 <div> |
665 <h4>Listener parameters</h4> | 665 <h4>Listener parameters</h4> |
666 <dl> | 666 <dl> |
(...skipping 1282 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1949 _uff=0; | 1949 _uff=0; |
1950 urchinTracker(); | 1950 urchinTracker(); |
1951 } | 1951 } |
1952 catch(e) {/* urchinTracker not available. */} | 1952 catch(e) {/* urchinTracker not available. */} |
1953 </script> | 1953 </script> |
1954 <!-- end analytics --> | 1954 <!-- end analytics --> |
1955 </div> | 1955 </div> |
1956 </div> <!-- /gc-footer --> | 1956 </div> <!-- /gc-footer --> |
1957 </div> <!-- /gc-container --> | 1957 </div> <!-- /gc-container --> |
1958 </body></html> | 1958 </body></html> |
OLD | NEW |