| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2013 Apple Computer, Inc. All rights reserved. | 2 * Copyright (C) 2013 Apple Computer, 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 * 1. Redistributions of source code must retain the above copyright | 7 * 1. 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 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. 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 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 45 DECLARE_VIRTUAL_TRACE(); | 45 DECLARE_VIRTUAL_TRACE(); |
| 46 | 46 |
| 47 private: | 47 private: |
| 48 explicit PlatformSpeechSynthesizerMock(PlatformSpeechSynthesizerClient*); | 48 explicit PlatformSpeechSynthesizerMock(PlatformSpeechSynthesizerClient*); |
| 49 | 49 |
| 50 void initializeVoiceList() override; | 50 void initializeVoiceList() override; |
| 51 | 51 |
| 52 void speakNext(); | 52 void speakNext(); |
| 53 void speakNow(); | 53 void speakNow(); |
| 54 | 54 |
| 55 void speakingErrorOccurred(Timer<PlatformSpeechSynthesizerMock>*); | 55 void speakingErrorOccurred(TimerBase*); |
| 56 void speakingFinished(Timer<PlatformSpeechSynthesizerMock>*); | 56 void speakingFinished(TimerBase*); |
| 57 | 57 |
| 58 Timer<PlatformSpeechSynthesizerMock> m_speakingErrorOccurredTimer; | 58 Timer<PlatformSpeechSynthesizerMock> m_speakingErrorOccurredTimer; |
| 59 Timer<PlatformSpeechSynthesizerMock> m_speakingFinishedTimer; | 59 Timer<PlatformSpeechSynthesizerMock> m_speakingFinishedTimer; |
| 60 | 60 |
| 61 Member<PlatformSpeechSynthesisUtterance> m_currentUtterance; | 61 Member<PlatformSpeechSynthesisUtterance> m_currentUtterance; |
| 62 HeapDeque<Member<PlatformSpeechSynthesisUtterance>> m_queuedUtterances; | 62 HeapDeque<Member<PlatformSpeechSynthesisUtterance>> m_queuedUtterances; |
| 63 }; | 63 }; |
| 64 | 64 |
| 65 } // namespace blink | 65 } // namespace blink |
| 66 | 66 |
| 67 #endif // PlatformSpeechSynthesizer_h | 67 #endif // PlatformSpeechSynthesizer_h |
| OLD | NEW |