| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2013 Apple Inc. All rights reserved. | 2 * Copyright (C) 2013 Apple 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 11 matching lines...) Expand all Loading... |
| 22 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | 22 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
| 23 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 23 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 24 */ | 24 */ |
| 25 | 25 |
| 26 #ifndef SpeechSynthesisVoice_h | 26 #ifndef SpeechSynthesisVoice_h |
| 27 #define SpeechSynthesisVoice_h | 27 #define SpeechSynthesisVoice_h |
| 28 | 28 |
| 29 #include "bindings/core/v8/ScriptWrappable.h" | 29 #include "bindings/core/v8/ScriptWrappable.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/Forward.h" | 32 #include "platform/wtf/Forward.h" |
| 33 #include "wtf/text/WTFString.h" | 33 #include "platform/wtf/text/WTFString.h" |
| 34 | 34 |
| 35 namespace blink { | 35 namespace blink { |
| 36 | 36 |
| 37 class SpeechSynthesisVoice final | 37 class SpeechSynthesisVoice final |
| 38 : public GarbageCollectedFinalized<SpeechSynthesisVoice>, | 38 : public GarbageCollectedFinalized<SpeechSynthesisVoice>, |
| 39 public ScriptWrappable { | 39 public ScriptWrappable { |
| 40 DEFINE_WRAPPERTYPEINFO(); | 40 DEFINE_WRAPPERTYPEINFO(); |
| 41 | 41 |
| 42 public: | 42 public: |
| 43 static SpeechSynthesisVoice* Create(PassRefPtr<PlatformSpeechSynthesisVoice>); | 43 static SpeechSynthesisVoice* Create(PassRefPtr<PlatformSpeechSynthesisVoice>); |
| (...skipping 13 matching lines...) Expand all Loading... |
| 57 | 57 |
| 58 private: | 58 private: |
| 59 explicit SpeechSynthesisVoice(PassRefPtr<PlatformSpeechSynthesisVoice>); | 59 explicit SpeechSynthesisVoice(PassRefPtr<PlatformSpeechSynthesisVoice>); |
| 60 | 60 |
| 61 RefPtr<PlatformSpeechSynthesisVoice> platform_voice_; | 61 RefPtr<PlatformSpeechSynthesisVoice> platform_voice_; |
| 62 }; | 62 }; |
| 63 | 63 |
| 64 } // namespace blink | 64 } // namespace blink |
| 65 | 65 |
| 66 #endif // SpeechSynthesisVoice_h | 66 #endif // SpeechSynthesisVoice_h |
| OLD | NEW |