Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(481)

Side by Side Diff: chrome/common/extensions/docs/experimental.clear.html

Issue 7551008: Strawman proposal for chrome.experimental.clear.* (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: License presubmit check. :( Created 9 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(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.clear - Google Chrome Extensions - Google Code</tit le></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&amp;t13n_langs=en"></script>
136 <script type="text/javascript" src="http://www.google.com/coop/cse/bra nd?form=cse&amp;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.clear</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.clear </a>
270 <ol>
271 <li style="display: none; ">
272 <a href="#properties">Properties</a>
273 <ol>
274 <li>
275 <a href="#property-anchor">propertyName</a>
276 </li>
277 </ol>
278 </li>
279 <li>
280 <a href="#global-methods">Methods</a>
281 <ol>
282 <li>
283 <a href="#method-browsingData">browsingData</a>
284 </li><li>
285 <a href="#method-cache">cache</a>
286 </li><li>
287 <a href="#method-cookies">cookies</a>
288 </li><li>
289 <a href="#method-downloads">downloads</a>
290 </li><li>
291 <a href="#method-formData">formData</a>
292 </li><li>
293 <a href="#method-history">history</a>
294 </li><li>
295 <a href="#method-passwords">passwords</a>
296 </li>
297 </ol>
298 </li>
299 <li style="display: none; ">
300 <a>Events</a>
301 <ol>
302 <li>
303 <a href="#event-anchor">eventName</a>
304 </li>
305 </ol>
306 </li>
307 <li>
308 <a href="#types">Types</a>
309 <ol>
310 <li>
311 <a href="#type-TimePeriod">TimePeriod</a>
312 </li>
313 </ol>
314 </li>
315 </ol>
316 </li>
317 </ol>
318 </div>
319 <!-- /TABLE OF CONTENTS -->
320
321 <!-- Standard content lead-in for experimental API pages -->
322 <p id="classSummary">
323 For information on how to use experimental APIs, see the <a href="expe rimental.html">chrome.experimental.* APIs</a> page.
324 </p>
325
326 <!-- STATIC CONTENT PLACEHOLDER -->
327 <div id="static"></div>
328
329 <!-- API PAGE -->
330 <div class="apiPage">
331 <a name="apiReference"></a>
332 <h2>API reference: chrome.experimental.clear</h2>
333
334 <!-- PROPERTIES -->
335 <div class="apiGroup" style="display: none; ">
336 <a name="properties"></a>
337 <h3 id="properties">Properties</h3>
338
339 <div>
340 <a></a>
341 <h4>getLastError</h4>
342 <div class="summary">
343 <!-- Note: intentionally longer 80 columns -->
344 <span>chrome.extension</span><span>lastError</span>
345 </div>
346 <div>
347 </div>
348 </div>
349
350 </div> <!-- /apiGroup -->
351
352 <!-- METHODS -->
353 <div id="methodsTemplate" class="apiGroup">
354 <a name="global-methods"></a>
355 <h3>Methods</h3>
356
357 <!-- iterates over all functions -->
358 <div class="apiItem">
359 <a name="method-browsingData"></a> <!-- method-anchor -->
360 <h4>browsingData</h4>
361
362 <div class="summary"><span style="display: none; ">void</span>
363 <!-- Note: intentionally longer 80 columns -->
364 <span>chrome.experimental.clear.browsingData</span>(<span clas s="null"><span style="display: none; ">, </span><span>TimePeriod</span>
365 <var><span>period</span></var></span><span class="null"><s pan>, </span><span>object</span>
366 <var><span>dataToRemove</span></var></span><span class="op tional"><span>, </span><span>function</span>
367 <var><span>callback</span></var></span>)</div>
368
369 <div class="description">
370 <p class="todo" style="display: none; ">Undocumented.</p>
371 <p>Clears data generated by browsing within a particular timefra me.</p>
372
373 <!-- PARAMETERS -->
374 <h4>Parameters</h4>
375 <dl>
376 <div>
377 <div>
378 <dt>
379 <var>period</var>
380 <em>
381
382 <!-- TYPE -->
383 <div style="display:inline">
384 (
385 <span class="optional" style="display: none; ">optional</spa n>
386 <span class="enum" style="display: none; ">enumerated</span>
387 <span id="typeTemplate">
388 <span>
389 <a href="experimental.clear.html#type-TimePeriod">TimePe riod</a>
390 </span>
391 <span style="display: none; ">
392 <span>
393 array of <span><span></span></span>
394 </span>
395 <span>paramType</span>
396 <span></span>
397 </span>
398 </span>
399 )
400 </div>
401
402 </em>
403 </dt>
404 <dd class="todo">
405 Undocumented.
406 </dd>
407 <dd style="display: none; ">
408 Description of this parameter from the json schema.
409 </dd>
410 <dd style="display: none; ">
411 This parameter was added in version
412 <b><span></span></b>.
413 You must omit this parameter in earlier versions,
414 and you may omit it in any version. If you require this
415 parameter, the manifest key
416 <a href="manifest.html#minimum_chrome_version">minimum_chrome_versio n</a>
417 can ensure that your extension won't be run in an earlier browser ve rsion.
418 </dd>
419
420 <!-- OBJECT PROPERTIES -->
421 <dd style="display: none; ">
422 <dl>
423 <div>
424 <div>
425 </div>
426 </div>
427 </dl>
428 </dd>
429
430 <!-- OBJECT METHODS -->
431 <dd style="display: none; ">
432 <div></div>
433 </dd>
434
435 <!-- OBJECT EVENT FIELDS -->
436 <dd style="display: none; ">
437 <div></div>
438 </dd>
439
440 <!-- FUNCTION PARAMETERS -->
441 <dd style="display: none; ">
442 <div></div>
443 </dd>
444
445 </div>
446 </div><div>
447 <div>
448 <dt>
449 <var>dataToRemove</var>
450 <em>
451
452 <!-- TYPE -->
453 <div style="display:inline">
454 (
455 <span class="optional" style="display: none; ">optional</spa n>
456 <span class="enum" style="display: none; ">enumerated</span>
457 <span id="typeTemplate">
458 <span style="display: none; ">
459 <a> Type</a>
460 </span>
461 <span>
462 <span style="display: none; ">
463 array of <span><span></span></span>
464 </span>
465 <span>object</span>
466 <span style="display: none; "></span>
467 </span>
468 </span>
469 )
470 </div>
471
472 </em>
473 </dt>
474 <dd class="todo">
475 Undocumented.
476 </dd>
477 <dd style="display: none; ">
478 Description of this parameter from the json schema.
479 </dd>
480 <dd style="display: none; ">
481 This parameter was added in version
482 <b><span></span></b>.
483 You must omit this parameter in earlier versions,
484 and you may omit it in any version. If you require this
485 parameter, the manifest key
486 <a href="manifest.html#minimum_chrome_version">minimum_chrome_versio n</a>
487 can ensure that your extension won't be run in an earlier browser ve rsion.
488 </dd>
489
490 <!-- OBJECT PROPERTIES -->
491 <dd>
492 <dl>
493 <div>
494 <div>
495 <dt>
496 <var>cache</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>boolean</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>Should the browser cache be cleared?</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>cookies</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>boolean</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>Should the browser's cookies be cleared?</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><div>
630 <div>
631 <dt>
632 <var>downloads</var>
633 <em>
634
635 <!-- TYPE -->
636 <div style="display:inline">
637 (
638 <span class="optional">optional</span>
639 <span class="enum" style="display: none; ">enumerated</span>
640 <span id="typeTemplate">
641 <span style="display: none; ">
642 <a> Type</a>
643 </span>
644 <span>
645 <span style="display: none; ">
646 array of <span><span></span></span>
647 </span>
648 <span>boolean</span>
649 <span style="display: none; "></span>
650 </span>
651 </span>
652 )
653 </div>
654
655 </em>
656 </dt>
657 <dd class="todo" style="display: none; ">
658 Undocumented.
659 </dd>
660 <dd>Should the browser's download list be cleared?</dd>
661 <dd style="display: none; ">
662 This parameter was added in version
663 <b><span></span></b>.
664 You must omit this parameter in earlier versions,
665 and you may omit it in any version. If you require this
666 parameter, the manifest key
667 <a href="manifest.html#minimum_chrome_version">minimum_chrome_versio n</a>
668 can ensure that your extension won't be run in an earlier browser ve rsion.
669 </dd>
670
671 <!-- OBJECT PROPERTIES -->
672 <dd style="display: none; ">
673 <dl>
674 <div>
675 <div>
676 </div>
677 </div>
678 </dl>
679 </dd>
680
681 <!-- OBJECT METHODS -->
682 <dd style="display: none; ">
683 <div></div>
684 </dd>
685
686 <!-- OBJECT EVENT FIELDS -->
687 <dd style="display: none; ">
688 <div></div>
689 </dd>
690
691 <!-- FUNCTION PARAMETERS -->
692 <dd style="display: none; ">
693 <div></div>
694 </dd>
695
696 </div>
697 </div><div>
698 <div>
699 <dt>
700 <var>formData</var>
701 <em>
702
703 <!-- TYPE -->
704 <div style="display:inline">
705 (
706 <span class="optional">optional</span>
707 <span class="enum" style="display: none; ">enumerated</span>
708 <span id="typeTemplate">
709 <span style="display: none; ">
710 <a> Type</a>
711 </span>
712 <span>
713 <span style="display: none; ">
714 array of <span><span></span></span>
715 </span>
716 <span>boolean</span>
717 <span style="display: none; "></span>
718 </span>
719 </span>
720 )
721 </div>
722
723 </em>
724 </dt>
725 <dd class="todo" style="display: none; ">
726 Undocumented.
727 </dd>
728 <dd>Should stored form data be cleared?</dd>
729 <dd style="display: none; ">
730 This parameter was added in version
731 <b><span></span></b>.
732 You must omit this parameter in earlier versions,
733 and you may omit it in any version. If you require this
734 parameter, the manifest key
735 <a href="manifest.html#minimum_chrome_version">minimum_chrome_versio n</a>
736 can ensure that your extension won't be run in an earlier browser ve rsion.
737 </dd>
738
739 <!-- OBJECT PROPERTIES -->
740 <dd style="display: none; ">
741 <dl>
742 <div>
743 <div>
744 </div>
745 </div>
746 </dl>
747 </dd>
748
749 <!-- OBJECT METHODS -->
750 <dd style="display: none; ">
751 <div></div>
752 </dd>
753
754 <!-- OBJECT EVENT FIELDS -->
755 <dd style="display: none; ">
756 <div></div>
757 </dd>
758
759 <!-- FUNCTION PARAMETERS -->
760 <dd style="display: none; ">
761 <div></div>
762 </dd>
763
764 </div>
765 </div><div>
766 <div>
767 <dt>
768 <var>history</var>
769 <em>
770
771 <!-- TYPE -->
772 <div style="display:inline">
773 (
774 <span class="optional">optional</span>
775 <span class="enum" style="display: none; ">enumerated</span>
776 <span id="typeTemplate">
777 <span style="display: none; ">
778 <a> Type</a>
779 </span>
780 <span>
781 <span style="display: none; ">
782 array of <span><span></span></span>
783 </span>
784 <span>boolean</span>
785 <span style="display: none; "></span>
786 </span>
787 </span>
788 )
789 </div>
790
791 </em>
792 </dt>
793 <dd class="todo" style="display: none; ">
794 Undocumented.
795 </dd>
796 <dd>Should the browser's history be cleared?</dd>
797 <dd style="display: none; ">
798 This parameter was added in version
799 <b><span></span></b>.
800 You must omit this parameter in earlier versions,
801 and you may omit it in any version. If you require this
802 parameter, the manifest key
803 <a href="manifest.html#minimum_chrome_version">minimum_chrome_versio n</a>
804 can ensure that your extension won't be run in an earlier browser ve rsion.
805 </dd>
806
807 <!-- OBJECT PROPERTIES -->
808 <dd style="display: none; ">
809 <dl>
810 <div>
811 <div>
812 </div>
813 </div>
814 </dl>
815 </dd>
816
817 <!-- OBJECT METHODS -->
818 <dd style="display: none; ">
819 <div></div>
820 </dd>
821
822 <!-- OBJECT EVENT FIELDS -->
823 <dd style="display: none; ">
824 <div></div>
825 </dd>
826
827 <!-- FUNCTION PARAMETERS -->
828 <dd style="display: none; ">
829 <div></div>
830 </dd>
831
832 </div>
833 </div><div>
834 <div>
835 <dt>
836 <var>passwords</var>
837 <em>
838
839 <!-- TYPE -->
840 <div style="display:inline">
841 (
842 <span class="optional">optional</span>
843 <span class="enum" style="display: none; ">enumerated</span>
844 <span id="typeTemplate">
845 <span style="display: none; ">
846 <a> Type</a>
847 </span>
848 <span>
849 <span style="display: none; ">
850 array of <span><span></span></span>
851 </span>
852 <span>boolean</span>
853 <span style="display: none; "></span>
854 </span>
855 </span>
856 )
857 </div>
858
859 </em>
860 </dt>
861 <dd class="todo" style="display: none; ">
862 Undocumented.
863 </dd>
864 <dd>Should the stored passwords be cleared?</dd>
865 <dd style="display: none; ">
866 This parameter was added in version
867 <b><span></span></b>.
868 You must omit this parameter in earlier versions,
869 and you may omit it in any version. If you require this
870 parameter, the manifest key
871 <a href="manifest.html#minimum_chrome_version">minimum_chrome_versio n</a>
872 can ensure that your extension won't be run in an earlier browser ve rsion.
873 </dd>
874
875 <!-- OBJECT PROPERTIES -->
876 <dd style="display: none; ">
877 <dl>
878 <div>
879 <div>
880 </div>
881 </div>
882 </dl>
883 </dd>
884
885 <!-- OBJECT METHODS -->
886 <dd style="display: none; ">
887 <div></div>
888 </dd>
889
890 <!-- OBJECT EVENT FIELDS -->
891 <dd style="display: none; ">
892 <div></div>
893 </dd>
894
895 <!-- FUNCTION PARAMETERS -->
896 <dd style="display: none; ">
897 <div></div>
898 </dd>
899
900 </div>
901 </div>
902 </dl>
903 </dd>
904
905 <!-- OBJECT METHODS -->
906 <dd style="display: none; ">
907 <div></div>
908 </dd>
909
910 <!-- OBJECT EVENT FIELDS -->
911 <dd style="display: none; ">
912 <div></div>
913 </dd>
914
915 <!-- FUNCTION PARAMETERS -->
916 <dd style="display: none; ">
917 <div></div>
918 </dd>
919
920 </div>
921 </div><div>
922 <div>
923 <dt>
924 <var>callback</var>
925 <em>
926
927 <!-- TYPE -->
928 <div style="display:inline">
929 (
930 <span class="optional">optional</span>
931 <span class="enum" style="display: none; ">enumerated</span>
932 <span id="typeTemplate">
933 <span style="display: none; ">
934 <a> Type</a>
935 </span>
936 <span>
937 <span style="display: none; ">
938 array of <span><span></span></span>
939 </span>
940 <span>function</span>
941 <span style="display: none; "></span>
942 </span>
943 </span>
944 )
945 </div>
946
947 </em>
948 </dt>
949 <dd class="todo" style="display: none; ">
950 Undocumented.
951 </dd>
952 <dd>Called when deletion has completed.</dd>
953 <dd style="display: none; ">
954 This parameter was added in version
955 <b><span></span></b>.
956 You must omit this parameter in earlier versions,
957 and you may omit it in any version. If you require this
958 parameter, the manifest key
959 <a href="manifest.html#minimum_chrome_version">minimum_chrome_versio n</a>
960 can ensure that your extension won't be run in an earlier browser ve rsion.
961 </dd>
962
963 <!-- OBJECT PROPERTIES -->
964 <dd style="display: none; ">
965 <dl>
966 <div>
967 <div>
968 </div>
969 </div>
970 </dl>
971 </dd>
972
973 <!-- OBJECT METHODS -->
974 <dd style="display: none; ">
975 <div></div>
976 </dd>
977
978 <!-- OBJECT EVENT FIELDS -->
979 <dd style="display: none; ">
980 <div></div>
981 </dd>
982
983 <!-- FUNCTION PARAMETERS -->
984 <dd style="display: none; ">
985 <div></div>
986 </dd>
987
988 </div>
989 </div>
990 </dl>
991
992 <!-- RETURNS -->
993 <h4 style="display: none; ">Returns</h4>
994 <dl>
995 <div style="display: none; ">
996 <div>
997 </div>
998 </div>
999 </dl>
1000
1001 <!-- CALLBACK -->
1002 <div>
1003 <div>
1004 <h4>Callback function</h4>
1005 <p style="display: none; ">
1006 The callback <em>parameter</em> should specify a function
1007 that looks like this:
1008 </p>
1009 <p>
1010 If you specify the <em>callback</em> parameter, it should
1011 specify a function that looks like this:
1012 </p>
1013
1014 <!-- Note: intentionally longer 80 columns -->
1015 <pre>function(<span></span>) <span class="subdued">{...}</span >;</pre>
1016 <dl>
1017 <div style="display: none; ">
1018 <div>
1019 </div>
1020 </div>
1021 </dl>
1022 </div>
1023 </div>
1024
1025 <!-- MIN_VERSION -->
1026 <p style="display: none; ">
1027 This function was added in version <b><span></span></b>.
1028 If you require this function, the manifest key
1029 <a href="manifest.html#minimum_chrome_version">minimum_chrome_ version</a>
1030 can ensure that your extension won't be run in an earlier brow ser version.
1031 </p>
1032 </div> <!-- /description -->
1033
1034 </div><div class="apiItem">
1035 <a name="method-cache"></a> <!-- method-anchor -->
1036 <h4>cache</h4>
1037
1038 <div class="summary"><span style="display: none; ">void</span>
1039 <!-- Note: intentionally longer 80 columns -->
1040 <span>chrome.experimental.clear.cache</span>(<span class="null "><span style="display: none; ">, </span><span>TimePeriod</span>
1041 <var><span>period</span></var></span><span class="optional "><span>, </span><span>function</span>
1042 <var><span>callback</span></var></span>)</div>
1043
1044 <div class="description">
1045 <p class="todo" style="display: none; ">Undocumented.</p>
1046 <p>Clears the browser's cache.</p>
1047
1048 <!-- PARAMETERS -->
1049 <h4>Parameters</h4>
1050 <dl>
1051 <div>
1052 <div>
1053 <dt>
1054 <var>period</var>
1055 <em>
1056
1057 <!-- TYPE -->
1058 <div style="display:inline">
1059 (
1060 <span class="optional" style="display: none; ">optional</spa n>
1061 <span class="enum" style="display: none; ">enumerated</span>
1062 <span id="typeTemplate">
1063 <span>
1064 <a href="experimental.clear.html#type-TimePeriod">TimePe riod</a>
1065 </span>
1066 <span style="display: none; ">
1067 <span>
1068 array of <span><span></span></span>
1069 </span>
1070 <span>paramType</span>
1071 <span></span>
1072 </span>
1073 </span>
1074 )
1075 </div>
1076
1077 </em>
1078 </dt>
1079 <dd class="todo">
1080 Undocumented.
1081 </dd>
1082 <dd style="display: none; ">
1083 Description of this parameter from the json schema.
1084 </dd>
1085 <dd style="display: none; ">
1086 This parameter was added in version
1087 <b><span></span></b>.
1088 You must omit this parameter in earlier versions,
1089 and you may omit it in any version. If you require this
1090 parameter, the manifest key
1091 <a href="manifest.html#minimum_chrome_version">minimum_chrome_versio n</a>
1092 can ensure that your extension won't be run in an earlier browser ve rsion.
1093 </dd>
1094
1095 <!-- OBJECT PROPERTIES -->
1096 <dd style="display: none; ">
1097 <dl>
1098 <div>
1099 <div>
1100 </div>
1101 </div>
1102 </dl>
1103 </dd>
1104
1105 <!-- OBJECT METHODS -->
1106 <dd style="display: none; ">
1107 <div></div>
1108 </dd>
1109
1110 <!-- OBJECT EVENT FIELDS -->
1111 <dd style="display: none; ">
1112 <div></div>
1113 </dd>
1114
1115 <!-- FUNCTION PARAMETERS -->
1116 <dd style="display: none; ">
1117 <div></div>
1118 </dd>
1119
1120 </div>
1121 </div><div>
1122 <div>
1123 <dt>
1124 <var>callback</var>
1125 <em>
1126
1127 <!-- TYPE -->
1128 <div style="display:inline">
1129 (
1130 <span class="optional">optional</span>
1131 <span class="enum" style="display: none; ">enumerated</span>
1132 <span id="typeTemplate">
1133 <span style="display: none; ">
1134 <a> Type</a>
1135 </span>
1136 <span>
1137 <span style="display: none; ">
1138 array of <span><span></span></span>
1139 </span>
1140 <span>function</span>
1141 <span style="display: none; "></span>
1142 </span>
1143 </span>
1144 )
1145 </div>
1146
1147 </em>
1148 </dt>
1149 <dd class="todo" style="display: none; ">
1150 Undocumented.
1151 </dd>
1152 <dd>Called when the browser's cache has cleared.</dd>
1153 <dd style="display: none; ">
1154 This parameter was added in version
1155 <b><span></span></b>.
1156 You must omit this parameter in earlier versions,
1157 and you may omit it in any version. If you require this
1158 parameter, the manifest key
1159 <a href="manifest.html#minimum_chrome_version">minimum_chrome_versio n</a>
1160 can ensure that your extension won't be run in an earlier browser ve rsion.
1161 </dd>
1162
1163 <!-- OBJECT PROPERTIES -->
1164 <dd style="display: none; ">
1165 <dl>
1166 <div>
1167 <div>
1168 </div>
1169 </div>
1170 </dl>
1171 </dd>
1172
1173 <!-- OBJECT METHODS -->
1174 <dd style="display: none; ">
1175 <div></div>
1176 </dd>
1177
1178 <!-- OBJECT EVENT FIELDS -->
1179 <dd style="display: none; ">
1180 <div></div>
1181 </dd>
1182
1183 <!-- FUNCTION PARAMETERS -->
1184 <dd style="display: none; ">
1185 <div></div>
1186 </dd>
1187
1188 </div>
1189 </div>
1190 </dl>
1191
1192 <!-- RETURNS -->
1193 <h4 style="display: none; ">Returns</h4>
1194 <dl>
1195 <div style="display: none; ">
1196 <div>
1197 </div>
1198 </div>
1199 </dl>
1200
1201 <!-- CALLBACK -->
1202 <div>
1203 <div>
1204 <h4>Callback function</h4>
1205 <p style="display: none; ">
1206 The callback <em>parameter</em> should specify a function
1207 that looks like this:
1208 </p>
1209 <p>
1210 If you specify the <em>callback</em> parameter, it should
1211 specify a function that looks like this:
1212 </p>
1213
1214 <!-- Note: intentionally longer 80 columns -->
1215 <pre>function(<span></span>) <span class="subdued">{...}</span >;</pre>
1216 <dl>
1217 <div style="display: none; ">
1218 <div>
1219 </div>
1220 </div>
1221 </dl>
1222 </div>
1223 </div>
1224
1225 <!-- MIN_VERSION -->
1226 <p style="display: none; ">
1227 This function was added in version <b><span></span></b>.
1228 If you require this function, the manifest key
1229 <a href="manifest.html#minimum_chrome_version">minimum_chrome_ version</a>
1230 can ensure that your extension won't be run in an earlier brow ser version.
1231 </p>
1232 </div> <!-- /description -->
1233
1234 </div><div class="apiItem">
1235 <a name="method-cookies"></a> <!-- method-anchor -->
1236 <h4>cookies</h4>
1237
1238 <div class="summary"><span style="display: none; ">void</span>
1239 <!-- Note: intentionally longer 80 columns -->
1240 <span>chrome.experimental.clear.cookies</span>(<span class="nu ll"><span style="display: none; ">, </span><span>TimePeriod</span>
1241 <var><span>period</span></var></span><span class="optional "><span>, </span><span>function</span>
1242 <var><span>callback</span></var></span>)</div>
1243
1244 <div class="description">
1245 <p class="todo" style="display: none; ">Undocumented.</p>
1246 <p>Clears the browser's cookies and site data.</p>
1247
1248 <!-- PARAMETERS -->
1249 <h4>Parameters</h4>
1250 <dl>
1251 <div>
1252 <div>
1253 <dt>
1254 <var>period</var>
1255 <em>
1256
1257 <!-- TYPE -->
1258 <div style="display:inline">
1259 (
1260 <span class="optional" style="display: none; ">optional</spa n>
1261 <span class="enum" style="display: none; ">enumerated</span>
1262 <span id="typeTemplate">
1263 <span>
1264 <a href="experimental.clear.html#type-TimePeriod">TimePe riod</a>
1265 </span>
1266 <span style="display: none; ">
1267 <span>
1268 array of <span><span></span></span>
1269 </span>
1270 <span>paramType</span>
1271 <span></span>
1272 </span>
1273 </span>
1274 )
1275 </div>
1276
1277 </em>
1278 </dt>
1279 <dd class="todo">
1280 Undocumented.
1281 </dd>
1282 <dd style="display: none; ">
1283 Description of this parameter from the json schema.
1284 </dd>
1285 <dd style="display: none; ">
1286 This parameter was added in version
1287 <b><span></span></b>.
1288 You must omit this parameter in earlier versions,
1289 and you may omit it in any version. If you require this
1290 parameter, the manifest key
1291 <a href="manifest.html#minimum_chrome_version">minimum_chrome_versio n</a>
1292 can ensure that your extension won't be run in an earlier browser ve rsion.
1293 </dd>
1294
1295 <!-- OBJECT PROPERTIES -->
1296 <dd style="display: none; ">
1297 <dl>
1298 <div>
1299 <div>
1300 </div>
1301 </div>
1302 </dl>
1303 </dd>
1304
1305 <!-- OBJECT METHODS -->
1306 <dd style="display: none; ">
1307 <div></div>
1308 </dd>
1309
1310 <!-- OBJECT EVENT FIELDS -->
1311 <dd style="display: none; ">
1312 <div></div>
1313 </dd>
1314
1315 <!-- FUNCTION PARAMETERS -->
1316 <dd style="display: none; ">
1317 <div></div>
1318 </dd>
1319
1320 </div>
1321 </div><div>
1322 <div>
1323 <dt>
1324 <var>callback</var>
1325 <em>
1326
1327 <!-- TYPE -->
1328 <div style="display:inline">
1329 (
1330 <span class="optional">optional</span>
1331 <span class="enum" style="display: none; ">enumerated</span>
1332 <span id="typeTemplate">
1333 <span style="display: none; ">
1334 <a> Type</a>
1335 </span>
1336 <span>
1337 <span style="display: none; ">
1338 array of <span><span></span></span>
1339 </span>
1340 <span>function</span>
1341 <span style="display: none; "></span>
1342 </span>
1343 </span>
1344 )
1345 </div>
1346
1347 </em>
1348 </dt>
1349 <dd class="todo" style="display: none; ">
1350 Undocumented.
1351 </dd>
1352 <dd>Called when the browser's cookies and site data have been cleared. </dd>
1353 <dd style="display: none; ">
1354 This parameter was added in version
1355 <b><span></span></b>.
1356 You must omit this parameter in earlier versions,
1357 and you may omit it in any version. If you require this
1358 parameter, the manifest key
1359 <a href="manifest.html#minimum_chrome_version">minimum_chrome_versio n</a>
1360 can ensure that your extension won't be run in an earlier browser ve rsion.
1361 </dd>
1362
1363 <!-- OBJECT PROPERTIES -->
1364 <dd style="display: none; ">
1365 <dl>
1366 <div>
1367 <div>
1368 </div>
1369 </div>
1370 </dl>
1371 </dd>
1372
1373 <!-- OBJECT METHODS -->
1374 <dd style="display: none; ">
1375 <div></div>
1376 </dd>
1377
1378 <!-- OBJECT EVENT FIELDS -->
1379 <dd style="display: none; ">
1380 <div></div>
1381 </dd>
1382
1383 <!-- FUNCTION PARAMETERS -->
1384 <dd style="display: none; ">
1385 <div></div>
1386 </dd>
1387
1388 </div>
1389 </div>
1390 </dl>
1391
1392 <!-- RETURNS -->
1393 <h4 style="display: none; ">Returns</h4>
1394 <dl>
1395 <div style="display: none; ">
1396 <div>
1397 </div>
1398 </div>
1399 </dl>
1400
1401 <!-- CALLBACK -->
1402 <div>
1403 <div>
1404 <h4>Callback function</h4>
1405 <p style="display: none; ">
1406 The callback <em>parameter</em> should specify a function
1407 that looks like this:
1408 </p>
1409 <p>
1410 If you specify the <em>callback</em> parameter, it should
1411 specify a function that looks like this:
1412 </p>
1413
1414 <!-- Note: intentionally longer 80 columns -->
1415 <pre>function(<span></span>) <span class="subdued">{...}</span >;</pre>
1416 <dl>
1417 <div style="display: none; ">
1418 <div>
1419 </div>
1420 </div>
1421 </dl>
1422 </div>
1423 </div>
1424
1425 <!-- MIN_VERSION -->
1426 <p style="display: none; ">
1427 This function was added in version <b><span></span></b>.
1428 If you require this function, the manifest key
1429 <a href="manifest.html#minimum_chrome_version">minimum_chrome_ version</a>
1430 can ensure that your extension won't be run in an earlier brow ser version.
1431 </p>
1432 </div> <!-- /description -->
1433
1434 </div><div class="apiItem">
1435 <a name="method-downloads"></a> <!-- method-anchor -->
1436 <h4>downloads</h4>
1437
1438 <div class="summary"><span style="display: none; ">void</span>
1439 <!-- Note: intentionally longer 80 columns -->
1440 <span>chrome.experimental.clear.downloads</span>(<span class=" null"><span style="display: none; ">, </span><span>TimePeriod</span>
1441 <var><span>period</span></var></span><span class="optional "><span>, </span><span>function</span>
1442 <var><span>callback</span></var></span>)</div>
1443
1444 <div class="description">
1445 <p class="todo" style="display: none; ">Undocumented.</p>
1446 <p>Clears the browser's list of downloaded files (<em>not</em> t he downloaded files themselves).</p>
1447
1448 <!-- PARAMETERS -->
1449 <h4>Parameters</h4>
1450 <dl>
1451 <div>
1452 <div>
1453 <dt>
1454 <var>period</var>
1455 <em>
1456
1457 <!-- TYPE -->
1458 <div style="display:inline">
1459 (
1460 <span class="optional" style="display: none; ">optional</spa n>
1461 <span class="enum" style="display: none; ">enumerated</span>
1462 <span id="typeTemplate">
1463 <span>
1464 <a href="experimental.clear.html#type-TimePeriod">TimePe riod</a>
1465 </span>
1466 <span style="display: none; ">
1467 <span>
1468 array of <span><span></span></span>
1469 </span>
1470 <span>paramType</span>
1471 <span></span>
1472 </span>
1473 </span>
1474 )
1475 </div>
1476
1477 </em>
1478 </dt>
1479 <dd class="todo">
1480 Undocumented.
1481 </dd>
1482 <dd style="display: none; ">
1483 Description of this parameter from the json schema.
1484 </dd>
1485 <dd style="display: none; ">
1486 This parameter was added in version
1487 <b><span></span></b>.
1488 You must omit this parameter in earlier versions,
1489 and you may omit it in any version. If you require this
1490 parameter, the manifest key
1491 <a href="manifest.html#minimum_chrome_version">minimum_chrome_versio n</a>
1492 can ensure that your extension won't be run in an earlier browser ve rsion.
1493 </dd>
1494
1495 <!-- OBJECT PROPERTIES -->
1496 <dd style="display: none; ">
1497 <dl>
1498 <div>
1499 <div>
1500 </div>
1501 </div>
1502 </dl>
1503 </dd>
1504
1505 <!-- OBJECT METHODS -->
1506 <dd style="display: none; ">
1507 <div></div>
1508 </dd>
1509
1510 <!-- OBJECT EVENT FIELDS -->
1511 <dd style="display: none; ">
1512 <div></div>
1513 </dd>
1514
1515 <!-- FUNCTION PARAMETERS -->
1516 <dd style="display: none; ">
1517 <div></div>
1518 </dd>
1519
1520 </div>
1521 </div><div>
1522 <div>
1523 <dt>
1524 <var>callback</var>
1525 <em>
1526
1527 <!-- TYPE -->
1528 <div style="display:inline">
1529 (
1530 <span class="optional">optional</span>
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>function</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>Called when the browser's list of downloaded files has been cleare d.</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>
1590 </dl>
1591
1592 <!-- RETURNS -->
1593 <h4 style="display: none; ">Returns</h4>
1594 <dl>
1595 <div style="display: none; ">
1596 <div>
1597 </div>
1598 </div>
1599 </dl>
1600
1601 <!-- CALLBACK -->
1602 <div>
1603 <div>
1604 <h4>Callback function</h4>
1605 <p style="display: none; ">
1606 The callback <em>parameter</em> should specify a function
1607 that looks like this:
1608 </p>
1609 <p>
1610 If you specify the <em>callback</em> parameter, it should
1611 specify a function that looks like this:
1612 </p>
1613
1614 <!-- Note: intentionally longer 80 columns -->
1615 <pre>function(<span></span>) <span class="subdued">{...}</span >;</pre>
1616 <dl>
1617 <div style="display: none; ">
1618 <div>
1619 </div>
1620 </div>
1621 </dl>
1622 </div>
1623 </div>
1624
1625 <!-- MIN_VERSION -->
1626 <p style="display: none; ">
1627 This function was added in version <b><span></span></b>.
1628 If you require this function, the manifest key
1629 <a href="manifest.html#minimum_chrome_version">minimum_chrome_ version</a>
1630 can ensure that your extension won't be run in an earlier brow ser version.
1631 </p>
1632 </div> <!-- /description -->
1633
1634 </div><div class="apiItem">
1635 <a name="method-formData"></a> <!-- method-anchor -->
1636 <h4>formData</h4>
1637
1638 <div class="summary"><span style="display: none; ">void</span>
1639 <!-- Note: intentionally longer 80 columns -->
1640 <span>chrome.experimental.clear.formData</span>(<span class="n ull"><span style="display: none; ">, </span><span>TimePeriod</span>
1641 <var><span>period</span></var></span><span class="optional "><span>, </span><span>function</span>
1642 <var><span>callback</span></var></span>)</div>
1643
1644 <div class="description">
1645 <p class="todo" style="display: none; ">Undocumented.</p>
1646 <p>Clears the browser's stored form data (autofill).</p>
1647
1648 <!-- PARAMETERS -->
1649 <h4>Parameters</h4>
1650 <dl>
1651 <div>
1652 <div>
1653 <dt>
1654 <var>period</var>
1655 <em>
1656
1657 <!-- TYPE -->
1658 <div style="display:inline">
1659 (
1660 <span class="optional" style="display: none; ">optional</spa n>
1661 <span class="enum" style="display: none; ">enumerated</span>
1662 <span id="typeTemplate">
1663 <span>
1664 <a href="experimental.clear.html#type-TimePeriod">TimePe riod</a>
1665 </span>
1666 <span style="display: none; ">
1667 <span>
1668 array of <span><span></span></span>
1669 </span>
1670 <span>paramType</span>
1671 <span></span>
1672 </span>
1673 </span>
1674 )
1675 </div>
1676
1677 </em>
1678 </dt>
1679 <dd class="todo">
1680 Undocumented.
1681 </dd>
1682 <dd style="display: none; ">
1683 Description of this parameter from the json schema.
1684 </dd>
1685 <dd style="display: none; ">
1686 This parameter was added in version
1687 <b><span></span></b>.
1688 You must omit this parameter in earlier versions,
1689 and you may omit it in any version. If you require this
1690 parameter, the manifest key
1691 <a href="manifest.html#minimum_chrome_version">minimum_chrome_versio n</a>
1692 can ensure that your extension won't be run in an earlier browser ve rsion.
1693 </dd>
1694
1695 <!-- OBJECT PROPERTIES -->
1696 <dd style="display: none; ">
1697 <dl>
1698 <div>
1699 <div>
1700 </div>
1701 </div>
1702 </dl>
1703 </dd>
1704
1705 <!-- OBJECT METHODS -->
1706 <dd style="display: none; ">
1707 <div></div>
1708 </dd>
1709
1710 <!-- OBJECT EVENT FIELDS -->
1711 <dd style="display: none; ">
1712 <div></div>
1713 </dd>
1714
1715 <!-- FUNCTION PARAMETERS -->
1716 <dd style="display: none; ">
1717 <div></div>
1718 </dd>
1719
1720 </div>
1721 </div><div>
1722 <div>
1723 <dt>
1724 <var>callback</var>
1725 <em>
1726
1727 <!-- TYPE -->
1728 <div style="display:inline">
1729 (
1730 <span class="optional">optional</span>
1731 <span class="enum" style="display: none; ">enumerated</span>
1732 <span id="typeTemplate">
1733 <span style="display: none; ">
1734 <a> Type</a>
1735 </span>
1736 <span>
1737 <span style="display: none; ">
1738 array of <span><span></span></span>
1739 </span>
1740 <span>function</span>
1741 <span style="display: none; "></span>
1742 </span>
1743 </span>
1744 )
1745 </div>
1746
1747 </em>
1748 </dt>
1749 <dd class="todo" style="display: none; ">
1750 Undocumented.
1751 </dd>
1752 <dd>Called when the browser's form data has been cleared.</dd>
1753 <dd style="display: none; ">
1754 This parameter was added in version
1755 <b><span></span></b>.
1756 You must omit this parameter in earlier versions,
1757 and you may omit it in any version. If you require this
1758 parameter, the manifest key
1759 <a href="manifest.html#minimum_chrome_version">minimum_chrome_versio n</a>
1760 can ensure that your extension won't be run in an earlier browser ve rsion.
1761 </dd>
1762
1763 <!-- OBJECT PROPERTIES -->
1764 <dd style="display: none; ">
1765 <dl>
1766 <div>
1767 <div>
1768 </div>
1769 </div>
1770 </dl>
1771 </dd>
1772
1773 <!-- OBJECT METHODS -->
1774 <dd style="display: none; ">
1775 <div></div>
1776 </dd>
1777
1778 <!-- OBJECT EVENT FIELDS -->
1779 <dd style="display: none; ">
1780 <div></div>
1781 </dd>
1782
1783 <!-- FUNCTION PARAMETERS -->
1784 <dd style="display: none; ">
1785 <div></div>
1786 </dd>
1787
1788 </div>
1789 </div>
1790 </dl>
1791
1792 <!-- RETURNS -->
1793 <h4 style="display: none; ">Returns</h4>
1794 <dl>
1795 <div style="display: none; ">
1796 <div>
1797 </div>
1798 </div>
1799 </dl>
1800
1801 <!-- CALLBACK -->
1802 <div>
1803 <div>
1804 <h4>Callback function</h4>
1805 <p style="display: none; ">
1806 The callback <em>parameter</em> should specify a function
1807 that looks like this:
1808 </p>
1809 <p>
1810 If you specify the <em>callback</em> parameter, it should
1811 specify a function that looks like this:
1812 </p>
1813
1814 <!-- Note: intentionally longer 80 columns -->
1815 <pre>function(<span></span>) <span class="subdued">{...}</span >;</pre>
1816 <dl>
1817 <div style="display: none; ">
1818 <div>
1819 </div>
1820 </div>
1821 </dl>
1822 </div>
1823 </div>
1824
1825 <!-- MIN_VERSION -->
1826 <p style="display: none; ">
1827 This function was added in version <b><span></span></b>.
1828 If you require this function, the manifest key
1829 <a href="manifest.html#minimum_chrome_version">minimum_chrome_ version</a>
1830 can ensure that your extension won't be run in an earlier brow ser version.
1831 </p>
1832 </div> <!-- /description -->
1833
1834 </div><div class="apiItem">
1835 <a name="method-history"></a> <!-- method-anchor -->
1836 <h4>history</h4>
1837
1838 <div class="summary"><span style="display: none; ">void</span>
1839 <!-- Note: intentionally longer 80 columns -->
1840 <span>chrome.experimental.clear.history</span>(<span class="nu ll"><span style="display: none; ">, </span><span>TimePeriod</span>
1841 <var><span>period</span></var></span><span class="optional "><span>, </span><span>function</span>
1842 <var><span>callback</span></var></span>)</div>
1843
1844 <div class="description">
1845 <p class="todo" style="display: none; ">Undocumented.</p>
1846 <p>Clears the browser's history.</p>
1847
1848 <!-- PARAMETERS -->
1849 <h4>Parameters</h4>
1850 <dl>
1851 <div>
1852 <div>
1853 <dt>
1854 <var>period</var>
1855 <em>
1856
1857 <!-- TYPE -->
1858 <div style="display:inline">
1859 (
1860 <span class="optional" style="display: none; ">optional</spa n>
1861 <span class="enum" style="display: none; ">enumerated</span>
1862 <span id="typeTemplate">
1863 <span>
1864 <a href="experimental.clear.html#type-TimePeriod">TimePe riod</a>
1865 </span>
1866 <span style="display: none; ">
1867 <span>
1868 array of <span><span></span></span>
1869 </span>
1870 <span>paramType</span>
1871 <span></span>
1872 </span>
1873 </span>
1874 )
1875 </div>
1876
1877 </em>
1878 </dt>
1879 <dd class="todo">
1880 Undocumented.
1881 </dd>
1882 <dd style="display: none; ">
1883 Description of this parameter from the json schema.
1884 </dd>
1885 <dd style="display: none; ">
1886 This parameter was added in version
1887 <b><span></span></b>.
1888 You must omit this parameter in earlier versions,
1889 and you may omit it in any version. If you require this
1890 parameter, the manifest key
1891 <a href="manifest.html#minimum_chrome_version">minimum_chrome_versio n</a>
1892 can ensure that your extension won't be run in an earlier browser ve rsion.
1893 </dd>
1894
1895 <!-- OBJECT PROPERTIES -->
1896 <dd style="display: none; ">
1897 <dl>
1898 <div>
1899 <div>
1900 </div>
1901 </div>
1902 </dl>
1903 </dd>
1904
1905 <!-- OBJECT METHODS -->
1906 <dd style="display: none; ">
1907 <div></div>
1908 </dd>
1909
1910 <!-- OBJECT EVENT FIELDS -->
1911 <dd style="display: none; ">
1912 <div></div>
1913 </dd>
1914
1915 <!-- FUNCTION PARAMETERS -->
1916 <dd style="display: none; ">
1917 <div></div>
1918 </dd>
1919
1920 </div>
1921 </div><div>
1922 <div>
1923 <dt>
1924 <var>callback</var>
1925 <em>
1926
1927 <!-- TYPE -->
1928 <div style="display:inline">
1929 (
1930 <span class="optional">optional</span>
1931 <span class="enum" style="display: none; ">enumerated</span>
1932 <span id="typeTemplate">
1933 <span style="display: none; ">
1934 <a> Type</a>
1935 </span>
1936 <span>
1937 <span style="display: none; ">
1938 array of <span><span></span></span>
1939 </span>
1940 <span>function</span>
1941 <span style="display: none; "></span>
1942 </span>
1943 </span>
1944 )
1945 </div>
1946
1947 </em>
1948 </dt>
1949 <dd class="todo" style="display: none; ">
1950 Undocumented.
1951 </dd>
1952 <dd>Called when the browser's history has cleared.</dd>
1953 <dd style="display: none; ">
1954 This parameter was added in version
1955 <b><span></span></b>.
1956 You must omit this parameter in earlier versions,
1957 and you may omit it in any version. If you require this
1958 parameter, the manifest key
1959 <a href="manifest.html#minimum_chrome_version">minimum_chrome_versio n</a>
1960 can ensure that your extension won't be run in an earlier browser ve rsion.
1961 </dd>
1962
1963 <!-- OBJECT PROPERTIES -->
1964 <dd style="display: none; ">
1965 <dl>
1966 <div>
1967 <div>
1968 </div>
1969 </div>
1970 </dl>
1971 </dd>
1972
1973 <!-- OBJECT METHODS -->
1974 <dd style="display: none; ">
1975 <div></div>
1976 </dd>
1977
1978 <!-- OBJECT EVENT FIELDS -->
1979 <dd style="display: none; ">
1980 <div></div>
1981 </dd>
1982
1983 <!-- FUNCTION PARAMETERS -->
1984 <dd style="display: none; ">
1985 <div></div>
1986 </dd>
1987
1988 </div>
1989 </div>
1990 </dl>
1991
1992 <!-- RETURNS -->
1993 <h4 style="display: none; ">Returns</h4>
1994 <dl>
1995 <div style="display: none; ">
1996 <div>
1997 </div>
1998 </div>
1999 </dl>
2000
2001 <!-- CALLBACK -->
2002 <div>
2003 <div>
2004 <h4>Callback function</h4>
2005 <p style="display: none; ">
2006 The callback <em>parameter</em> should specify a function
2007 that looks like this:
2008 </p>
2009 <p>
2010 If you specify the <em>callback</em> parameter, it should
2011 specify a function that looks like this:
2012 </p>
2013
2014 <!-- Note: intentionally longer 80 columns -->
2015 <pre>function(<span></span>) <span class="subdued">{...}</span >;</pre>
2016 <dl>
2017 <div style="display: none; ">
2018 <div>
2019 </div>
2020 </div>
2021 </dl>
2022 </div>
2023 </div>
2024
2025 <!-- MIN_VERSION -->
2026 <p style="display: none; ">
2027 This function was added in version <b><span></span></b>.
2028 If you require this function, the manifest key
2029 <a href="manifest.html#minimum_chrome_version">minimum_chrome_ version</a>
2030 can ensure that your extension won't be run in an earlier brow ser version.
2031 </p>
2032 </div> <!-- /description -->
2033
2034 </div><div class="apiItem">
2035 <a name="method-passwords"></a> <!-- method-anchor -->
2036 <h4>passwords</h4>
2037
2038 <div class="summary"><span style="display: none; ">void</span>
2039 <!-- Note: intentionally longer 80 columns -->
2040 <span>chrome.experimental.clear.passwords</span>(<span class=" null"><span style="display: none; ">, </span><span>TimePeriod</span>
2041 <var><span>period</span></var></span><span class="optional "><span>, </span><span>function</span>
2042 <var><span>callback</span></var></span>)</div>
2043
2044 <div class="description">
2045 <p class="todo" style="display: none; ">Undocumented.</p>
2046 <p>Clears the browser's stored passwords.</p>
2047
2048 <!-- PARAMETERS -->
2049 <h4>Parameters</h4>
2050 <dl>
2051 <div>
2052 <div>
2053 <dt>
2054 <var>period</var>
2055 <em>
2056
2057 <!-- TYPE -->
2058 <div style="display:inline">
2059 (
2060 <span class="optional" style="display: none; ">optional</spa n>
2061 <span class="enum" style="display: none; ">enumerated</span>
2062 <span id="typeTemplate">
2063 <span>
2064 <a href="experimental.clear.html#type-TimePeriod">TimePe riod</a>
2065 </span>
2066 <span style="display: none; ">
2067 <span>
2068 array of <span><span></span></span>
2069 </span>
2070 <span>paramType</span>
2071 <span></span>
2072 </span>
2073 </span>
2074 )
2075 </div>
2076
2077 </em>
2078 </dt>
2079 <dd class="todo">
2080 Undocumented.
2081 </dd>
2082 <dd style="display: none; ">
2083 Description of this parameter from the json schema.
2084 </dd>
2085 <dd style="display: none; ">
2086 This parameter was added in version
2087 <b><span></span></b>.
2088 You must omit this parameter in earlier versions,
2089 and you may omit it in any version. If you require this
2090 parameter, the manifest key
2091 <a href="manifest.html#minimum_chrome_version">minimum_chrome_versio n</a>
2092 can ensure that your extension won't be run in an earlier browser ve rsion.
2093 </dd>
2094
2095 <!-- OBJECT PROPERTIES -->
2096 <dd style="display: none; ">
2097 <dl>
2098 <div>
2099 <div>
2100 </div>
2101 </div>
2102 </dl>
2103 </dd>
2104
2105 <!-- OBJECT METHODS -->
2106 <dd style="display: none; ">
2107 <div></div>
2108 </dd>
2109
2110 <!-- OBJECT EVENT FIELDS -->
2111 <dd style="display: none; ">
2112 <div></div>
2113 </dd>
2114
2115 <!-- FUNCTION PARAMETERS -->
2116 <dd style="display: none; ">
2117 <div></div>
2118 </dd>
2119
2120 </div>
2121 </div><div>
2122 <div>
2123 <dt>
2124 <var>callback</var>
2125 <em>
2126
2127 <!-- TYPE -->
2128 <div style="display:inline">
2129 (
2130 <span class="optional">optional</span>
2131 <span class="enum" style="display: none; ">enumerated</span>
2132 <span id="typeTemplate">
2133 <span style="display: none; ">
2134 <a> Type</a>
2135 </span>
2136 <span>
2137 <span style="display: none; ">
2138 array of <span><span></span></span>
2139 </span>
2140 <span>function</span>
2141 <span style="display: none; "></span>
2142 </span>
2143 </span>
2144 )
2145 </div>
2146
2147 </em>
2148 </dt>
2149 <dd class="todo" style="display: none; ">
2150 Undocumented.
2151 </dd>
2152 <dd>Called when the browser's passwords have been cleared.</dd>
2153 <dd style="display: none; ">
2154 This parameter was added in version
2155 <b><span></span></b>.
2156 You must omit this parameter in earlier versions,
2157 and you may omit it in any version. If you require this
2158 parameter, the manifest key
2159 <a href="manifest.html#minimum_chrome_version">minimum_chrome_versio n</a>
2160 can ensure that your extension won't be run in an earlier browser ve rsion.
2161 </dd>
2162
2163 <!-- OBJECT PROPERTIES -->
2164 <dd style="display: none; ">
2165 <dl>
2166 <div>
2167 <div>
2168 </div>
2169 </div>
2170 </dl>
2171 </dd>
2172
2173 <!-- OBJECT METHODS -->
2174 <dd style="display: none; ">
2175 <div></div>
2176 </dd>
2177
2178 <!-- OBJECT EVENT FIELDS -->
2179 <dd style="display: none; ">
2180 <div></div>
2181 </dd>
2182
2183 <!-- FUNCTION PARAMETERS -->
2184 <dd style="display: none; ">
2185 <div></div>
2186 </dd>
2187
2188 </div>
2189 </div>
2190 </dl>
2191
2192 <!-- RETURNS -->
2193 <h4 style="display: none; ">Returns</h4>
2194 <dl>
2195 <div style="display: none; ">
2196 <div>
2197 </div>
2198 </div>
2199 </dl>
2200
2201 <!-- CALLBACK -->
2202 <div>
2203 <div>
2204 <h4>Callback function</h4>
2205 <p style="display: none; ">
2206 The callback <em>parameter</em> should specify a function
2207 that looks like this:
2208 </p>
2209 <p>
2210 If you specify the <em>callback</em> parameter, it should
2211 specify a function that looks like this:
2212 </p>
2213
2214 <!-- Note: intentionally longer 80 columns -->
2215 <pre>function(<span></span>) <span class="subdued">{...}</span >;</pre>
2216 <dl>
2217 <div style="display: none; ">
2218 <div>
2219 </div>
2220 </div>
2221 </dl>
2222 </div>
2223 </div>
2224
2225 <!-- MIN_VERSION -->
2226 <p style="display: none; ">
2227 This function was added in version <b><span></span></b>.
2228 If you require this function, the manifest key
2229 <a href="manifest.html#minimum_chrome_version">minimum_chrome_ version</a>
2230 can ensure that your extension won't be run in an earlier brow ser version.
2231 </p>
2232 </div> <!-- /description -->
2233
2234 </div> <!-- /apiItem -->
2235
2236 </div> <!-- /apiGroup -->
2237
2238 <!-- EVENTS -->
2239 <div id="eventsTemplate" class="apiGroup" style="display: none; ">
2240 <a></a>
2241 <h3>Events</h3>
2242 <!-- iterates over all events -->
2243 <div class="apiItem">
2244 <a></a>
2245 <h4>event name</h4>
2246
2247 <div class="summary">
2248 <!-- Note: intentionally longer 80 columns -->
2249 <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>));
2250 </div>
2251
2252 <div class="description">
2253 <p class="todo">Undocumented.</p>
2254 <p>
2255 A description from the json schema def of the event goes here.
2256 </p>
2257
2258 <!-- LISTENER PARAMETERS -->
2259 <div>
2260 <h4>Listener parameters</h4>
2261 <dl>
2262 <div>
2263 <div>
2264 </div>
2265 </div>
2266 </dl>
2267 </div>
2268
2269 <!-- EXTRA PARAMETERS -->
2270 <div>
2271 <h4>Extra parameters to addListener</h4>
2272 <dl>
2273 <div>
2274 <div>
2275 </div>
2276 </div>
2277 </dl>
2278 </div>
2279
2280 <!-- LISTENER RETURN VALUE -->
2281 <h4>Listener returns</h4>
2282 <dl>
2283 <div>
2284 <div>
2285 </div>
2286 </div>
2287 </dl>
2288
2289 </div> <!-- /description -->
2290 </div> <!-- /apiItem -->
2291
2292 </div> <!-- /apiGroup -->
2293
2294 <!-- TYPES -->
2295 <div class="apiGroup">
2296 <a name="types"></a>
2297 <h3 id="types">Types</h3>
2298
2299 <!-- iterates over all types -->
2300 <div class="apiItem">
2301 <a name="type-TimePeriod"></a>
2302 <h4>TimePeriod</h4>
2303
2304 <div>
2305 <dt>
2306 <var style="display: none; ">paramName</var>
2307 <em>
2308
2309 <!-- TYPE -->
2310 <div style="display:inline">
2311 (
2312 <span class="optional" style="display: none; ">optional</spa n>
2313 <span class="enum">enumerated</span>
2314 <span id="typeTemplate">
2315 <span style="display: none; ">
2316 <a> Type</a>
2317 </span>
2318 <span>
2319 <span style="display: none; ">
2320 array of <span><span></span></span>
2321 </span>
2322 <span>string</span>
2323 <span>["last_hour", "last_day", "last_week", "last_month ", "everything"]</span>
2324 </span>
2325 </span>
2326 )
2327 </div>
2328
2329 </em>
2330 </dt>
2331 <dd class="todo" style="display: none; ">
2332 Undocumented.
2333 </dd>
2334 <dd>The timeframe inside of which to delete browsing data. Passing 'la st_day', for example, will delete all browsing data that was touched between 24 hours ago and right now, inclusive.</dd>
2335 <dd style="display: none; ">
2336 This parameter was added in version
2337 <b><span></span></b>.
2338 You must omit this parameter in earlier versions,
2339 and you may omit it in any version. If you require this
2340 parameter, the manifest key
2341 <a href="manifest.html#minimum_chrome_version">minimum_chrome_versio n</a>
2342 can ensure that your extension won't be run in an earlier browser ve rsion.
2343 </dd>
2344
2345 <!-- OBJECT PROPERTIES -->
2346 <dd style="display: none; ">
2347 <dl>
2348 <div>
2349 <div>
2350 </div>
2351 </div>
2352 </dl>
2353 </dd>
2354
2355 <!-- OBJECT METHODS -->
2356 <dd style="display: none; ">
2357 <div></div>
2358 </dd>
2359
2360 <!-- OBJECT EVENT FIELDS -->
2361 <dd style="display: none; ">
2362 <div></div>
2363 </dd>
2364
2365 <!-- FUNCTION PARAMETERS -->
2366 <dd style="display: none; ">
2367 <div></div>
2368 </dd>
2369
2370 </div>
2371
2372 </div> <!-- /apiItem -->
2373
2374 </div> <!-- /apiGroup -->
2375
2376 </div> <!-- /apiPage -->
2377 </div> <!-- /gc-pagecontent -->
2378 </div> <!-- /g-section -->
2379 </div> <!-- /codesiteContent -->
2380 <div id="gc-footer" --="">
2381 <div class="text">
2382 <p>
2383 Except as otherwise <a href="http://code.google.com/policies.html#restrictions ">noted</a>,
2384 the content of this page is licensed under the <a rel="license" href="http://c reativecommons.org/licenses/by/3.0/">Creative Commons
2385 Attribution 3.0 License</a>, and code samples are licensed under the
2386 <a rel="license" href="http://code.google.com/google_bsd_license.html">BSD Lic ense</a>.
2387 </p>
2388 <p>
2389 ©2011 Google
2390 </p>
2391
2392 <!-- begin analytics -->
2393 <script src="http://www.google-analytics.com/urchin.js" type="text/javascript">< /script>
2394 <script src="http://www.google-analytics.com/ga.js" type="text/javascript"></scr ipt>
2395
2396 <script type="text/javascript">
2397 // chrome doc tracking
2398 try {
2399 var engdocs = _gat._getTracker("YT-10763712-2");
2400 engdocs._trackPageview();
2401 } catch(err) {}
2402
2403 // code.google.com site-wide tracking
2404 try {
2405 _uacct="UA-18071-1";
2406 _uanchor=1;
2407 _uff=0;
2408 urchinTracker();
2409 }
2410 catch(e) {/* urchinTracker not available. */}
2411 </script>
2412 <!-- end analytics -->
2413 </div>
2414 </div> <!-- /gc-footer -->
2415 </div> <!-- /gc-container -->
2416 </body></html>
OLDNEW
« no previous file with comments | « chrome/common/extensions/docs/experimental.html ('k') | chrome/common/extensions/docs/samples.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698