| 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 15 matching lines...) Expand all Loading... |
| 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" | 31 #include "wtf/Vector.h" |
| 32 | 32 |
| 33 namespace blink { | 33 namespace blink { |
| 34 | 34 |
| 35 WebSpeechSynthesisVoice::WebSpeechSynthesisVoice() | 35 WebSpeechSynthesisVoice::WebSpeechSynthesisVoice() |
| 36 : m_private(WebCore::PlatformSpeechSynthesisVoice::create()) | 36 : m_private(blink::PlatformSpeechSynthesisVoice::create()) |
| 37 { | 37 { |
| 38 } | 38 } |
| 39 | 39 |
| 40 void WebSpeechSynthesisVoice::assign(const WebSpeechSynthesisVoice& other) | 40 void WebSpeechSynthesisVoice::assign(const WebSpeechSynthesisVoice& other) |
| 41 { | 41 { |
| 42 m_private = other.m_private; | 42 m_private = other.m_private; |
| 43 } | 43 } |
| 44 | 44 |
| 45 void WebSpeechSynthesisVoice::reset() | 45 void WebSpeechSynthesisVoice::reset() |
| 46 { | 46 { |
| (...skipping 18 matching lines...) Expand all Loading... |
| 65 void WebSpeechSynthesisVoice::setIsLocalService(bool isLocalService) | 65 void WebSpeechSynthesisVoice::setIsLocalService(bool isLocalService) |
| 66 { | 66 { |
| 67 m_private->setLocalService(isLocalService); | 67 m_private->setLocalService(isLocalService); |
| 68 } | 68 } |
| 69 | 69 |
| 70 void WebSpeechSynthesisVoice::setIsDefault(bool isDefault) | 70 void WebSpeechSynthesisVoice::setIsDefault(bool isDefault) |
| 71 { | 71 { |
| 72 m_private->setIsDefault(isDefault); | 72 m_private->setIsDefault(isDefault); |
| 73 } | 73 } |
| 74 | 74 |
| 75 WebSpeechSynthesisVoice::operator WebCore::PlatformSpeechSynthesisVoice*() const | 75 WebSpeechSynthesisVoice::operator blink::PlatformSpeechSynthesisVoice*() const |
| 76 { | 76 { |
| 77 return m_private.get(); | 77 return m_private.get(); |
| 78 } | 78 } |
| 79 | 79 |
| 80 } // namespace blink | 80 } // namespace blink |
| OLD | NEW |