| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2012 Google Inc. All rights reserved. | 2 * Copyright (C) 2012 Google Inc. All rights reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
| 6 * are met: | 6 * are met: |
| 7 * * Redistributions of source code must retain the above copyright | 7 * * Redistributions of source code must retain the above copyright |
| 8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
| 9 * * Redistributions in binary form must reproduce the above copyright | 9 * * Redistributions in binary form must reproduce the above copyright |
| 10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
| (...skipping 18 matching lines...) Expand all Loading... |
| 29 ActiveDOMObject, | 29 ActiveDOMObject, |
| 30 Constructor, | 30 Constructor, |
| 31 CallWith=ScriptExecutionContext, | 31 CallWith=ScriptExecutionContext, |
| 32 EventTarget, | 32 EventTarget, |
| 33 ] SpeechRecognition { | 33 ] SpeechRecognition { |
| 34 attribute SpeechGrammarList grammars; | 34 attribute SpeechGrammarList grammars; |
| 35 attribute DOMString lang; | 35 attribute DOMString lang; |
| 36 attribute boolean continuous; | 36 attribute boolean continuous; |
| 37 attribute unsigned long maxAlternatives; | 37 attribute unsigned long maxAlternatives; |
| 38 | 38 |
| 39 void start(); | 39 void start() raises (DOMException); |
| 40 [ImplementedAs=stopFunction] void stop(); | 40 [ImplementedAs=stopFunction] void stop(); |
| 41 void abort(); | 41 void abort(); |
| 42 | 42 |
| 43 attribute EventListener onaudiostart; | 43 attribute EventListener onaudiostart; |
| 44 attribute EventListener onsoundstart; | 44 attribute EventListener onsoundstart; |
| 45 attribute EventListener onspeechstart; | 45 attribute EventListener onspeechstart; |
| 46 attribute EventListener onspeechend; | 46 attribute EventListener onspeechend; |
| 47 attribute EventListener onsoundend; | 47 attribute EventListener onsoundend; |
| 48 attribute EventListener onaudioend; | 48 attribute EventListener onaudioend; |
| 49 attribute EventListener onresult; | 49 attribute EventListener onresult; |
| 50 attribute EventListener onnomatch; | 50 attribute EventListener onnomatch; |
| 51 attribute EventListener onresultdeleted; | 51 attribute EventListener onresultdeleted; |
| 52 attribute EventListener onerror; | 52 attribute EventListener onerror; |
| 53 attribute EventListener onstart; | 53 attribute EventListener onstart; |
| 54 attribute EventListener onend; | 54 attribute EventListener onend; |
| 55 | 55 |
| 56 // EventTarget interface | 56 // EventTarget interface |
| 57 void addEventListener(in DOMString type, | 57 void addEventListener(in DOMString type, |
| 58 in EventListener listener, | 58 in EventListener listener, |
| 59 in [Optional] boolean useCapture); | 59 in [Optional] boolean useCapture); |
| 60 void removeEventListener(in DOMString type, | 60 void removeEventListener(in DOMString type, |
| 61 in EventListener listener, | 61 in EventListener listener, |
| 62 in [Optional] boolean useCapture); | 62 in [Optional] boolean useCapture); |
| 63 boolean dispatchEvent(in Event evt) | 63 boolean dispatchEvent(in Event evt) |
| 64 raises(EventException); | 64 raises(EventException); |
| 65 }; | 65 }; |
| 66 } | 66 } |
| OLD | NEW |