| 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 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 81 void didEndSound(); | 81 void didEndSound(); |
| 82 void didEndAudio(); | 82 void didEndAudio(); |
| 83 void didReceiveResults(const HeapVector<Member<SpeechRecognitionResult>>& ne
wFinalResults, const HeapVector<Member<SpeechRecognitionResult>>& currentInterim
Results); | 83 void didReceiveResults(const HeapVector<Member<SpeechRecognitionResult>>& ne
wFinalResults, const HeapVector<Member<SpeechRecognitionResult>>& currentInterim
Results); |
| 84 void didReceiveNoMatch(SpeechRecognitionResult*); | 84 void didReceiveNoMatch(SpeechRecognitionResult*); |
| 85 void didReceiveError(PassRefPtrWillBeRawPtr<SpeechRecognitionError>); | 85 void didReceiveError(PassRefPtrWillBeRawPtr<SpeechRecognitionError>); |
| 86 void didStart(); | 86 void didStart(); |
| 87 void didEnd(); | 87 void didEnd(); |
| 88 | 88 |
| 89 // EventTarget. | 89 // EventTarget. |
| 90 const AtomicString& interfaceName() const override; | 90 const AtomicString& interfaceName() const override; |
| 91 ExecutionContext* executionContext() const override; | 91 ExecutionContext* getExecutionContext() const override; |
| 92 | 92 |
| 93 // ActiveDOMObject. | 93 // ActiveDOMObject. |
| 94 bool hasPendingActivity() const override; | 94 bool hasPendingActivity() const override; |
| 95 void stop() override; | 95 void stop() override; |
| 96 | 96 |
| 97 DEFINE_ATTRIBUTE_EVENT_LISTENER(audiostart); | 97 DEFINE_ATTRIBUTE_EVENT_LISTENER(audiostart); |
| 98 DEFINE_ATTRIBUTE_EVENT_LISTENER(soundstart); | 98 DEFINE_ATTRIBUTE_EVENT_LISTENER(soundstart); |
| 99 DEFINE_ATTRIBUTE_EVENT_LISTENER(speechstart); | 99 DEFINE_ATTRIBUTE_EVENT_LISTENER(speechstart); |
| 100 DEFINE_ATTRIBUTE_EVENT_LISTENER(speechend); | 100 DEFINE_ATTRIBUTE_EVENT_LISTENER(speechend); |
| 101 DEFINE_ATTRIBUTE_EVENT_LISTENER(soundend); | 101 DEFINE_ATTRIBUTE_EVENT_LISTENER(soundend); |
| (...skipping 22 matching lines...) Expand all Loading... |
| 124 RawPtrWillBeMember<SpeechRecognitionController> m_controller; | 124 RawPtrWillBeMember<SpeechRecognitionController> m_controller; |
| 125 bool m_stoppedByActiveDOMObject; | 125 bool m_stoppedByActiveDOMObject; |
| 126 bool m_started; | 126 bool m_started; |
| 127 bool m_stopping; | 127 bool m_stopping; |
| 128 HeapVector<Member<SpeechRecognitionResult>> m_finalResults; | 128 HeapVector<Member<SpeechRecognitionResult>> m_finalResults; |
| 129 }; | 129 }; |
| 130 | 130 |
| 131 } // namespace blink | 131 } // namespace blink |
| 132 | 132 |
| 133 #endif // SpeechRecognition_h | 133 #endif // SpeechRecognition_h |
| OLD | NEW |