| 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 13 matching lines...) Expand all Loading... |
| 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/text/WTFString.h" | 32 #include "wtf/text/WTFString.h" |
| 33 | 33 |
| 34 namespace WebCore { | 34 namespace blink { |
| 35 | 35 |
| 36 class PlatformSpeechSynthesisUtteranceClient : public GarbageCollectedMixin { | 36 class PlatformSpeechSynthesisUtteranceClient : public GarbageCollectedMixin { |
| 37 public: | 37 public: |
| 38 // Implement methods as needed. | 38 // Implement methods as needed. |
| 39 protected: | 39 protected: |
| 40 virtual ~PlatformSpeechSynthesisUtteranceClient() { } | 40 virtual ~PlatformSpeechSynthesisUtteranceClient() { } |
| 41 }; | 41 }; |
| 42 | 42 |
| 43 class PLATFORM_EXPORT PlatformSpeechSynthesisUtterance FINAL : public GarbageCol
lectedFinalized<PlatformSpeechSynthesisUtterance> { | 43 class PLATFORM_EXPORT PlatformSpeechSynthesisUtterance FINAL : public GarbageCol
lectedFinalized<PlatformSpeechSynthesisUtterance> { |
| 44 public: | 44 public: |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 78 Member<PlatformSpeechSynthesisUtteranceClient> m_client; | 78 Member<PlatformSpeechSynthesisUtteranceClient> m_client; |
| 79 String m_text; | 79 String m_text; |
| 80 String m_lang; | 80 String m_lang; |
| 81 Member<PlatformSpeechSynthesisVoice> m_voice; | 81 Member<PlatformSpeechSynthesisVoice> m_voice; |
| 82 float m_volume; | 82 float m_volume; |
| 83 float m_rate; | 83 float m_rate; |
| 84 float m_pitch; | 84 float m_pitch; |
| 85 double m_startTime; | 85 double m_startTime; |
| 86 }; | 86 }; |
| 87 | 87 |
| 88 } // namespace WebCore | 88 } // namespace blink |
| 89 | 89 |
| 90 #endif // PlatformSpeechSynthesisUtterance_h | 90 #endif // PlatformSpeechSynthesisUtterance_h |
| OLD | NEW |