Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(192)

Unified Diff: public/platform/WebSpeechSynthesisUtterance.h

Issue 110393002: Move PlatformSpeech stuff to platform/ (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: public/platform/WebSpeechSynthesisUtterance.h
diff --git a/public/platform/WebSpeechSynthesisUtterance.h b/public/platform/WebSpeechSynthesisUtterance.h
index 83a0fbc354a653a7cd513f7c6d00dcd64021678a..5126e46a3a8944a243beac6766df5b1b8d6ba34b 100644
--- a/public/platform/WebSpeechSynthesisUtterance.h
+++ b/public/platform/WebSpeechSynthesisUtterance.h
@@ -46,26 +46,26 @@ public:
return *this;
}
- BLINK_EXPORT void assign(const WebSpeechSynthesisUtterance&);
- BLINK_EXPORT void reset();
+ BLINK_PLATFORM_EXPORT void assign(const WebSpeechSynthesisUtterance&);
+ BLINK_PLATFORM_EXPORT void reset();
bool isNull() const { return m_private.isNull(); }
- BLINK_EXPORT WebString text() const;
- BLINK_EXPORT WebString lang() const;
- BLINK_EXPORT WebString voice() const;
+ BLINK_PLATFORM_EXPORT WebString text() const;
+ BLINK_PLATFORM_EXPORT WebString lang() const;
+ BLINK_PLATFORM_EXPORT WebString voice() const;
// As defined in: https://dvcs.w3.org/hg/speech-api/raw-file/tip/speechapi.html
- BLINK_EXPORT float volume() const; // 0...1, 1 is default
- BLINK_EXPORT float rate() const; // 0.1...10, 1 is default
- BLINK_EXPORT float pitch() const; // 0...2, 1 is default
+ BLINK_PLATFORM_EXPORT float volume() const; // 0...1, 1 is default
+ BLINK_PLATFORM_EXPORT float rate() const; // 0.1...10, 1 is default
+ BLINK_PLATFORM_EXPORT float pitch() const; // 0...2, 1 is default
- BLINK_EXPORT double startTime() const; // In seconds.
+ BLINK_PLATFORM_EXPORT double startTime() const; // In seconds.
-#if BLINK_IMPLEMENTATION
- WebSpeechSynthesisUtterance(const PassRefPtr<WebCore::PlatformSpeechSynthesisUtterance>&);
- WebSpeechSynthesisUtterance& operator=(WebCore::PlatformSpeechSynthesisUtterance*);
- operator PassRefPtr<WebCore::PlatformSpeechSynthesisUtterance>() const;
- operator WebCore::PlatformSpeechSynthesisUtterance*() const;
+#if INSIDE_BLINK
+ BLINK_PLATFORM_EXPORT WebSpeechSynthesisUtterance(const PassRefPtr<WebCore::PlatformSpeechSynthesisUtterance>&);
+ BLINK_PLATFORM_EXPORT WebSpeechSynthesisUtterance& operator=(WebCore::PlatformSpeechSynthesisUtterance*);
+ BLINK_PLATFORM_EXPORT operator PassRefPtr<WebCore::PlatformSpeechSynthesisUtterance>() const;
+ BLINK_PLATFORM_EXPORT operator WebCore::PlatformSpeechSynthesisUtterance*() const;
#endif
private:

Powered by Google App Engine
This is Rietveld 408576698