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 * * Redistributions of source code must retain the above copyright | 7 * * 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 * * Redistributions in binary form must reproduce the above copyright | 9 * * 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 10 matching lines...) Expand all Loading... |
21 * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | 21 * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
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 #include "config.h" | 26 #include "config.h" |
27 #include "public/platform/WebSpeechSynthesisVoice.h" | 27 #include "public/platform/WebSpeechSynthesisVoice.h" |
28 | 28 |
29 #include "platform/speech/PlatformSpeechSynthesisVoice.h" | 29 #include "platform/speech/PlatformSpeechSynthesisVoice.h" |
30 #include "wtf/PassRefPtr.h" | 30 #include "wtf/PassRefPtr.h" |
31 #include "wtf/Vector.h" | |
32 | 31 |
33 namespace blink { | 32 namespace blink { |
34 | 33 |
35 WebSpeechSynthesisVoice::WebSpeechSynthesisVoice() | 34 WebSpeechSynthesisVoice::WebSpeechSynthesisVoice() |
36 : m_private(blink::PlatformSpeechSynthesisVoice::create()) | 35 : m_private(blink::PlatformSpeechSynthesisVoice::create()) |
37 { | 36 { |
38 } | 37 } |
39 | 38 |
40 void WebSpeechSynthesisVoice::assign(const WebSpeechSynthesisVoice& other) | 39 void WebSpeechSynthesisVoice::assign(const WebSpeechSynthesisVoice& other) |
41 { | 40 { |
(...skipping 29 matching lines...) Expand all Loading... |
71 { | 70 { |
72 m_private->setIsDefault(isDefault); | 71 m_private->setIsDefault(isDefault); |
73 } | 72 } |
74 | 73 |
75 WebSpeechSynthesisVoice::operator blink::PlatformSpeechSynthesisVoice*() const | 74 WebSpeechSynthesisVoice::operator blink::PlatformSpeechSynthesisVoice*() const |
76 { | 75 { |
77 return m_private.get(); | 76 return m_private.get(); |
78 } | 77 } |
79 | 78 |
80 } // namespace blink | 79 } // namespace blink |
OLD | NEW |