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

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

Issue 10829301: Extension docs: Manual merge crrev.com/143652 (Closed) Base URL: svn://svn.chromium.org/chrome/branches/1180/src/
Patch Set: Created 8 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
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 233 matching lines...) Expand 10 before | Expand all | Expand 10 after
244 <a href="#event-onSoundEnd">onSoundEnd</a> 244 <a href="#event-onSoundEnd">onSoundEnd</a>
245 </li><li> 245 </li><li>
246 <a href="#event-onSoundStart">onSoundStart</a> 246 <a href="#event-onSoundStart">onSoundStart</a>
247 </li> 247 </li>
248 </ol> 248 </ol>
249 </li> 249 </li>
250 <li> 250 <li>
251 <a href="#types">Types</a> 251 <a href="#types">Types</a>
252 <ol> 252 <ol>
253 <li> 253 <li>
254 <a href="#type-SpeechInputStartOptions">null</a> 254 <a href="#type-experimental.speechInput.SpeechInputStartOptions" >SpeechInputStartOptions</a>
255 <ol> 255 <ol>
256 </ol> 256 </ol>
257 </li><li> 257 </li><li>
258 <a href="#type-SpeechInputError">null</a> 258 <a href="#type-experimental.speechInput.SpeechInputError">Speech InputError</a>
259 <ol> 259 <ol>
260 </ol> 260 </ol>
261 </li><li> 261 </li><li>
262 <a href="#type-SpeechInputResultHypothesis">null</a> 262 <a href="#type-experimental.speechInput.SpeechInputResultHypothe sis">SpeechInputResultHypothesis</a>
263 <ol> 263 <ol>
264 </ol> 264 </ol>
265 </li><li> 265 </li><li>
266 <a href="#type-SpeechInputResultEvent">null</a> 266 <a href="#type-experimental.speechInput.SpeechInputResultEvent"> SpeechInputResultEvent</a>
267 <ol> 267 <ol>
268 </ol> 268 </ol>
269 </li> 269 </li>
270 </ol> 270 </ol>
271 </li> 271 </li>
272 </ol> 272 </ol>
273 </li> 273 </li>
274 </ol> 274 </ol>
275 </div> 275 </div>
276 <!-- /TABLE OF CONTENTS --> 276 <!-- /TABLE OF CONTENTS -->
(...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after
416 <dl> 416 <dl>
417 </dl> 417 </dl>
418 <!-- CALLBACK --> 418 <!-- CALLBACK -->
419 <!-- MIN_VERSION --> 419 <!-- MIN_VERSION -->
420 </div> <!-- /description --> 420 </div> <!-- /description -->
421 </div><div class="apiItem"> 421 </div><div class="apiItem">
422 <a name="method-start"></a> <!-- method-anchor --> 422 <a name="method-start"></a> <!-- method-anchor -->
423 <h4>start</h4> 423 <h4>start</h4>
424 <div class="summary"> 424 <div class="summary">
425 <!-- Note: intentionally longer 80 columns --> 425 <!-- Note: intentionally longer 80 columns -->
426 <span>chrome.experimental.speechInput.start</span>(<span class ="optional"><span>SpeechInputStartOptions</span> 426 <span>chrome.experimental.speechInput.start</span>(<span class ="optional"><span>experimental.speechInput.SpeechInputStartOptions</span>
427 <var><span>options</span></var></span><span class="optiona l"><span>, </span><span>function</span> 427 <var><span>options</span></var></span><span class="optiona l"><span>, </span><span>function</span>
428 <var><span>callback</span></var></span>)</div> 428 <var><span>callback</span></var></span>)</div>
429 <div class="description"> 429 <div class="description">
430 <p>Request to start recording as a new speech recognition sessio n.</p> 430 <p>Request to start recording as a new speech recognition sessio n.</p>
431 <!-- PARAMETERS --> 431 <!-- PARAMETERS -->
432 <h4>Parameters</h4> 432 <h4>Parameters</h4>
433 <dl> 433 <dl>
434 <div> 434 <div>
435 <div> 435 <div>
436 <dt> 436 <dt>
437 <var>options</var> 437 <var>options</var>
438 <em> 438 <em>
439 <!-- TYPE --> 439 <!-- TYPE -->
440 <div style="display:inline"> 440 <div style="display:inline">
441 ( 441 (
442 <span class="optional">optional</span> 442 <span class="optional">optional</span>
443 <span id="typeTemplate"> 443 <span id="typeTemplate">
444 <span> 444 <span>
445 <a href="experimental.speechInput.html#type-SpeechInputS tartOptions">SpeechInputStartOptions</a> 445 <a href="experimental.speechInput.html#type-experimental .speechInput.SpeechInputStartOptions">experimental.speechInput.SpeechInputStartO ptions</a>
446 </span> 446 </span>
447 </span> 447 </span>
448 ) 448 )
449 </div> 449 </div>
450 </em> 450 </em>
451 </dt> 451 </dt>
452 <dd>Options used for this speech recognition session.</dd> 452 <dd>Options used for this speech recognition session.</dd>
453 <!-- OBJECT PROPERTIES --> 453 <!-- OBJECT PROPERTIES -->
454 <!-- OBJECT METHODS --> 454 <!-- OBJECT METHODS -->
455 <!-- OBJECT EVENT FIELDS --> 455 <!-- OBJECT EVENT FIELDS -->
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
536 <!-- EVENTS --> 536 <!-- EVENTS -->
537 <div id="eventsTemplate" class="apiGroup"> 537 <div id="eventsTemplate" class="apiGroup">
538 <a name="global-events"></a> 538 <a name="global-events"></a>
539 <h3>Events</h3> 539 <h3>Events</h3>
540 <!-- iterates over all events --> 540 <!-- iterates over all events -->
541 <div class="apiItem"> 541 <div class="apiItem">
542 <a name="event-onError"></a> 542 <a name="event-onError"></a>
543 <h4>onError</h4> 543 <h4>onError</h4>
544 <div class="summary"> 544 <div class="summary">
545 <!-- Note: intentionally longer 80 columns --> 545 <!-- Note: intentionally longer 80 columns -->
546 <span class="subdued">chrome.experimental.speechInput.</span><sp an>onError</span><span class="subdued">.addListener</span>(function(<span>Speech InputError error</span>) <span class="subdued">{...}</span><span></span>); 546 <span class="subdued">chrome.experimental.speechInput.</span><sp an>onError</span><span class="subdued">.addListener</span>(function(<span>experi mental.speechInput.SpeechInputError error</span>) <span class="subdued">{...}</s pan><span></span>);
547 </div> 547 </div>
548 <div class="description"> 548 <div class="description">
549 <p>Called in case of an error in speech recognition.</p> 549 <p>Called in case of an error in speech recognition.</p>
550 <!-- LISTENER PARAMETERS --> 550 <!-- LISTENER PARAMETERS -->
551 <div> 551 <div>
552 <h4>Listener parameters</h4> 552 <h4>Listener parameters</h4>
553 <dl> 553 <dl>
554 <div> 554 <div>
555 <div> 555 <div>
556 <dt> 556 <dt>
557 <var>error</var> 557 <var>error</var>
558 <em> 558 <em>
559 <!-- TYPE --> 559 <!-- TYPE -->
560 <div style="display:inline"> 560 <div style="display:inline">
561 ( 561 (
562 <span id="typeTemplate"> 562 <span id="typeTemplate">
563 <span> 563 <span>
564 <a href="experimental.speechInput.html#type-SpeechInputE rror">SpeechInputError</a> 564 <a href="experimental.speechInput.html#type-experimental .speechInput.SpeechInputError">experimental.speechInput.SpeechInputError</a>
565 </span> 565 </span>
566 </span> 566 </span>
567 ) 567 )
568 </div> 568 </div>
569 </em> 569 </em>
570 </dt> 570 </dt>
571 <dd>Error being reported.</dd> 571 <dd>Error being reported.</dd>
572 <!-- OBJECT PROPERTIES --> 572 <!-- OBJECT PROPERTIES -->
573 <!-- OBJECT METHODS --> 573 <!-- OBJECT METHODS -->
574 <!-- OBJECT EVENT FIELDS --> 574 <!-- OBJECT EVENT FIELDS -->
575 <!-- FUNCTION PARAMETERS --> 575 <!-- FUNCTION PARAMETERS -->
576 </div> 576 </div>
577 </div> 577 </div>
578 </dl> 578 </dl>
579 </div> 579 </div>
580 <!-- EXTRA PARAMETERS --> 580 <!-- EXTRA PARAMETERS -->
581 <!-- LISTENER RETURN VALUE --> 581 <!-- LISTENER RETURN VALUE -->
582 <dl> 582 <dl>
583 </dl> 583 </dl>
584 </div> <!-- /description --> 584 </div> <!-- /description -->
585 <!-- /description --> 585 <!-- /description -->
586 </div><div class="apiItem"> 586 </div><div class="apiItem">
587 <a name="event-onResult"></a> 587 <a name="event-onResult"></a>
588 <h4>onResult</h4> 588 <h4>onResult</h4>
589 <div class="summary"> 589 <div class="summary">
590 <!-- Note: intentionally longer 80 columns --> 590 <!-- Note: intentionally longer 80 columns -->
591 <span class="subdued">chrome.experimental.speechInput.</span><sp an>onResult</span><span class="subdued">.addListener</span>(function(<span>Speec hInputResultEvent event</span>) <span class="subdued">{...}</span><span></span>) ; 591 <span class="subdued">chrome.experimental.speechInput.</span><sp an>onResult</span><span class="subdued">.addListener</span>(function(<span>exper imental.speechInput.SpeechInputResultEvent event</span>) <span class="subdued">{ ...}</span><span></span>);
592 </div> 592 </div>
593 <div class="description"> 593 <div class="description">
594 <p>Called when speech recognition results are available.</p> 594 <p>Called when speech recognition results are available.</p>
595 <!-- LISTENER PARAMETERS --> 595 <!-- LISTENER PARAMETERS -->
596 <div> 596 <div>
597 <h4>Listener parameters</h4> 597 <h4>Listener parameters</h4>
598 <dl> 598 <dl>
599 <div> 599 <div>
600 <div> 600 <div>
601 <dt> 601 <dt>
602 <var>event</var> 602 <var>event</var>
603 <em> 603 <em>
604 <!-- TYPE --> 604 <!-- TYPE -->
605 <div style="display:inline"> 605 <div style="display:inline">
606 ( 606 (
607 <span id="typeTemplate"> 607 <span id="typeTemplate">
608 <span> 608 <span>
609 <a href="experimental.speechInput.html#type-SpeechInputR esultEvent">SpeechInputResultEvent</a> 609 <a href="experimental.speechInput.html#type-experimental .speechInput.SpeechInputResultEvent">experimental.speechInput.SpeechInputResultE vent</a>
610 </span> 610 </span>
611 </span> 611 </span>
612 ) 612 )
613 </div> 613 </div>
614 </em> 614 </em>
615 </dt> 615 </dt>
616 <dd>Object containing the speech recognition results.</dd> 616 <dd>Object containing the speech recognition results.</dd>
617 <!-- OBJECT PROPERTIES --> 617 <!-- OBJECT PROPERTIES -->
618 <!-- OBJECT METHODS --> 618 <!-- OBJECT METHODS -->
619 <!-- OBJECT EVENT FIELDS --> 619 <!-- OBJECT EVENT FIELDS -->
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
661 </div> <!-- /description --> 661 </div> <!-- /description -->
662 <!-- /description --> 662 <!-- /description -->
663 </div> <!-- /apiItem --> 663 </div> <!-- /apiItem -->
664 </div> <!-- /apiGroup --> 664 </div> <!-- /apiGroup -->
665 <!-- TYPES --> 665 <!-- TYPES -->
666 <div class="apiGroup"> 666 <div class="apiGroup">
667 <a name="types"></a> 667 <a name="types"></a>
668 <h3 id="types">Types</h3> 668 <h3 id="types">Types</h3>
669 <!-- iterates over all types --> 669 <!-- iterates over all types -->
670 <div class="apiItem"> 670 <div class="apiItem">
671 <a name="type-SpeechInputStartOptions"></a> 671 <a name="type-experimental.speechInput.SpeechInputStartOptions"></ a>
672 <h4>SpeechInputStartOptions</h4> 672 <h4>experimental.speechInput.SpeechInputStartOptions</h4>
673 <div> 673 <div>
674 <dt> 674 <dt>
675 <em> 675 <em>
676 <!-- TYPE --> 676 <!-- TYPE -->
677 <div style="display:inline"> 677 <div style="display:inline">
678 ( 678 (
679 <span id="typeTemplate"> 679 <span id="typeTemplate">
680 <span> 680 <span>
681 <span>object</span> 681 <span>object</span>
682 </span> 682 </span>
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
762 <!-- FUNCTION PARAMETERS --> 762 <!-- FUNCTION PARAMETERS -->
763 </div> 763 </div>
764 </div> 764 </div>
765 </dl> 765 </dl>
766 </dd> 766 </dd>
767 <!-- OBJECT METHODS --> 767 <!-- OBJECT METHODS -->
768 <!-- OBJECT EVENT FIELDS --> 768 <!-- OBJECT EVENT FIELDS -->
769 <!-- FUNCTION PARAMETERS --> 769 <!-- FUNCTION PARAMETERS -->
770 </div> 770 </div>
771 </div><div class="apiItem"> 771 </div><div class="apiItem">
772 <a name="type-SpeechInputError"></a> 772 <a name="type-experimental.speechInput.SpeechInputError"></a>
773 <h4>SpeechInputError</h4> 773 <h4>experimental.speechInput.SpeechInputError</h4>
774 <div> 774 <div>
775 <dt> 775 <dt>
776 <em> 776 <em>
777 <!-- TYPE --> 777 <!-- TYPE -->
778 <div style="display:inline"> 778 <div style="display:inline">
779 ( 779 (
780 <span id="typeTemplate"> 780 <span id="typeTemplate">
781 <span> 781 <span>
782 <span>object</span> 782 <span>object</span>
783 </span> 783 </span>
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
816 <!-- FUNCTION PARAMETERS --> 816 <!-- FUNCTION PARAMETERS -->
817 </div> 817 </div>
818 </div> 818 </div>
819 </dl> 819 </dl>
820 </dd> 820 </dd>
821 <!-- OBJECT METHODS --> 821 <!-- OBJECT METHODS -->
822 <!-- OBJECT EVENT FIELDS --> 822 <!-- OBJECT EVENT FIELDS -->
823 <!-- FUNCTION PARAMETERS --> 823 <!-- FUNCTION PARAMETERS -->
824 </div> 824 </div>
825 </div><div class="apiItem"> 825 </div><div class="apiItem">
826 <a name="type-SpeechInputResultHypothesis"></a> 826 <a name="type-experimental.speechInput.SpeechInputResultHypothesis "></a>
827 <h4>SpeechInputResultHypothesis</h4> 827 <h4>experimental.speechInput.SpeechInputResultHypothesis</h4>
828 <div> 828 <div>
829 <dt> 829 <dt>
830 <em> 830 <em>
831 <!-- TYPE --> 831 <!-- TYPE -->
832 <div style="display:inline"> 832 <div style="display:inline">
833 ( 833 (
834 <span id="typeTemplate"> 834 <span id="typeTemplate">
835 <span> 835 <span>
836 <span>object</span> 836 <span>object</span>
837 </span> 837 </span>
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
891 <!-- FUNCTION PARAMETERS --> 891 <!-- FUNCTION PARAMETERS -->
892 </div> 892 </div>
893 </div> 893 </div>
894 </dl> 894 </dl>
895 </dd> 895 </dd>
896 <!-- OBJECT METHODS --> 896 <!-- OBJECT METHODS -->
897 <!-- OBJECT EVENT FIELDS --> 897 <!-- OBJECT EVENT FIELDS -->
898 <!-- FUNCTION PARAMETERS --> 898 <!-- FUNCTION PARAMETERS -->
899 </div> 899 </div>
900 </div><div class="apiItem"> 900 </div><div class="apiItem">
901 <a name="type-SpeechInputResultEvent"></a> 901 <a name="type-experimental.speechInput.SpeechInputResultEvent"></a >
902 <h4>SpeechInputResultEvent</h4> 902 <h4>experimental.speechInput.SpeechInputResultEvent</h4>
903 <div> 903 <div>
904 <dt> 904 <dt>
905 <em> 905 <em>
906 <!-- TYPE --> 906 <!-- TYPE -->
907 <div style="display:inline"> 907 <div style="display:inline">
908 ( 908 (
909 <span id="typeTemplate"> 909 <span id="typeTemplate">
910 <span> 910 <span>
911 <span>object</span> 911 <span>object</span>
912 </span> 912 </span>
(...skipping 13 matching lines...) Expand all
926 <em> 926 <em>
927 <!-- TYPE --> 927 <!-- TYPE -->
928 <div style="display:inline"> 928 <div style="display:inline">
929 ( 929 (
930 <span class="optional">optional</span> 930 <span class="optional">optional</span>
931 <span id="typeTemplate"> 931 <span id="typeTemplate">
932 <span> 932 <span>
933 <span> 933 <span>
934 array of <span><span> 934 array of <span><span>
935 <span> 935 <span>
936 <a href="experimental.speechInput.html#type-SpeechInputR esultHypothesis">SpeechInputResultHypothesis</a> 936 <a href="experimental.speechInput.html#type-experimental .speechInput.SpeechInputResultHypothesis">experimental.speechInput.SpeechInputRe sultHypothesis</a>
937 </span> 937 </span>
938 </span></span> 938 </span></span>
939 </span> 939 </span>
940 </span> 940 </span>
941 </span> 941 </span>
942 ) 942 )
943 </div> 943 </div>
944 </em> 944 </em>
945 </dt> 945 </dt>
946 <dd>Array of zero or more objects describing the stable candidate hypo theses sorted by decreasing likelihood.</dd> 946 <dd>Array of zero or more objects describing the stable candidate hypo theses sorted by decreasing likelihood.</dd>
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
998 _uff=0; 998 _uff=0;
999 urchinTracker(); 999 urchinTracker();
1000 } 1000 }
1001 catch(e) {/* urchinTracker not available. */} 1001 catch(e) {/* urchinTracker not available. */}
1002 </script> 1002 </script>
1003 <!-- end analytics --> 1003 <!-- end analytics -->
1004 </div> 1004 </div>
1005 </div> <!-- /gc-footer --> 1005 </div> <!-- /gc-footer -->
1006 </div> <!-- /gc-container --> 1006 </div> <!-- /gc-container -->
1007 </body></html> 1007 </body></html>
OLDNEW
« no previous file with comments | « chrome/common/extensions/docs/experimental.processes.html ('k') | chrome/common/extensions/docs/extension.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698