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

Unified Diff: Source/web/SpeechRecognitionClientProxy.h

Issue 1230533002: Fix virtual/override/final usage in Source/web/. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 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/web/SharedWorkerRepositoryClientImpl.cpp ('k') | Source/web/SpellCheckerClientImpl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/SpeechRecognitionClientProxy.h
diff --git a/Source/web/SpeechRecognitionClientProxy.h b/Source/web/SpeechRecognitionClientProxy.h
index cca71a1dd2e667c2ddcaa11767dd87f1152ea891..260f201aee8c3de204cab0b8fbc9c472acf93802 100644
--- a/Source/web/SpeechRecognitionClientProxy.h
+++ b/Source/web/SpeechRecognitionClientProxy.h
@@ -40,27 +40,27 @@ class WebString;
class SpeechRecognitionClientProxy final : public SpeechRecognitionClient, public WebSpeechRecognizerClient {
public:
- virtual ~SpeechRecognitionClientProxy();
+ ~SpeechRecognitionClientProxy() override;
// Constructing a proxy object with a 0 WebSpeechRecognizer is safe in
// itself, but attempting to call start/stop/abort on it will crash.
static PassOwnPtr<SpeechRecognitionClientProxy> create(WebSpeechRecognizer*);
// SpeechRecognitionClient:
- virtual void start(SpeechRecognition*, const SpeechGrammarList*, const String& lang, const String& serviceURI, bool continuous, bool interimResults, unsigned long maxAlternatives, MediaStreamTrack*) override;
- virtual void stop(SpeechRecognition*) override;
- virtual void abort(SpeechRecognition*) override;
+ void start(SpeechRecognition*, const SpeechGrammarList*, const String& lang, const String& serviceURI, bool continuous, bool interimResults, unsigned long maxAlternatives, MediaStreamTrack*) override;
+ void stop(SpeechRecognition*) override;
+ void abort(SpeechRecognition*) override;
// WebSpeechRecognizerClient:
- virtual void didStartAudio(const WebSpeechRecognitionHandle&) override;
- virtual void didStartSound(const WebSpeechRecognitionHandle&) override;
- virtual void didEndSound(const WebSpeechRecognitionHandle&) override;
- virtual void didEndAudio(const WebSpeechRecognitionHandle&) override;
- virtual void didReceiveResults(const WebSpeechRecognitionHandle&, const WebVector<WebSpeechRecognitionResult>& newFinalResults, const WebVector<WebSpeechRecognitionResult>& currentInterimResults) override;
- virtual void didReceiveNoMatch(const WebSpeechRecognitionHandle&, const WebSpeechRecognitionResult&) override;
- virtual void didReceiveError(const WebSpeechRecognitionHandle&, const WebString& message, WebSpeechRecognizerClient::ErrorCode) override;
- virtual void didStart(const WebSpeechRecognitionHandle&) override;
- virtual void didEnd(const WebSpeechRecognitionHandle&) override;
+ void didStartAudio(const WebSpeechRecognitionHandle&) override;
+ void didStartSound(const WebSpeechRecognitionHandle&) override;
+ void didEndSound(const WebSpeechRecognitionHandle&) override;
+ void didEndAudio(const WebSpeechRecognitionHandle&) override;
+ void didReceiveResults(const WebSpeechRecognitionHandle&, const WebVector<WebSpeechRecognitionResult>& newFinalResults, const WebVector<WebSpeechRecognitionResult>& currentInterimResults) override;
+ void didReceiveNoMatch(const WebSpeechRecognitionHandle&, const WebSpeechRecognitionResult&) override;
+ void didReceiveError(const WebSpeechRecognitionHandle&, const WebString& message, WebSpeechRecognizerClient::ErrorCode) override;
+ void didStart(const WebSpeechRecognitionHandle&) override;
+ void didEnd(const WebSpeechRecognitionHandle&) override;
private:
SpeechRecognitionClientProxy(WebSpeechRecognizer*);
« no previous file with comments | « Source/web/SharedWorkerRepositoryClientImpl.cpp ('k') | Source/web/SpellCheckerClientImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698