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

Side by Side Diff: chrome/browser/speech/extension_api/tts_engine_extension_api.h

Issue 629603002: replace OVERRIDE and FINAL with override and final in chrome/browser/[r-z]* (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase on master Created 6 years, 2 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_SPEECH_EXTENSION_API_TTS_ENGINE_EXTENSION_API_H_ 5 #ifndef CHROME_BROWSER_SPEECH_EXTENSION_API_TTS_ENGINE_EXTENSION_API_H_
6 #define CHROME_BROWSER_SPEECH_EXTENSION_API_TTS_ENGINE_EXTENSION_API_H_ 6 #define CHROME_BROWSER_SPEECH_EXTENSION_API_TTS_ENGINE_EXTENSION_API_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/memory/singleton.h" 10 #include "base/memory/singleton.h"
(...skipping 21 matching lines...) Expand all
32 extern const char kOnResume[]; 32 extern const char kOnResume[];
33 } 33 }
34 34
35 // TtsEngineDelegate implementation used by TtsController. 35 // TtsEngineDelegate implementation used by TtsController.
36 class TtsExtensionEngine : public TtsEngineDelegate { 36 class TtsExtensionEngine : public TtsEngineDelegate {
37 public: 37 public:
38 static TtsExtensionEngine* GetInstance(); 38 static TtsExtensionEngine* GetInstance();
39 39
40 // Overridden from TtsEngineDelegate: 40 // Overridden from TtsEngineDelegate:
41 virtual void GetVoices(content::BrowserContext* browser_context, 41 virtual void GetVoices(content::BrowserContext* browser_context,
42 std::vector<VoiceData>* out_voices) OVERRIDE; 42 std::vector<VoiceData>* out_voices) override;
43 virtual void Speak(Utterance* utterance, const VoiceData& voice) OVERRIDE; 43 virtual void Speak(Utterance* utterance, const VoiceData& voice) override;
44 virtual void Stop(Utterance* utterance) OVERRIDE; 44 virtual void Stop(Utterance* utterance) override;
45 virtual void Pause(Utterance* utterance) OVERRIDE; 45 virtual void Pause(Utterance* utterance) override;
46 virtual void Resume(Utterance* utterance) OVERRIDE; 46 virtual void Resume(Utterance* utterance) override;
47 virtual bool LoadBuiltInTtsExtension( 47 virtual bool LoadBuiltInTtsExtension(
48 content::BrowserContext* browser_context) OVERRIDE; 48 content::BrowserContext* browser_context) override;
49 }; 49 };
50 // Hidden/internal extension function used to allow TTS engine extensions 50 // Hidden/internal extension function used to allow TTS engine extensions
51 // to send events back to the client that's calling tts.speak(). 51 // to send events back to the client that's calling tts.speak().
52 class ExtensionTtsEngineSendTtsEventFunction : public SyncExtensionFunction { 52 class ExtensionTtsEngineSendTtsEventFunction : public SyncExtensionFunction {
53 private: 53 private:
54 virtual ~ExtensionTtsEngineSendTtsEventFunction() {} 54 virtual ~ExtensionTtsEngineSendTtsEventFunction() {}
55 virtual bool RunSync() OVERRIDE; 55 virtual bool RunSync() override;
56 DECLARE_EXTENSION_FUNCTION("ttsEngine.sendTtsEvent", TTSENGINE_SENDTTSEVENT) 56 DECLARE_EXTENSION_FUNCTION("ttsEngine.sendTtsEvent", TTSENGINE_SENDTTSEVENT)
57 }; 57 };
58 58
59 #endif // CHROME_BROWSER_SPEECH_EXTENSION_API_TTS_ENGINE_EXTENSION_API_H_ 59 #endif // CHROME_BROWSER_SPEECH_EXTENSION_API_TTS_ENGINE_EXTENSION_API_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698