| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2013 Google Inc. All rights reserved. | 2 * Copyright (C) 2013 Google 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 * | 7 * |
| 8 * 1. Redistributions of source code must retain the above copyright | 8 * 1. Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
| (...skipping 11 matching lines...) Expand all Loading... |
| 22 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF | 22 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF |
| 23 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 23 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 24 */ | 24 */ |
| 25 | 25 |
| 26 #include "config.h" | 26 #include "config.h" |
| 27 | 27 |
| 28 #if ENABLE(SPEECH_SYNTHESIS) | 28 #if ENABLE(SPEECH_SYNTHESIS) |
| 29 | 29 |
| 30 #include <public/WebSpeechSynthesisUtterance.h> | 30 #include <public/WebSpeechSynthesisUtterance.h> |
| 31 | 31 |
| 32 #include "PlatformSpeechSynthesisUtterance.h" | 32 #include "core/platform/PlatformSpeechSynthesisUtterance.h" |
| 33 #include <wtf/PassRefPtr.h> | 33 #include <wtf/PassRefPtr.h> |
| 34 #include <wtf/RefPtr.h> | 34 #include <wtf/RefPtr.h> |
| 35 | 35 |
| 36 using namespace WebCore; | 36 using namespace WebCore; |
| 37 | 37 |
| 38 namespace WebKit { | 38 namespace WebKit { |
| 39 | 39 |
| 40 WebSpeechSynthesisUtterance::WebSpeechSynthesisUtterance(const PassRefPtr<Platfo
rmSpeechSynthesisUtterance>& utterance) | 40 WebSpeechSynthesisUtterance::WebSpeechSynthesisUtterance(const PassRefPtr<Platfo
rmSpeechSynthesisUtterance>& utterance) |
| 41 : m_private(utterance) | 41 : m_private(utterance) |
| 42 { | 42 { |
| (...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 99 } | 99 } |
| 100 | 100 |
| 101 double WebSpeechSynthesisUtterance::startTime() const | 101 double WebSpeechSynthesisUtterance::startTime() const |
| 102 { | 102 { |
| 103 return m_private->startTime(); | 103 return m_private->startTime(); |
| 104 } | 104 } |
| 105 | 105 |
| 106 } // namespace WebKit | 106 } // namespace WebKit |
| 107 | 107 |
| 108 #endif // ENABLE(SPEECH_SYNTHESIS) | 108 #endif // ENABLE(SPEECH_SYNTHESIS) |
| OLD | NEW |