| 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 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 76 | 76 |
| 77 // Called by the SpeechRecognitionClient. | 77 // Called by the SpeechRecognitionClient. |
| 78 void didStartAudio(); | 78 void didStartAudio(); |
| 79 void didStartSound(); | 79 void didStartSound(); |
| 80 void didStartSpeech(); | 80 void didStartSpeech(); |
| 81 void didEndSpeech(); | 81 void didEndSpeech(); |
| 82 void didEndSound(); | 82 void didEndSound(); |
| 83 void didEndAudio(); | 83 void didEndAudio(); |
| 84 void didReceiveResults(const HeapVector<Member<SpeechRecognitionResult>>& ne
wFinalResults, const HeapVector<Member<SpeechRecognitionResult>>& currentInterim
Results); | 84 void didReceiveResults(const HeapVector<Member<SpeechRecognitionResult>>& ne
wFinalResults, const HeapVector<Member<SpeechRecognitionResult>>& currentInterim
Results); |
| 85 void didReceiveNoMatch(SpeechRecognitionResult*); | 85 void didReceiveNoMatch(SpeechRecognitionResult*); |
| 86 void didReceiveError(RawPtr<SpeechRecognitionError>); | 86 void didReceiveError(SpeechRecognitionError*); |
| 87 void didStart(); | 87 void didStart(); |
| 88 void didEnd(); | 88 void didEnd(); |
| 89 | 89 |
| 90 // EventTarget. | 90 // EventTarget. |
| 91 const AtomicString& interfaceName() const override; | 91 const AtomicString& interfaceName() const override; |
| 92 ExecutionContext* getExecutionContext() const override; | 92 ExecutionContext* getExecutionContext() const override; |
| 93 | 93 |
| 94 // ActiveScriptWrappable. | 94 // ActiveScriptWrappable. |
| 95 bool hasPendingActivity() const final; | 95 bool hasPendingActivity() const final; |
| 96 | 96 |
| (...skipping 30 matching lines...) Expand all Loading... |
| 127 Member<SpeechRecognitionController> m_controller; | 127 Member<SpeechRecognitionController> m_controller; |
| 128 bool m_stoppedByActiveDOMObject; | 128 bool m_stoppedByActiveDOMObject; |
| 129 bool m_started; | 129 bool m_started; |
| 130 bool m_stopping; | 130 bool m_stopping; |
| 131 HeapVector<Member<SpeechRecognitionResult>> m_finalResults; | 131 HeapVector<Member<SpeechRecognitionResult>> m_finalResults; |
| 132 }; | 132 }; |
| 133 | 133 |
| 134 } // namespace blink | 134 } // namespace blink |
| 135 | 135 |
| 136 #endif // SpeechRecognition_h | 136 #endif // SpeechRecognition_h |
| OLD | NEW |