| 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 18 matching lines...) Expand all Loading... |
| 29 #include "platform/PlatformExport.h" | 29 #include "platform/PlatformExport.h" |
| 30 #include "platform/heap/Handle.h" | 30 #include "platform/heap/Handle.h" |
| 31 #include "platform/speech/PlatformSpeechSynthesisVoice.h" | 31 #include "platform/speech/PlatformSpeechSynthesisVoice.h" |
| 32 #include "wtf/Vector.h" | 32 #include "wtf/Vector.h" |
| 33 | 33 |
| 34 namespace blink { | 34 namespace blink { |
| 35 class WebSpeechSynthesizer; | 35 class WebSpeechSynthesizer; |
| 36 class WebSpeechSynthesizerClient; | 36 class WebSpeechSynthesizerClient; |
| 37 } | 37 } |
| 38 | 38 |
| 39 namespace WebCore { | 39 namespace blink { |
| 40 | 40 |
| 41 enum SpeechBoundary { | 41 enum SpeechBoundary { |
| 42 SpeechWordBoundary, | 42 SpeechWordBoundary, |
| 43 SpeechSentenceBoundary | 43 SpeechSentenceBoundary |
| 44 }; | 44 }; |
| 45 | 45 |
| 46 class PlatformSpeechSynthesisUtterance; | 46 class PlatformSpeechSynthesisUtterance; |
| 47 class WebSpeechSynthesizerClientImpl; | 47 class WebSpeechSynthesizerClientImpl; |
| 48 | 48 |
| 49 class PlatformSpeechSynthesizerClient : public GarbageCollectedMixin { | 49 class PlatformSpeechSynthesizerClient : public GarbageCollectedMixin { |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 84 explicit PlatformSpeechSynthesizer(PlatformSpeechSynthesizerClient*); | 84 explicit PlatformSpeechSynthesizer(PlatformSpeechSynthesizerClient*); |
| 85 | 85 |
| 86 virtual void initializeVoiceList(); | 86 virtual void initializeVoiceList(); |
| 87 | 87 |
| 88 HeapVector<Member<PlatformSpeechSynthesisVoice> > m_voiceList; | 88 HeapVector<Member<PlatformSpeechSynthesisVoice> > m_voiceList; |
| 89 | 89 |
| 90 private: | 90 private: |
| 91 Member<PlatformSpeechSynthesizerClient> m_speechSynthesizerClient; | 91 Member<PlatformSpeechSynthesizerClient> m_speechSynthesizerClient; |
| 92 | 92 |
| 93 OwnPtr<blink::WebSpeechSynthesizer> m_webSpeechSynthesizer; | 93 OwnPtr<blink::WebSpeechSynthesizer> m_webSpeechSynthesizer; |
| 94 Member<WebCore::WebSpeechSynthesizerClientImpl> m_webSpeechSynthesizerClient
; | 94 Member<blink::WebSpeechSynthesizerClientImpl> m_webSpeechSynthesizerClient; |
| 95 }; | 95 }; |
| 96 | 96 |
| 97 } // namespace WebCore | 97 } // namespace blink |
| 98 | 98 |
| 99 #endif // PlatformSpeechSynthesizer_h | 99 #endif // PlatformSpeechSynthesizer_h |
| OLD | NEW |