| 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 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 99 void didEnd(); | 99 void didEnd(); |
| 100 | 100 |
| 101 // EventTarget | 101 // EventTarget |
| 102 const AtomicString& interfaceName() const override; | 102 const AtomicString& interfaceName() const override; |
| 103 ExecutionContext* getExecutionContext() const override; | 103 ExecutionContext* getExecutionContext() const override; |
| 104 | 104 |
| 105 // ScriptWrappable | 105 // ScriptWrappable |
| 106 bool hasPendingActivity() const final; | 106 bool hasPendingActivity() const final; |
| 107 | 107 |
| 108 // ContextLifecycleObserver | 108 // ContextLifecycleObserver |
| 109 void contextDestroyed() override; | 109 void contextDestroyed(ExecutionContext*) override; |
| 110 | 110 |
| 111 DEFINE_ATTRIBUTE_EVENT_LISTENER(audiostart); | 111 DEFINE_ATTRIBUTE_EVENT_LISTENER(audiostart); |
| 112 DEFINE_ATTRIBUTE_EVENT_LISTENER(soundstart); | 112 DEFINE_ATTRIBUTE_EVENT_LISTENER(soundstart); |
| 113 DEFINE_ATTRIBUTE_EVENT_LISTENER(speechstart); | 113 DEFINE_ATTRIBUTE_EVENT_LISTENER(speechstart); |
| 114 DEFINE_ATTRIBUTE_EVENT_LISTENER(speechend); | 114 DEFINE_ATTRIBUTE_EVENT_LISTENER(speechend); |
| 115 DEFINE_ATTRIBUTE_EVENT_LISTENER(soundend); | 115 DEFINE_ATTRIBUTE_EVENT_LISTENER(soundend); |
| 116 DEFINE_ATTRIBUTE_EVENT_LISTENER(audioend); | 116 DEFINE_ATTRIBUTE_EVENT_LISTENER(audioend); |
| 117 DEFINE_ATTRIBUTE_EVENT_LISTENER(result); | 117 DEFINE_ATTRIBUTE_EVENT_LISTENER(result); |
| 118 DEFINE_ATTRIBUTE_EVENT_LISTENER(nomatch); | 118 DEFINE_ATTRIBUTE_EVENT_LISTENER(nomatch); |
| 119 DEFINE_ATTRIBUTE_EVENT_LISTENER(error); | 119 DEFINE_ATTRIBUTE_EVENT_LISTENER(error); |
| (...skipping 14 matching lines...) Expand all Loading... |
| 134 | 134 |
| 135 Member<SpeechRecognitionController> m_controller; | 135 Member<SpeechRecognitionController> m_controller; |
| 136 bool m_started; | 136 bool m_started; |
| 137 bool m_stopping; | 137 bool m_stopping; |
| 138 HeapVector<Member<SpeechRecognitionResult>> m_finalResults; | 138 HeapVector<Member<SpeechRecognitionResult>> m_finalResults; |
| 139 }; | 139 }; |
| 140 | 140 |
| 141 } // namespace blink | 141 } // namespace blink |
| 142 | 142 |
| 143 #endif // SpeechRecognition_h | 143 #endif // SpeechRecognition_h |
| OLD | NEW |