Upstream version 9.38.198.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / public / platform / WebSpeechSynthesisVoice.h
index a4011a7..8a4bc02 100644 (file)
 #include "WebPrivatePtr.h"
 #include "WebString.h"
 
-namespace WebCore {
-class PlatformSpeechSynthesisVoice;
-}
+namespace blink {
 
-namespace WebKit {
+class PlatformSpeechSynthesisVoice;
 
 class WebSpeechSynthesisVoice {
 public:
-    BLINK_EXPORT WebSpeechSynthesisVoice();
+    BLINK_PLATFORM_EXPORT WebSpeechSynthesisVoice();
     WebSpeechSynthesisVoice(const WebSpeechSynthesisVoice& other) { assign(other); }
     ~WebSpeechSynthesisVoice() { reset(); }
 
@@ -48,23 +46,23 @@ public:
         return *this;
     }
 
-    BLINK_EXPORT void assign(const WebSpeechSynthesisVoice&);
-    BLINK_EXPORT void reset();
+    BLINK_PLATFORM_EXPORT void assign(const WebSpeechSynthesisVoice&);
+    BLINK_PLATFORM_EXPORT void reset();
 
-    BLINK_EXPORT void setVoiceURI(const WebString&);
-    BLINK_EXPORT void setName(const WebString&);
-    BLINK_EXPORT void setLanguage(const WebString&);
-    BLINK_EXPORT void setIsLocalService(bool);
-    BLINK_EXPORT void setIsDefault(bool);
+    BLINK_PLATFORM_EXPORT void setVoiceURI(const WebString&);
+    BLINK_PLATFORM_EXPORT void setName(const WebString&);
+    BLINK_PLATFORM_EXPORT void setLanguage(const WebString&);
+    BLINK_PLATFORM_EXPORT void setIsLocalService(bool);
+    BLINK_PLATFORM_EXPORT void setIsDefault(bool);
 
-#if BLINK_IMPLEMENTATION
-    operator WTF::PassRefPtr<WebCore::PlatformSpeechSynthesisVoice>() const;
+#if INSIDE_BLINK
+    BLINK_PLATFORM_EXPORT operator PlatformSpeechSynthesisVoice*() const;
 #endif
 
 private:
-    WebPrivatePtr<WebCore::PlatformSpeechSynthesisVoice> m_private;
+    WebPrivatePtr<PlatformSpeechSynthesisVoice> m_private;
 };
 
-} // namespace WebKit
+} // namespace blink
 
 #endif // WebSpeechSynthesisVoice_h