| Index: chrome/browser/speech/tts_mac.mm
|
| diff --git a/chrome/browser/speech/tts_mac.mm b/chrome/browser/speech/tts_mac.mm
|
| index ed62b686baf82eefd2b94ecfdcc094b0a97321ed..21aa9a23dd8138d9132a14873cb449c6dc632a0e 100644
|
| --- a/chrome/browser/speech/tts_mac.mm
|
| +++ b/chrome/browser/speech/tts_mac.mm
|
| @@ -50,26 +50,23 @@ class TtsPlatformImplMac;
|
|
|
| class TtsPlatformImplMac : public TtsPlatformImpl {
|
| public:
|
| - virtual bool PlatformImplAvailable() override {
|
| - return true;
|
| - }
|
| + bool PlatformImplAvailable() override { return true; }
|
|
|
| - virtual bool Speak(
|
| - int utterance_id,
|
| - const std::string& utterance,
|
| - const std::string& lang,
|
| - const VoiceData& voice,
|
| - const UtteranceContinuousParameters& params) override;
|
| + bool Speak(int utterance_id,
|
| + const std::string& utterance,
|
| + const std::string& lang,
|
| + const VoiceData& voice,
|
| + const UtteranceContinuousParameters& params) override;
|
|
|
| - virtual bool StopSpeaking() override;
|
| + bool StopSpeaking() override;
|
|
|
| - virtual void Pause() override;
|
| + void Pause() override;
|
|
|
| - virtual void Resume() override;
|
| + void Resume() override;
|
|
|
| - virtual bool IsSpeaking() override;
|
| + bool IsSpeaking() override;
|
|
|
| - virtual void GetVoices(std::vector<VoiceData>* out_voices) override;
|
| + void GetVoices(std::vector<VoiceData>* out_voices) override;
|
|
|
| // Called by ChromeTtsDelegate when we get a callback from the
|
| // native speech engine.
|
| @@ -83,7 +80,7 @@ class TtsPlatformImplMac : public TtsPlatformImpl {
|
|
|
| private:
|
| TtsPlatformImplMac();
|
| - virtual ~TtsPlatformImplMac();
|
| + ~TtsPlatformImplMac() override;
|
|
|
| base::scoped_nsobject<SingleUseSpeechSynthesizer> speech_synthesizer_;
|
| base::scoped_nsobject<ChromeTtsDelegate> delegate_;
|
|
|