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

Unified Diff: Source/web/SpeechInputClientImpl.h

Issue 135753002: Update web classes to use OVERRIDE / FINAL when needed (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase Created 6 years, 11 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.h ('k') | Source/web/SpeechRecognitionClientProxy.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/SpeechInputClientImpl.h
diff --git a/Source/web/SpeechInputClientImpl.h b/Source/web/SpeechInputClientImpl.h
index 21426d219a534727ed41977cd7ab2678fdc9195c..e702df67752f967ee65752e00fb218bba6c300e0 100644
--- a/Source/web/SpeechInputClientImpl.h
+++ b/Source/web/SpeechInputClientImpl.h
@@ -49,7 +49,7 @@ namespace blink {
class WebSpeechInputController;
class WebViewClient;
-class SpeechInputClientImpl
+class SpeechInputClientImpl FINAL
: public WebCore::SpeechInputClient,
public WebSpeechInputListener {
public:
@@ -57,15 +57,15 @@ public:
virtual ~SpeechInputClientImpl();
// SpeechInputClient methods.
- void setListener(WebCore::SpeechInputListener*);
- bool startRecognition(int requestId, const WebCore::IntRect& elementRect, const AtomicString& language, const String& grammar, WebCore::SecurityOrigin*);
- void stopRecording(int);
- void cancelRecognition(int);
+ virtual void setListener(WebCore::SpeechInputListener*) OVERRIDE;
+ virtual bool startRecognition(int requestId, const WebCore::IntRect& elementRect, const AtomicString& language, const String& grammar, WebCore::SecurityOrigin*) OVERRIDE;
+ virtual void stopRecording(int) OVERRIDE;
+ virtual void cancelRecognition(int) OVERRIDE;
// WebSpeechInputListener methods.
- void didCompleteRecording(int);
- void setRecognitionResult(int, const WebSpeechInputResultArray&);
- void didCompleteRecognition(int);
+ virtual void didCompleteRecording(int) OVERRIDE;
+ virtual void setRecognitionResult(int, const WebSpeechInputResultArray&) OVERRIDE;
+ virtual void didCompleteRecognition(int) OVERRIDE;
private:
SpeechInputClientImpl(WebViewClient*);
« no previous file with comments | « Source/web/SharedWorkerRepositoryClientImpl.h ('k') | Source/web/SpeechRecognitionClientProxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698