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> |
(...skipping 344 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
355 <!-- iterates over all functions --> | 355 <!-- iterates over all functions --> |
356 <div class="apiItem"> | 356 <div class="apiItem"> |
357 <a name="method-selectFile"></a> <!-- method-anchor --> | 357 <a name="method-selectFile"></a> <!-- method-anchor --> |
358 <h4>selectFile</h4> | 358 <h4>selectFile</h4> |
359 <div class="summary"> | 359 <div class="summary"> |
360 <!-- Note: intentionally longer 80 columns --> | 360 <!-- Note: intentionally longer 80 columns --> |
361 <span>chrome.fileBrowserHandler.selectFile</span>(<span class=
"null"><span>object</span> | 361 <span>chrome.fileBrowserHandler.selectFile</span>(<span class=
"null"><span>object</span> |
362 <var><span>selectionParams</span></var></span><span class=
"null"><span>, </span><span>function</span> | 362 <var><span>selectionParams</span></var></span><span class=
"null"><span>, </span><span>function</span> |
363 <var><span>callback</span></var></span>)</div> | 363 <var><span>callback</span></var></span>)</div> |
364 <div class="description"> | 364 <div class="description"> |
365 <p>Prompts user to select file path under which a new file will
be created. When the user selects file, the file gets created or, if it already
existed, truncated. The function has to be called with a user gesture.</p> | 365 <p>Prompts user to select file path under which file should be s
aved. When the file is selected, file access permission required to use the file
(read, write and create) are granted to the caller. The file will not actually
get created during the functin call, so function caller must ensure its existanc
e before using it. The function has to be invoked with a user gesture.</p> |
366 <!-- PARAMETERS --> | 366 <!-- PARAMETERS --> |
367 <h4>Parameters</h4> | 367 <h4>Parameters</h4> |
368 <dl> | 368 <dl> |
369 <div> | 369 <div> |
370 <div> | 370 <div> |
371 <dt> | 371 <dt> |
372 <var>selectionParams</var> | 372 <var>selectionParams</var> |
373 <em> | 373 <em> |
374 <!-- TYPE --> | 374 <!-- TYPE --> |
375 <div style="display:inline"> | 375 <div style="display:inline"> |
376 ( | 376 ( |
377 <span id="typeTemplate"> | 377 <span id="typeTemplate"> |
378 <span> | 378 <span> |
379 <span>object</span> | 379 <span>object</span> |
380 </span> | 380 </span> |
381 </span> | 381 </span> |
382 ) | 382 ) |
383 </div> | 383 </div> |
384 </em> | 384 </em> |
385 </dt> | 385 </dt> |
386 <dd>Parameters that will be used to create a new file.</dd> | 386 <dd>Parameters that will be used while selecting the file.</dd> |
387 <!-- OBJECT PROPERTIES --> | 387 <!-- OBJECT PROPERTIES --> |
388 <dd> | 388 <dd> |
389 <dl> | 389 <dl> |
390 <div> | 390 <div> |
391 <div> | 391 <div> |
392 <dt> | 392 <dt> |
393 <var>suggestedName</var> | 393 <var>suggestedName</var> |
394 <em> | 394 <em> |
395 <!-- TYPE --> | 395 <!-- TYPE --> |
396 <div style="display:inline"> | 396 <div style="display:inline"> |
397 ( | 397 ( |
398 <span id="typeTemplate"> | 398 <span id="typeTemplate"> |
399 <span> | 399 <span> |
400 <span>string</span> | 400 <span>string</span> |
401 </span> | 401 </span> |
402 </span> | 402 </span> |
403 ) | 403 ) |
404 </div> | 404 </div> |
405 </em> | 405 </em> |
406 </dt> | 406 </dt> |
407 <dd>Suggested name for the new file.</dd> | 407 <dd>Suggested name for the file.</dd> |
408 <!-- OBJECT PROPERTIES --> | 408 <!-- OBJECT PROPERTIES --> |
409 <!-- OBJECT METHODS --> | 409 <!-- OBJECT METHODS --> |
410 <!-- OBJECT EVENT FIELDS --> | 410 <!-- OBJECT EVENT FIELDS --> |
411 <!-- FUNCTION PARAMETERS --> | 411 <!-- FUNCTION PARAMETERS --> |
412 </div> | 412 </div> |
413 </div> | 413 </div> |
414 </dl> | 414 </dl> |
415 </dd> | 415 </dd> |
416 <!-- OBJECT METHODS --> | 416 <!-- OBJECT METHODS --> |
417 <!-- OBJECT EVENT FIELDS --> | 417 <!-- OBJECT EVENT FIELDS --> |
(...skipping 236 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
654 _uff=0; | 654 _uff=0; |
655 urchinTracker(); | 655 urchinTracker(); |
656 } | 656 } |
657 catch(e) {/* urchinTracker not available. */} | 657 catch(e) {/* urchinTracker not available. */} |
658 </script> | 658 </script> |
659 <!-- end analytics --> | 659 <!-- end analytics --> |
660 </div> | 660 </div> |
661 </div> <!-- /gc-footer --> | 661 </div> <!-- /gc-footer --> |
662 </div> <!-- /gc-container --> | 662 </div> <!-- /gc-container --> |
663 </body></html> | 663 </body></html> |
OLD | NEW |