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

Side by Side Diff: chrome/browser/speech/tts_win.cc

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 #include <math.h> 5 #include <math.h>
6 #include <sapi.h> 6 #include <sapi.h>
7 7
8 #include "base/memory/singleton.h" 8 #include "base/memory/singleton.h"
9 #include "base/strings/string_number_conversions.h" 9 #include "base/strings/string_number_conversions.h"
10 #include "base/strings/utf_string_conversions.h" 10 #include "base/strings/utf_string_conversions.h"
(...skipping 16 matching lines...) Expand all
27 const UtteranceContinuousParameters& params); 27 const UtteranceContinuousParameters& params);
28 28
29 virtual bool StopSpeaking(); 29 virtual bool StopSpeaking();
30 30
31 virtual void Pause(); 31 virtual void Pause();
32 32
33 virtual void Resume(); 33 virtual void Resume();
34 34
35 virtual bool IsSpeaking(); 35 virtual bool IsSpeaking();
36 36
37 virtual void GetVoices(std::vector<VoiceData>* out_voices) OVERRIDE; 37 virtual void GetVoices(std::vector<VoiceData>* out_voices) override;
38 38
39 // Get the single instance of this class. 39 // Get the single instance of this class.
40 static TtsPlatformImplWin* GetInstance(); 40 static TtsPlatformImplWin* GetInstance();
41 41
42 static void __stdcall SpeechEventCallback(WPARAM w_param, LPARAM l_param); 42 static void __stdcall SpeechEventCallback(WPARAM w_param, LPARAM l_param);
43 43
44 private: 44 private:
45 TtsPlatformImplWin(); 45 TtsPlatformImplWin();
46 virtual ~TtsPlatformImplWin() {} 46 virtual ~TtsPlatformImplWin() {}
47 47
(...skipping 200 matching lines...) Expand 10 before | Expand all | Expand 10 after
248 TtsPlatformImplWin* TtsPlatformImplWin::GetInstance() { 248 TtsPlatformImplWin* TtsPlatformImplWin::GetInstance() {
249 return Singleton<TtsPlatformImplWin, 249 return Singleton<TtsPlatformImplWin,
250 LeakySingletonTraits<TtsPlatformImplWin> >::get(); 250 LeakySingletonTraits<TtsPlatformImplWin> >::get();
251 } 251 }
252 252
253 // static 253 // static
254 void TtsPlatformImplWin::SpeechEventCallback( 254 void TtsPlatformImplWin::SpeechEventCallback(
255 WPARAM w_param, LPARAM l_param) { 255 WPARAM w_param, LPARAM l_param) {
256 GetInstance()->OnSpeechEvent(); 256 GetInstance()->OnSpeechEvent();
257 } 257 }
OLDNEW
« no previous file with comments | « chrome/browser/speech/tts_message_filter.h ('k') | chrome/browser/spellchecker/feedback_sender.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698