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

Unified Diff: Source/modules/speech/SpeechSynthesis.h

Issue 20300002: Fix trailing whitespace in .cpp, .h, and .idl files (ex. Source/core) (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 5 months 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
« no previous file with comments | « Source/modules/speech/DOMWindowSpeechSynthesis.cpp ('k') | Source/modules/speech/SpeechSynthesis.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/speech/SpeechSynthesis.h
diff --git a/Source/modules/speech/SpeechSynthesis.h b/Source/modules/speech/SpeechSynthesis.h
index 3110d73a49381dfd0a3fffc4cc45a7c5e8aa9e1d..f1fba776b396545b3ea490e01bf634dd63fb0f7f 100644
--- a/Source/modules/speech/SpeechSynthesis.h
+++ b/Source/modules/speech/SpeechSynthesis.h
@@ -37,31 +37,31 @@
#include "wtf/RefPtr.h"
namespace WebCore {
-
+
class PlatformSpeechSynthesizerClient;
class SpeechSynthesisVoice;
-
+
class SpeechSynthesis : public PlatformSpeechSynthesizerClient, public ScriptWrappable, public RefCounted<SpeechSynthesis> {
public:
static PassRefPtr<SpeechSynthesis> create();
-
+
bool pending() const;
bool speaking() const;
bool paused() const;
-
+
void speak(SpeechSynthesisUtterance*);
void cancel();
void pause();
void resume();
-
+
const Vector<RefPtr<SpeechSynthesisVoice> >& getVoices();
-
+
// Used in testing to use a mock platform synthesizer
void setPlatformSynthesizer(PassOwnPtr<PlatformSpeechSynthesizer>);
-
+
private:
SpeechSynthesis();
-
+
// PlatformSpeechSynthesizerClient override methods.
virtual void voicesDidChange() OVERRIDE;
virtual void didStartSpeaking(PassRefPtr<PlatformSpeechSynthesisUtterance>) OVERRIDE;
@@ -74,14 +74,14 @@ private:
void startSpeakingImmediately(SpeechSynthesisUtterance*);
void handleSpeakingCompleted(SpeechSynthesisUtterance*, bool errorOccurred);
void fireEvent(const AtomicString& type, SpeechSynthesisUtterance*, unsigned long charIndex, const String& name);
-
+
OwnPtr<PlatformSpeechSynthesizer> m_platformSpeechSynthesizer;
Vector<RefPtr<SpeechSynthesisVoice> > m_voiceList;
SpeechSynthesisUtterance* m_currentSpeechUtterance;
Deque<RefPtr<SpeechSynthesisUtterance> > m_utteranceQueue;
bool m_isPaused;
};
-
+
} // namespace WebCore
#endif // SpeechSynthesisEvent_h
« no previous file with comments | « Source/modules/speech/DOMWindowSpeechSynthesis.cpp ('k') | Source/modules/speech/SpeechSynthesis.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698