| Index: Source/platform/exported/WebSpeechSynthesizerClientImpl.h
|
| diff --git a/Source/platform/exported/WebSpeechSynthesizerClientImpl.h b/Source/platform/exported/WebSpeechSynthesizerClientImpl.h
|
| index 022aeaba98677e5f030b00bbb68b4b6e0f2e2bd7..c6578cbee6be1811906f6495a76bc5cce1a2bba6 100644
|
| --- a/Source/platform/exported/WebSpeechSynthesizerClientImpl.h
|
| +++ b/Source/platform/exported/WebSpeechSynthesizerClientImpl.h
|
| @@ -26,21 +26,20 @@
|
| #ifndef WebSpeechSynthesizerClientImpl_h
|
| #define WebSpeechSynthesizerClientImpl_h
|
|
|
| +#include "platform/heap/Handle.h"
|
| #include "platform/speech/PlatformSpeechSynthesizer.h"
|
| #include "public/platform/WebSpeechSynthesisUtterance.h"
|
| #include "public/platform/WebSpeechSynthesisVoice.h"
|
| #include "public/platform/WebSpeechSynthesizerClient.h"
|
| -#include "wtf/HashMap.h"
|
| -#include "wtf/Vector.h"
|
|
|
| namespace WebCore {
|
|
|
| class PlatformSpeechSynthesizer;
|
| class PlatformSpeechSynthesizerClient;
|
|
|
| -class WebSpeechSynthesizerClientImpl : public blink::WebSpeechSynthesizerClient {
|
| +class WebSpeechSynthesizerClientImpl FINAL : public GarbageCollectedFinalized<WebSpeechSynthesizerClientImpl>, public blink::WebSpeechSynthesizerClient {
|
| public:
|
| - explicit WebSpeechSynthesizerClientImpl(PlatformSpeechSynthesizer*, PlatformSpeechSynthesizerClient*);
|
| + WebSpeechSynthesizerClientImpl(PlatformSpeechSynthesizer*, PlatformSpeechSynthesizerClient*);
|
| virtual ~WebSpeechSynthesizerClientImpl();
|
|
|
| virtual void setVoiceList(const blink::WebVector<blink::WebSpeechSynthesisVoice>& voices);
|
| @@ -52,9 +51,11 @@ public:
|
| virtual void wordBoundaryEventOccurred(const blink::WebSpeechSynthesisUtterance&, unsigned charIndex);
|
| virtual void sentenceBoundaryEventOccurred(const blink::WebSpeechSynthesisUtterance&, unsigned charIndex);
|
|
|
| + void trace(Visitor*);
|
| +
|
| private:
|
| - PlatformSpeechSynthesizer* m_synthesizer;
|
| - PlatformSpeechSynthesizerClient* m_client;
|
| + Member<PlatformSpeechSynthesizer> m_synthesizer;
|
| + Member<PlatformSpeechSynthesizerClient> m_client;
|
| };
|
|
|
| } // namespace WebCore
|
|
|