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 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 PlatformSpeechSynthesisUtterance_h | 26 #ifndef PlatformSpeechSynthesisUtterance_h |
27 #define PlatformSpeechSynthesisUtterance_h | 27 #define PlatformSpeechSynthesisUtterance_h |
28 | 28 |
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/MathExtras.h" | 32 #include "platform/wtf/MathExtras.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 PlatformSpeechSynthesisUtteranceClient : public GarbageCollectedMixin { | 37 class PlatformSpeechSynthesisUtteranceClient : public GarbageCollectedMixin { |
38 public: | 38 public: |
39 // Implement methods as needed. | 39 // Implement methods as needed. |
40 protected: | 40 protected: |
41 virtual ~PlatformSpeechSynthesisUtteranceClient() {} | 41 virtual ~PlatformSpeechSynthesisUtteranceClient() {} |
42 }; | 42 }; |
43 | 43 |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
85 RefPtr<PlatformSpeechSynthesisVoice> voice_; | 85 RefPtr<PlatformSpeechSynthesisVoice> voice_; |
86 float volume_; | 86 float volume_; |
87 float rate_; | 87 float rate_; |
88 float pitch_; | 88 float pitch_; |
89 double start_time_; | 89 double start_time_; |
90 }; | 90 }; |
91 | 91 |
92 } // namespace blink | 92 } // namespace blink |
93 | 93 |
94 #endif // PlatformSpeechSynthesisUtterance_h | 94 #endif // PlatformSpeechSynthesisUtterance_h |
OLD | NEW |