Chromium Code Reviews| Index: Source/platform/exported/WebSpeechSynthesizerClientImpl.h |
| diff --git a/Source/platform/exported/WebSpeechSynthesizerClientImpl.h b/Source/platform/exported/WebSpeechSynthesizerClientImpl.h |
| index 022aeaba98677e5f030b00bbb68b4b6e0f2e2bd7..de3870e44938c048361a5d4f61dc9ec2d78f85de 100644 |
| --- a/Source/platform/exported/WebSpeechSynthesizerClientImpl.h |
| +++ b/Source/platform/exported/WebSpeechSynthesizerClientImpl.h |
| @@ -26,19 +26,18 @@ |
| #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*); |
|
haraken
2014/06/17 09:18:50
Drop explicit.
sof
2014/06/17 10:42:09
Now gone.
|
| virtual ~WebSpeechSynthesizerClientImpl(); |
| @@ -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 |