OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2013 Google Inc. All rights reserved. | 2 * Copyright (C) 2013 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 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
46 virtual void setVoiceList(const WebKit::WebVector<WebKit::WebSpeechSynthesis
Voice>& voices); | 46 virtual void setVoiceList(const WebKit::WebVector<WebKit::WebSpeechSynthesis
Voice>& voices); |
47 virtual void didStartSpeaking(const WebKit::WebSpeechSynthesisUtterance&); | 47 virtual void didStartSpeaking(const WebKit::WebSpeechSynthesisUtterance&); |
48 virtual void didFinishSpeaking(const WebKit::WebSpeechSynthesisUtterance&); | 48 virtual void didFinishSpeaking(const WebKit::WebSpeechSynthesisUtterance&); |
49 virtual void didPauseSpeaking(const WebKit::WebSpeechSynthesisUtterance&); | 49 virtual void didPauseSpeaking(const WebKit::WebSpeechSynthesisUtterance&); |
50 virtual void didResumeSpeaking(const WebKit::WebSpeechSynthesisUtterance&); | 50 virtual void didResumeSpeaking(const WebKit::WebSpeechSynthesisUtterance&); |
51 virtual void speakingErrorOccurred(const WebKit::WebSpeechSynthesisUtterance
&); | 51 virtual void speakingErrorOccurred(const WebKit::WebSpeechSynthesisUtterance
&); |
52 virtual void wordBoundaryEventOccurred(const WebKit::WebSpeechSynthesisUtter
ance&, unsigned charIndex); | 52 virtual void wordBoundaryEventOccurred(const WebKit::WebSpeechSynthesisUtter
ance&, unsigned charIndex); |
53 virtual void sentenceBoundaryEventOccurred(const WebKit::WebSpeechSynthesisU
tterance&, unsigned charIndex); | 53 virtual void sentenceBoundaryEventOccurred(const WebKit::WebSpeechSynthesisU
tterance&, unsigned charIndex); |
54 | 54 |
55 private: | 55 private: |
56 #if ENABLE(SPEECH_SYNTHESIS) | |
57 PlatformSpeechSynthesizer* m_synthesizer; | 56 PlatformSpeechSynthesizer* m_synthesizer; |
58 PlatformSpeechSynthesizerClient* m_client; | 57 PlatformSpeechSynthesizerClient* m_client; |
59 #endif | |
60 }; | 58 }; |
61 | 59 |
62 } // namespace WebCore | 60 } // namespace WebCore |
63 | 61 |
64 #endif // WebSpeechSynthesizerClientImpl_h | 62 #endif // WebSpeechSynthesizerClientImpl_h |
OLD | NEW |