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 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
51 BLINK_PLATFORM_EXPORT void assign(const WebSpeechSynthesisVoice&); | 51 BLINK_PLATFORM_EXPORT void assign(const WebSpeechSynthesisVoice&); |
52 BLINK_PLATFORM_EXPORT void reset(); | 52 BLINK_PLATFORM_EXPORT void reset(); |
53 | 53 |
54 BLINK_PLATFORM_EXPORT void setVoiceURI(const WebString&); | 54 BLINK_PLATFORM_EXPORT void setVoiceURI(const WebString&); |
55 BLINK_PLATFORM_EXPORT void setName(const WebString&); | 55 BLINK_PLATFORM_EXPORT void setName(const WebString&); |
56 BLINK_PLATFORM_EXPORT void setLanguage(const WebString&); | 56 BLINK_PLATFORM_EXPORT void setLanguage(const WebString&); |
57 BLINK_PLATFORM_EXPORT void setIsLocalService(bool); | 57 BLINK_PLATFORM_EXPORT void setIsLocalService(bool); |
58 BLINK_PLATFORM_EXPORT void setIsDefault(bool); | 58 BLINK_PLATFORM_EXPORT void setIsDefault(bool); |
59 | 59 |
60 #if INSIDE_BLINK | 60 #if INSIDE_BLINK |
61 BLINK_PLATFORM_EXPORT operator WTF::PassRefPtr<WebCore::PlatformSpeechSynthe
sisVoice>() const; | 61 BLINK_PLATFORM_EXPORT operator WebCore::PlatformSpeechSynthesisVoice*() cons
t; |
62 #endif | 62 #endif |
63 | 63 |
64 private: | 64 private: |
65 WebPrivatePtr<WebCore::PlatformSpeechSynthesisVoice> m_private; | 65 WebPrivatePtr<WebCore::PlatformSpeechSynthesisVoice> m_private; |
66 }; | 66 }; |
67 | 67 |
68 } // namespace blink | 68 } // namespace blink |
69 | 69 |
70 #endif // WebSpeechSynthesisVoice_h | 70 #endif // WebSpeechSynthesisVoice_h |
OLD | NEW |